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.
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.
Several watering hole attacks targeting the banking and financial industries that occurred at the end of 2016 and beginning of 2017 utilized a first stage downloader implant dubbed Ratankba.
22 distinct techniques documented for this family, organized by ATT&CK tactic.
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.
[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)
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)
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.
[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)
230,000 unique credit card information numbers were exfiltrated to Lazarus C&C.
[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)
230,000 unique credit card information numbers were exfiltrated to Lazarus C&C.
1 indicator attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
48 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.