YamaBot
- Type
- RAT
- Capabilities
- ReconnaissanceExfiltrationPersistencePost exploitationDefense evasion
- Platforms
- LinuxWindows
YamaBot is a Lazarus Group remote access trojan associated in particular with the Andariel cluster and used in North Korean espionage operations. It has been observed in campaigns targeting sectors including energy, and has been linked to intrusions against organizations in countries such as the United States, Canada, Japan, and elsewhere. Reporting also describes YamaBot as part of the broader Andariel malware arsenal alongside families such as VSingle, MagicRAT, TigerRAT, and Jupiter/EarlyRAT.
YamaBot is implemented in Go and has been documented in both Linux- and Windows-targeting variants, with platform-specific command handling. It communicates with command-and-control infrastructure over HTTP and fingerprints infected hosts by collecting identifiers such as hostname, username, and, on Windows, MAC address. Device metadata and command results are protected with RC4 and Base64 encoding and exchanged through HTTP cookie fields, while server tasking is delivered through HTTP response headers. When transmitting larger data, the malware can disguise outbound content as multipart BMP-like data to blend exfiltration into web traffic.
Its supported functionality includes remote command execution, file and directory listing, process information collection, file download, configurable sleep or beacon intervals, and self-uninstallation. The Linux variant primarily executes shell commands through the system shell, while the Windows variant exposes multiple built-in commands for filesystem interaction and execution control. These capabilities make YamaBot suitable for persistent post-compromise access, reconnaissance, and selective data theft during hands-on-keyboard intrusions.
Operationally, YamaBot has been observed after exploitation of internet-facing enterprise infrastructure, including VMware Horizon systems compromised via Log4Shell, and in some cases was deployed after other Lazarus implants were detected in order to preserve access. Its use aligns with Andariel tradecraft that combines custom RATs with credential theft, lateral movement, tunneling, and data exfiltration in support of long-term espionage objectives.
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.
Associated threat actors
3 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Talos has discovered the use of two known families of malware in these intrusions — VSingle and YamaBot. ... A third intrusion set worth noting here is one where we saw the use of a third bespoke implant known as YamaBot.
Over the last 15 years, the group has developed RATs, including the following... ▪ YamaBot
Over the last 15 years, the group has developed RATs, including the following... ▪ YamaBot
Techniques & procedures
13 distinct techniques documented for this family, organized by ATT&CK tactic.
Resource Development
1 technique
Resource Development
These tools include functionality for executing arbitrary commands... and uploading content to command and control (C2) [T1587.001, T1587.004].
Initial Access
1 technique
Initial Access
Cisco Talos identified the exploitation of the Log4Shell vulnerability on VmWare Horizon public-facing servers as the initial attack vector [T1190].
Execution
1 technique
Execution
"Those targeting Linux OS can only execute shell commands by /bin/sh." ... "Others: Execute a given string with shell command"
Stealth
3 techniques
Stealth
"It is also unique in that the UserAgent is Base64-encoded."
"Uninstall: Delete itself"
"Those targeting Windows OS have functions specific to it, such as creating and checking Mutex."
Discovery
3 techniques
Discovery
"Target Windows OS: hostname, username, MAC address" and function name "utilities.GetMacAddress"
systeminfo & ipconfig /all & netstat -naop tcp & tasklist & net user & net view & arp -a System Information Discovery [T1082]
"dir: Get the file list" and "Mapfs: Get the directory list"
Command and Control
4 techniques
Command and Control
"if the size of the data to be sent exceeds a certain size ... it is sent disguised as multi-part BMP data instead of captcha_val" ... "Content-Type: multipart/form-data" ... "filename=\"recaptcha.png\""
YamaBot is a custom-made GoLang-based malware family. It uses HTTP to communicate with its C2 servers.
Successful post-exploitation led to the download of their toolkit from web servers.
"The captcha_val contains device information and the results of command execution, RC4-encrypted and Base64-encoded." ... "The commands from the server are ... RC4-encrypted and Base64-encoded"
Observables
20 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
7 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.