kevmap

TechniquesT1036.004 › AN0326

AN0326 Analytic 0326

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

<p>Creation of LaunchAgents or LaunchDaemons with names resembling known system services but executing non-Apple signed code or scripts.</p>
Detects
T1036.004 Masquerade Task or Service
Part of
DET0117 Detection of Masqueraded Tasks or Services with Suspicious Naming and Execution

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
fs:fileevents/Library/LaunchDaemons/*.plist, ~/Library/LaunchAgents/*.plistDC0005 Scheduled Job Metadata
macos:endpointsecurityES_EVENT_TYPE_NOTIFY_EXECDC0032 Process Creation
macos:unifiedlogsubsystem=com.apple.launchservicesDC0041 Service 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
PlistLabelSimilarityDetect plists with labels that closely resemble legitimate ones (e.g., `com.apple.updates.plist`)
UnsignedBinaryExecutionToggle sensitivity for unsigned binaries or scripts launched by daemons
UserContextScope detection based on whether LaunchAgent ran in user or system context