Skip to main content
Meet us at Black Hat USA 2026— Las Vegas, August 1–6Book a Meeting
Mallory
Back to malware
MalwareUsed by 3 actors

SIESTAGRAPH

SIESTAGRAPH is a .NET backdoor that uses the Microsoft Graph API for command and control, blending malicious traffic with legitimate Microsoft 365 activity. Reported by Elastic Security Labs in connection with the REF2924 intrusion set, it was observed targeting the Foreign Affairs Office/Ministry of an ASEAN member state and has been described as attributed to a PRC-affiliated or broader China-nexus espionage cluster with moderate confidence. It has also been noted as co-resident in environments containing NAPLISTENER, SOMNIRECORD, DOORME, SHADOWPAD, and COBALTSTRIKE.

The malware leverages Microsoft 365 Mail and OneDrive for C2. It uses a hard-coded tenant identifier and refresh token to obtain Microsoft Graph access tokens, and during setup used the Microsoft Office GUID d3590ed6-52b3-4102-aeff-aad2292ab01c to access Microsoft 365 Mail and OneDrive. It uses the legitimate third-party OneDriveAPI library to interact with Microsoft APIs and manage tokens. SIESTAGRAPH creates a session token by concatenating the process ID, machine name, username, and operating system. It exfiltrates session information and command results by creating Outlook draft email messages, and was also observed using the Graph API to interact with both OneDrive and Microsoft 365 Mail for C2 purposes.

Documented capabilities include shell execution via "cmd /c <command>", configurable sleep timing with a default 5-second polling interval, file upload and download via OneDrive, drive and directory listing, file deletion and renaming, process listing and killing, network discovery, screenshot capture, and self-termination. Its NET command gathers open TCP connection data using functions resolved from Ws2_32.dll and iphlpapi.dll. Its SS command captures the primary monitor, Base64-encodes the screenshot, and returns it via an email draft.

High-confidence indicators and artifacts mentioned in reporting include the hard-coded Microsoft Office application GUID d3590ed6-52b3-4102-aeff-aad2292ab01c and the use of Outlook draft messages plus OneDrive through Microsoft Graph for command transport and exfiltration. Elastic reported the hard-coded tenant ID used by SIESTAGRAPH to Microsoft. Additional reporting noted a later variant with different command identifiers from earlier documented versions.

Share:
For your environment

Hunt this family in your stack

Mallory pivots from this family to the IOCs, detections, and named campaigns that touch your stack, and pages you when something new lands.

THREAT ACTORS

Groups observed using it

3 distinct threat actors attributed by public researchers. Open in Mallory to see the full evidence chain and overlapping campaigns.

View more details
Chamelgang

SIESTAGRAPH is a .NET backdoor that leverages the Microsoft Graph interface, a collection of APIs for accessing various Microsoft services.

via elastic security labselastic.co
APT41

SIESTAGRAPH is a .NET backdoor that leverages the Microsoft Graph interface, a collection of APIs for accessing various Microsoft services.

via elastic security labselastic.co
REF2924

We first observed this type of third-party C2 in SIESTAGRAPH, which we reported in December 2022.

via elastic security labselastic.co
MITRE ATT&CK

Techniques & procedures

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

Execution

1 technique
T1059.003Windows Command ShellEvidence1

When the C command is received the malware runs the runCommand method... the resulting command will always be cmd /c <command to run>. This is a common way to run commands if one does not have direct access to an interactive shell.

Stealth

1 technique
T1218System Binary Proxy ExecutionEvidence1

The REF2924 intrusion set, using SIESTAGRAPH, DOORME, SHADOWPAD, and the system binary proxy execution technique (among others) represents an attack group...

Discovery

4 techniques
T1046Network Service DiscoveryEvidence1

The NET command gathers information about open TCP connections from the system's TCP table... This code helps the attacker to get a better insight into the system's purpose within the network.

T1057Process DiscoveryEvidence1

We have identified the following commands... P Get a list of running processes.

T1082System Information DiscoveryEvidence1

After obtaining authentication and session tokens, the malware collects system information and exfiltrates it using a method called sendSession... A session token (sessionToken) is created by concatenating the process ID, machine name, username, and operating system.

T1083File and Directory DiscoveryEvidence1

We have identified the following commands... ListDrives Send a list of the logical drives GetDirectories Send a list of given subdirectories GetFiles Send a list of files in a given directory.

Collection

1 technique
T1113Screen CaptureEvidence1

SS - Take screenshot... SIESTAGRAPH can call the method named TakeScreenShot which takes a screenshot of the primary monitor and returns the screenshot as a Base64 encoded string.

Command and Control

4 techniques
T1071Application Layer ProtocolEvidence2

SIESTAGRAPH interacts with Microsoft’s GraphAPI for command and control using Outlook and OneDrive... The implant utilizes the Microsoft Graph API to access Microsoft 365 Mail and OneDrive for its C2 communication.

T1071.003Mail ProtocolsEvidence1

Inspecting the sendSession method we see that it creates an email message and saves it as a draft. Using draft messages is common C2 tradecraft as a way to avoid email interception and inspection... the implant will use the getMessages method to check for any draft emails with commands from the attacker.

T1102Web ServiceEvidence1

Analysis of the BirdyClient malware (Trojan.BirdyClient) revealed that its main functionality is to connect to the Microsoft Graph API and use Microsoft OneDrive as a C&C server mechanism to upload and download files from it.

T1105Ingress Tool TransferEvidence1

Command ID 0x63 allows the attacker to send a blob of shellcode in chunks, which the malware reassembles to execute... The D command... will then upload the requested file to OneDrive... U - Download from OneDrive.

INDICATORS OF COMPROMISE

IOCs tracked for this family

3 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Full values are available in Mallory.

View more in app
Hashes
3 tracked

File hashes (MD5, SHA-1, SHA-256) from samples and reports.

TypeValueLatest sighting
hash.sha256●●●●●●●●●●●●View more in app2 years ago
hash.sha256●●●●●●●●●●●●View more in app2 years ago
hash.sha256●●●●●●●●●●●●View more in app2 years ago
What this page doesn’t show

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 matching3

Match every observed IP, domain, and hash against your live telemetry.

Threat actor attribution3

Named campaigns wielding this family, with evidence pinned to each claim.

Exploited vulnerabilities

CVEs this family uses for access and lateral movement.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

MITRE ATT&CK mapping11

Every documented technique, ranked by evidence weight.

Researcher chatter

Reddit, Mastodon, and CTI community discussion around this family.