kevmap

TechniquesT1560.002 › AN0748

AN0748 Analytic 0748

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

<p>Detects adversarial archiving by scripts or binaries calling compression libraries (libzip, zlib, bzip2). Correlates execution of Python, Perl, or compiled binaries with dynamic linking to archiving libraries and creation of compressed files in /tmp or user directories.</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
auditd:SYSCALLexecve: Execution of python, perl, or custom binaries invoking compression librariesDC0064 Command Execution
auditd:MMAPload: Loading of libzip.so, libz.so, or libbz2.so by processes not normally associated with archivingDC0016 Module Load
auditd:FILEcreate: Creation of .zip, .gz, .bz2 files in /tmp, /var/tmp, or /home 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
MonitoredLibrariesList of shared objects linked to compression/encryption.
ArchivePathsDirectories where archive creation is flagged as anomalous.
EntropyThresholdEntropy level used to distinguish encryption from normal compression.