kevmap

TechniquesT1195.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 sourceChannelData component
auditd:SYSCALLexecveDC0032 Process Creation
auditd:SYSCALLrename, chmodDC0020 Process Modification
journald:packagedpkg/apt or yum/dnf transaction logs (install/update of build tools)DC0059 File Metadata
NSM:FlowFirst-time egress to new registries/CDNs post-install/buildDC0078 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.

FieldDescription
ApprovedReposAllowed APT/YUM repos and GPG keys for build tools.
PathScopeMonitor /usr/local/bin, /usr/bin, /opt/*/bin, ~/.local/bin, node_modules/.bin, .venv/bin, .cargo/bin, .gradle, .m2.
TimeWindowDefault 90 minutes for write→exec→egress linkage.