GraphWorm
- Type
- Backdoor
- Capabilities
- PersistenceExfiltrationReconnaissanceDefense evasionPost exploitation
- Platforms
- Windows
GraphWorm is a custom Windows backdoor used by the China-aligned espionage group Webworm and introduced into its toolset in 2025. It uses Microsoft Graph API to communicate through Microsoft OneDrive, authenticating as an OAuth application and exchanging encrypted tasks and results through cloud-hosted folders. This use of legitimate cloud infrastructure helps conceal command-and-control activity within ordinary enterprise traffic.
GraphWorm supports shell command execution, process creation, bidirectional file transfer, configurable sleep intervals, and operator-directed termination. It generates a victim identifier from host hardware information and maintains a separate OneDrive workspace for each infected system. The backdoor uploads victim information and command results, encrypting exchanged data with AES-256-CBC and applying Base64 encoding. It establishes persistence through Windows registry autorun entries that execute it when a user logs in.
GraphWorm also supports remotely replacing its OAuth configuration, allowing operators to move an existing implant to another OneDrive command-and-control account without redeploying it. Its initial infection vector and delivery mechanism are not established. Webworm's broader campaigns have targeted European government organizations and a university in South Africa, but those campaign-level targets should not be treated as a confirmed GraphWorm-specific victim list.
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.
Earlier coverage of Webworm’s GraphWorm documented a separate backdoor that used Microsoft OneDrive for communications.
According to ESET, the group’s latest campaigns introduced two new backdoors: EchoCreep and GraphWorm. GraphWorm relies on Microsoft Graph API and OneDrive endpoints to retrieve tasks and upload victim information.
According to ESET, the group’s latest campaigns introduced two new backdoors: EchoCreep and GraphWorm. GraphWorm relies on Microsoft Graph API and OneDrive endpoints to retrieve tasks and upload victim information.
Techniques & procedures
24 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
1 technique
Initial Access
GraphWorm uses a valid cloud account to access Microsoft Graph APIs.
Execution
2 techniques
Execution
“CPU and disk serial numbers pulled through WMI.”
“The command set covers shell execution, file upload and download, sleep, kill and a key exchange pair.”
Persistence
3 techniques
Persistence
GraphWorm uses a valid cloud account to access Microsoft Graph APIs.
GraphWorm makes modifications to registry Run keys for persistence.
GraphWorm persists by making updates to registry Run keys.
Privilege Escalation
2 techniques
Privilege Escalation
GraphWorm uses a valid cloud account to access Microsoft Graph APIs.
GraphWorm persists by making updates to registry Run keys.
Stealth
4 techniques
Stealth
GraphWorm and EchoCreep use encryption and encoding techniques to obfuscate data.
the use of a GitHub repository impersonating a WordPress fork ("github[.]com/anjsdgasdf/WordPress") as a staging ground for malware and tools like SoftEther VPN in an effort to blend in and fly under the radar.
GraphWorm cleans up a created beacon file after successful upload.
GraphWorm uses a valid cloud account to access Microsoft Graph APIs.
Defense Impairment
1 technique
Defense Impairment
GraphWorm makes modifications to registry Run keys for persistence.
Discovery
1 technique
Discovery
“A fingerprint file carries the victim’s system details... It builds an identifier by hashing the network adapter’s hardware address together with CPU and disk serial numbers pulled through WMI.”
Lateral Movement
1 technique
Lateral Movement
GraphWorm and EchoCreep use API keys to communicate with the C&C infrastructure.
Collection
3 techniques
Collection
Both EchoCreep and GraphWorm can collect data from the local system.
GraphWorm stages a beacon file locally before uploading to the C&C.
GraphWorm stages files and tasks within OneDrive via the Microsoft Graph API.
Command and Control
9 techniques
Command and Control
EchoCreep backdoor using Discord for C&C. ... GraphWorm backdoor using the Microsoft Graph API for C&C.
“All of it rides graph.microsoft.com over TLS, from a host that is already talking to Microsoft 365 all day.”
WormFrp, ChainWorm, WormSocket, SmuxProxy, and GraphWorm have the capability to connect to external proxies.
“It authenticates to Microsoft Graph as an OAuth application and uses a OneDrive account as a dead drop. The operator writes an encrypted task file into a job folder. The implant polls that folder, runs the task, then uploads the encrypted result into a result folder.”
“The command set covers shell execution, file upload and download.”
EchoCreep, GraphWorm, and WormSocket make use of base64 encoding.
Confirms the published Microsoft Graph + OneDrive C&C role at the file level.
“The operator writes an encrypted task file into a job folder... then uploads the encrypted result into a result folder.”
EchoCreep, GraphWorm, WormSocket, and WormFrp use AES in some capacity.
Exfiltration
2 techniques
Exfiltration
EchoCreep and GraphWorm exfiltrate data to their respective C&C infrastructures.
“The implant polls that folder, runs the task, then uploads the encrypted result into a result folder.”
Observables
3 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
11 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.