Techniques › T1560.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 source | Channel | Data component |
|---|---|---|
| auditd:SYSCALL | execve: Execution of python, perl, or custom binaries invoking compression libraries | DC0064 Command Execution |
| auditd:MMAP | load: Loading of libzip.so, libz.so, or libbz2.so by processes not normally associated with archiving | DC0016 Module Load |
| auditd:FILE | create: Creation of .zip, .gz, .bz2 files in /tmp, /var/tmp, or /home directories | DC0039 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.
| Field | Description |
|---|---|
MonitoredLibraries | List of shared objects linked to compression/encryption. |
ArchivePaths | Directories where archive creation is flagged as anomalous. |
EntropyThreshold | Entropy level used to distinguish encryption from normal compression. |