Hacking Book | Free Online Hacking Learning

Home

drilling: linux kernel development experiment

Posted by forbes at 2020-02-27
all

This is a playground for the Linux kernel exploitation experiments.Only basic methods. Just for fun. Contents: drill_mod.c - a small Linux kernel module with nice vulnerabilities.You can interact with it via a simple debugfs interface. drill_exploit_uaf.c - a basic use-after-free exploit. drill_exploit_nullderef.c - a basic null-ptr-deref exploit, which useswonderful mmap_min_addr bypass by Jann Horn. N.B. Only basic exploit techniques here. So compile your kernel with x86_64_defconfigand run it with pti=off nokaslr.

x86_64_defconfig pti=off nokaslr

Have fun!