kevmap

TechniquesT1480.001 › AN1307

AN1307 Analytic 1307

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

<p>macOS environmental keying behavioral chain: (1) System information discovery through native utilities (system_profiler, sw_vers, hostname, dscl) and Security framework queries, (2) Hardware and software enumeration including serial numbers, installed applications, and system versions, (3) Network configuration assessment (networksetup, scutil) and wireless network discovery, (4) Keychain and security context validation, (5) Unified Logs correlation with cryptographic framework usage (CommonCrypto, Security.framework), (6) Application bundle execution following environmental validation</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
macos:unifiedlogprocess execution events for discovery utilities (system_profiler, sw_vers, dscl, networksetup) with command-line parameter analysisDC0032 Process Creation
macos:unifiedlogSecurity framework operations including keychain access, cryptographic operations, and certificate validationDC0064 Command Execution
fs:fseventsfile system events indicating access to system configuration files and environmental information sourcesDC0055 File Access

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
SystemProfilerDataTypesSpecific system_profiler data types that adversaries commonly target (SPHardwareDataType, SPSoftwareDataType, SPNetworkDataType) - customize based on threat intelligence
SecurityFrameworkOperationPatternsSecurity.framework and CommonCrypto API usage patterns indicating cryptographic operations for environmental keying
UnifiedLogRetentionWindowTime window for correlating discovery activities with subsequent cryptographic operations - balance between detection coverage and log volume
ApplicationBundleValidationPathsSpecific application bundle paths and identifiers that might be subject to environmental validation
NetworkConfigurationIdentifiersOrganization-specific network configurations, WiFi SSIDs, and network services that adversaries might validate against
MacOSVersionBaselineExpected macOS versions and configurations in environment to identify version-specific environmental targeting
FSEventsFilteringCriteriaFile system event filtering criteria to focus on security-relevant file access patterns while managing event volume