Hydraq
- Type
- RAT
- Capabilities
- PersistenceReconnaissanceProcess injectionExfiltrationPost exploitation
- Delivery
- Drive by
- Platforms
- Windows
Hydraq is a Windows remote access trojan, also known as 9002 RAT and McRAT, used in cyberespionage operations. It provides a backdoor through which attackers can monitor running processes and manipulate Windows Registry subkeys. A VNC-based component streams the infected host’s desktop, enabling remote visual surveillance. Hydraq registers a Windows service for persistence and can remove its service registration during uninstallation. Samples have also exhibited process-injection behavior detectable through suspicious executable memory and thread-start addresses.
Hydraq has been used by Group 72, also known as Axiom, which targets organizations with valuable intellectual property in manufacturing, industrial, aerospace, defense, and media sectors, particularly in the United States, Japan, Taiwan, and Korea. The group’s intrusion methods include watering-hole attacks, spearphishing, SQL injection, and exploitation of web-browser vulnerabilities. Hydraq is not exclusive to this actor. It is distinct from the unrelated Aurora information stealer and Aurora ransomware families that share its Aurora alias.
Associated vulnerabilities
6 CVEs Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
Associated threat actors
12 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Similar decompression and relocation shellcodes ... are present in instances of the 9002 RAT malware.
Threat actors associated with Aurora ransomware used Cursor Agent for post-compromise reconnaissance, deployment of NetExec and Nmap, certificate attacks with Certipy, and installation of VPN clients or proxychains. The group also deployed a new Linux ransomware variant targeting VMware ESXi environments.
The operator deployed a Linux variant of the Aurora ransomware, encrypt.out, including an ESXi mode that terminates running VMs and encrypts their VM files.
+6 more in the app. View in Mallory
Techniques & procedures
61 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
4 techniques
Initial Access
These fake websites use similar URLs, logos, and branding to convincingly appear legitimate. Once a user visits one of these sites, they’re enticed to download an application containing malware or lured to enter sensitive/personal information into the decoy generated website.
We uncovered Operation Red Signature, an information theft-driven supply chain attack targeting organizations in South Korea. The threat actors compromised the update server of a remote support solutions provider to deliver a remote access tool called 9002 RAT to their targets of interest through the update process.
One growing trend is using YouTube as a malware distribution channel. Hackers take over popular YouTube accounts and post videos with links to malicious websites or downloads.
"Proofpoint recently observed a targeted email campaign attempting a spearphishing attack using a Game of Thrones lure. The malicious attachment..."
Execution
11 techniques
Execution
To fingerprint the host, Aurora executes three commands on the infected host: wmic os get Caption / wmic path win32_VideoController get name / wmic cpu get name
This dynamic-link library (DLL) is responsible for decrypting the encrypted rcview.log file and executing it in memory.
"it runs a PowerShell command using a modified Invoke-Shellcode PowerShell script to download two files..."
The stealer executes the next stage using the following PowerShell command: powershell.exe start-process “C:\Users\Admin\AppData\Local\Temp\oH7P8GCPXQ.exe”
The initial piece of code was shell code encrypted three times and that activated the exploit.
[Hydraq](https://attack.mitre.org/software/S0203) creates a backdoor through which remote attackers can load and call DLL functions.(Citation: Symantec Trojan.Hydraq Jan 2010)(Citation: Symantec Hydraq Jan 2010)
In the wake of Threat Level’s Thursday story disclosing that a zero-day vulnerability in Internet Explorer was exploited by the hackers to gain access to Google and other companies...
"In reality, the “preview” is an embedded .LNK... that, if run, executes a malicious PowerShell script..."
macOS kill chain: The ClickFix command runs a shell script, which then downloads a fake Teams (or Zoom) installer. The installer runs the main stealer payload
[Hydraq](https://attack.mitre.org/software/S0203) uses svchost.exe to execute a malicious DLL included in a new service group.(Citation: Symantec Hydraq Persistence Jan 2010)
...uses the LoadLibraryExW() function to load additional modules... execute additional plugins by loading the respective DLLs... loaded and executed DLLs in memory during runtime... loads a dynamic library (.dylib file) using dlopen() and obtains a function pointer... using dlopen() and dlsym()... calls LoadLibrary then executes exports from a DLL.
Persistence
3 techniques
Persistence
[Hydraq](https://attack.mitre.org/software/S0203) creates a Registry subkey to register its created service, and can also uninstall itself later by deleting this value. [Hydraq](https://attack.mitre.org/software/S0203)'s backdoor also enables remote attackers to modify and delete subkeys.(Citation: Symantec Trojan.Hydraq Jan 2010)(Citation: Symantec Hydraq Jan 2010)
[Hydraq](https://attack.mitre.org/software/S0203) creates new services to establish persistence.(Citation: Symantec Trojan.Hydraq Jan 2010)(Citation: Symantec Hydraq Jan 2010)(Citation: Symantec Hydraq Persistence Jan 2010)
"The persistence .LNK is stored in the Startup directory as UpdateCheck.lnk"
Privilege Escalation
7 techniques
Privilege Escalation
The malware then injects svchost.exe with the ability to: Execute commands Download potentially malicious files
After checking the vendor IDs, the loader decrypts the final payload in separate chunks and injects it into `sihost.exe` using a process hollowing technique.
9002 RAT also installed additional malicious tools: an exploit tool for Internet Information Services (IIS) 6 WebDav (exploiting CVE-2017-7269) and an SQL database password dumper.
[Hydraq](https://attack.mitre.org/software/S0203) creates a backdoor through which remote attackers can adjust token privileges.(Citation: Symantec Hydraq Jan 2010)
[Hydraq](https://attack.mitre.org/software/S0203) creates new services to establish persistence.(Citation: Symantec Trojan.Hydraq Jan 2010)(Citation: Symantec Hydraq Jan 2010)(Citation: Symantec Hydraq Persistence Jan 2010)
"The persistence .LNK is stored in the Startup directory as UpdateCheck.lnk"
Allowlisting in security software ... 360 Safeguard And Antivirus ... Kingsoft Antivirus ... Tencent PC Manager
Stealth
12 techniques
Stealth
[Hydraq](https://attack.mitre.org/software/S0203) uses basic obfuscation in the form of spaghetti code.(Citation: Symantec Elderwood Sept 2012)(Citation: Symantec Trojan.Hydraq Jan 2010)
Changes made by Webworm to this version of 9002 RAT are apparently intended to evade detection. For example, the details of the RAT’s communication protocol, such as encryption, have also been modified by the threat actors.
Previous research on the group’s activity found that it uses custom loaders hidden behind decoy documents... [TEMP]\[RANDOM_DIGITS].doc
"The first downloaded file contains the 9002 RAT shellcode that is injected into a legitimate Windows Mail binary wabmig.exe."
The malware then injects svchost.exe with the ability to: Execute commands Download potentially malicious files
After checking the vendor IDs, the loader decrypts the final payload in separate chunks and injects it into `sihost.exe` using a process hollowing technique.
[Hydraq](https://attack.mitre.org/software/S0203) creates a backdoor through which remote attackers can delete files.(Citation: Symantec Trojan.Hydraq Jan 2010)(Citation: Symantec Hydraq Jan 2010)
[Hydraq](https://attack.mitre.org/software/S0203) creates a backdoor through which remote attackers can adjust token privileges.(Citation: Symantec Hydraq Jan 2010)
MasterKey: encryption key used to read the data of the stolen file, for instance some browsers store the saved password encrypted
The program will then execute rcview40u.dll, signed with the stolen certificate, with Microsoft register server (regsvr32.exe).
...uses the LoadLibraryExW() function to load additional modules... execute additional plugins by loading the respective DLLs... loaded and executed DLLs in memory during runtime... loads a dynamic library (.dylib file) using dlopen() and obtains a function pointer... using dlopen() and dlsym()... calls LoadLibrary then executes exports from a DLL.
Then the file unpacks and executes in memory its backdoor payload, a variant of the Trochilus RAT... Finally, it reads and executes the third stage.
Defense Impairment
3 techniques
Defense Impairment
[Hydraq](https://attack.mitre.org/software/S0203) creates a Registry subkey to register its created service, and can also uninstall itself later by deleting this value. [Hydraq](https://attack.mitre.org/software/S0203)'s backdoor also enables remote attackers to modify and delete subkeys.(Citation: Symantec Trojan.Hydraq Jan 2010)(Citation: Symantec Hydraq Jan 2010)
They carried this out by first stealing the company’s certificate then using it to sign the malware.
[Hydraq](https://attack.mitre.org/software/S0203) creates a backdoor through which remote attackers can clear all system event logs.(Citation: Symantec Trojan.Hydraq Jan 2010)(Citation: Symantec Hydraq Jan 2010)
Credential Access
3 techniques
Credential Access
FileName: name of the stolen file ( e.g. cookies.sqlite, Login Data)
The installer runs the main stealer payload to extract and exfiltrate sensitive data, including system metadata and Google Chrome master keys from the iCloud Keychain
Aurora is another infostealer targeting data from browsers, cryptocurrency wallets, local systems...
Discovery
7 techniques
Discovery
[Hydraq](https://attack.mitre.org/software/S0203) creates a backdoor through which remote attackers can monitor services.(Citation: Symantec Trojan.Hydraq Jan 2010)(Citation: Symantec Hydraq Jan 2010)
[Hydraq](https://attack.mitre.org/software/S0203) creates a backdoor through which remote attackers can retrieve system information, such as CPU speed, from Registry keys.(Citation: Symantec Trojan.Hydraq Jan 2010)(Citation: Symantec Hydraq Jan 2010)
[Hydraq](https://attack.mitre.org/software/S0203) creates a backdoor through which remote attackers can retrieve IP addresses of compromised machines.(Citation: Symantec Trojan.Hydraq Jan 2010)(Citation: Symantec Hydraq Jan 2010)
[Hydraq](https://attack.mitre.org/software/S0203) creates a backdoor through which remote attackers can monitor processes.(Citation: Symantec Trojan.Hydraq Jan 2010)(Citation: Symantec Hydraq Jan 2010)
[Hydraq](https://attack.mitre.org/software/S0203) creates a backdoor through which remote attackers can retrieve information such as computer name, OS version, processor speed, memory size, and CPU speed.(Citation: Symantec Hydraq Jan 2010)
[Hydraq](https://attack.mitre.org/software/S0203) creates a backdoor through which remote attackers can check for the existence of files, including its own components, as well as retrieve a list of logical drives.(Citation: Symantec Trojan.Hydraq Jan 2010)(Citation: Symantec Hydraq Jan 2010)
Info: host fingerprint information, including... Location: execution path of Aurora sample
Collection
3 techniques
Collection
[Hydraq](https://attack.mitre.org/software/S0203) creates a backdoor through which remote attackers can read data from files.(Citation: Symantec Trojan.Hydraq Jan 2010)(Citation: Symantec Hydraq Jan 2010)
[Hydraq](https://attack.mitre.org/software/S0203) includes a component based on the code of VNC that can stream a live feed of the desktop of an infected host.(Citation: Symantec Hydraq Jan 2010)
The malware uses the function walk... to loop over files and directories until it matches a filename or directory name of one of the targeted applications or extensions.
Command and Control
9 techniques
Command and Control
Many entries describe XOR, XOR/ADD, bitwise NOT and XOR, ROR plus XOR, hexadecimal encoding after encryption, and custom encoding/obfuscation of HTTP traffic or beacons.
9002 RAT is the decrypted rcview.log payload, which connects to the command-and-control (C&C) server at 66[.]42[.]37[.]101.
Aurora loader is straightforward, it downloads a remote payload using net_http_Get from the built-in library net/http
[Hydraq](https://attack.mitre.org/software/S0203) creates a backdoor through which remote attackers can download files and additional malware components.(Citation: Symantec Trojan.Hydraq Jan 2010)(Citation: Symantec Hydraq Jan 2010)
One of the malicious programs opened a remote backdoor to the computer, establishing an encrypted covert channel that masqueraded as an SSL connection to avoid detection.
The malware communicates using TCP connection on ports 8081 and 9865 - 8081 being the most widespread open port.
One of the malicious programs opened a remote backdoor to the computer, establishing an encrypted covert channel that masqueraded as an SSL connection to avoid detection.
The content is a catalog of malware and threat groups that encrypt command-and-control communications using algorithms such as DES, AES, RC4, XOR, Blowfish, RSA, Camellia, RC2, RC6, and custom ciphers.
[Hydraq](https://attack.mitre.org/software/S0203) C2 traffic is encrypted using bitwise NOT and XOR operations.(Citation: Symantec Hydraq Jan 2010)
Exfiltration
3 techniques
Exfiltration
if a file name matches the stealer logic, the file is encoded in base64 and sent to the C2
[Hydraq](https://attack.mitre.org/software/S0203) connects to a predefined domain on port 443 to exfil gathered information.(Citation: Symantec Hydraq Jan 2010)
The installer runs the main stealer payload to extract and exfiltrate sensitive data, including system metadata and Google Chrome master keys from the iCloud Keychain, to the attacker via a Telegram channel named "Aurora,"
Impact
3 techniques
Impact
Data Encrypted for Impact (T1486), which appeared on 96% of ransomware detections.
With -esxi, the sample runs esxcli vm process list to collect the World ID of each running virtual machine, then esxcli vm process kill --type=force --world-id=<world-id>.
“On Windows, the malware attempts to remove volume shadow copies, resize shadow storage and disable System Restore before encrypting files.”
Observables
378 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
90 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.