Threaticon
Toggle sidebar

You're viewing a limited, public preview. Log in for full access.

Log in User Guide
Log in Get started
Detection Strategies DET0124 — Behavior-chain detection for T1132.001 Data Encoding: Standard Encoding (Base64/Hex/MIME) across Windows, Linux, macOS, ESXi
DET0124

Behavior-chain detection for T1132.001 Data Encoding: Standard Encoding (Base64/Hex/MIME) across Windows, Linux, macOS, ESXi

4 analytic(s) · 1 technique(s) detected

Analytics

4
AN0345 Analytic 0345
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.

WinEventLog:Security EventCode=4688 WinEventLog:Sysmon EventCode=3, 22 WinEventLog:PowerShell EventCode=4103, 4104, 4105, 4106 M365Defender:DeviceNetworkEvents NetworkConnection: bytes_sent >> bytes_received anomaly
[PayloadEntropyThreshold] Shannon entropy cutoff to consider payload suspicious (e.g., > 4.5–5.0 for HTTP body).
[B64LengthThreshold] Min continuous Base64 token length in command lines/script blocks to alert (e.g., > 100 chars).
[TimeWindow] Correlation window between encoding event and egress (default 10m).
[KnownAdminTools] Legitimate tools (e.g., backup agents) that routinely encode/compress data.
[BytesOutToInRatio] Minimum ratio to treat flow as asymmetric (e.g., ≥ 4:1).
AN0346 Analytic 0346
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.

auditd:SYSCALL execve of base64|openssl|xxd|python|perl with arguments matching Base64 flags WinEventLog:Sysmon EventCode=3, 22 NSM:Flow http: HTTP body or headers contain long Base64 sections; gzip/deflate + Base64
[EncodingToolsAllowList] Build/backup jobs that legitimately call base64/openssl.
[EntropyThreshold] Shannon entropy for payloads (e.g., >4.5).
[TimeWindow] Join window between exec and egress (default 10m).
[OutInRatio] Bytes_out / bytes_in threshold (default 4).
AN0347 Analytic 0347
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.

macos:unifiedlog process command line contains base64, -enc, openssl enc -base64 PF:Logs outbound flows with bytes_out >> bytes_in NSM:Flow http: HTTP body contains long Base64 sections
[AllowedDeveloperIDs] Signed/allowed developer binaries routinely using encoding.
[EntropyThreshold] Payload entropy cutoff.
[TimeWindow] Exec → egress window.
AN0348 Analytic 0348
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.

esxi:shell commands containing base64, openssl enc -base64, xxd -p esxi:hostd unexpected script/command invocations via hostd NSX:FlowLogs network_flow: bytes_out >> bytes_in to external NSM:Flow http: Base64/MIME looking payloads from ESXi host IP
[MgmtCIDRs] CIDRs for legitimate vCenter/NSX/backup endpoints.
[BytesRatio] Out:In ratio deemed suspicious (e.g., ≥3 on ESXi).
[TimeWindow] Correlation window between shell command and egress.

Detected Techniques

1

Command & Control (1)

Details

MITRE ID
DET0124
STIX ID
x-mitre-detection-strategy--1f6a450a-fd29-4e5c-9708-1ae4616c28c3
Analytics
4
Techniques Detected
1
By Tactic
Command & Control
1
Leaving Threaticon

This link opens an external site that isn't part of the platform.