Techniques › T1546.016 › AN0939
AN0939 Analytic 0939
Linux · attack.mitre.org · ATT&CK Enterprise v19.2
<p>Detection of maintainer scripts (e.g., postinst, preinst) being modified or executed during dpkg or rpm operations. Watch for script content that spawns additional processes or writes outside package scope.</p>
- Detects
- T1546.016 Installer Packages
- Part of
- DET0330 Detection Strategy for T1546.016 - Event Triggered Execution via Installer Packages
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 | Execution of dpkg or rpm followed by fork/execve from within postinst, prerm, etc. | DC0032 Process Creation |
| auditd:SYSCALL | write | 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 |
|---|---|
ScriptName | May be postinst, preinst, prerm, or postrm depending on packaging system |
PackageManager | Depends on system: dpkg, apt, rpm, yum, etc. |