Techniques › T1195.001 › AN0022
AN0022 Analytic 0022
Linux · attack.mitre.org · ATT&CK Enterprise v19.2
<p>Developer or CI invokes package managers/compilers (apt/yum + build-essential, npm/yarn/pnpm, pip/pip3, gem, cargo, go, maven/gradle). These write executable or script files into PATH or project dirs and immediately execute embedded lifecycle hooks (preinstall/postinstall, setup.py, npm scripts) that spawn shells or curl/wget, followed by egress to unfamiliar registries or domains.</p>
- Detects
- T1195.001 Compromise Software Dependencies and Development Tools
- Part of
- DET0009 Supply-chain tamper in dependencies/dev-tools (manager→write/install→first-run→egress)
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 | DC0032 Process Creation |
| auditd:SYSCALL | rename, chmod | DC0020 Process Modification |
| journald:package | dpkg/apt or yum/dnf transaction logs (install/update of build tools) | DC0059 File Metadata |
| NSM:Flow | First-time egress to new registries/CDNs post-install/build | DC0078 Network Traffic Flow |
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 |
|---|---|
ApprovedRepos | Allowed APT/YUM repos and GPG keys for build tools. |
PathScope | Monitor /usr/local/bin, /usr/bin, /opt/*/bin, ~/.local/bin, node_modules/.bin, .venv/bin, .cargo/bin, .gradle, .m2. |
TimeWindow | Default 90 minutes for write→exec→egress linkage. |