kevmap

TechniquesT1132.001 › AN0345

AN0345 Analytic 0345

Windows · attack.mitre.org · ATT&CK Enterprise v19.2

<p>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.</p>
Detects
T1132.001 Standard Encoding
Part of
DET0124 Behavior-chain detection for T1132.001 Data Encoding: Standard Encoding (Base64/Hex/MIME) across Windows, Linux, macOS, ESXi

Log sources and channels

Exactly as MITRE states them in x_mitre_log_source_references. Where a channel is vague, it is vague in the source; kevmap does not tidy it.

Log sourceChannelData component
WinEventLog:SecurityEventCode=4688DC0032 Process Creation
WinEventLog:SysmonEventCode=3, 22DC0082 Network Connection Creation
WinEventLog:PowerShellEventCode=4103, 4104, 4105, 4106DC0029 Script Execution
M365Defender:DeviceNetworkEventsNetworkConnection: bytes_sent >> bytes_received anomalyDC0078 Network Traffic Flow

Mutable elements

Parameters MITRE marks as environment-specific. These are the knobs you are expected to tune; they are why an analytic is not a rule.

FieldDescription
PayloadEntropyThresholdShannon entropy cutoff to consider payload suspicious (e.g., > 4.5–5.0 for HTTP body).
B64LengthThresholdMin continuous Base64 token length in command lines/script blocks to alert (e.g., > 100 chars).
TimeWindowCorrelation window between encoding event and egress (default 10m).
KnownAdminToolsLegitimate tools (e.g., backup agents) that routinely encode/compress data.
BytesOutToInRatioMinimum ratio to treat flow as asymmetric (e.g., ≥ 4:1).