Detectionhightest

Loading of Kernel Module via Insmod

Detects loading of kernel modules with insmod command. Loadable Kernel Modules (LKMs) are pieces of code that can be loaded and unloaded into the kernel upon demand. Adversaries may use LKMs to obtain persistence within the system or elevate the privileges.

Open in Detection LabConvert ruleBuild Package
Pawel MazurCreated 2021-11-02Updated 2022-12-25106d7cbd-80ff-4985-b682-a7043e5acb72linux
Log Source
Linuxauditd
ProductLinux← raw: linux
Serviceauditd← raw: auditd
Detection Logic
Detection Logic1 selector
detection:
    selection:
        type: 'SYSCALL'
        comm: insmod
        exe: /usr/bin/kmod
    condition: selection
False Positives
Unknown

False positive likelihood has not been assessed. Additional context may be needed during triage.

Rule Metadata
Rule ID
106d7cbd-80ff-4985-b682-a7043e5acb72
Status
test
Level
high
Type
Detection
Created
2021-11-02
Modified
2022-12-25
Path
rules/linux/auditd/syscall/lnx_auditd_load_module_insmod.yml
Raw Tags
attack.persistenceattack.privilege-escalationattack.t1547.006
View on GitHub