Skip to content

Play with Linux kernel modules, for educational purposes

License

Notifications You must be signed in to change notification settings

tobiajo/kernel-module-hax

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

kernel-module-hax

Play with Linux kernel modules, for educational purposes

hello

Example output:

$ ./hello.sh
> sudo insmod hello.ko
> dmesg | tail -1
[  365.689187] Hello from kernel!
> sudo rmmod hello
> dmesg | tail -1
[  365.700431] Goodbye from kernel.

rootkit

Example output:

$ ./rootkit.sh
> sudo insmod rootkit.ko
> dmesg | tail -1
[  372.014160] Rootkit installed
> whoami
tobias
> kill 5
./rootkit.sh: line 11: kill: (5) - Operation not permitted
> dmesg | tail -1
[  372.023794] You are now root!
> whoami
root
> sudo rmmod rootkit
> dmesg | tail -1
[  372.100772] Rootkit removed

About

Play with Linux kernel modules, for educational purposes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published