Linux Kernel Exploitation Lab: Vulnerable Driver (Write-What-Where)
This lab demonstrates exploitation of a write-what-where vulnerability in a custom kernel module.
Objectives
- Understand kernel module development and loading.
- Exploit a vulnerability to escalate privileges (gain root).
- Learn basic kernel debugging with QEMU and GDB.
Instructions
- Run
build.sh to compile the kernel and module.
- Run
run.sh to boot the system in QEMU.
- Inside the VM, compile and run
exploit.c.