T1547.006 Kernel Modules and Extensions
PersistencePrivilege Escalationon attack.mitre.org
ATT&CK Enterprise 20.0 · 20.1 released, update in review
How MITRE detects it
DET0450 Detection Strategy for Kernel Modules and Extensions Autostart Execution
AN1243 Linux
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.
| MITRE log source | In Microsoft Sentinel |
|---|---|
auditd:SYSCALLExecution of insmod, modprobe, or rmmod commands by non-standard users or outside expected timeframes | Not mapped to Sentinel yet. |
auditd:SYSCALLAccess or modification to /lib/modules or creation of .ko files | Not mapped to Sentinel yet. |
linux:osqueryNew or modified kernel object files (.ko) within /lib/modules directory | Not mapped to Sentinel yet. |
AN1244 macOS
Detect user-initiated kextload commands or modifications to /Library/Extensions. Correlate with changes to KextPolicy database or unauthorized developer signing identities. Alert on attempts to disable SIP or load legacy extensions from unsigned sources.
| MITRE log source | In Microsoft Sentinel |
|---|---|
macos:unifiedlogkextload execution from Terminal or suspicious paths | Not mapped to Sentinel yet. |
macos:osqueryProcesses executing kextload, spctl, or modifying kernel extension directories | Not mapped to Sentinel yet. |
macos:osqueryNew kext entries not signed by Apple or outside standard identifier prefix | Not mapped to Sentinel yet. |
macos:osqueryModifications to /var/db/SystemPolicyConfiguration/KextPolicy or kext_policy table | Not mapped to Sentinel yet. |
Content Hub rules tagged with it (2)
- Cloud Run Command followed by kernel persistence indicators on target servers
- Rare kernel load followed by novel non-interactive sign-in tuple
How the Content Hub rules for T1547.006 are built: their tables, filters, joins, schedules and windows.
In Sigma rules
2 SigmaHQ community rules name it in their tags.
Mitigations
M1018User Account ManagementM1026Privileged Account ManagementM1038Execution PreventionM1049Antivirus/Antimalware
MITRE ATT&CK® is a registered trademark of The MITRE Corporation. VeriKQL is not affiliated with or endorsed by MITRE. ATT&CK data © The MITRE Corporation, used under its terms of use.