kevmap

TechniquesT1222 › AN0836

AN0836 Analytic 0836

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

<p>macOS-specific permission modification behavioral chain: (1) chmod/chown/chflags process execution, (2) System Integrity Protection (SIP) bypass attempts, (3) Extended attribute (xattr) modifications, (4) Unified log correlation with file system events, (5) Subsequent access to previously restricted resources</p>
Detects
T1222 File and Directory Permissions Modification
Part of
DET0299 Multi-Platform File and Directory Permissions Modification 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 chmod, chown, chflags with unusual parameters or targetsDC0032 Process Creation
fs:fseventsfile system events indicating permission or attribute changesDC0059 File Metadata

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
SIPProtectedPathsmacOS system paths protected by SIP that should never have permission modifications
SuspiciousFlagCombinationschflags parameter combinations indicating evasive behavior (uchg, schg, hidden)
XattrMonitoringScopeExtended attributes to monitor for unauthorized modifications
UnifiedLogRetentionLog retention period for correlating permission changes with subsequent access

KEV CVEs whose mapped technique this analytic detects

CVEVendor / productState
CVE-2022-22960VMware Multiple ProductsMapped