Skip to content

LKM (linux kernel module) to hook mkdir syscall. Tested on Linux debian 4.19.0-16-amd64 (This is not a rootkit prototype).

Notifications You must be signed in to change notification settings

Sargastico/LKM-mkdir-SysCallHook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

LKM-mkdir-SysCallHook

LKM (linux kernel module) to hook syscall functions

Build the .ko (kernel object):

git clone https://github.com/Sargastico/LKM-mkdir-SysCallHook.git && cd LKM-mkdir-SysCallHook && make

Load the kernel module:

sudo insmod main.ko

Check the kernel log for lkm output (create a folder anywhere to see the hook working):

sudo tail -f /var/log/kern.log

About

LKM (linux kernel module) to hook mkdir syscall. Tested on Linux debian 4.19.0-16-amd64 (This is not a rootkit prototype).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages