Skip to content

A simple kernel module who hides a file by hooking the getdents64 syscall.

License

Notifications You must be signed in to change notification settings

idandev/hidefile-kernel-module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hidefile-kernel-module

A simple kernel module who hides a file by hooking the getdents64 syscall.

Usage

First go to idanm.c and find the FILE_TO_HIDE macro, then replace it with the path to the file you want to hide.

Now you will have to compile the module, by using the following command:

make

Then you will have to load the module, use the following command:

sudo insmod hidefile.ko

Reverting

To unload the module, use the following command:

sudo rmmod hidefile

To delete the out data, use the following command:

make clean

About

A simple kernel module who hides a file by hooking the getdents64 syscall.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published