DRATzarus
- Type
- RAT
- Capabilities
- ReconnaissancePost exploitationDefense evasion
- Delivery
- SpearphishingLure
- Platforms
- Windows
DRATzarus is a Windows remote access trojan developed and used by the North Korean state-sponsored Lazarus Group during Operation Dream Job. The operation used fictitious recruitment opportunities and malicious documents to compromise targets, including personnel in defense, aerospace, and government organizations. DRATzarus communicates with attacker-controlled infrastructure and supports post-compromise activity, including collecting host information, enumerating user accounts, discovering other reachable machines, and mapping the victim network. Lazarus Group also used it to deploy additional utilities, including Responder, Wake-On-Lan, and ChromePass.
DRATzarus incorporates anti-analysis and defense-evasion functionality. It checks for debuggers using IsDebuggerPresent and uses Windows APIs to identify sandbox environments. GetTickCount and GetSystemTimeAsFileTime support system-time inspection and function-timing checks. The malware can enter a dormant state under specified conditions to evade detection. Its payload and dropper have masqueraded as legitimate software, and its dropper has been packed with UPX.
Associated threat actors
2 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
After downloading and saving DRATzarus to the system, the attack graph recreates the communications captured between the malware sample and the adversary’s infrastructure.
Techniques & procedures
20 distinct techniques documented for this family, organized by ATT&CK tactic.
Resource Development
1 technique
Resource Development
Lazarus Group has developed custom malware for use in their operations. For Operation Dream Job, Lazarus Group developed custom tools such as Sumarta, DBLL Dropper, Torisma, and DRATzarus for their operations.
Execution
1 technique
Execution
[DRATzarus](https://attack.mitre.org/software/S0694) can use various API calls to see if it is running in a sandbox.(Citation: ClearSky Lazarus Aug 2020)
Stealth
9 techniques
Stealth
[DRATzarus](https://attack.mitre.org/software/S0694) can be partly encrypted with XOR.(Citation: ClearSky Lazarus Aug 2020)
[DRATzarus](https://attack.mitre.org/software/S0694)'s dropper can be packed with UPX.(Citation: ClearSky Lazarus Aug 2020)
Lazarus Group has used multiple types of encryption and encoding for their payloads, including AES, Caracachs, RC4, XOR, Base64... During Operation Dream Job, Lazarus Group encrypted malware such as DRATzarus with XOR and DLL files with base64.
During the 2016 Ukraine Electric Power Attack, DLLs and EXEs with filenames associated with common electric power sector protocols were used to masquerade files.
[DRATzarus](https://attack.mitre.org/software/S0694) has been named `Flash.exe`, and its dropper has been named `IExplorer`.(Citation: ClearSky Lazarus Aug 2020)
"DRATzarus can use various API calls to see if it is running in a sandbox"; "EvilBunny ... checks to see if the malware is running in a sandbox"
Several entries describe malware examining running processes to determine if a debugger, sandbox, virtual environment, or analysis/security tools are present, such as AsyncRAT checking for a debugger, RogueRobin enumerating Wireshark and Sysinternals processes, and P8RAT checking for processes associated with virtual environments.
[DRATzarus](https://attack.mitre.org/software/S0694) can use the `GetTickCount` and `GetSystemTimeAsFileTime` API calls to measure function timing.(Citation: ClearSky Lazarus Aug 2020) [DRATzarus](https://attack.mitre.org/software/S0694) can also remotely shut down into sleep mode under specific conditions to evade detection.(Citation: ClearSky Lazarus Aug 2020)
[DRATzarus](https://attack.mitre.org/software/S0694) can use `IsDebuggerPresent` to detect whether a debugger is present on a victim.(Citation: ClearSky Lazarus Aug 2020)
Discovery
10 techniques
Discovery
[DRATzarus](https://attack.mitre.org/software/S0694) can search for other machines connected to compromised host and attempt to map the network.(Citation: ClearSky Lazarus Aug 2020)
[DRATzarus](https://attack.mitre.org/software/S0694) can obtain a list of users from an infected machine.(Citation: ClearSky Lazarus Aug 2020)
The native Windows command line tool netstat is used to collect active connections and any listening services running on the host.
[DRATzarus](https://attack.mitre.org/software/S0694) can enumerate and examine running processes to determine if a debugger is present.(Citation: ClearSky Lazarus Aug 2020)
Examples include 'Caterpillar WebShell can obtain a list of user accounts from a victim's machine,' 'DRATzarus can obtain a list of users from an infected machine,' 'Woody RAT can retrieve a list of user accounts and usernames from an infected machine,' and 'TrickBot can identify the user and groups the user belongs to on a compromised host.'
[DRATzarus](https://attack.mitre.org/software/S0694) can use the `GetTickCount` and `GetSystemTimeAsFileTime` API calls to inspect system time.(Citation: ClearSky Lazarus Aug 2020)
"DRATzarus can use various API calls to see if it is running in a sandbox"; "EvilBunny ... checks to see if the malware is running in a sandbox"
Several entries describe malware examining running processes to determine if a debugger, sandbox, virtual environment, or analysis/security tools are present, such as AsyncRAT checking for a debugger, RogueRobin enumerating Wireshark and Sysinternals processes, and P8RAT checking for processes associated with virtual environments.
[DRATzarus](https://attack.mitre.org/software/S0694) can use the `GetTickCount` and `GetSystemTimeAsFileTime` API calls to measure function timing.(Citation: ClearSky Lazarus Aug 2020) [DRATzarus](https://attack.mitre.org/software/S0694) can also remotely shut down into sleep mode under specific conditions to evade detection.(Citation: ClearSky Lazarus Aug 2020)
[DRATzarus](https://attack.mitre.org/software/S0694) can use `IsDebuggerPresent` to detect whether a debugger is present on a victim.(Citation: ClearSky Lazarus Aug 2020)
Collection
1 technique
Collection
[DRATzarus](https://attack.mitre.org/software/S0694) can collect information from a compromised host.(Citation: ClearSky Lazarus Aug 2020)
Command and Control
2 techniques
Command and Control
[DRATzarus](https://attack.mitre.org/software/S0694) can use HTTP or HTTPS for C2 communications.(Citation: ClearSky Lazarus Aug 2020)
This scenario downloads to memory and saves to disk in two separate scenarios to test network and endpoint controls.
Recent activity
23 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.