kevmap

TechniquesT1204 › AN1316

AN1316 Analytic 1316

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

<p>Cause→effect chain: (1) unified logs show application open/click or crash for Safari/Chrome/Office/Preview/archiver, (2) file write/extraction into ~/Downloads, /private/var/folders/* or ~/Library, (3) parent app spawns osascript/bash/zsh/curl/python or opens a quarantined app with Gatekeeper prompts, (4) network egress from child.</p>
Detects
T1204 User Execution
Part of
DET0478 User Execution – multi-surface behavior chain (documents/links → helper/unpacker → LOLBIN/child → egress)

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:unifiedlogopened document|clicked link|EXC_BAD_ACCESS|abort|LSQuarantineDC0038 Application Log Content
fs:fileeventscreate/write/rename in user-writable pathsDC0039 File Creation
macos:osqueryexecDC0032 Process Creation
NSM:Flownew outbound connection from exploited lineageDC0082 Network Connection Creation

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
TimeWindow10–30 minute correlation window.
HighRiskChildrenosascript, bash, zsh, curl, python, open -a Terminal, installer, tccutil misuse.
QuarantineSignalsFlag new apps lacking com.apple.quarantine or with quarantine='0081' (downloaded then auto-opened).

KEV CVEs whose mapped technique this analytic detects

CVEVendor / productState
CVE-2023-38831RARLAB WinRARMapped
CVE-2025-24993Microsoft WindowsMapped