Loading Linux Kernel Module

Description

Generated datasets for loading linux kernel module in attack range.

MITRE ATT&CK Techniques

ID Technique Tactic
T1547.006 Kernel Modules and Extensions Persistence, Privilege Escalation

Environment Details

Field Value
Environment attack_range
Directory loading_linux_kernel_module
Test Date 2021-12-22

Datasets

The following datasets were collected during this attack simulation:

Sysmon_linux

  • Path: /datasets/attack_techniques/T1547.006/loading_linux_kernel_module/sysmon_linux.log
  • Sourcetype: sysmon:linux
  • Source: Syslog:Linux-Sysmon/Operational

The following detections in our security content repository use this attack data for testing:

Detection Name Type Source MITRE ATT&CK Analytic Story
Linux Install Kernel Module Using Modprobe Utility Anomaly Endpoint T1547.006 Linux Privilege Escalation, Linux Persistence Techniques, Linux Rootkit, China-Nexus Threat Activity
Linux File Created In Kernel Driver Directory Anomaly Endpoint T1547.006 Linux Privilege Escalation, Linux Persistence Techniques, Linux Rootkit
Linux Insert Kernel Module Using Insmod Utility Anomaly Endpoint T1547.006 Linux Persistence Techniques, XorDDos, Linux Rootkit, Linux Privilege Escalation

Usage Instructions

Replay with Splunk Attack Data

Replay attack data with replay.py from Splunk Attack Data.

1python replay.py --dataset /datasets/attack_techniques/T1547.006/loading_linux_kernel_module/sysmon_linux.log --index attack_data

Manual Import

  1. Download the dataset files from the paths listed above
  2. Configure your Splunk instance with the appropriate sourcetypes
  3. Import the logs using the Splunk Add Data wizard

Find more detections and analytics for this attack technique in our security content repository.


Source: GitHub | Version: 1.0