Turla’s Cereal Toolset Turns Exchange Servers Into Stealthy Espionage Hubs

· Original article ↗

Summary

ESET researchers documented Cereal, a modular .NET toolset found on compromised government Exchange servers in Kazakhstan and Romania. They attribute it with high confidence to Turla; it uses Exchange as C2 and covertly collects selected email.

Key points

  • ESET identified Cereal at government organizations in Kazakhstan and Romania and attributed the toolset with high confidence to Russia-aligned APT group Turla.
  • CerealNeuron passively listens for incoming requests on paths resembling legitimate Exchange traffic, using the compromised server as an operator-accessible control point instead of external C2 infrastructure.
  • CerealBox is injected into Exchange’s EdgeTransport.exe process and hooks existing transport-agent handlers in memory to identify and stage selected emails with .doc, .docx, or .pdf attachments.
  • The modular .NET components encrypt payloads, execute assemblies in memory, and deliver commands as separate programs; observed commands include querying Active Directory and extracting LSA secrets.
  • CerealLoader uses unmanaged entry points and .NET Vtable Fixups, and malicious files placed in the .NET native image cache can execute before legitimate library functionality loads.
  • CerealHermit provides a fallback backdoor that reads encrypted commands from disk; ESET observed it deployed alongside CerealNeuron in some intrusions.

Article Details

Attack Vectors
  • The article does not identify how the operators initially compromised the governmental organizations.
  • The toolset used malicious .NET components on compromised Microsoft Exchange servers, including a passive backdoor that accepted commands in incoming web requests.
  • CerealLoader was placed under legitimate-looking DLL names in Windows Management Instrumentation directories and in the .NET native image cache, where legitimate processes or the runtime loaded it.
  • CerealBox was injected into Exchange’s EdgeTransport.exe process and hooked existing mail transport handlers to collect selected messages.
  • Operators delivered commands as separate .NET executables; components unpacked and executed payloads in memory.
  • Collected messages were compressed, encrypted, staged on disk, and later exfiltrated through CerealNeuron.
Defensive Notes
  • The article reports no external command-and-control infrastructure; the compromised Exchange server acted as the operator-accessible control point.
  • Review Exchange servers for unexpected code loaded into EdgeTransport.exe, changes to in-memory transport-handler behavior, and suspicious DLLs in WMI-related directories or the .NET native image cache.
  • Investigate unusual incoming requests to Exchange paths, including /owa/sdds/, /AUTODISCOVER/PROXYSERVICE/, and /MICROSOFT-SERVER-ACTIVESYNC/INTEGRATED/API/; the article notes that malicious requests can resemble legitimate Exchange traffic.
  • Look for encrypted payloads, .NET assemblies executed in memory, and staged files containing collected email.
  • The article says ESET fine-tuned product detections after the Kazakhstan discovery and subsequently identified a compromised organization in Romania.

MITRE ATT&CK

T1003.004 · LSA SecretsOne reported command extracted LSA Secrets stored locally by Windows.T1018 · Remote System DiscoveryCommands queried Active Directory for computers in the compromised organization.T1027 · Obfuscated Files or InformationThe toolset concealed payloads in encrypted containers and embedded encrypted binaries inside other .NET assemblies.T1041 · Exfiltration Over C2 ChannelOperators exfiltrated staged email files through CerealNeuron’s command-and-response pipeline.T1049 · System Network Connections DiscoveryWMI queries were used to list active TCP connections.T1055 · Process InjectionCerealBox was injected directly into Exchange’s EdgeTransport.exe process.T1057 · Process DiscoveryWMI queries were used to list processes.T1070.004 · File DeletionOperators used commands to delete files, including staged email dumps.T1071.001 · Web ProtocolsCerealNeuron received operator commands through incoming HTTPS web requests to paths resembling ordinary Exchange traffic.T1083 · File and Directory DiscoveryCommands listed and read files, including staged email dumps.T1087.002 · Domain AccountCommands queried Active Directory for users and groups.T1105 · Ingress Tool TransferOperators sent commands as separate executables or assemblies, which CerealNeuron and related components received and executed.T1114.002 · Remote Email CollectionCerealBox collected selected email messages from the Exchange mail flow, and commands also retrieved mailboxes or specific messages through Exchange Web Services.T1140 · Deobfuscate/Decode Files or InformationComponents decrypted or unpacked encrypted payloads at runtime before executing them.T1574.002 · DLL Side-LoadingCerealLoader used DLL names such as ncobjapi.dll and wbemcomn.dll so legitimate Windows processes would load it.

Threat Actors

Malware

Vendors

Products

Countries

Industries

Related Articles