Rewrite: researchers recently found that Stately Taurus abused the popular Visual Studio…
- User
Rewrite: researchers recently found that Stately Taurus abused the popular Visual Studio Code software in espionage operations targeting government entities in Southeast Asia. Stately Taurus is a Chinese advanced persistent threat (APT) group that carries out cyberespionage attacks.
This threat actor used Visual Studio Code’s embedded reverse shell feature to gain a foothold in target networks. This is a relatively new technique that a security researcher discovered in 2023. According to our telemetry, this is the first time a threat actor used it in the wild.
- Assistant
Researchers have recently uncovered that Stately Taurus, a Chinese advanced persistent threat (APT) group known for executing cyberespionage attacks, exploited the popular Visual Studio Code software for espionage operations aimed at government entities in Southeast Asia.
The threat actor leveraged Visual Studio Code's embedded reverse shell feature to establish access within targeted networks. This approach, which a security researcher identified in 2023, is a relatively new technique. Based on our telemetry data, this marks the first recorded instance of a threat actor employing it in real-world scenarios.
- User
Rewrite: To abuse Visual Studio Code for malicious purposes, an attacker can use the portable version of code.exe (the executable file for Visual Studio Code), or an already installed version of the software. By running the command code.exe tunnel, an attacker receives a link that requires them to log into GitHub with their own account.
After logging in, the attacker is redirected to a Visual Studio Code web environment that is connected to the compromised machine. They are then permitted to execute commands and scripts, and to create new files on the infected machine.
- Assistant
To exploit Visual Studio Code for malicious activities, an attacker can either use the portable version of code.exe (the executable for Visual Studio Code) or an already installed version of the software. By executing the command code.exe tunnel, the attacker is given a link prompting them to log into GitHub using their own account.
Once logged in, the attacker is redirected to a Visual Studio Code web environment linked to the compromised machine. This access allows them to execute commands and scripts, as well as create new files on the infected machine.
- User
Rewrite: Stately Taurus used this technique to deliver malware to infected environments, perform reconnaissance and exfiltrate sensitive data. To establish constant access to the reverse shell, the attacker created persistence for a script named startcode.bat using a scheduled task that is responsible for starting the shell.
- Assistant
Stately Taurus employed this technique to deploy malware within compromised environments, conduct reconnaissance, and exfiltrate sensitive data. To maintain continuous access to the reverse shell, the attacker set up persistence by creating a scheduled task that launches a script named startcode.bat, which handles initiating the shell.
- User
Rewrite: During this campaign, Stately Taurus used ToneShell to archive files for exfiltration, protecting the RAR archives with a unique password.
The password was 13 characters long, using upper and lower case letters as well as digits. By tracking this unique password in our telemetry, we were able to find additional Stately Taurus activity in the same targeted environment.
- Assistant
In this campaign, Stately Taurus utilized ToneShell to archive files for exfiltration, securing the RAR archives with a distinct password.
The password consisted of 13 characters, incorporating a mix of uppercase and lowercase letters along with digits. By monitoring this unique password in our telemetry, we were able to identify further Stately Taurus activity within the same targeted environment.
- User
Rewrite: Stately Taurus (aka Mustang Panda, BRONZE PRESIDENT, RedDelta, Luminous Moth, Earth Preta and Camaro Dragon) has been operating since at least 2012
- Assistant
Stately Taurus, also known by various other names such as Mustang Panda, BRONZE PRESIDENT, RedDelta, Luminous Moth, Earth Preta, and Camaro Dragon, has been active since at least 2012.
- User
Rewrite: Sshd.exe: The attacker used OpenSSH (sshd.exe) to execute commands, transfer files and spread across the environment as shown in Figure 3. OpenSSH allows the user to connect to a remote machine via SSH.
- Assistant
Sshd.exe: The attacker leveraged OpenSSH (sshd.exe) for executing commands, transferring files, and propagating across the environment, as illustrated in Figure 3. OpenSSH enables users to connect to a remote machine using SSH.
- User
Rewrite: As part of this operation, Stately Taurus attempted to exfiltrate sensitive information from different machines. The attacker executed rar.exe remotely via SMB. Next, they tried to iterate and archive all drives from A-Z on remote machines
- Assistant
In this operation, Stately Taurus sought to exfiltrate sensitive information from various machines. The attacker remotely executed rar.exe through SMB, and then attempted to iterate and archive all drives from A to Z on the remote machines.
- User
- Assistant
To provide MITRE ATT&CK mappings for a report, such as the one on Stately Taurus using Visual Studio Code in espionage operations, we typically analyze the tactics, techniques, and procedures (TTPs) described. Here's a possible mapping based on the activities outlined:
-
Initial Access:
- Technique T1078: Valid Accounts - Use of legitimate GitHub accounts for tunneling.
-
Execution:
- Technique T1059: Command and Scripting Interpreter - Using Visual Studio Code to execute commands and scripts.
-
Persistence:
-
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.