Home

Awesome

HowToKernel

This repository is hosted with the aim of having a straightforward way to get started with kernel exploitaion in Linux OS.

Setup the environment

Note

Labs

Lab NoTopicShort Description
Lab 1Hello worldBuild and insert your 1st kernel module
Lab 2Playing with DevicesHave fun with device
Lab 3Proc filesytem funBuild your way upto to a keylogger
Lab 4Baby KernelFind your first kernel primitives
Lab 5Null pointersExploit the null pointer derference bug and look at mitigations
Lab_6Stack SmashingExploit a basic stack overflow bug
Lab_7Rop ChainingCreate a ROP chain to bypass mitigation techniques

Takeaways

Ksploit Library (Work in progress)

A library which can help you in writing exploits for kernels. We have added a couple of features that might come in handy.

CTF Challenges

We have cherry picked CTF challenges across the years and have setup environments for them so that people can try them out without the hassle of setting up the proper environment.

Moreover we have our own writeups written with the help of ksploit lib.

Docs

Our docs contain a lot of facts that might come in handy if you are trying to write a kernel exploit.

Images

There are a couple of precomplied images stored in our servers which can be used with qemu. Say Goodbye to the hassle of compiling your own images!

Qemu Scripts

There are some example scripts made for debugging the kernel with qemu.

Contributors

This repository is maintained by

from team bi0s