Daniel Roberson
  • Posts
  • About
  • Notes
  • Projects
  • Time
  • Posts
    About
    Notes
    Projects
    Time

prevent LKM unloading with rmmod

2025-04-04

rootkits and EDR software that use LKMs may employ techniques that hide their presence or prevent them from being unloaded–if an attacker manages to root a system, it would be very unfortunate if they could simply “rmmod security_software” then carry out their acts without preventions or detections.


Links to this note

  • reference count to avoid LKM removal
  • unhookinglinuxedrs-matheuzsecurity2025

Recent Posts

Linux Persistence: Modular Software

2025-04-17 DFIR CTF persistence linux persistence apache asterisk

Linux Persistence: Web Shells

2025-04-16 DFIR persistence webshell linux persistence webshell apache nginx PHP

Linux Persistence: Rootkits

2025-04-15 DFIR persistence rootkit LKM linux persistence LKM rootkit LD_PRELOAD kprobe ftrace ld.so hooking

Linux Persistence: Processes

2025-04-11 DFIR persistence processes linux persistence processes

Defanging Linux LKM Rootkits With cleanup_module()

2025-04-05 Linux LKM rootkits EDR hooks incident response Linux LKM rootkit


Home

About

Notes

Projects

Time

© All rights reserved. Powered by Hugo and Erblog.