Skip to content

google/kernel-research

Linux kernel security research tools

This repository contains useful tools for Linux kernel security research, called the kernelXDK:

  • libxdk: a work-in-progress Linux Kernel exploitation kit, which contains (will contain) the necessary building blocks for building exploits for the Linux kernel which can target various kernel versions.

  • rop_generator: tools for generating ROP chains and stack pivots on Linux Kernel images.

  • image_runner: tool for running various kernel distributions, with debugging and custom kernel module compilation support.

  • image_db: tools for downloading kernel various distribution release files and extracting various information from them.

  • xdk_device: kernel module for simulating vulnerabilities in the kernel, tracking function calls and testing exploitation primitives.

  • kxdb_tool: a database builder which contains exploitation information (symbol addresses, ROP gadgets, stack pivots, structure field offsets) for multiple kernel targets and consumed by the exploit kit to customize exploits for targets.

Documentation

The documentation for kernelXDK is available at xdk.dev. This website provides comprehensive guides for setup, API reference, and porting existing exploits.

Reporting Bugs

If you find a bug, please help us by submitting an issue on GitHub.

Before you create a new issue, please check the existing ones to see if your bug has already been reported.

When reporting a bug, please include:

  • A clear and descriptive title
  • Steps to reproduce the behavior
  • Expected vs. actual behavior
  • Any screenshots or code snippets that might be helpful
  • If relevant, details about your OS, installed libraries, compiler toolchain, the target kernel image (distro + release).

Note: this project is currently in a beta state. We are focused on core development, so bug fixes may take some time or may not happen at all. We appreciate your patience and understanding.

Disclaimer

This is not an officially supported Google product.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 5