# Emotet Global Victim Footprint and Malspam-Delivered Qakbot Payload Analysis (Kryptos Logic, Aug 2018)

> Kryptos Logic measured 70,000+ unique IPs, 4,000+ ASNs and 5,000+ organizations across 170 countries communicating as Emotet-infected peers (est. 50,000-150,000 infected nodes at any time). Emotet's malspam also dropped Qakbot, analyzed as sample version 322.368 / protocol version 15 with DGA and the 1024-bit RSA key removed, 31 C&C commands, banking web injects, and a Firefox HTTP/2 downgrade via profile.js.

- **Author:** Threadlinqs Team
- **Published:** 2026-12-01T22:36:04Z
- **Last updated:** 2026-12-01T22:36:04Z
- **Canonical:** https://intel.threadlinqs.com/threat/TL-2026-7220
- **Card image:** https://intel.threadlinqs.com/og/threat/TL-2026-7220.png
- **ID:** TL-2026-7220
- **Severity:** HIGH
- **Category:** MALWARE
- **Status:** RESOLVED
- **Detections:** 9 (1 shown free below) · **IOCs:** 25 (3 shown free below)

## Description

In its 1 August 2018 report, Kryptos Logic quantified the global footprint of the Emotet botnet by counting actively infected, non-blocked peers that communicated with its infrastructure: more than 70,000 unique IPs, more than 4,000 unique ASNs, more than 5,000 organizations and telecoms, and 170 countries. The authors estimate 50,000 to 150,000 infected nodes at any point in time. The United States and South Korea show high hit counts driven by high-frequency activity from certain organizations (hospitals and research centers showed notably high infection volumes), while India's unique-IP count is inflated by DHCP churn. Repeated hits per organization are assessed as likely caused by a pivoting component such as EternalBlue. Emotet's command-and-control is described as a decentralized network of infected hosts and proxy peers with few single points of failure; the authors note the move away from peer-to-peer C2 and DGA removes sinkholing options, that IP-based blocking is less effective than domain-based blocking because IPs change often, and that takedowns are expected to be very difficult. They also warn Emotet can enable follow-on attacks such as ransomware.

US-CERT/CISA alert TA18-201A (20 July 2018) describes Emotet as a modular, polymorphic, VM-aware banking trojan spread mainly by malspam impersonating trusted brands (PayPal receipts, shipping notices, past-due invoices, including ones purporting to come from MS-ISAC). Infection begins when a user opens a malicious link, PDF or macro-enabled Word document. Emotet persists through auto-start Run registry keys (HKLM, HKLM Wow6432Node and HKCU), Scheduled Tasks and randomly named files in system root directories run as Windows services, injects into explorer.exe and other processes, and collects system name, location and OS version. Artifacts mimic known executables under AppData\Local and AppData\Roaming (for example ...\Microsoft\Windows\shedaudio.exe and ...\Macromedia\Flash Player\macromedia\bin\flashplayer.exe). Spreader modules include NirSoft NetPass.exe, WebBrowserPassView and Mail PassView for credential recovery, an Outlook scraper that sends phishing from compromised accounts, and a self-extracting RAR credential enumerator that finds writable SMB shares or brute-forces accounts (including administrator) and whose service component writes Emotet to new hosts. C2 is typically a generated 16-character .eu domain; over C2 it reports infections, receives configuration, downloads and runs files, and uploads data. CISA reports remediation costs of up to $1 million per incident for state, local, tribal and territorial (SLTT) governments.

The Kryptos Logic article also analyzes a Qakbot (Pinkslipbot/Qbot) payload that Emotet dropped, which the authors describe as a separate botnet with its own communication system. The sample is version 322.368 using protocol version 15, which behaves similarly to version 12 (versions 10-12 were documented by Intel Security at VB2016). The DGA appears completely gone, the 1024-bit RSA key was removed leaving only the 2048-bit key (used for encrypting keys and verifying signatures), and 31 C&C commands exist (up from 25 previously described). It includes decentralized proxy peers and a UPnP library, banking web injects, stolen code-signing certificates, heavy PowerShell use and other defense-evasion techniques. To ease interception of browser traffic it disables HTTP/2 in Firefox by modifying profile.js, leaving HTTP/1.1 only, and typically hooks nspr4!PR.Read; earlier banking malware disabled SPDY instead. Persistence for the Qakbot sample is not described in the article.

The article links three files. iocs.txt contains 75 MD5 hashes of binaries signed with the malicious code-signing certificate. webinjects.txt contains 85 lines of hostnames/fragments (largely commercial-banking, cash-management and treasury portals of US, Canadian and other banks, e.g. cashproonline.bankofamerica.com, treasury.pncbank.com, access.jpmorgan.com, singlepoint.usbank.com, scotiaconnect.scotiabank.com), and paths.txt contains 17 URL path fragments (e.g. /cashman/, /wires/, /achupload, /payments/ach, /wcmtr/) indicating a focus on ACH/wire/cash-management sessions. These hostnames are targets of the web injects, not attacker infrastructure, and must not be blocklisted. The article names no threat actor, CVE, IP address or attacker domain. Status is recorded as RESOLVED/historical because the source is dated 2018 and does not state current activity.

## MITRE ATT&CK

- T1566.001 Spearphishing Attachment
- T1566.002 Spearphishing Link
- T1204.002 Malicious File
- T1059.001 PowerShell
- T1547.001 Registry Run Keys / Startup Folder
- T1053.005 Scheduled Task
- T1543.003 Windows Service
- T1055 Process Injection
- T1036 Masquerading
- T1553.002 Code Signing
- T1497 Virtualization/Sandbox Evasion
- T1555.003 Credentials from Web Browsers
- T1110 Brute Force
- T1021.002 SMB/Windows Admin Shares
- T1114.001 Local Email Collection
- T1185 Browser Session Hijacking
- T1090 Proxy
- T1568.002 Domain Generation Algorithms

## Free detection (Splunk SPL, Microsoft KQL, Sigma)

**Emotet/Qakbot Malspam Macro Execution - Office Application Spawning Script Interpreter** (`TL-2026-7220-SPL-001`)

Detects Microsoft Office applications (Word, Excel, Outlook, PowerPoint) spawning PowerShell, cmd, wscript, cscript, mshta or rundll32. This is the malspam execution chain described in CISA TA18-201A for Emotet (malicious macro-enabled Word documents) and the loader path that drops Qakbot (TL-2026-7220). The search flags hidden/encoded/download-cradle command lines for triage priority.

- **Languages:** Splunk SPL, Microsoft KQL, Sigma
- **ATT&CK:** T1566.001, T1204.002, T1059.001
- **Data sources:** sysmon, index=windows sourcetype=XmlWinEventLog:Microsoft-Windows-Sysmon/Operational, DeviceProcessEvents
- **Severity:** high
- **Confidence:** high

### Splunk SPL

```spl
index=windows earliest=-24h sourcetype="XmlWinEventLog:Microsoft-Windows-Sysmon/Operational" EventCode=1 (ParentImage="*WINWORD.EXE" OR ParentImage="*EXCEL.EXE" OR ParentImage="*OUTLOOK.EXE" OR ParentImage="*POWERPNT.EXE") (Image="*powershell.exe" OR Image="*pwsh.exe" OR Image="*cmd.exe" OR Image="*wscript.exe" OR Image="*cscript.exe" OR Image="*mshta.exe" OR Image="*rundll32.exe") | eval suspicious_cmd=if(match(CommandLine,"(?i)(-e(nc|ncodedcommand)?\s|-w(indowstyle)?\s+hidden|downloadstring|downloadfile|invoke-expression|frombase64string)"),1,0) | stats count AS events, max(suspicious_cmd) AS suspicious_cmd, min(_time) AS first_seen, max(_time) AS last_seen, values(CommandLine) AS command_lines BY host, User, ParentImage, Image | convert ctime(first_seen) ctime(last_seen) | table host User ParentImage Image events suspicious_cmd first_seen last_seen command_lines
```

### Microsoft KQL

```kql
DeviceProcessEvents
| where Timestamp > ago(24h)
| where InitiatingProcessFileName in~ ("winword.exe", "excel.exe", "outlook.exe", "powerpnt.exe")
| where FileName in~ ("powershell.exe", "pwsh.exe", "cmd.exe", "wscript.exe", "cscript.exe", "mshta.exe", "rundll32.exe")
| extend SuspiciousCmd = ProcessCommandLine matches regex @"(?i)(-e(nc|ncodedcommand)?\s|-w(indowstyle)?\s+hidden|downloadstring|downloadfile|invoke-expression|frombase64string)"
| project Timestamp, DeviceName, AccountName, InitiatingProcessFileName, InitiatingProcessCommandLine, FileName, ProcessCommandLine, SuspiciousCmd, SHA256
| order by Timestamp desc
```

### Sigma

```yaml
title: Emotet/Qakbot Malspam - Office Application Spawning Script Interpreter
id: 3f6a2c81-4b7d-4e19-9a53-c8e1d07b6f24
status: experimental
description: Detects Office applications spawning PowerShell, cmd, wscript, cscript, mshta or rundll32, the macro-enabled document execution chain used by Emotet malspam (CISA TA18-201A) and Qakbot loaders (TL-2026-7220).
references:
  - https://www.cisa.gov/news-events/alerts/2018/07/20/emotet-malware
  - https://www.kryptoslogic.com/blog/2018/08/inside-look-at-emotets-global-victims-and-malspam-qakbot-payloads/
author: Threadlinqs Team
date: 2026-12-01
tags:
  - attack.initial-access
  - attack.t1566.001
  - attack.execution
  - attack.t1204.002
  - attack.t1059.001
  - attack.s0367
  - attack.s0650
logsource:
  category: process_creation
  product: windows
detection:
  selection_parent:
    ParentImage|endswith:
      - '\WINWORD.EXE'
      - '\EXCEL.EXE'
      - '\OUTLOOK.EXE'
      - '\POWERPNT.EXE'
  selection_child:
    Image|endswith:
      - '\powershell.exe'
      - '\pwsh.exe'
      - '\cmd.exe'
      - '\wscript.exe'
      - '\cscript.exe'
      - '\mshta.exe'
      - '\rundll32.exe'
  condition: selection_parent and selection_child
falsepositives:
  - Legitimate Office macros or add-ins that call cmd or PowerShell for business automation
  - Software deployment or reporting tools that drive Excel through scripts
level: high
```

**Known false positives:**

- Legitimate Office macros or add-ins that invoke cmd.exe or PowerShell for business automation
- Reporting or ERP integrations that script Excel and shell out to helper commands

**Tuning notes:** Baseline Office-to-shell parent/child pairs for 14 days and allowlist approved macro-enabled templates by ParentCommandLine or document path. Page only on rows where suspicious_cmd=1 and route the rest to triage. If Sysmon is not deployed, use Windows Security 4688 with command-line auditing and map the field names accordingly.

### 8 more detection rules (Splunk SPL, Microsoft KQL, Sigma), unlock with TL Creds

- Qakbot Payload - Execution or Drop of Binaries Matching Kryptos Logic Signed-Binary MD5 List (locked: unlock with TL Creds)
- Emotet Spreader - NirSoft NetPass, WebBrowserPassView and Mail PassView Credential Recovery Tools (locked: unlock with TL Creds)
- Emotet Lateral Movement - SMB Administrator Brute Force and Random-Named EXE Written to Admin Shares (locked: unlock with TL Creds)
- Emotet/Qakbot PowerShell Download Cradle with Hidden, Encoded or Bypass Execution (locked: unlock with TL Creds)
- Emotet Process Injection - Remote Thread Created in explorer.exe by Suspicious Source Process (locked: unlock with TL Creds)
- Qakbot Man-in-the-Browser - Firefox [indicator] HTTP/2 Downgrade and Foreign Thread Injection into Firefox (locked: unlock with TL Creds)
- Emotet Persistence - Run Key, Service or Scheduled Task Pointing to Masqueraded or Randomly Named Executable (locked: unlock with TL Creds)
- Emotet C2 - DGA-Style 16-Character .eu Domain Resolved by Explorer or Masqueraded Process (locked: unlock with TL Creds)

Sign up free to unlock the detection rules: https://threadlinqs.com/?modal=signup

## Sample indicators (3 of 25)

Defanged, TLP:CLEAR.

- File hash: `7f92042b38156aeed8d557f54d6cee64`
- File hash: `9c4c4bf454ddbda807818712eaab5f7e`
- File hash: `bcef0bc919e028e727b8306204276a9e`

Full set of 25 indicators unlocks with TL Creds: https://threadlinqs.com/tl-creds

## Sources

- [Inside Look at Emotet's Global Victims and Malspam Qakbot Payloads](https://www.kryptoslogic.com/blog/2018/08/inside-look-at-emotets-global-victims-and-malspam-qakbot-payloads/)
- [Kryptos Logic iocs.txt (75 MD5 hashes of binaries signed with the malicious certificate)](https://www.kryptoslogic.com/blog/2018/08/inside-look-at-emotets-global-victims-and-malspam-qakbot-payloads/files/iocs.txt)
- [Kryptos Logic webinjects.txt (85 webinject target hostnames)](https://www.kryptoslogic.com/blog/2018/08/inside-look-at-emotets-global-victims-and-malspam-qakbot-payloads/files/webinjects.txt)
- [Kryptos Logic paths.txt (17 webinject path fragments)](https://www.kryptoslogic.com/blog/2018/08/inside-look-at-emotets-global-victims-and-malspam-qakbot-payloads/files/paths.txt)
- [CISA Alert TA18-201A: Emotet Malware](https://www.cisa.gov/news-events/alerts/2018/07/20/emotet-malware)
- [MITRE ATT&CK: Emotet (S0367)](https://attack.mitre.org/software/S0367/)
- [MITRE ATT&CK: QakBot (S0650)](https://attack.mitre.org/software/S0650/)
- [Virus Bulletin VB2016: Diving into Pinkslipbot's Latest Campaign (Intel Security)](https://www.virusbulletin.com/conference/vb2016/abstracts/diving-pinkslipbots-latest-campaign/)
- [Virus Bulletin: VB2016 paper - Diving into Pinkslipbot's latest campaign (full paper)](https://www.virusbulletin.com/blog/2017/06/vb2016-paper-diving-pinkslipbots-latest-campaign/)
- [Elastic Security Labs: QBOT Malware Analysis](https://www.elastic.co/security-labs/qbot-malware-analysis)
- [Check Point Research: Exploring Qbot's Latest Attack Methods](https://research.checkpoint.com/2020/exploring-qbots-latest-attack-methods/)

## Full data

The other 8 detection rules (Splunk SPL / Microsoft KQL / Sigma) unlock with TL Creds; a free account includes daily creds: https://threadlinqs.com/?modal=signup
Indicator values unlock with TL Creds, at a lower price on Red and Purple; AI agents can query rules and IOCs through the Threadlinqs MCP server (Purple and Gold in full, 2 calls a day on a free account): https://intel.threadlinqs.com/mcp

Canonical: https://intel.threadlinqs.com/threat/TL-2026-7220
