Woody RAT
- Type
- RAT
- Capabilities
- ReconnaissanceDefense evasionProcess injectionExfiltrationPost exploitation
- Delivery
- SpearphishingPhishing
- Platforms
- Windows
Woody RAT is a Windows remote access trojan associated with Kimsuky activity. It has been delivered through spearphishing emails carrying malicious attachments, including Word documents and archive files, and execution has also been linked to exploitation of CVE-2022-30190 (Follina). The malware relies on user interaction in common delivery chains, such as opening a malicious attachment.
Woody RAT supports broad post-compromise control and host reconnaissance. It can enumerate user accounts and usernames, collect host information related to .NET, PowerShell, and Python environments, and query the Windows Registry to identify installed antivirus products. Reported checks include multiple mainstream security products, indicating explicit security software discovery prior to or during operations.
The malware includes multiple execution and evasion features. It can execute PowerShell commands and scripts through a .NET component referred to as WoodyPowerSession, suppress error reporting, and perform code injection by writing to remote process memory and creating remote threads. It has also been observed creating a suspended benign process and writing shellcode into it, consistent with process injection and hollowing-style tradecraft used to conceal malicious execution within legitimate processes.
For command-and-control communications, Woody RAT has used HTTP GET requests for connectivity checks and RSA-4096 to encrypt data sent to its command infrastructure. It is capable of exfiltrating files from infected systems. Overall, Woody RAT is a Windows-focused espionage-oriented RAT combining phishing-based delivery, host discovery, PowerShell-enabled execution, process injection, defense evasion, and encrypted data theft.
Associated vulnerabilities
1 CVE Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
Techniques & procedures
38 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
1 technique
Initial Access
[Woody RAT](https://attack.mitre.org/software/S1065) has been delivered via malicious Word documents and archive files.(Citation: MalwareBytes WoodyRAT Aug 2022)
Execution
6 techniques
Execution
[Woody RAT](https://attack.mitre.org/software/S1065) can execute PowerShell commands and scripts with the use of .NET DLL, `WoodyPowerSession`.(Citation: MalwareBytes WoodyRAT Aug 2022)
[Woody RAT](https://attack.mitre.org/software/S1065) can execute commands using `cmd.exe`.(Citation: MalwareBytes WoodyRAT Aug 2022)
[Woody RAT](https://attack.mitre.org/software/S1065) can use multiple native APIs, including `WriteProcessMemory`, `CreateProcess`, and `CreateRemoteThread` for process injection.(Citation: MalwareBytes WoodyRAT Aug 2022)
[Woody RAT](https://attack.mitre.org/software/S1065) has relied on CVE-2022-30190 (Follina) for execution during delivery.(Citation: MalwareBytes WoodyRAT Aug 2022)
The content repeatedly describes victims being lured into opening malicious attachments, enabling macros, launching installers, clicking embedded files/links, or otherwise directly executing malicious content.
[Woody RAT](https://attack.mitre.org/software/S1065) has relied on users opening a malicious email attachment for execution.(Citation: MalwareBytes WoodyRAT Aug 2022)
Privilege Escalation
4 techniques
Privilege Escalation
[Woody RAT](https://attack.mitre.org/software/S1065) can inject code into a targeted process by writing to the remote memory of an infected system and then create a remote thread.(Citation: MalwareBytes WoodyRAT Aug 2022)
ROKRAT can use VirtualAlloc, WriteProcessMemory, and then CreateRemoteThread to execute shellcode within the address space of Notepad.exe. Ryuk has injected itself into remote processes to encrypt files using a combination of VirtualAlloc, WriteProcessMemory, and CreateRemoteThread.
ROKRAT can use VirtualAlloc, WriteProcessMemory, and then CreateRemoteThread to execute shellcode within the address space of Notepad.exe. Ryuk has injected itself into remote processes to encrypt files using a combination of VirtualAlloc, WriteProcessMemory, and CreateRemoteThread. Woody RAT can inject code into a targeted process by writing to the remote memory of an infected system and then create a remote thread.
[Woody RAT](https://attack.mitre.org/software/S1065) can create a suspended notepad process and write shellcode to delete a file into the suspended process using `NtWriteVirtualMemory`.(Citation: MalwareBytes WoodyRAT Aug 2022)
Stealth
10 techniques
Stealth
The content repeatedly describes payloads, strings, configuration files, scripts, URLs, and binaries being obfuscated or encoded using Base64, XOR, RC4, AES, RSA, hex encoding, custom algorithms, and other methods across many malware families and threat actors.
[Woody RAT](https://attack.mitre.org/software/S1065) has used Base64 encoded strings and scripts.(Citation: MalwareBytes WoodyRAT Aug 2022)
Woody RAT 'has suppressed all error reporting by calling SetErrorMode with 0x8007 as a parameter'; StealBit 'can configure processes to not display certain Windows error messages by through use of the NtSetInformationProcess.'
[Woody RAT](https://attack.mitre.org/software/S1065) can inject code into a targeted process by writing to the remote memory of an infected system and then create a remote thread.(Citation: MalwareBytes WoodyRAT Aug 2022)
ROKRAT can use VirtualAlloc, WriteProcessMemory, and then CreateRemoteThread to execute shellcode within the address space of Notepad.exe. Ryuk has injected itself into remote processes to encrypt files using a combination of VirtualAlloc, WriteProcessMemory, and CreateRemoteThread.
ROKRAT can use VirtualAlloc, WriteProcessMemory, and then CreateRemoteThread to execute shellcode within the address space of Notepad.exe. Ryuk has injected itself into remote processes to encrypt files using a combination of VirtualAlloc, WriteProcessMemory, and CreateRemoteThread. Woody RAT can inject code into a targeted process by writing to the remote memory of an infected system and then create a remote thread.
[Woody RAT](https://attack.mitre.org/software/S1065) can create a suspended notepad process and write shellcode to delete a file into the suspended process using `NtWriteVirtualMemory`.(Citation: MalwareBytes WoodyRAT Aug 2022)
Many entries explicitly describe deleting artifacts 'to cover tracks,' 'evade detection,' 'remove evidence,' 'reduce their footprint,' or as part of 'post-intrusion cleanup process.' Examples include APT28 deleting files to cover tracks, FIN5 using SDelete to clean up the environment, and Dragonfly deleting operational files as part of cleanup.
[Woody RAT](https://attack.mitre.org/software/S1065) has the ability to delete itself from disk by creating a suspended notepad process and writing shellcode to delete a file into the suspended process using `NtWriteVirtualMemory`.(Citation: MalwareBytes WoodyRAT Aug 2022)
[Woody RAT](https://attack.mitre.org/software/S1065) can deobfuscate Base64-encoded strings and scripts.(Citation: MalwareBytes WoodyRAT Aug 2022)
Defense Impairment
1 technique
Defense Impairment
[Woody RAT](https://attack.mitre.org/software/S1065) has suppressed all error reporting by calling `SetErrorMode` with 0x8007 as a parameter.(Citation: MalwareBytes WoodyRAT Aug 2022)
Discovery
12 techniques
Discovery
[Woody RAT](https://attack.mitre.org/software/S1065) can search registry keys to identify antivirus programs on an compromised host.(Citation: MalwareBytes WoodyRAT Aug 2022)
[Woody RAT](https://attack.mitre.org/software/S1065) can retrieve network interface and proxy information.(Citation: MalwareBytes WoodyRAT Aug 2022)
[Woody RAT](https://attack.mitre.org/software/S1065) can make `Ping` GET HTTP requests to its C2 server at regular intervals for network connectivity checks.(Citation: MalwareBytes WoodyRAT Aug 2022)
[Woody RAT](https://attack.mitre.org/software/S1065) can retrieve a list of user accounts and usernames from an infected machine.(Citation: MalwareBytes WoodyRAT Aug 2022)
Multiple actors and malware check for internet/network connectivity using ping, tracert, HTTP GET requests, or contacting well-known domains (e.g., google[.]com, bing[.]com, 8.8.8.8) prior to tool transfer or C2 establishment.
[Woody RAT](https://attack.mitre.org/software/S1065) can call `NtQuerySystemProcessInformation` with `SystemProcessInformation` to enumerate all running processes, including associated information such as PID, parent PID, image name, and owner.(Citation: MalwareBytes WoodyRAT Aug 2022)
[Woody RAT](https://attack.mitre.org/software/S1065) can retrieve the following information from an infected machine: OS, architecture, computer name, OS build version, and environment variables.(Citation: MalwareBytes WoodyRAT Aug 2022)
[Woody RAT](https://attack.mitre.org/software/S1065) can list all files and their associated attributes, including filename, type, owner, creation time, last access time, last write time, size, and permissions.(Citation: MalwareBytes WoodyRAT Aug 2022)
[Woody RAT](https://attack.mitre.org/software/S1065) can identify administrator accounts on an infected machine.(Citation: MalwareBytes WoodyRAT Aug 2022)
[Woody RAT](https://attack.mitre.org/software/S1065) can collect .NET, PowerShell, and Python information from an infected host.(Citation: MalwareBytes WoodyRAT Aug 2022)
[Woody RAT](https://attack.mitre.org/software/S1065) can detect Avast Software, Doctor Web, Kaspersky, AVG, ESET, and Sophos antivirus programs.(Citation: MalwareBytes WoodyRAT Aug 2022)
[Woody RAT](https://attack.mitre.org/software/S1065) can retrieve information about storage drives from an infected machine.(Citation: MalwareBytes WoodyRAT Aug 2022)
Collection
2 techniques
Collection
[Woody RAT](https://attack.mitre.org/software/S1065) can collect information from a compromised host.(Citation: MalwareBytes WoodyRAT Aug 2022)
[Woody RAT](https://attack.mitre.org/software/S1065) has the ability to take a screenshot of the infected host desktop using Windows GDI+.(Citation: MalwareBytes WoodyRAT Aug 2022)
Command and Control
5 techniques
Command and Control
[Woody RAT](https://attack.mitre.org/software/S1065) can communicate with its C2 server using HTTP requests.(Citation: MalwareBytes WoodyRAT Aug 2022)
[Woody RAT](https://attack.mitre.org/software/S1065) can download files from its C2 server, including the .NET DLLs, `WoodySharpExecutor` and `WoodyPowerSession`.(Citation: MalwareBytes WoodyRAT Aug 2022)
The content repeatedly describes malware and threat actors using SSL, TLS, HTTPS, RSA, AES, Blowfish, RC4, ECIES, Diffie-Hellman, OpenSSL, WolfSSL, and mutual TLS to protect command and control traffic.
[Woody RAT](https://attack.mitre.org/software/S1065) can use AES-CBC to encrypt data sent to its C2 server.(Citation: MalwareBytes WoodyRAT Aug 2022)
[Woody RAT](https://attack.mitre.org/software/S1065) can use RSA-4096 to encrypt data sent to its C2 server.(Citation: MalwareBytes WoodyRAT Aug 2022)
Exfiltration
1 technique
Exfiltration
[Woody RAT](https://attack.mitre.org/software/S1065) can exfiltrate files from an infected machine to its C2 server.(Citation: MalwareBytes WoodyRAT Aug 2022)
Recent activity
43 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.