kevmap

TechniquesT1132.002 › AN0928

AN0928 Analytic 0928

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

<p>Shell scripts or binaries implement custom mapping tables (tr/sed/awk/golang/rust/python encode loops), or emit long high-entropy tokens that fail Base64/Hex validation → correlated with egress showing asymmetric flow, protocol-mismatch payloads, or DNS/HTTP bodies containing low-diversity-but-long custom alphabets.</p>
Detects
T1132.002 Non-Standard Encoding
Part of
DET0326 Behavior-chain detection for T1132.002 Data Encoding: Non-Standard Encoding 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
auditd:SYSCALLexecve of interpreters (python, perl), custom binaries, or shell utilities with long arguments containing non-standard tokensDC0032 Process Creation
WinEventLog:SysmonEventCode=3, 22DC0082 Network Connection Creation
NSM:Flowhttp: HTTP bodies/headers contain long tokens with non-standard alphabets or constant-size periodic POSTsDC0085 Network Traffic Content

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
EntropyThresholdPayload entropy minimum.
TokenLengthThresholdLength threshold for suspect tokens.
BytesOutToInRatioAsymmetry cutoff for flows.
TimeWindowCorrelation join window.
KnownEncodersLegitimate internal tools/agents.