T1132 Data Encoding
Command and Controlon attack.mitre.org
ATT&CK Enterprise 20.0 · 20.1 released, update in review
How MITRE detects it
DET0108 Detection Strategy for Data Encoding in C2 Channels
AN0302 Windows
Atypical processes (e.g., powershell.exe, regsvr32.exe) encode large outbound traffic using Base64 or other character encodings; this traffic is sent over uncommon ports or embedded in protocol fields (e.g., HTTP cookies or headers).
| MITRE log source | In Microsoft Sentinel |
|---|---|
WinEventLog:SysmonEventCode=3, 22 |
Sysmon has no dedicated Sentinel connector: it is collected as a Windows event log into Event or WindowsEvent. |
WinEventLog:SysmonEventCode=1 |
Sysmon has no dedicated Sentinel connector: it is collected as a Windows event log into Event or WindowsEvent. |
NSM:FlowUnusual Base64-encoded content in URI, headers, or POST body | Not mapped to Sentinel yet. |
AN0303 Linux
Custom scripts or processes encode outbound traffic using gzip, Base64, or hex prior to exfiltration via curl, wget, or custom sockets. Encoding typically occurs before or during outbound connections from non-network daemons.
| MITRE log source | In Microsoft Sentinel |
|---|---|
auditd:SYSCALLexecve | Not mapped to Sentinel yet. |
NSM:FlowBase64 strings or gzip in URI, headers, or POST body | Not mapped to Sentinel yet. |
linux:syslogUnusual outbound transfers from CLI tools like base64, gzip, or netcat | Not mapped to Sentinel yet. |
AN0304 macOS
Processes use built-in encoding utilities (e.g., `base64`, `xxd`, or `plutil`) to encode file contents followed by HTTP/HTTPS transfer via curl or custom applications.
| MITRE log source | In Microsoft Sentinel |
|---|---|
macos:unifiedlogbase64 or curl processes chained within short execution window | Not mapped to Sentinel yet. |
macos:unifiedlogHTTP POST with encoded content in user-agent or cookie field | Not mapped to Sentinel yet. |
AN0305 ESXi
ESXi daemons (e.g., hostd, vpxa) are wrapped or impersonated to send large outbound traffic using gzip/Base64 encoding over SSH or HTTP. These actions follow suspicious logins or shell access.
| MITRE log source | In Microsoft Sentinel |
|---|---|
esxi:shellbase64 or gzip use within shell session | Not mapped to Sentinel yet. |
esxi:vmkernelOutbound traffic using encoded payloads post-login | Not mapped to Sentinel yet. |
ESXiLogs:authlogUnexpected login followed by encoding commands | Not mapped to Sentinel yet. |
Content Hub rules tagged with it (1)
How the Content Hub rules for T1132 are built: their tables, filters, joins, schedules and windows.
In Sigma rules
4 SigmaHQ community rules name it or one of its sub-techniques in their tags.
- DNS Exfiltration and Tunneling Tools Execution
- Gzip Archive Decode Via PowerShell
- Suspicious FromBase64String Usage On Gzip Archive - Process Creation
- Suspicious FromBase64String Usage On Gzip Archive - Ps Script
Mitigations
Sub-techniques
MITRE ATT&CK® is a registered trademark of The MITRE Corporation. VeriKQL is not affiliated with or endorsed by MITRE. ATT&CK data © The MITRE Corporation, used under its terms of use.