Threat reportMalwareTL-2026-7219
Emotet Botnet Adds Mass Email Exfiltration Module (MAPI-based Outlook Harvesting)
Kryptos Logic reported in October 2018 that the Emotet botnet began deploying a module that harvests the sender, recipient, subject and body of Outlook emails from the last 180 days via MAPI and sends them to C2 over HTTP using WinINet. First disclosed .
Key facts
| Identifiers | TL-2026-7219 |
|---|---|
| Also known as | Geodo |
| Severity | HIGH |
| First disclosed | |
| Affected products | Microsoft Windows systems with Microsoft Outlook registered as the MAPI client (DllPathEx -> mapi32.dll) |
| Malware | 6cd44f2d00b43d80c08922d99d51cce804a59a54, Emotet - S0367, MimiKatz, Ryuk |
| Tools | Mimikatz, NirSoft Mail PassView, NirSoft WebBrowserPassView, Trick Bot |
| MITRE ATT&CK techniques | T1003.001 LSASS Memory, T1021.002 SMB/Windows Admin Shares, T1027 Obfuscated Files or Information, T1055 Process Injection, T1059.005 Visual Basic, T1071.001 Web Protocols, T1074.001 Local Data Staging, T1087.003 Email Account, T1110.001 Password Guessing, T1114.001 Local Email Collection, T1204.002 Malicious File, T1543.003 Windows Service and 6 more in the attack flow |
| Motivation | FINANCIAL |
| Target sectors | government administration, utilities, enterprise |
| Target regions | united states of america, Global |
| Detection rules | 9 (1 shown free) |
| Sources | 10 cited sources |
Detection coverage
As of 2026-12-01, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-7219 across Splunk SPL, Microsoft KQL and Sigma, covering 16 indicator(s) of compromise. The whole corpus is readable without an account. Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Paid plans add a larger daily allowance, correlation and the MCP server. Threadlinqs MCP server · View plans.
Free detection: Emotet - Office Application Spawning Script Host or LOLBin (Exploitation)
TL-2026-7219 (Emotet / Geodo, MITRE S0367). Detects Word, Excel, PowerPoint or Outlook spawning PowerShell, cmd, wscript, cscript, mshta, rundll32 or regsvr32 (T1566.001, T1204.002, T1059.005), the macro-document execution chain Emotet uses for initial access (CISA AA20-280A). Flags encoded commands (T1027) and references to the %Temp%\setup.exe dropped payload. This is the delivery stage that precedes the Outlook MAPI email-harvesting module described by Kryptos Logic.
- Languages: Splunk SPL, Microsoft KQL, Sigma
- ATT&CK: T1566.001, T1204.002, T1059.005, T1027
- Data sources: sysmon, microsoft_defender_for_endpoint
- Severity: high
- Confidence: high
Splunk SPL
index=sysmon sourcetype="XmlWinEventLog:Microsoft-Windows-Sysmon/Operational" EventCode=1 earliest=-24h (ParentImage="*\\WINWORD.EXE" OR ParentImage="*\\EXCEL.EXE" OR ParentImage="*\\POWERPNT.EXE" OR ParentImage="*\\OUTLOOK.EXE") (Image="*\\powershell.exe" OR Image="*\\cmd.exe" OR Image="*\\wscript.exe" OR Image="*\\cscript.exe" OR Image="*\\mshta.exe" OR Image="*\\rundll32.exe" OR Image="*\\regsvr32.exe") | eval encoded_cmd=if(match(CommandLine,"(?i)(-enc|-encodedcommand|frombase64string)"),1,0) | eval emotet_setup_exe=if(match(CommandLine,"(?i)temp.setup[.]exe"),1,0) | stats count min(_time) as first_seen max(_time) as last_seen values(Image) as child_processes values(CommandLine) as command_lines max(encoded_cmd) as encoded_cmd max(emotet_setup_exe) as emotet_setup_exe by host User ParentImage | convert ctime(first_seen) ctime(last_seen) | sort - encoded_cmd - emotet_setup_exe - countMicrosoft KQL
let office_apps = dynamic(['winword.exe','excel.exe','powerpnt.exe','outlook.exe']);
let child_procs = DeviceProcessEvents
| where Timestamp > ago(24h)
| where InitiatingProcessFileName in~ (office_apps)
| where FileName in~ ('powershell.exe','cmd.exe','wscript.exe','cscript.exe','mshta.exe','rundll32.exe','regsvr32.exe')
| extend Indicator = iff(ProcessCommandLine matches regex @'(?i)(-enc|-encodedcommand|frombase64string)', 'office_child_encoded_command', 'office_child_script_host')
| project Timestamp, DeviceName, AccountName, Indicator, Parent = InitiatingProcessFileName, Detail = ProcessCommandLine;
let dropped = DeviceFileEvents
| where Timestamp > ago(24h)
| where ActionType == 'FileCreated'
| where FolderPath endswith @'\Temp\setup.exe'
| where InitiatingProcessFileName in~ (office_apps) or InitiatingProcessFileName in~ ('powershell.exe','wscript.exe','cscript.exe','rundll32.exe','regsvr32.exe')
| project Timestamp, DeviceName, AccountName = InitiatingProcessAccountName, Indicator = 'temp_setup_exe_dropped', Parent = InitiatingProcessFileName, Detail = FolderPath;
union child_procs, dropped
| sort by Timestamp descSigma
title: Emotet - Office Application Spawning Script Interpreter or LOLBin
id: 7c1e4a52-3b9d-4f6a-8e21-5d0a9b3c7f14
status: experimental
description: Detects Microsoft Office applications spawning script hosts or LOLBins, the macro-based execution chain used by Emotet (S0367) for initial access and payload download.
references:
- https://attack.mitre.org/software/S0367/
- https://cisa.gov/news-events/cybersecurity-advisories/aa20-280a
- https://www.kryptoslogic.com/blog/2018/10/emotet-awakens-with-new-campaign-of-mass-email-exfiltration/
author: Threadlinqs Team
date: 2026/12/01
tags:
- attack.initial-access
- attack.t1566.001
- attack.execution
- attack.t1204.002
- attack.t1059.005
- attack.s0367
logsource:
category: process_creation
product: windows
detection:
selection_parent:
ParentImage|endswith:
- '\winword.exe'
- '\excel.exe'
- '\powerpnt.exe'
- '\outlook.exe'
selection_child:
Image|endswith:
- '\powershell.exe'
- '\cmd.exe'
- '\wscript.exe'
- '\cscript.exe'
- '\mshta.exe'
- '\rundll32.exe'
- '\regsvr32.exe'
condition: selection_parent and selection_child
falsepositives:
- Legitimate Office add-ins or macros that launch cmd or PowerShell for business automation
- Software deployment or document-conversion tooling driven from Office
level: highKnown false positives:
- Legitimate Office macros or add-ins that call cmd.exe or PowerShell for business automation
- Software deployment or document-conversion tooling launched from Office
Tuning notes: Adjust the index name (index=sysmon) to the one holding Sysmon EventCode=1. Allow-list known automation macros by ParentImage + CommandLine hash or signed script path. Raise priority when encoded_cmd=1 or emotet_setup_exe=1. Consider limiting to user workstations, excluding build/RPA servers.
- Emotet - Office-Spawned Payload Download and [indicator] Drop (Exploitation) · unlock with TL Creds
- Emotet - Persistence (Run Key, Fake 'Windows Defender System Service') and Credential Tools (Post-Exploitation) · unlock with TL Creds
- Emotet - SMB Password Guessing Worm Spread and [indicator] Remote Drop (Lateral Movement) · unlock with TL Creds
- Emotet - Encoded PowerShell or Script Host Launched by Office (Exploitation) · unlock with TL Creds
- Emotet - Outlook MAPI Harvest: [indicator] Load by Non-Mail Process (Post-Exploitation) · unlock with TL Creds
- Emotet - WinINet Beaconing from Injected/Rundll32 Process to Public IP (C2) · unlock with TL Creds
- Emotet - Non-Mail Process Loading [indicator] / Reading Outlook DllPathEx (MAPI Email Harvesting) · unlock with TL Creds
- Emotet - HTTP C2 from User-Writable Process on Emotet Ports (7080/8080/50000/20/22) · unlock with TL Creds
Indicators of compromise
As of 2026-12-01, Threadlinqs Intelligence tracks 16 indicators of compromise for TL-2026-7219.
Sample indicators (3 of 16)
- File hash:
d4491f9b885bba06d7ee6e02e6e71272893638bbb92f2c23b9ddf52f8a26a702 - File hash:
d7efad30d0a56983fba15f0be28877bd7d55c723388005baa322b94c02540f11 - File hash:
86cf916c547b6f228b8e7bd4667715db0467c3d141f6226e27025797aeca10ec
Defanged, TLP:CLEAR. Full set of 16 indicators: unlock with TL Creds.
Technical analysis
Emotet had been largely dormant for about a month before the activity resumed.
Kryptos Logic (Vantage Team) observed Emotet resume activity around Halloween 2018 after roughly a month of dormancy, with a new module that is loaded from the C2 server by already-infected hosts. The module DLL injects a payload binary into a new Emotet process. Kryptos expected deployment across tens of thousands of actively infected systems within days. This goes beyond the earlier Emotet Outlook module described by G DATA / cyber.wtf in October 2017, which collected only sender/recipient names and addresses (written to a temporary file in %PROGRAMDATA%) and did not read message content.
Module behavior (Kryptos Logic): the module first reads the registry value DllPathEx under HKLM\Software\Clients\Mail\Microsoft Outlook, which should point to mapi32.dll; if the value is missing the module stops (other clients such as HKLM\Software\Clients\Mail\Windows Mail are ignored). It then crawls every subfolder of the IPM root folder and keeps only messages whose PR_MESSAGE_DELIVERY_TIME falls within the last 180 days. For each message it collects the sender name and address (PR_SENDER_NAME_W, PR_SENDER_EMAIL_ADDRESS_W), the recipient name and address (PR_RECEIVED_BY_NAME_W, PR_RECEIVED_BY_EMAIL_ADDRESS_W), the subject (PR_SUBJECT_W) and the body (PR_BODY_W), with the body truncated to 16,384 characters plus '...'. Records are held in a global linked list; on termination the list is Base64-encoded and written to a temporary file.
Exfiltration: the parent module DLL waits for the payload process to finish and kills it if it runs longer than 300 seconds. It then reads the temporary file and, if the file is larger than 116 bytes, sends it to the C2 server with an HTTP request made through the WinINet API. The module is identified in the article by the identifier 6cd44f2d00b43d80c08922d99d51cce804a59a54 (given as the module name, not described as a file hash). The article names no C2 IPs/domains, temp file names or paths.
Context and impact: Emotet is a modular, pay-per-install loader that began as a banking trojan (Eurojust/Europol) and delivers secondary malware such as Trickbot and Ryuk. Check Point's 2018 analysis describes a hard-coded IP:port C2 list with an RSA public key, Protocol Buffers messages, LZMA compression, per-session AES keys, and original modules including a Simple MAPI email address harvester, an SMB brute-force worm, a spam module and a UPnP connection verifier, plus wrapped NirSoft credential tools. Kryptos noted recent Emotet-delivered ransomware against U.S. infrastructure (including Onslow Water and Sewer Authority) with costs up to $1 million, and that the United States was by far the most affected country. Full message content gives operators material to craft convincing spam (thread hijacking was later documented by CISA in AA20-280A) and exposes confidential business correspondence. Emotet was disrupted by a Europol/Eurojust-coordinated operation on 27 January 2021. Severity is analyst-assigned, not source-stated.
MITRE ATT&CK techniques by tactic:
Credential Access
T1003.001 LSASS Memory; T1110.001 Password Guessing; T1555.003 Credentials from Web Browsers
Lateral Movement
T1021.002 SMB/Windows Admin Shares
Defense Evasion
T1027 Obfuscated Files or Information; T1055 Process Injection
Execution
T1059.005 Visual Basic; T1204.002 Malicious File
Command and Control
T1071.001 Web Protocols; T1571 Non-Standard Port; T1573.002 Asymmetric Cryptography
Collection
T1074.001 Local Data Staging; T1114.001 Local Email Collection
Discovery
Persistence
T1543.003 Windows Service; T1547.001 Registry Run Keys / Startup Folder
Initial Access
T1566.001 Spearphishing Attachment; T1566.002 Spearphishing Link
Remediation
Patches
- Apply Microsoft security updates, including MS17-010, which Emotet has used for lateral movement per CISA AA20-280A
Immediate actions
- Hunt for processes reading HKLM\Software\Clients\Mail\Microsoft Outlook\DllPathEx and loading mapi32.dll from non-Outlook/non-MAPI-client processes
- Isolate hosts showing Emotet persistence (HKCU Run key entries, new services, scheduled tasks) and reset credentials used on them
- Treat mailboxes on infected hosts as exposed: notify correspondents and warn of spoofed/thread-hijacked messages
- Block known Emotet C2 IPs at the perimeter (hard-coded IP:port C2, ports incl. 80, 8080, 443, 7080, 20, 22, 50000)
Workarounds
- Block .dll, .exe and other risky attachment types at the email gateway and scan attachments for true file type
- Disable macros from the internet in Microsoft Office
- Disable unneeded file and printer sharing
Longer-term hardening
- Enforce least privilege and unique local admin passwords to limit SMB brute-force spreading
- Segment networks and limit lateral SMB communication
- Deploy EDR with behavioral detection for macro-spawned PowerShell and process injection
- Enable MFA and enforce DMARC at the email gateway
Affected and fixed versions
- Microsoft — Windows systems with Microsoft Outlook registered as the MAPI client (DllPathEx -> mapi32.dll)
Vulnerable versions: Hosts infected with Emotet that have Outlook configured; Windows Mail is not targeted by this module
Timeline
- cyber.wtf / G DATA document an earlier Emotet Outlook module that harvests sender/recipient names and addresses via MAPI into a temp file in %PROGRAMDATA%, without message content.
- US-CERT publishes Technical Alert TA18-201A on Emotet, produced from MS-ISAC analytic work.
- Kryptos Logic expects the module to be pushed to tens of thousands of actively infected systems over the following days; the US is by far the most affected country.
- Kryptos Logic reports Emotet resuming activity after about a month of dormancy with a new module that exfiltrates Outlook emails (sender, recipient, subject, body) from the last 180 days to C2 over HTTP.
- Per CISA AA20-280A, Emotet loader downloads rose about 1,000% in August 2020 and state and local governments were targeted; the Outlook email scraper is listed among its credential/data theft capabilities.
- CISA and MS-ISAC publish AA20-280A on Emotet phishing against state and local governments (~16,000 EINSTEIN alerts since July).
- Europol and Eurojust announce a coordinated disruption of Emotet; law enforcement takes control of infrastructure, seizes servers in Germany and makes arrests in Ukraine.
- Per Malwarebytes, a law-enforcement-delivered update removed remaining Emotet infections on 25 April 2021 (other reporting cited 25 March).
Sources cited
- CISA AA20-280A: Emotet Malware CISA · Government advisory · 2020-10-06
- US-CERT TA18-201A: Emotet Malware CISA · Advisory · 2018-07-20
- World's most dangerous malware EMOTET disrupted through global action (Eurojust) eurojust.europa.eu · Advisory · 2021-01-27
- Emotet harvests Microsoft Outlook (cyber.wtf / G DATA) cyber.wtf · Research · 2017-10-12
- Emotet: Tricky Trojan Git Clones (Check Point Research) Check Point Research · Research
- MITRE ATT&CK: Emotet (S0367) MITRE · Research · 2026-12-01
- Emotet Awakens With New Campaign of Mass Email Exfiltration (Kryptos Logic) kryptoslogic.com · Blog · 2018-10-31
- emotet email theft (Kryptos Logic technical blog) blog.kryptoslogic.com · Blog · 2018-10-31
- International Action Targets Emotet Crimeware (KrebsOnSecurity) Krebs on Security · News · 2021-01-27
- Pervasive Emotet Botnet Now Steals Emails (Dark Reading) Dark Reading · News · 2018-10-31
Previous and next in malware
AI-drafted from 10 cited sources; published ; last updated —.