Webworm APT Expands Cyber-Espionage to Europe, Leveraging Discord and Microsoft Graph for Covert C2 Communications

China-Aligned APT Webworm Targets Europe, Using Discord and MS Graph for C2

HIGH
May 24, 2026
June 7, 2026
7m read
Threat ActorMalwareThreat Intelligence

Related Entities(initial)

Threat Actors

Webworm Space Pirates

Organizations

Products & Tech

Discord Microsoft Graph API OneDriveAWS S3SoftEther VPN

Other

EchoCreepGraphWormWormFrp

Full Report(when first published)

Executive Summary

The China-aligned Advanced Persistent Threat (APT) group known as Webworm (also tracked as Space Pirates) has significantly evolved its tactics and expanded its targeting scope from Asia to European government entities. Research from ESET reveals the group is deploying a new arsenal of sophisticated backdoors designed for stealth and persistence. Two notable new malware families, EchoCreep and GraphWorm, abuse legitimate, high-reputation cloud services for command-and-control (C2) communications. EchoCreep uses Discord's API, while GraphWorm leverages the Microsoft Graph API and OneDrive. This living-off-the-trusted-land (LOTL) approach makes their C2 traffic exceptionally difficult to detect, as it blends in with legitimate business communications. The group's primary objective appears to be cyber-espionage, with observed exfiltration of sensitive government documents from targets in Spain, Belgium, Italy, and Poland.

Threat Overview

Webworm is a sophisticated espionage group that continuously refines its toolset to evade detection. Their latest campaign demonstrates a clear focus on stealth and operational security.

  • Targeting: The group has expanded its focus to include government organizations in several European nations, as well as targets in South Africa. This marks a strategic shift from their previous focus on Asia.
  • New Malware:
    • EchoCreep: A backdoor that uses Discord webhooks for C2. It sends system information to an attacker-controlled Discord channel and receives commands in return. ESET was able to decrypt over 400 of these messages, gaining significant insight.
    • GraphWorm: A more advanced backdoor that abuses the Microsoft Graph API. It uses a compromised Microsoft account's OneDrive as a dead-drop location for tasking and data exfiltration.
  • C2 Evasion: By using Discord and the Microsoft Graph API, Webworm's C2 traffic is encrypted by default and directed towards highly trusted domains (discord.com, graph.microsoft.com). This bypasses many network security controls that rely on domain reputation and blacklisting.
  • Other Tools: The group also utilizes open-source vulnerability scanners for initial reconnaissance and deploys various proxy tools, including a custom variant of FRP named WormFrp, to tunnel their traffic and further obscure their activities.

Technical Analysis

The attack chain showcases the group's methodical approach:

  1. Initial Access: The specific initial access vector is not detailed, but APTs like Webworm typically use spear-phishing (T1566.001 - Spearphishing Attachment) or exploit public-facing applications (T1190 - Exploit Public-Facing Application).
  2. Payload Deployment: Once inside, the operators deploy one of their backdoors, either EchoCreep or GraphWorm.
  3. C2 Communication (GraphWorm): The GraphWorm backdoor authenticates to the Microsoft Graph API. It checks a specific folder in the associated OneDrive account for a tasking file. It executes the commands in the file, writes the output to a new file, and uploads it back to OneDrive for the operator to retrieve.
  4. C2 Communication (EchoCreep): The EchoCreep backdoor sends a POST request to a hardcoded Discord webhook URL. The body of the request contains encrypted, base64-encoded system information. It receives tasks from the same channel.
  5. Data Exfiltration: In one documented case, the group exfiltrated files from a Spanish government entity, including a Microsoft Visio diagram of the domain's network infrastructure, using compromised AWS S3 buckets as an exfiltration point.

MITRE ATT&CK Techniques

Impact Assessment

  • Espionage: The primary impact is successful cyber-espionage against European government targets. The theft of sensitive documents, such as network diagrams, provides the threat actor with valuable intelligence for planning future operations or understanding the target's capabilities.
  • Erosion of Trust in Cloud Services: This campaign further demonstrates how threat actors can turn trusted enterprise cloud services into weapons, making it harder for defenders to distinguish malicious from benign activity.
  • Increased Detection Complexity: Security teams must now consider traffic to legitimate services like Discord and Microsoft Graph API as potential C2 channels, significantly increasing the complexity of threat hunting.

IOCs — Directly from Articles

No specific IOCs such as domains, IPs, or file hashes were provided in the summarized articles.

Cyber Observables — Hunting Hints

Security teams should hunt for anomalous use of legitimate services:

Type
url_pattern
Value
discord.com/api/webhooks/
Description
Outbound connections to Discord webhooks from servers or non-standard client applications are highly suspicious.
Type
url_pattern
Value
graph.microsoft.com/v1.0/me/drive/
Description
Monitor for unusual processes or scripts making API calls to OneDrive endpoints.
Type
process_name
Value
svchost.exe
Description
A generic service host making direct connections to Discord or Microsoft Graph API is anomalous and warrants investigation.
Type
network_traffic_pattern
Value
Unusual User-Agent for graph.microsoft.com
Description
The backdoors may use a non-standard User-Agent string when communicating with the Graph API.
Type
log_source
Value
Microsoft 365 Audit Logs
Description
Look for anomalous file creation/modification patterns in a user's OneDrive, especially if the user account is a service account or shows no other activity.

Detection & Response

  • Detection: Detecting this activity requires a shift from blocking bad domains to baselining normal application behavior.
    • Implement strict egress filtering and monitor for alerts on connections to services like Discord from servers and applications that have no business reason to do so.
    • Use EDR to identify which process is initiating the outbound connection. A process like powershell.exe or a random executable connecting to graph.microsoft.com is a major red flag.
    • Leverage Microsoft 365 audit logs to monitor for suspicious API usage or file access patterns in OneDrive.
  • Response: If a Webworm backdoor is found, isolate the host and begin a forensic investigation. Since this is an APT, assume the attacker has moved laterally and conduct a broader hunt across the environment for other compromised systems.

Mitigation

  • Egress Filtering: This is the most effective mitigation. Block outbound access to non-essential web services like Discord, paste sites, and personal cloud storage from all corporate assets, especially servers. For services like Microsoft 365, use application-aware firewalls that can enforce tenant restrictions, preventing users from authenticating to non-corporate instances.
  • Application Control: Use application control solutions (e.g., AppLocker) to prevent unauthorized executables (the backdoors) from running.
  • Endpoint Detection and Response (EDR): A properly configured EDR can detect the malicious processes and their suspicious network connections, allowing for rapid response.
  • Principle of Least Privilege: Ensure user and service accounts have the minimum necessary permissions, especially for accessing cloud APIs like Microsoft Graph.

Timeline of Events

1
December 1, 2025
Webworm operators observed exfiltrating files from a Spanish governmental entity between December 2025 and January 2026.
2
May 20, 2026
ESET publishes research detailing Webworm's new backdoors and expansion into Europe.
3
May 24, 2026
This article was published

Article Updates

June 7, 2026

China-aligned Webworm APT now widely using SoftEther VPN for persistent, encrypted C2 channels, expanding evasion tactics.

MITRE ATT&CK Mitigations

Implement strict egress filtering to block access to unauthorized web services like Discord from server environments.

Use application-aware firewalls or CASB solutions to block access to personal cloud storage and other services not sanctioned by the organization.

Deploy EDR solutions capable of detecting malicious processes and their anomalous network connections, even when they are to trusted domains.

Audit

M1047enterprise

Regularly audit cloud service logs (e.g., Microsoft 365) for unusual API usage or file access patterns that could indicate C2 activity.

D3FEND Defensive Countermeasures

Outbound Traffic Filtering is the most effective defense against Webworm's C2 tactics. The backdoors rely on connecting to public services like discord.com and graph.microsoft.com. Organizations must implement a default-deny egress policy on servers. Connections to Discord should be blocked entirely from server subnets, as there is no legitimate business reason for them. For Microsoft Graph, a more nuanced approach is needed. Use an application-aware firewall or proxy that can enforce Microsoft 365 tenant restrictions. This ensures that even if a process tries to connect to the Graph API, it can only authenticate to the organization's own tenant, not a personal or attacker-controlled one. This filtering breaks the C2 channel, rendering the EchoCreep and GraphWorm backdoors inert.

Process Analysis via an EDR is crucial for detecting the backdoors themselves. Security teams should create detection rules that hunt for suspicious process and network event correlations. For example, a rule should alert when a non-browser process (like svchost.exe, rundll32.exe, or an unknown executable) initiates a network connection to discord.com or graph.microsoft.com. Baselining normal network activity for legitimate processes is key. The EDR should also monitor for process injection or the loading of suspicious modules that might contain the backdoor's logic. This allows for detection of the malware's execution on the endpoint, even if the network traffic itself is encrypted and destined for a trusted domain.

For the GraphWorm backdoor, which abuses a Microsoft account, Domain Account Monitoring (extended to cloud identities) is a vital detection layer. Ingest Microsoft 365 Unified Audit Logs into a SIEM. Hunt for anomalous activity associated with user or service accounts. Key indicators for GraphWorm would be: 1) An account accessing OneDrive via the Graph API from an unusual IP or location. 2) A pattern of small file uploads (tasking) followed by larger file uploads (exfiltration) in a specific OneDrive folder. 3) API-only access to a OneDrive account that is normally accessed interactively by a user. By monitoring the behavior of the cloud identity, defenders can spot the abuse of legitimate credentials and infrastructure, revealing the C2 dead-drop.

Timeline of Events

1
December 1, 2025

Webworm operators observed exfiltrating files from a Spanish governmental entity between December 2025 and January 2026.

2
May 20, 2026

ESET publishes research detailing Webworm's new backdoors and expansion into Europe.

Sources & References(when first published)

Weekly Cyber Threat Bulletin: 22 May 2026
Medium (medium.com) May 23, 2026
China's Webworm Uses Discord, Microsoft Graphs to Hack EU Govts
Dark Reading (darkreading.com) May 22, 2026
Webworm: New burrowing techniques
WeLiveSecurity (welivesecurity.com) May 20, 2026
China-Linked Webworm APT Evolves Tactics, Expands to European Targets
Infosecurity Magazine (infosecurity-magazine.com) May 20, 2026

Article Author

Jason Gomes

Jason Gomes

• Cybersecurity Practitioner

Cybersecurity professional with over 10 years of specialized experience in security operations, threat intelligence, incident response, and security automation. Expertise spans SOAR/XSOAR orchestration, threat intelligence platforms, SIEM/UEBA analytics, and building cyber fusion centers. Background includes technical enablement, solution architecture for enterprise and government clients, and implementing security automation workflows across IR, TIP, and SOC use cases.

Threat Intelligence & AnalysisSecurity Orchestration (SOAR/XSOAR)Incident Response & Digital ForensicsSecurity Operations Center (SOC)SIEM & Security AnalyticsCyber Fusion & Threat SharingSecurity Automation & IntegrationManaged Detection & Response (MDR)

Tags

WebwormAPTThreat ActorChinaCyber EspionageDiscordMicrosoft GraphC2

📢 Share This Article

Help others stay informed about cybersecurity threats

🎯 MITRE ATT&CK Mapped

Every tactic, technique, and sub-technique used in this threat has been identified and mapped to the MITRE ATT&CK framework for consistent, actionable threat language.

🧠 Enriched & Analyzed

Observables and indicators of compromise (IOCs) have been extracted and cataloged. Risk has been assessed and correlated with known threat actors and historical campaigns.

🛡️ Actionable Guidance

Detection rules, incident response steps, and D3FEND-aligned mitigation strategies are included so your team can act on this intelligence immediately.

🔗 STIX Visualizer

Structured threat data is packaged as a STIX 2.1 bundle and can be visualized as an interactive graph — relationships between actors, malware, techniques, and indicators.

Sigma Generator

Sigma detection rules are derived from the threat techniques in this article and can be converted for deployment across any major SIEM or EDR platform.