Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add rule for insert or remove rootkit #5114

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
title: Adding and Removing Kernel Modules - Linux
id: 85b78882-a58d-405f-bbb3-201d41812e8c
status: experimental
description: Adversaries may attempt to insert/remove rootkits (device driver) onto a victim host. This rule detects the use of commands such as 'insmod', 'modprobe', and 'rmmod' which are commonly used to load or remove kernel modules.
references:
- https://reveng007.github.io/blog/2022/03/08/reveng_rkit_detailed.html
- https://xcellerator.github.io/posts/linux_rootkits_02/
- https://0x00sec.org/t/kernel-rootkits-getting-your-hands-dirty/1485
- https://thomas-byrne.co.uk/projects/makingarootkit/
author: CheraghiMilad
date: 2024-12-10
tags:
- attack.defense-evasion
- attack.t1014
logsource:
category: process_creation
product: linux
detection:
selection:
Image|endswith:
- '/kmod'
- '/sudo'
CommandLine|contains:
- 'insmod'
- 'rmmod'
- 'modprobe'
condition: selection
falsepositives:
- Administrative tasks such as legitimate system administration involving device driver modules.
level: medium
Loading