This Repository aims at giving a basic idea about Kernel Exploitation.
- Clone the repository to your system
git clone https://github.com/R3x/How2Kernel ~/How2Kernel
. - Go to the folder containing the setup
cd ~/How2kernel
- run setup.sh to setup the Lab and testing environment
./setup.sh
- Start Hacking the kernel !!!
- Make sure there are no spaces in the path to the directory that you have cloned. This will cause errors while building.
This lab aims to give an idea about the kenrel and the kenrel space to the user. We will try building some basic kernel modules and see their impact with the kernel.
There are a couple of precomplied images in the images folder which can be used with qemu.
There are some example scripts made for debugging the kernel with qemu.