Techniques › T1480.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 source | Channel | Data component |
|---|---|---|
| macos:unifiedlog | process execution events for discovery utilities (system_profiler, sw_vers, dscl, networksetup) with command-line parameter analysis | DC0032 Process Creation |
| macos:unifiedlog | Security framework operations including keychain access, cryptographic operations, and certificate validation | DC0064 Command Execution |
| fs:fsevents | file system events indicating access to system configuration files and environmental information sources | DC0055 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.
| Field | Description |
|---|---|
SystemProfilerDataTypes | Specific system_profiler data types that adversaries commonly target (SPHardwareDataType, SPSoftwareDataType, SPNetworkDataType) - customize based on threat intelligence |
SecurityFrameworkOperationPatterns | Security.framework and CommonCrypto API usage patterns indicating cryptographic operations for environmental keying |
UnifiedLogRetentionWindow | Time window for correlating discovery activities with subsequent cryptographic operations - balance between detection coverage and log volume |
ApplicationBundleValidationPaths | Specific application bundle paths and identifiers that might be subject to environmental validation |
NetworkConfigurationIdentifiers | Organization-specific network configurations, WiFi SSIDs, and network services that adversaries might validate against |
MacOSVersionBaseline | Expected macOS versions and configurations in environment to identify version-specific environmental targeting |
FSEventsFilteringCriteria | File system event filtering criteria to focus on security-relevant file access patterns while managing event volume |