kevmap

TechniquesT1480.001 › AN1305

AN1305 Analytic 1305

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

<p>Windows-specific environmental keying behavioral chain: (1) Rapid system information discovery through multiple techniques (WMI queries, registry enumeration, network share discovery, hostname/domain checks), (2) Target validation through specific environmental artifact collection (AD domain membership, network topology, installed software versions), (3) Cryptographic operation correlation indicating payload decryption based on collected environmental values, (4) Subsequent malicious code execution following successful environmental validation, (5) Temporal clustering of discovery activities suggesting automated environmental assessment</p>
Detects
T1480.001 Environmental Keying
Part of
DET0474 Environmental Keying Discovery-to-Decryption Behavioral Chain Detection Strategy

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=4624, 4648DC0067 Logon Session Creation
WinEventLog:SysmonEventCode=1DC0032 Process Creation
WinEventLog:SysmonEventCode=3, 22DC0082 Network Connection Creation
WinEventLog:SysmonEventCode=7DC0016 Module Load
WinEventLog:SysmonEventCode=25DC0035 Process Access
WinEventLog:WMIEventCode=5857, 5858, 5860, 5861DC0008 WMI Creation
WinEventLog:PowerShellEventCode=4103, 4104, 4105, 4106DC0064 Command Execution

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
DiscoveryTimeWindowTime window for correlating multiple discovery activities as part of environmental assessment - adjust based on observed attack patterns and system performance (default: 300 seconds)
CriticalDiscoveryThresholdMinimum number of distinct discovery techniques within time window to trigger detection - tune based on environment's normal administrative activity levels
TargetSpecificArtifactsOrganization-specific environmental elements that adversaries might target (domain names, network shares, specific hostnames, software versions)
CryptographicIndicatorPatternsProcess names, command lines, and API calls indicating potential decryption operations - customize based on observed cryptographic tool usage in environment
LegitimateAdminAccountsUser accounts authorized to perform extensive system discovery - maintain current list to reduce false positives from legitimate administrative activities
BusinessHoursBaselineNormal business hours for risk scoring adjustment - discovery activities outside these hours receive higher risk scores
WMIQueryComplexityThresholdComplexity metric for WMI queries to identify sophisticated environmental assessment versus simple system checks