T1132.001 Standard Encoding
Command and Controlon attack.mitre.org
ATT&CK Enterprise 20.0 · 20.1 released, update in review
How MITRE detects it
DET0124 Behavior-chain detection for T1132.001 Data Encoding: Standard Encoding (Base64/Hex/MIME) across Windows, Linux, macOS, ESXi
AN0345 Windows
Process invokes a standard encoder (e.g., PowerShell -enc, certutil -encode, base64 via .NET/Invoke-Expression) or emits long Base64/hex literals → shortly followed by outbound network egress with high bytes_out:bytes_in ratio or HTTP headers/payloads containing Base64/MIME blocks.
| MITRE log source | In Microsoft Sentinel |
|---|---|
WinEventLog:SecurityEventCode=4688 |
The same events land in SecurityEvent (Windows Security Events connectors) or WindowsEvent (Windows Event Forwarding); many built-in rules read SecurityEvent only. |
WinEventLog:SysmonEventCode=3, 22 |
Sysmon has no dedicated Sentinel connector: it is collected as a Windows event log into Event or WindowsEvent. |
WinEventLog:PowerShellEventCode=4103, 4104, 4105, 4106 |
|
M365Defender:DeviceNetworkEventsNetworkConnection: bytes_sent >> bytes_received anomaly |
|
AN0346 Linux
Shell/utility (base64, xxd -p, od, openssl enc -base64, python/perl base64 libraries) encodes data → subsequent outbound connections (curl/wget/bash TCP, socat, python requests) with high asymmetry or Base64/MIME blobs in HTTP/DNS payloads.
| MITRE log source | In Microsoft Sentinel |
|---|---|
auditd:SYSCALLexecve of base64|openssl|xxd|python|perl with arguments matching Base64 flags | Not mapped to Sentinel yet. |
WinEventLog:SysmonEventCode=3, 22 |
Sysmon has no dedicated Sentinel connector: it is collected as a Windows event log into Event or WindowsEvent. |
NSM:Flowhttp: HTTP body or headers contain long Base64 sections; gzip/deflate + Base64 | Not mapped to Sentinel yet. |
AN0347 macOS
Processes use base64/xxd/openssl/python Objective‑C APIs to encode data (seen in EndpointSecurity exec events or Unified Logs) → quick outbound connections with large bytes_out or HTTP POSTs carrying Base64/MIME bodies.
| MITRE log source | In Microsoft Sentinel |
|---|---|
macos:unifiedlogprocess command line contains base64, -enc, openssl enc -base64 | Not mapped to Sentinel yet. |
PF:Logsoutbound flows with bytes_out >> bytes_in | Not mapped to Sentinel yet. |
NSM:Flowhttp: HTTP body contains long Base64 sections | Not mapped to Sentinel yet. |
AN0348 ESXi
ESXi shell (BusyBox) or VMware utilities (openssl, python if present) used to Base64/hex encode data from datastore or config files → followed by abnormal egress from the host (NSX/flow logs) with asymmetric bytes_out or HTTPS posts to non-management endpoints.
| MITRE log source | In Microsoft Sentinel |
|---|---|
esxi:shellcommands containing base64, openssl enc -base64, xxd -p | Not mapped to Sentinel yet. |
esxi:hostdunexpected script/command invocations via hostd | Not mapped to Sentinel yet. |
NSX:FlowLogsnetwork_flow: bytes_out >> bytes_in to external | Not mapped to Sentinel yet. |
NSM:Flowhttp: Base64/MIME looking payloads from ESXi host IP | Not mapped to Sentinel yet. |
Content Hub rules tagged with it (0)
No Content Hub rule is tagged with this technique.
In Sigma rules
4 SigmaHQ community rules name it 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
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.