Techniques › T1547.006 › AN1243
AN1243 Analytic 1243
Linux · attack.mitre.org · ATT&CK Enterprise v19.2
<p>Monitor kernel module load/unload activity via modprobe, insmod, rmmod, or direct manipulation of /lib/modules. Correlate with installation of kernel headers, compilation commands, or downloads of .ko files. Detect anomalies in unsigned module loading or repeated module load attempts under non-root users.</p>
- Detects
- T1547.006 Kernel Modules and Extensions
- Part of
- DET0450 Detection Strategy for Kernel Modules and Extensions Autostart Execution
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 insmod, modprobe, or rmmod commands by non-standard users or outside expected timeframes | DC0064 Command Execution |
| auditd:SYSCALL | Access or modification to /lib/modules or creation of .ko files | DC0039 File Creation |
| linux:osquery | New or modified kernel object files (.ko) within /lib/modules directory | DC0061 File Modification |
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 |
|---|---|
UserContext | Scope detection to non-root or unexpected users performing module-related activity |
TimeWindow | Limit alerts to module activity outside approved change windows |
FilePathRegex | Adjust regex pattern for directories to monitor depending on kernel version or distro |