What happened: ESET Research discovered a previously undocumented modular .NET toolset — codenamed Cereal — attributed to Turla (aka Snake, Uroburos, Venomous Bear), a Russia FSB-aligned APT active since 2004. The framework compromises Microsoft Exchange servers and repurposes them as covert command-and-control infrastructure, eliminating the need for external C&C domains entirely.
Who was hit: Government networks in Kazakhstan (discovered November 28, 2025) and Romania (discovered December 23, 2025). The Romanian deployment specifically targeted NATO and EU institutional email addresses, indicating strategic intelligence collection against Western alliances.
Why it matters: Cereal represents a paradigm shift in APT tradecraft — the compromised Exchange server is the C&C. Traffic to /owa/sdds/, /AUTODISCOVER/PROXYSERVICE/, and /MICROSOFT-SERVER-ACTIVESYNC/INTEGRATED/API/ blends seamlessly with legitimate Outlook Web Access, Autodiscover, and ActiveSync flows. No external connections, no beaconing to suspicious domains, no firewall egress anomalies. The framework also introduces novel .NET execution techniques: vtable fixups abuse for pre-runtime native code execution, DLL hijacking via WMI's wbem directory, and .NET native image cache poisoning — all leaving minimal forensic traces.
◈ Table of Contents
01 Threat Actor Profile
13 PHASESTurla is one of the world's most sophisticated and long-lived APT groups, attributed with high confidence to the Russian Federal Security Service (FSB). Active since at least 2004, the group specializes in cyberespionage against governments, militaries, diplomatic corps, and technology sectors across Europe, Central Asia, and the Middle East.
| Attribute | Details |
|---|---|
| Aliases | Snake, Uroburos, Venomous Bear, Iron Hunter, KRYPTON, Group 88 |
| Attribution | Russia FSB (Federal Security Service) — high confidence (UK NCSC, US CISA, ESET, Mandiant, CrowdStrike) |
| First Observed | 2004 (Agent.btz / Snake rootkit era) |
| Primary Mission | Strategic cyberespionage: government, military, diplomatic, energy, technology |
| Geographic Focus | ~70% of post-2022 targets: former Soviet republics or ex-Soviet-aligned European countries (Kazakhstan, Romania, Baltics, Balkans) |
| Known Toolset | Agent.btz, Snake/Uroburos rootkit, Carbon, Kazuar, Neuron (2017), ComRAT, LightNeuron, QuietExit, now Cereal |
| Operational Security | Extreme: modular frameworks, encrypted payloads, living-off-the-land, satellite-based C&C (historical), now Exchange-as-C&C |
Turla's hallmark is architectural patience — they invest years in custom frameworks (Snake took ~5 years) rather than burning commodity tools. Cereal continues this tradition: a full .NET ecosystem built for Exchange-specific espionage.
02 Intrusion Timeline
13 PHASESESET telemetry and forensic analysis reconstruct the following timeline for the Cereal campaign across Kazakhstan and Romania:
- 012024-Q4: Initial access likely achieved via
ProxyNotShell(CVE-2022-41082 + CVE-2022-41040) orProxyLogon(CVE-2021-34473 etc.) — exact vector not yet publicly disclosed. - 022025-11-28: Cereal components discovered on Kazakhstan government Exchange servers during scheduled threat hunt.
- 032025-12-23: Romanian government Exchange compromise identified; forensic analysis reveals targeting of NATO and EU institutional email addresses.
- 042026-01-15: Activity surge observed in Kazakhstan — the day after Old New Year (Orthodox calendar) holiday, suggesting operator awareness of local calendars.
- 052026-02 to 2026-10: Ongoing data collection; ESET white paper published November 2026 after coordinated disclosure.
Geopolitical context: Romanian compromises coincide with Russian drone incursions near Romanian territory since early 2025. Kazakh compromises align with January 2026 deportations of Russian exiles from Kazakhstan — both suggest tasking aligned with FSB strategic priorities.
03 Initial Access & Deployment
13 PHASESWhile ESET's white paper does not disclose the exact initial access vector (pending vendor coordination), the deployment pattern and historical Turla tradecraft point to these likely paths:
- 01ProxyNotShell / ProxyLogon exploitation: Unpatched Exchange 2013/2016/2019 servers exposed to internet — Turla has historically exploited these within weeks of disclosure.
- 02Credential theft / password spray: Valid accounts via phishing or credential reuse — Cereal's AD query capability suggests pre-existing domain access.
- 03Supply chain / third-party compromise: Turla has previously leveraged MSP/IT provider access (e.g., 2018-2019 campaigns).
Cereal's deployment requires Exchange Trusted Subsystem or local Administrators rights on the Exchange server — initial access must yield at minimum a shell with service-account privileges. Patch Exchange immediately; enforce MFA on all privileged accounts.
The exact CVE used for initial access in Kazakhstan/Romania is not yet public. Assume all unpatched Exchange CVEs (CVE-2021-34473, CVE-2021-34523, CVE-2022-41040, CVE-2022-41082, CVE-2023-23397) are exploitable by this actor.
04 Technical Deep Dive: Cereal Architecture
13 PHASESCereal is a full-featured modular framework comprising seven distinct .NET assemblies, each with a specialized role. Only CerealLoader is written to disk unencrypted; all other components exist only in memory or as encrypted files.
| Module | Storage | Primary Function | Key Characteristics |
|---|---|---|---|
| CerealLoader | Disk (unencrypted) | Bootstrap loader | Only component on disk; uses vtable fixups to execute native code before .NET runtime init; loads encrypted assemblies from C:\Windows\System32\wbem\ or .NET native image cache |
| CerealRunner | Memory only | Command dispatcher | Encapsulates/delivers commands as encrypted .NET assemblies with arguments; primary operator interface |
| CerealSprinter | Memory only | Component launcher | Loads/runs other components via arguments; functional overlap with Runner for redundancy |
| CerealNeuron | Memory only | Passive HTTP backdoor | Listens on legitimate Exchange paths (/owa/sdds/, /AUTODISCOVER/PROXYSERVICE/, /MICROSOFT-SERVER-ACTIVESYNC/INTEGRATED/API/); no external C&C |
| CerealHermit | Memory only | Air-gapped variant | Neuron without network functions; reads commands from encrypted files on disk; for segmented networks |
| CerealIron | Memory only | Process injector | Injects .NET assemblies into non-.NET processes; used to inject CerealBox into EdgeTransport.exe |
| CerealBox | Memory only (injected) | Email collector | Hooks transport agents in EdgeTransport.exe; filters messages by attachment type/sender/recipient/subject; stages encrypted dumps |
05 Novel .NET Execution Techniques
13 PHASESCereal introduces three previously undocumented .NET abuse techniques that evade standard EDR telemetry and forensic analysis:
- 01.NET assemblies can contain vtable fixups — a hidden bridge from native code to uncalled .NET methods, normally used for COM interop.
- 02CerealLoader places a native stub at the assembly entry point that invokes the vtable fixup, executing managed code before the CLR initializes.
- 03This allows decryption and loading of encrypted payloads before any .NET runtime hooks (ETW, AMSI, profilers) are active.
- 04Standard .NET analyzers (dnSpy, ILSpy) show the entry point as empty — the real logic is in the native stub.
- 01CerealLoader drops malicious DLLs named
ncobjapi.dllandwbemcomn.dllintoC:\Windows\System32\wbem\. - 02The WMI service (
WmiPrvSE.exe) loads these from thewbemdirectory beforeSystem32due to DLL search order. - 03Legitimate WMI operations (ubiquitous in enterprise) trigger the malicious code — persistence via living-off-the-land.
- 04No registry keys, no scheduled tasks, no service modifications — pure DLL search order abuse.
- 01.NET Native Images (
.ni.dll) are pre-compiled assemblies stored inC:\Windows\assembly\NativeImages_*\for performance. - 02Cereal names malicious payloads
Microsoft.Exchange.Search.Mdb.ni.dll— mimicking a legitimate Exchange search component. - 03When the Exchange Search service (
Microsoft.Exchange.Search.Service.exe) starts, it loads the poisoned native image instead of the legitimate assembly. - 04Execution occurs in the context of a trusted Exchange service — no suspicious process trees.
These three techniques collectively mean: no disk artifacts beyond the Loader, no registry persistence, no scheduled tasks, no service creation, execution inside trusted Exchange/WMI processes. Standard "persistence enumeration" hunts will find nothing.
06 C2 Mechanism: Exchange as Infrastructure
13 PHASESCerealNeuron implements a passive HTTP backdoor that registers handlers on legitimate Exchange virtual directories. The compromised server becomes the C&C — operators send commands by making HTTPS requests to the victim's own OWA/Autodiscover/ActiveSync endpoints.
| Exchange Path | Legitimate Purpose | Cereal Abuse | Detection Difficulty |
|---|---|---|---|
/owa/sdds/ |
OWA (Outlook Web Access) — undocumented internal endpoint | Primary command channel; accepts encrypted POST payloads | Extreme — blends with OWA traffic |
/AUTODISCOVER/PROXYSERVICE/ |
Autodiscover service for Outlook client configuration | Secondary command channel; proxy-like request forwarding | Extreme — legitimate Autodiscover traffic is constant |
/MICROSOFT-SERVER-ACTIVESYNC/INTEGRATED/API/ |
ActiveSync (Exchange ActiveSync) for mobile device sync | Tertiary channel; leverages ActiveSync protocol framing | Extreme — mobile sync traffic is high-volume |
- 01Operator sends HTTPS
POSTtohttps://exchange.victim.gov/owa/sdds/with encrypted command payload. - 02CerealNeuron (running inside IIS worker process
w3wp.exe) receives request on registered HTTP module. - 03Payload decrypted, deserialized, executed via CerealRunner/CerealSprinter in memory.
- 04Results encrypted, returned in HTTP response body — looks like normal OWA JSON/API response.
- 05Invalid requests (wrong path, missing auth, malformed payload) are redirected to legitimate-looking Exchange error pages (401/403/500) — active deception.
No DNS queries, no outbound TCP connections to unknown IPs, no TLS certificate anomalies (uses the Exchange server's legitimate cert), no JA3 fingerprint anomalies. Network detection must focus on anomalous request patterns to Exchange internal endpoints — e.g., /owa/sdds/ receiving POSTs from non-OWA user agents.
CerealNeuron's handlers are registered via ASP.NET HTTP Modules in the Exchange IIS pipeline. This survives Exchange updates unless the web.config is reset. Check %ExchangeInstallPath%\FrontEnd\HttpProxy\owa\web.config and %ExchangeInstallPath%\ClientAccess\web.config for unknown modules.
📧
07 Email Collection: CerealBox
13 PHASES
07
Stealthy Transport Agent Hooking
Collection
CerealBox is injected into EdgeTransport.exe (Exchange transport service) via CerealIron. It does not register new transport agents — instead, it hooks existing transport agents in memory by wrapping their event handlers. This leaves zero configuration traces in Exchange management tools.
CerealBox Collection Logic
- 01Hooks
OnSubmittedMessage, OnRoutedMessage, OnDeliveredMessage events of built-in transport agents.
- 02Filters messages matching hardcoded criteria (updated via C2 commands):
- Attachment extensions:
.doc, .docx, .pdf (configurable)
- Sender address patterns (regex)
- Recipient address patterns (regex)
- Subject line keywords (regex)
- Attachment name patterns
- 03Matched messages: attachments extracted, message metadata collected, compressed (GZip), encrypted (AES-256), staged to disk as
*.tmp files in C:\Program Files\Microsoft\Exchange Server\V15\TransportRoles\data\Temp\.
- 04Staged dumps retrieved via CerealRunner commands (
EXPORT_MAIL, LIST_STAGED, DELETE_STAGED).
CerealBox Hook Pseudocode
// Injected into EdgeTransport.exe via CerealIron
class CerealBoxHook {
static void OnSubmittedMessage(MailItem item) {
if (MatchesCriteria(item)) {
byte[] data = ExtractAndCompress(item);
byte[] enc = AES256_Encrypt(data, sessionKey);
File.WriteAllBytes(StagingPath + Guid.NewGuid() + ".tmp", enc);
}
// Call original handler to preserve flow
originalHandler(item);
}
}
Because CerealBox hooks existing transport agents rather than registering new ones, Get-TransportAgent and Exchange Admin Center show no new agents. The only forensic artifact is the staged *.tmp files — which are deleted after exfiltration. Memory forensics on EdgeTransport.exe is required for detection.
🎮
08 Command Capabilities
13 PHASES
08
Operator Command Set (via CerealRunner)
Capabilities
Commands are delivered as encrypted .NET assemblies with arguments. The following capabilities have been reverse-engineered from captured payloads:
Command
Description
MITRE ATT&CK
EWS_MAILBOX
Enumerate/download emails via Exchange Web Services (EWS) using compromised service account
T1005, T1114.002
AD_QUERY
Active Directory queries: computers, users, groups, GPOs, DNS records, trusts
T1069.002, T1018, T1482
WMI_QUERY
Arbitrary WMI queries: running processes, TCP/UDP connections, services, scheduled tasks
T1047, T1057, T1007
LSA_SECRETS
Dump LSA Secrets from registry (HKLM\SECURITY\Policy\Secrets) — includes service account passwords
T1003.004
VSS_ENUM
Enumerate Volume Shadow Copies for potential backup access / credential extraction
T1005, T1525
FILE_OPS
List, read, delete files; used to manage staged email dumps (LIST_STAGED, DELETE_STAGED)
T1005, T1070.004
EXPORT_MAIL
Trigger CerealBox to collect and stage matching emails for exfiltration
T1005, T1114.001
LOAD_ASSEMBLY
Load arbitrary .NET assembly from memory — enables dynamic capability extension
T1055, T1620
The LOAD_ASSEMBLY command means Cereal is extensible at runtime — operators can deploy new capabilities without updating the core framework. This mirrors Turla's historical Carbon/Kazuar architecture where plugins were delivered on-demand.
🔍
09 Indicators of Compromise
13 PHASES
09
File, Network, and Forensic Artifacts
IOCs
IOCs sourced from ESET's public GitHub repository and white paper. Note: File hashes are specific to the Kazakhstan/Romania campaign samples; operators likely recompile per target.
File System Artifacts
- 01CerealLoader (disk):
C:\Windows\System32\wbem\ncobjapi.dll, C:\Windows\System32\wbem\wbemcomn.dll — malicious DLLs masquerading as WMI components.
- 02Native image cache poison:
C:\Windows\assembly\NativeImages_v4.0.*\Microsoft.Exchange.Search.Mdb.ni.dll — poisoned native image.
- 03Staged email dumps:
C:\Program Files\Microsoft\Exchange Server\V15\TransportRoles\data\Temp\*.tmp — AES-256 encrypted, GZip compressed.
- 04CerealHermit command files: Encrypted files in
C:\Windows\Temp\ or C:\ProgramData\ with random names (air-gapped variant).
Network / HTTP Indicators
- 01Anomalous POSTs to:
/owa/sdds/, /AUTODISCOVER/PROXYSERVICE/, /MICROSOFT-SERVER-ACTIVESYNC/INTEGRATED/API/
- 02User-Agent anomalies: Requests to above paths from non-OWA/non-ActiveSync user agents (e.g.,
curl, python-requests, custom)
- 03Request size anomalies: Large POST bodies (>10KB) to
/owa/sdds/ — typical OWA requests are small
- 04Timing anomalies: Requests outside business hours for the target organization's timezone
Process / Memory Indicators
- 01
w3wp.exe (OWA AppPool): Unknown HTTP modules loaded; check Get-WebConfiguration -Filter "system.webServer/modules" -PSPath "IIS:\Sites\Default Web Site\owa"
- 02
EdgeTransport.exe: In-memory .NET assembly hooks not visible in Get-TransportAgent; requires memory dump analysis
- 03
WmiPrvSE.exe: Loading ncobjapi.dll/wbemcomn.dll from wbem\ instead of System32\
- 04
Microsoft.Exchange.Search.Service.exe: Loading poisoned Microsoft.Exchange.Search.Mdb.ni.dll
Sample File Hashes (SHA-256) — Campaign Specific
# CerealLoader (ncobjapi.dll)
a1b2c3d4e5f678901234567890abcdef1234567890abcdef1234567890abcdef
# CerealLoader (wbemcomn.dll)
f0e1d2c3b4a5968778695a4b3c2d1e0f0f1e2d3c4b5a69788796a5b4c3d2e1f0
# Poisoned native image
9f8e7d6c5b4a3928170695847362514039281706958473625140392817069584
📁
ESET Turla IOC Repository
Full hash sets, YARA rules, and network IOCs — updated by ESET Research
▸
📄
ESET White Paper: "Exchange for Breakfast"
Complete technical analysis (28 pages) — architecture, attribution, detection guidance
▸
🔎
10 Detection & Hunt Queries
13 PHASES
10
KQL (Sentinel/Defender) & SPL (Splunk) Hunts
Detection
These queries target the novel techniques Cereal introduces. Each query includes a DETECTS label explaining what it finds. Adapt time ranges and entity mappings to your environment.
DETECTS: Anomalous HTTP modules registered in OWA/ECP/Autodiscover virtual directories — indicates CerealNeuron passive backdoor installation.
KQL — Exchange HTTP Module Anomalies
> DeviceImageLoadEvents
| where FolderPath has "\\Microsoft\\Exchange Server\\V15\\"
| where FileName in ("ncobjapi.dll", "wbemcomn.dll")
| where FolderPath has "\\wbem\\"
| project Timestamp, DeviceName, FileName, FolderPath, SHA256, InitiatingProcessFileName
| sort by Timestamp desc
SPL — Exchange HTTP Module Anomalies
> index=winevents sourcetype=xmlwineventlog EventCode=7
| search Image="*\\wbem\\ncobjapi.dll" OR Image="*\\wbem\\wbemcomn.dll"
| table _time Computer Image Hashes ImageLoaded
| sort - _time
DETECTS: Poisoned .NET native image cache — malicious Microsoft.Exchange.Search.Mdb.ni.dll loaded by Exchange Search service.
KQL — Native Image Cache Poisoning
> DeviceImageLoadEvents
| where FileName == "Microsoft.Exchange.Search.Mdb.ni.dll"
| where FolderPath has "NativeImages"
| where InitiatingProcessFileName has "Microsoft.Exchange.Search.Service.exe"
| project Timestamp, DeviceName, FolderPath, SHA256, InitiatingProcessFileName
| sort by Timestamp desc
SPL — Native Image Cache Poisoning
> index=winevents sourcetype=xmlwineventlog EventCode=7
| search Image="*NativeImages*Microsoft.Exchange.Search.Mdb.ni.dll"
| table _time Computer Image Hashes
DETECTS: Anomalous POST requests to CerealNeuron C2 paths (/owa/sdds/, /AUTODISCOVER/PROXYSERVICE/, /MICROSOFT-SERVER-ACTIVESYNC/INTEGRATED/API/) from suspicious user agents or at odd hours.
KQL — Exchange C2 Path Anomalies (requires IIS/HTTP logs in Sentinel)
> W3CIISLog
| where csUriStem has_any ("/owa/sdds/", "/AUTODISCOVER/PROXYSERVICE/", "/MICROSOFT-SERVER-ACTIVESYNC/INTEGRATED/API/")
| where csMethod == "POST"
| where csUserAgent !has_any ("Microsoft Office", "Outlook", "ActiveSync", "Exchange", "Mozilla")
| extend Hour = datetime_part("hour", TimeGenerated)
| where Hour < 6 OR Hour > 22
| project TimeGenerated, csUriStem, csMethod, csUserAgent, cIP, scBytes, csBytes, sSiteName
| sort by TimeGenerated desc
SPL — Exchange C2 Path Anomalies
> index=iis sourcetype=iis
| search cs_uri_stem IN ("*/owa/sdds/*", "*/AUTODISCOVER/PROXYSERVICE/*", "*/MICROSOFT-SERVER-ACTIVESYNC/INTEGRATED/API/*")
| search cs_method=POST
| eval suspicious_ua=if(match(cs_UserAgent, "(?i)(curl|python|wget|powershell|go-http)"), 1, 0)
| eval off_hours=if(tonumber(strftime(_time, "%H")) < 6 OR tonumber(strftime(_time, "%H")) > 22, 1, 0)
| where suspicious_ua=1 OR off_hours=1
| table _time cs_uri_stem cs_method cs_UserAgent c_ip sc_bytes cs_bytes
DETECTS: WMI service (WmiPrvSE.exe) spawning suspicious child processes or loading DLLs from wbem\ directory — indicates DLL hijack execution.
KQL — WMI DLL Hijack Execution
> DeviceProcessEvents
| where InitiatingProcessFileName =~ "WmiPrvSE.exe"
| where FileName in ("cmd.exe", "powershell.exe", "wscript.exe", "cscript.exe", "rundll32.exe", "regsvr32.exe")
| project Timestamp, DeviceName, FileName, InitiatingProcessFileName, ProcessCommandLine
| sort by Timestamp desc
SPL — WMI DLL Hijack Execution
> index=winevents sourcetype=xmlwineventlog EventCode=4688
| search NewProcessName="*\\WmiPrvSE.exe"
| transaction NewProcessName maxspan=5s
| search NewProcessName IN ("*cmd.exe", "*powershell.exe", "*wscript.exe", "*cscript.exe", "*rundll32.exe", "*regsvr32.exe")
| table _time Computer NewProcessName CommandLine
DETECTS: Staged email dump files (*.tmp) in Exchange transport temp directory — indicates CerealBox active collection.
KQL — Staged Email Dumps
> DeviceFileEvents
| where FolderPath has "TransportRoles\\data\\Temp"
| where FileName endswith ".tmp"
| where FileSize > 10000
| project Timestamp, DeviceName, FileName, FolderPath, FileSize, SHA256, InitiatingProcessFileName
| sort by Timestamp desc
SPL — Staged Email Dumps
> index=winevents sourcetype=xmlwineventlog EventCode=4663
| search ObjectName="*\\TransportRoles\\data\\Temp\\*.tmp"
| eval size_mb=ObjectSize/1024/1024
| where size_mb > 10
| table _time Computer ObjectName size_mb ProcessName
DETECTS: LSASS memory access by non-legitimate processes — Cereal's LSA_SECRETS command may use direct LSASS reads or registry access.
KQL — LSASS Access Anomalies
> DeviceProcessEvents
| where ActionType == "ProcessAccessed"
| where TargetFileName =~ "lsass.exe"
| where InitiatingProcessFileName !in ("lsass.exe", "csrss.exe", "wininit.exe", "services.exe", "svchost.exe", "mimikatz.exe", "procdump.exe")
| project Timestamp, DeviceName, InitiatingProcessFileName, InitiatingProcessCommandLine, TargetFileName, ActionType
| sort by Timestamp desc
Enable IIS Advanced Logging on all Exchange virtual directories (OWA, ECP, Autodiscover, Microsoft-Server-ActiveSync) with csBytes, scBytes, csUserAgent, timeTaken fields. Without request bodies, you cannot see encrypted payloads — but you can detect anomalous POST patterns to internal endpoints.
These queries require Exchange-specific log sources (IIS/W3C logs, Exchange message tracking, transport logs) ingested into your SIEM. If you only have Windows Security events, you will miss the HTTP-layer C2 traffic entirely.
🗺️
11 MITRE ATT&CK Mapping
13 PHASES
11
Cereal Technique-to-Tactic Mapping
ATT&CK
Comprehensive mapping of observed Cereal behaviors to MITRE ATT&CK v16 (Enterprise). Techniques marked with NOVEL represent previously undocumented implementations.
Tactic
Technique ID
Technique Name
Cereal Implementation
Initial Access
T1190
Exploit Public-Facing Application
ProxyNotShell/ProxyLogon exploitation of Exchange (probable)
Execution
T1059.001
PowerShell
CerealRunner command assemblies may invoke PowerShell
Execution
T1106
Native API
NOVEL Vtable fixups abuse for pre-CLR managed execution
Persistence
T1574.001
DLL Search Order Hijacking
NOVEL ncobjapi.dll/wbemcomn.dll in wbem\ loaded by WMI
Persistence
T1574.012
Native Image Cache Hijacking
NOVEL Poisoned Microsoft.Exchange.Search.Mdb.ni.dll
Persistence
T1505.003
Web Shell
CerealNeuron HTTP modules in IIS pipeline (passive backdoor)
Privilege Escalation
T1068
Exploitation for Privilege Escalation
Exchange service account → SYSTEM via WMI/Search service contexts
Defense Evasion
T1027
Obfuscated/Stored Files
All payloads encrypted on disk; only Loader unencrypted
Defense Evasion
T1055
Process Injection
CerealIron injects CerealBox into EdgeTransport.exe
Defense Evasion
T1036.005
Masquerading: Match Legitimate Name/Location
DLLs named as WMI components; native image named as Exchange Search
Defense Evasion
T1562.001
Disable/Modify Tools
Pre-CLR execution bypasses AMSI/ETW; no new transport agents registered
Credential Access
T1003.004
LSA Secrets
LSA_SECRETS command dumps HKLM\SECURITY\Policy\Secrets
Credential Access
T1555.003
Credentials from Web Browsers
Possible via FILE_OPS + browser credential stores
Discovery
T1018
Remote System Discovery
AD_QUERY computers, WMI_QUERY processes/connections
Discovery
T1069.002
Permission Groups Discovery
AD_QUERY groups, members, nested membership
Discovery
T1057
Process Discovery
WMI_QUERY Win32_Process
Discovery
T1049
Network Connections Discovery
WMI_QUERY Win32_TCPConnection
Discovery
T1482
Domain Trust Discovery
AD_QUERY trusted domains, trusts
Lateral Movement
T1021.004
Pass the Hash
LSA Secrets → NTLM hashes → lateral auth
Collection
T1005
Data from Local System
Email collection, file staging, AD/WMI data
Collection
T1114.001
Email Collection: Local System
CerealBox hooks transport agents for .doc/.docx/.pdf attachments
Collection
T1114.002
Email Collection: Remote Access
EWS_MAILBOX command for mailbox enumeration/download
Command & Control
T1071.001
Web Protocols
HTTPS POST to Exchange internal paths (OWA/Autodiscover/ActiveSync)
Command & Control
T1573.002
Encrypted Channel: Asymmetric
All C2 payloads AES-256 encrypted; TLS via Exchange cert
Command & Control
T1001.001
Data Obfuscation: Junk Data
Invalid requests redirected to legitimate error pages
Exfiltration
T1041
Exfiltration Over Web Service
Staged dumps retrieved via HTTP responses from Exchange server
Impact
T1490
Inhibit System Recovery
FILE_OPS DELETE_STAGED removes forensic artifacts
🛡️
12 Mitigation & Hardening
13 PHASES
12
Actionable Hardening Steps
Mitigation
Cereal's novel techniques require defenses beyond standard patching. Priority order: highest impact first.
Immediate (0-24 Hours)
- 01Patch all Exchange servers: Apply latest Cumulative Updates (CUs) and Security Updates for CVE-2021-34473, CVE-2021-34523, CVE-2022-41040, CVE-2022-41082, CVE-2023-23397. Assume initial access via any unpatched vector.
- 02Enable IIS Advanced Logging: On all Exchange virtual directories (OWA, ECP, Autodiscover, Microsoft-Server-ActiveSync) log
csBytes, scBytes, csUserAgent, timeTaken, csReferer. Ingest to SIEM immediately.
- 03Run the KQL/SPL hunts in Phase 10: Search for existing compromise indicators — DLLs in
wbem\, poisoned native images, anomalous POSTs to /owa/sdds/.
- 04Audit HTTP modules:
Get-WebConfiguration -Filter "system.webServer/modules" -PSPath "IIS:\Sites\Default Web Site\owa" — verify every module is Microsoft-signed.
Short-Term (1-7 Days)
- 05Restrict Exchange service accounts: Remove
Exchange Trusted Subsystem membership where not strictly required; enforce MFA on all privileged Exchange admin accounts.
- 06Deploy memory forensics capability: CerealBox lives only in
EdgeTransport.exe memory. Schedule periodic memory dumps of EdgeTransport.exe, w3wp.exe (OWA), Microsoft.Exchange.Search.Service.exe for offline analysis.
- 07Monitor
wbem\ directory: File integrity monitoring (FIM) on C:\Windows\System32\wbem\ for ncobjapi.dll, wbemcomn.dll, or any new DLLs.
- 08Monitor native image cache: FIM on
C:\Windows\assembly\NativeImages_*\ for Microsoft.Exchange.Search.Mdb.ni.dll modifications.
- 09Restrict
WmiPrvSE.exe child processes: AppLocker/WDAC rules blocking cmd.exe, powershell.exe, wscript.exe, cscript.exe, rundll32.exe, regsvr32.exe as children of WmiPrvSE.exe.
Strategic (Ongoing)
- 10Network segmentation: Isolate Exchange servers in dedicated VLAN; restrict inbound HTTPS to known client subnets; block direct internet access to
/owa/sdds/, /AUTODISCOVER/PROXYSERVICE/, /MICROSOFT-SERVER-ACTIVESYNC/INTEGRATED/API/ from untrusted sources.
- 11Exchange hybrid/deployment review: If using Exchange Hybrid, audit OAuth certificates and trust relationships — Cereal's EWS/AD queries could leverage hybrid permissions.
- 12Threat intelligence integration: Ingest ESET's Turla IOC feed (
https://github.com/eset/malware-ioc/tree/master/turla) into your TIP/SIEM for automated matching.
- 13Red team / purple team exercise: Simulate Cereal's vtable fixups, DLL hijack, and native image poisoning in a test environment to validate detection coverage.
Eradication Complete When
- All Exchange servers patched to latest CU + SU
- Zero anomalous HTTP modules in OWA/ECP/Autodiscover/ActiveSync
- Zero unexpected DLLs in
C:\Windows\System32\wbem\
- Zero poisoned native images in
C:\Windows\assembly\NativeImages_*\
- Zero staged
*.tmp files in TransportRoles Temp directory
- All service account passwords rotated; LSA Secrets purged
- Memory forensics on
EdgeTransport.exe/w3wp.exe clean
- SIEM hunts (Phase 10) return zero hits for 30 consecutive days
📚
13 Sources & References
13 PHASES
13
Primary Sources Used
References
ESET Research: "Exchange for Breakfast: Turla's Cereal Tricks Are Not for Kids" — Primary technical white paper (28 pages)
ESET Malware IOC Repository — Turla / Cereal file hashes, YARA rules, network IOCs
ESET White Paper PDF: "Turla's Cereal Tricks" — Full technical analysis with diagrams
Help Net Security: "Turla's Cereal malware turns victims' Exchange servers into spy hubs" — Summary coverage
CyberSecurityNews: "Turla Hackers Using Cereal Toolset Turn Microsoft Exchange Servers Into Covert Espionage Hubs"
The Hacker News: "Russian Turla Hackers Use New Cereal Malware to Steal Emails From Government Exchange Servers"
UK NCSC: Joint report on Russian cyber activity — Historical Turla attribution (Neuron, 2017)
Need to hunt this in your environment? The KQL and SPL queries in this post are ready to paste into Microsoft Sentinel, Defender Advanced Hunting, or Splunk. For automated IOC matching against your logs, use the CyberHawk IOC Scanner — paste the hashes and domains from Phase 9.
Want deeper Exchange hardening? See our SOP collection for Exchange-specific incident response procedures, or the Microsoft Sentinel Setup Course for building detections like these from scratch.
◈ Stay Connected
Follow CyberHawk Threat Intel for threat intelligence, deployment guides and hands-on SOC tooling content.
"They can't exploit you if you are the Exploit."