kevmap

TechniquesT1560.002 › AN0749

AN0749 Analytic 0749

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

<p>Detects malicious archiving via system or third-party libraries (libz, libarchive) invoked by Python, Swift, or Objective-C binaries. Correlates unified logs of library loads with creation of compressed or encrypted archives (.zip, .gz, .bz2, .dmg).</p>
Detects
T1560.002 Archive via Library
Part of
DET0268 Detect Archiving via Library (T1560.002)

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:unifiedlogExecution of Python, Swift, or other binaries invoking archiving librariesDC0032 Process Creation
macos:unifiedlogLoading of libz.dylib, libarchive.dylib by non-standard applicationsDC0016 Module Load
macos:unifiedlogCreation of .zip, .gz, .dmg archives in /Users, /tmp, or application directoriesDC0039 File 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
AllowedProcessesApplications allowed to load compression libraries (e.g., backup agents).
UserContextFlag archiving under privileged or system accounts as suspicious.
FileExtensionFilterTargeted monitoring of sensitive file formats or compressed containers.