Reference tables / ATT&CK techniques / T1547.006
T1547.006 Kernel Modules and Extensions
- Tactics
- Persistence, Privilege Escalation
- Reports citing the ID, 90 days
- 1
- KEV CVEs mapped
- 0
- SigmaHQ rules
- 2
- Elastic, Splunk
- 26
- thrunt rules
- 0
- MITRE
- https://attack.mitre.org/techniques/T1547/006
Rules
SigmaHQ community rules
- Loading of Kernel Module via Insmod (core)
- Authencesn Crypto Module Load via Modprobe - Copy-Fail Indicator (emerging-threats)
Elastic and Splunk rules
- Potential Persistence via File Modification (elastic)
- Kernel Module Removal (elastic)
- Suspicious Usage of bpf_probe_write_user Helper (elastic)
- BPF Program or Map Load via bpftool (elastic)
- Kernel Module Load via Built-in Utility (elastic)
- Kernel Driver Load (elastic)
- Kernel Driver Load by non-root User (elastic)
- Kernel Module Load from Unusual Location (elastic)
- Kernel Object File Creation (elastic)
- Loadable Kernel Module Configuration File Creation (elastic)
- Tainted Kernel Module Load (elastic)
- Kernel Module Loaded with Tainting Flags (elastic)
- Tainted Out-Of-Tree Kernel Module Load (elastic)
- Kernel Load or Unload via Kexec Detected (elastic)
- Attempt to Unload Elastic Endpoint Security Kernel Extension (elastic)
- First Time Seen Driver Loaded (elastic)
- Suspicious Modprobe File Event (elastic)
- Linux Auditd Insert Kernel Module Using Insmod Utility (splunk)
- Linux Auditd Install Kernel Module Using Modprobe Utility (splunk)
- Linux Auditd Kernel Module Using Rmmod Utility (splunk)
- Linux Auditd Unload Module Via Modprobe (splunk)
- Linux File Created In Kernel Driver Directory (splunk)
- Linux Insert Kernel Module Using Insmod Utility (splunk)
- Linux Install Kernel Module Using Modprobe Utility (splunk)
- Windows Snake Malware Kernel Driver Comadmin (splunk)
Showing 25 of 26.
MITRE description
Adversaries may modify the kernel to automatically execute programs on system boot. Loadable Kernel Modules (LKMs) are pieces of code that can be loaded and unloaded into the kernel upon demand. They extend the functionality of the kernel without the need to reboot the system. For example, one type of module is the device driver, which allows the kernel to access hardware connected to the system. When used maliciously, LKMs can be a type of kernel-mode Rootkit that run with the highest operating system privilege (Ring 0). Common features of LKM based rootkits include: hiding itself, selective hiding of files, processes and network activity, as well as log tampering, providing authenticated backdoors, and enabling root access to non-privileged users. Kernel extensions, also called kext, are used in macOS to load functionality onto a system similar to LKMs for Linux. Since the kernel is responsible for enforcing security and the kernel extensions run as apart of the kernel, kexts are not governed by macOS security policies. Kexts are loaded and unloaded through <code>kextload</code> and <code>kextunload</code> commands. Kexts need to be signed with a developer ID that is granted privileges by Apple allowing it to sign Kernel extensions. Developers without these privileges may still sign kexts but they will not load unless SIP is disabled. If SIP is enabled, the kext signature is verified before being added to the AuxKC. Since macOS Catalina 10.15, kernel extensions have been deprecated in favor of System Extensions. However, kexts are still allowed as "Legacy System Extensions" since there is no System Extension for Kernel Programming Interfaces. Adversaries can use LKMs and kexts to conduct Persistence and/or Privilege Escalation on a system. Examples have been found in the wild, and there are some relevant open source projects as well.
Research citing this technique
Reports and advisories from the last 90 days that cite this technique.
-
2026-11-12Elastic Security Labs: 0% GPU utilization: How SANSAR hides Linux cryptomining source