Skip to main content
Mallory
Malware1 associated actor

BOOKWORM

Tracked since Nov 26, 2025 · Updated 3 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns0Associated
Actors1Associated
ATT&CK34Techniques
IOCs113Tracked
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.

Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Threat actors

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.

View more details →
Mustang Panda

(Citation: Broadcom)(Citation: Palo Alto Networks, Unit 42)

via mitre attack structuredgithub.com
MITRE ATT&CK

Techniques & procedures

34 distinct techniques documented for this family, organized by ATT&CK tactic.

Resource Development

2 techniques
T1584Compromise InfrastructureEvidence1

The actors also appear to have access to legitimate servers that they use to host Bookworm and other related tools for attacks.

T1587.001MalwareEvidence1

BumbleBee is likely to be the refactored BookWorm backdoor.

Initial Access

4 techniques
T1189Drive-by CompromiseEvidence1

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.

T1190Exploit Public-Facing ApplicationEvidence1

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.

T1566PhishingEvidence1

Known to use spear-phishing as the attack vector to compromise targets

T1566.001Spearphishing AttachmentEvidence1

"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
T1106Native APIEvidence4

[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)

T1129Shared ModulesEvidence1

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.

T1204User ExecutionEvidence1

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.

T1574.001DLLEvidence5

[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
T1112Modify RegistryEvidence6

[BOOKWORM](https://attack.mitre.org/software/S1226) has modified Registry key values as part of its created service `DeviceSync`. (Citation: Unit42 Bookworm Nov2015)

T1543.003Windows ServiceEvidence7

[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
T1055Process InjectionEvidence2

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.

T1543.003Windows ServiceEvidence7

[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
T1027Obfuscated Files or InformationEvidence7

[BOOKWORM](https://attack.mitre.org/software/S1226) has been delivered using self-extracting RAR archives.(Citation: Unit42 Bookworm Nov2015)

T1027.013Encrypted/Encoded FileEvidence3

[BOOKWORM](https://attack.mitre.org/software/S1226) has utilized Base64 encoding to obfuscate its payload.(Citation: Palo Alto Networks, Unit 42)

T1036MasqueradingEvidence4

Aquatic Panda created new Windows services for persistence that masqueraded as legitimate Windows services via name change.

T1036.004Masquerade Task or ServiceEvidence3

[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)

T1055Process InjectionEvidence2

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.

T1070.006TimestompEvidence4

[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)

T1140Deobfuscate/Decode Files or InformationEvidence7

[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)

T1480.001Environmental KeyingEvidence1

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”)

T1564.003Hidden WindowEvidence5

[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)

T1574.001DLLEvidence5

[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
T1112Modify RegistryEvidence6

[BOOKWORM](https://attack.mitre.org/software/S1226) has modified Registry key values as part of its created service `DeviceSync`. (Citation: Unit42 Bookworm Nov2015)

T1553.002Code SigningEvidence4

[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
T1040Network SniffingEvidence1

"Network.dll sets the network interface into promiscuous mode and gathers network traffic..."

T1056.001KeyloggingEvidence5

[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
T1033System Owner/User DiscoveryEvidence3

[BOOKWORM](https://attack.mitre.org/software/S1226) has obtained the username from an infected host. (Citation: Unit42 Bookworm Nov2015)

T1040Network SniffingEvidence1

"Network.dll sets the network interface into promiscuous mode and gathers network traffic..."

Lateral Movement

1 technique
T1021Remote ServicesEvidence1

This may suggest that the threat actors used this webserver to pivot from the webserver into the internal network.

Collection

2 techniques
T1056.001KeyloggingEvidence5

[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)

T1115Clipboard DataEvidence5

[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
T1001.003Protocol or Service ImpersonationEvidence3

[BOOKWORM](https://attack.mitre.org/software/S1226) has modified HTTP POST requests to resemble legitimate communications.(Citation: Palo Alto Networks, Unit 42)

T1071Application Layer ProtocolEvidence1

Use of large command and control (C2) infrastructure, which heavily favors dynamic DNS domains for C2 servers.

T1071.001Web ProtocolsEvidence8

[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)

T1105Ingress Tool TransferEvidence2

Threat actors have delivered Bookworm as a payload in attacks on targets in Thailand.

T1132.001Standard EncodingEvidence1

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.

T1568Dynamic ResolutionEvidence1

Use of large command and control (C2) infrastructure, which heavily favors dynamic DNS domains for C2 servers.

T1573.001Symmetric CryptographyEvidence4

[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)

Indicators of compromise

Observables

113 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.

View all in app →
Indicator values are available in Mallory. Pivot on every hash, domain, URL, and IP, or pipe them straight into your SIEM.View all in Mallory
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matching113Match every observed IP, domain, and hash against your live telemetry.
Associated threat actors1Groups linked to this family, with evidence pinned to each claim.
Associated vulnerabilitiesCVEs linked to this family, with the reporting behind each link.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
MITRE ATT&CK mapping34Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.