RATANKBA
- Type
- Downloader
- Capabilities
- ReconnaissanceProcess injection
- Delivery
- Watering holeExploit kit
- Platforms
- Windows
RATANKBA is a Windows first-stage downloader and reconnaissance implant associated with the North Korean Lazarus Group. It communicates with command-and-control infrastructure and downloads additional tools onto compromised systems. The family includes traditional Portable Executable implementations and a PowerShell-based variant known as PowerRatankba. RATANKBA can enumerate running processes, identify the current user and logged-on users, collect local IP configuration, discover network domains and remote systems, and query Windows Registry settings related to Internet configuration. It also supports reflective DLL injection into a process identified by a supplied process identifier.
RATANKBA was used in watering-hole campaigns targeting banking and financial organizations in late 2016 and early 2017. Compromised legitimate websites, including the Polish financial regulator’s website, redirected selected visitors to a customized exploit kit that attempted to install the malware. The campaign selected targets across 104 organizations in 31 countries, predominantly banks, with some telecommunications and Internet firms also targeted. RATANKBA infections were observed downloading additional hacking tools, supporting follow-on intrusion activity.
Associated threat actors
1 distinct threat actor Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Techniques & procedures
22 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
2 techniques
Initial Access
Lazarus & Watering-hole attacks Ratankba
Proofpoint researchers have uncovered a number of multistage attacks that use cryptocurrency-related lures to infect victims with sophisticated backdoors and reconnaissance malware that we attribute to the Lazarus Group.
Execution
3 techniques
Execution
[RATANKBA](https://attack.mitre.org/software/S0241) uses WMI to perform process monitoring.(Citation: Lazarus RATANKBA)(Citation: RATANKBA)
There is a variant of [RATANKBA](https://attack.mitre.org/software/S0241) that uses a PowerShell script instead of the traditional PE form.(Citation: Lazarus RATANKBA)(Citation: RATANKBA)
[RATANKBA](https://attack.mitre.org/software/S0241) uses cmd.exe to execute commands.(Citation: Lazarus RATANKBA)(Citation: RATANKBA)
Privilege Escalation
2 techniques
Privilege Escalation
Aria-body has the ability to inject itself into another process such as rundll32.exe and dllhost.exe... BlackEnergy injects its DLL component into svchost.exe... ComRAT has injected its orchestrator DLL into explorer.exe... Stuxnet injects an entire DLL into an existing, newly created, or preselected trusted process.
[RATANKBA](https://attack.mitre.org/software/S0241) performs a reflective DLL injection using a given pid.(Citation: Lazarus RATANKBA)(Citation: RATANKBA)
Stealth
3 techniques
Stealth
Aria-body has the ability to inject itself into another process such as rundll32.exe and dllhost.exe... BlackEnergy injects its DLL component into svchost.exe... ComRAT has injected its orchestrator DLL into explorer.exe... Stuxnet injects an entire DLL into an existing, newly created, or preselected trusted process.
[RATANKBA](https://attack.mitre.org/software/S0241) performs a reflective DLL injection using a given pid.(Citation: Lazarus RATANKBA)(Citation: RATANKBA)
Cobalt Strike has the ability to load DLLs via reflective injection... Lazarus Group malware sample performs reflective DLL injection... Matryoshka uses reflective DLL injection... Netwalker DLL has been injected reflectively into the memory of a legitimate running process.
Discovery
10 techniques
Discovery
[RATANKBA](https://attack.mitre.org/software/S0241) uses <code>tasklist /svc</code> to display running tasks.(Citation: RATANKBA)
[RATANKBA](https://attack.mitre.org/software/S0241) uses the command <code>reg query “HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\InternetSettings”</code>.(Citation: RATANKBA)
[RATANKBA](https://attack.mitre.org/software/S0241) gathers the victim’s IP address via the <code>ipconfig -all</code> command.(Citation: Lazarus RATANKBA)(Citation: RATANKBA)
[RATANKBA](https://attack.mitre.org/software/S0241) runs the <code>net view /domain</code> and <code>net view</code> commands.(Citation: RATANKBA)
[RATANKBA](https://attack.mitre.org/software/S0241) runs the <code>whoami</code> and <code>query user</code> commands.(Citation: RATANKBA)
[RATANKBA](https://attack.mitre.org/software/S0241) uses <code>netstat -ano</code> to search for specific IP address ranges.(Citation: RATANKBA)
[RATANKBA](https://attack.mitre.org/software/S0241) lists the system’s processes.(Citation: Lazarus RATANKBA)(Citation: RATANKBA)
[RATANKBA](https://attack.mitre.org/software/S0241) gathers information about the OS architecture, OS name, and OS version/Service pack.(Citation: Lazarus RATANKBA)(Citation: RATANKBA)
“actors used the following commands… to enumerate user accounts: net user >> %temp%\download; net user /domain >> %temp%\download … APT1 used the commands net localgroup, net user, and net group to find accounts… APT32 enumerated administrative users using the commands net localgroup administrators … OilRig has run net user, net user /domain, net group "domain admins" /domain …”
[RATANKBA](https://attack.mitre.org/software/S0241) uses the <code>net user</code> command.(Citation: RATANKBA)
Collection
1 technique
Collection
230,000 unique credit card information numbers were exfiltrated to Lazarus C&C.
Command and Control
2 techniques
Command and Control
[RATANKBA](https://attack.mitre.org/software/S0241) uses HTTP/HTTPS for command and control communication.(Citation: Lazarus RATANKBA)(Citation: RATANKBA)
[RATANKBA](https://attack.mitre.org/software/S0241) uploads and downloads information.(Citation: Lazarus RATANKBA)(Citation: RATANKBA)
Exfiltration
1 technique
Exfiltration
230,000 unique credit card information numbers were exfiltrated to Lazarus C&C.
Observables
1 indicator attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
48 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.