BOOKWORM
- Type
- RAT
- Capabilities
- KeyloggingExfiltrationPersistencePost exploitationDefense evasionDLL sideloading
- Delivery
- SpearphishingLure
- Platforms
- Windows
Bookworm is a modular Windows remote access Trojan associated with long-running cyberespionage activity in Southeast Asia. First observed in 2015, it has been used to target government and related organizations, initially with a strong concentration on Thailand and later in broader ASEAN-linked operations. Bookworm has been attributed with high confidence to the Chinese threat actor Stately Taurus, and reporting also notes overlap with tradecraft historically associated with Mustang Panda. The malware has remained operationally relevant for years, with newer variants preserving the same core architecture while changing packaging and loader components.
Bookworm functions primarily as a RAT and backdoor that gives operators persistent remote control of compromised systems. Its built-in functionality includes keylogging and clipboard theft, and it can expand its capabilities by loading additional modules from command-and-control infrastructure. Reported capabilities include arbitrary command execution, file upload and download, and data exfiltration. A dedicated logging component has been observed creating a hidden window while collecting keystrokes and clipboard contents, reflecting an emphasis on stealth during collection.
A defining characteristic of Bookworm is its modular, staged execution chain and frequent abuse of legitimate software for DLL sideloading. Operators have used legitimate signed executables to load malicious DLL components, including execution within trusted security product processes. Recent variants also use shellcode-loading methods in which payload data is encoded as UUID strings and executed through legitimate Windows APIs, indicating incremental modernization rather than a full redesign.
Bookworm employs multiple persistence and defense-evasion mechanisms. Observed techniques include creation of a Windows service masquerading as a legitimate component to launch at system startup, modification of related Registry values, use of valid digital signatures or certificates to reduce suspicion, creation of hidden windows during collection, and timestamp manipulation to hinder forensic analysis. Its network communications have also been modified to resemble legitimate HTTP traffic.
Delivery has been observed through spearphishing campaigns using decoy documents and themed lures tied to current events, particularly in operations against Thai government entities. Compromised legitimate web servers have also been used to host Bookworm-related payloads and tooling. Across campaigns, Bookworm has been part of broader intrusion sets that also involved other malware families and staging tools, underscoring its role as a reusable espionage platform rather than a single isolated implant.
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
34 distinct techniques documented for this family, organized by ATT&CK tactic.
Resource Development
2 techniques
Resource Development
The actors also appear to have access to legitimate servers that they use to host Bookworm and other related tools for attacks.
BumbleBee is likely to be the refactored BookWorm backdoor.
Initial Access
4 techniques
Initial Access
have access to compromised web servers that could facilitate strategic web compromise (SWC) as an attack vector in the future | We also speculate that these threat actors may use strategic web compromises (SWC) as an attack vector in future campaigns using their unauthorized access to webservers.
one site has a publicly accessible form that would allow visitors to upload files to the webserver... Unit 42 believes that threat actors could have uploaded Bookworm to this server using this form.
Known to use spear-phishing as the attack vector to compromise targets
"The threat actors use a commercial installation tool called Smart Installer Maker to encapsulate and execute a self-extracting RAR archive and in some cases a decoy slideshow or Flash installation application."
Execution
4 techniques
Execution
[BOOKWORM](https://attack.mitre.org/software/S1226) has used various Windows API calls during execution and defense evasion.(Citation: Broadcom) (Citation: Palo Alto Networks, Unit 42) [BOOKWORM](https://attack.mitre.org/software/S1226) has created a buffer on the heap using `HeapCreate` and `HeapAlloc` which allows for copying of shell code and then execution on the heap is initiated through callback function of legitimate API functions such as `EnumChildWindows` or `EnumSystemLanguageGroupsA`. (Citation: Palo Alto Networks, Unit 42)
The decoded shellcode decrypts and loads dynamic-link libraries (DLLs) that comprise the Bookworm malware... The Bookworm malware family consists of multiple modules, each of which support the main Leader.dll module by providing additional functionality.
The use of a Flash Player installer, seen in Figure 1, suggests that the threat actors are using social engineering to instruct the victim to update or install the Flash Player application.
[BOOKWORM](https://attack.mitre.org/software/S1226) has used DLL side-loading to execute the malicious payload. (Citation: Broadcom)(Citation: Palo Alto Networks, Unit 42) [BOOKWORM](https://attack.mitre.org/software/S1226) has also side-loaded DLL components into a legitimate process, including Microsoft Malware Protection `MsMpEng.exe` and Kaspersky Anti-Virus `ushata.exe`.(Citation: Unit42 Bookworm Nov2015)
Persistence
2 techniques
Persistence
[BOOKWORM](https://attack.mitre.org/software/S1226) has modified Registry key values as part of its created service `DeviceSync`. (Citation: Unit42 Bookworm Nov2015)
[BOOKWORM](https://attack.mitre.org/software/S1226) has created a service named `Microsoft Windows DeviceSync Service` at `HKLM\SYSTEM\CurrentControlSet\Services\DeviceSync\` to trigger execution when the system starts and to maintain persistence. (Citation: Unit42 Bookworm Nov2015)
Privilege Escalation
2 techniques
Privilege Escalation
The payloads shown in Table 1 are loaders that contain embedded shellcode... Creating a buffer on the heap using HeapCreate and HeapAlloc... Copying shellcode to buffer on the heap... Using a callback function of a legitimate API function, such as EnumChildWindows or EnumSystemLanguageGroupsA to execute the shellcode on the heap.
[BOOKWORM](https://attack.mitre.org/software/S1226) has created a service named `Microsoft Windows DeviceSync Service` at `HKLM\SYSTEM\CurrentControlSet\Services\DeviceSync\` to trigger execution when the system starts and to maintain persistence. (Citation: Unit42 Bookworm Nov2015)
Stealth
10 techniques
Stealth
[BOOKWORM](https://attack.mitre.org/software/S1226) has been delivered using self-extracting RAR archives.(Citation: Unit42 Bookworm Nov2015)
[BOOKWORM](https://attack.mitre.org/software/S1226) has utilized Base64 encoding to obfuscate its payload.(Citation: Palo Alto Networks, Unit 42)
Aquatic Panda created new Windows services for persistence that masqueraded as legitimate Windows services via name change.
[BOOKWORM](https://attack.mitre.org/software/S1226) has created services that attempt to resemble legitimate services to include a service named `Microsoft Windows DeviceSync Service`.(Citation: Unit42 Bookworm Nov2015)
The payloads shown in Table 1 are loaders that contain embedded shellcode... Creating a buffer on the heap using HeapCreate and HeapAlloc... Copying shellcode to buffer on the heap... Using a callback function of a legitimate API function, such as EnumChildWindows or EnumSystemLanguageGroupsA to execute the shellcode on the heap.
[BOOKWORM](https://attack.mitre.org/software/S1226) has modified file timestamps from the export address table (EAT) to make it difficult to discern when the module was created. (Citation: Palo Alto Networks, Unit 42)
[BOOKWORM](https://attack.mitre.org/software/S1226) has decoded its Base64 encoded payload prior to execution.(Citation: Palo Alto Networks, Unit 42) [BOOKWORM](https://attack.mitre.org/software/S1226) has also encrypted files with RC4 and has decrypted its payload prior to execution.(Citation: Unit42 Bookworm Nov2015)
Encrypt original shellcode file (to be a “bin” file) and path information (to be a “path” file) by using RC4 algorithm (key is the value of “ProductID” from “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Registration”)
[BOOKWORM](https://attack.mitre.org/software/S1226) has created a hidden window when conducting key logging and clipboard theft through its KBLogger.dll module.(Citation: Unit42 Bookworm Nov2015)
[BOOKWORM](https://attack.mitre.org/software/S1226) has used DLL side-loading to execute the malicious payload. (Citation: Broadcom)(Citation: Palo Alto Networks, Unit 42) [BOOKWORM](https://attack.mitre.org/software/S1226) has also side-loaded DLL components into a legitimate process, including Microsoft Malware Protection `MsMpEng.exe` and Kaspersky Anti-Virus `ushata.exe`.(Citation: Unit42 Bookworm Nov2015)
Defense Impairment
2 techniques
Defense Impairment
[BOOKWORM](https://attack.mitre.org/software/S1226) has modified Registry key values as part of its created service `DeviceSync`. (Citation: Unit42 Bookworm Nov2015)
[BOOKWORM](https://attack.mitre.org/software/S1226) has used valid legitimate digital signatures and certificates to evade detection. (Citation: Unit42 Bookworm Nov2015)
Credential Access
2 techniques
Credential Access
"Network.dll sets the network interface into promiscuous mode and gathers network traffic..."
[BOOKWORM](https://attack.mitre.org/software/S1226) has used its KBLogger.dll module to capture keystrokes and stored them in a folder. (Citation: Unit42 Bookworm Nov2015)
Discovery
2 techniques
Discovery
[BOOKWORM](https://attack.mitre.org/software/S1226) has obtained the username from an infected host. (Citation: Unit42 Bookworm Nov2015)
"Network.dll sets the network interface into promiscuous mode and gathers network traffic..."
Lateral Movement
1 technique
Lateral Movement
This may suggest that the threat actors used this webserver to pivot from the webserver into the internal network.
Collection
2 techniques
Collection
[BOOKWORM](https://attack.mitre.org/software/S1226) has used its KBLogger.dll module to capture keystrokes and stored them in a folder. (Citation: Unit42 Bookworm Nov2015)
[BOOKWORM](https://attack.mitre.org/software/S1226) has used its KBLogger.dll module to steal data saved to the clipboard. (Citation: Unit42 Bookworm Nov2015)
Command and Control
7 techniques
Command and Control
[BOOKWORM](https://attack.mitre.org/software/S1226) has modified HTTP POST requests to resemble legitimate communications.(Citation: Palo Alto Networks, Unit 42)
Use of large command and control (C2) infrastructure, which heavily favors dynamic DNS domains for C2 servers.
[BOOKWORM](https://attack.mitre.org/software/S1226) has communicated with its C2 via HTTP POST requests. (Citation: Unit42 Bookworm Nov2015)(Citation: Palo Alto Networks, Unit 42)
Threat actors have delivered Bookworm as a payload in attacks on targets in Thailand.
All other communication traffic, except for the victim information, are encrypted between server and client applications using the RC4 and compressed by LZO (Lempel–Ziv–Oberhumer) algorithm.
Use of large command and control (C2) infrastructure, which heavily favors dynamic DNS domains for C2 servers.
[BOOKWORM](https://attack.mitre.org/software/S1226) has used encryption and compression algorithms to obfuscate the traffic between the system and C2 server, methods observed included RC4, AES, XOR with 0x5a, and LZO. (Citation: Unit42 Bookworm Nov2015)
Observables
113 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
23 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.