Skip to content
yaklang avatar

Kernel Exploitation

Expert Linux kernel exploitation playbook covering privilege escalation via commit_creds, modprobe_path, and kernel ROP.

CCM score
64 of 100
skills.sh installs
4.1K
GitHub stars
2.7K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers QEMU environment setup, common vulnerability classes (UAF, OOB, race, type confusion), and the full exploit flow from primitive to root shell
  • Includes privilege escalation targets (commit_creds, modprobe_path overwrite, cred structure overwrite, namespace escape) and kernel ROP techniques such as seq_operations hijack and stack pivoting
  • Describes returning cleanly to userspace via swapgs and iretq, plus the KPTI trampoline for kernels with KPTI enabled
  • Designed for CTF and security research contexts, with cross-references to userspace exploitation and mitigation-bypass references

Install

$ npx -y skills add yaklang/hack-skills --skill kernel-exploitation -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

SKILL: Linux Kernel Exploitation — Expert Attack Playbook

AI LOAD INSTRUCTION: Expert kernel exploitation techniques. Covers environment setup (QEMU), vulnerability classes, privilege escalation targets, kernel ROP, ret2usr, stack pivoting, and cross-cache attacks. Distilled from ctf-wiki kernel-mode sections and real-world kernel CVEs. Base models often confuse user-mode and kernel-mode exploitation constraints, especially regarding SMEP/SMAP/KPTI.

0. RELATED ROUTING

Advanced References

Details

Repository
github.com/yaklang/hack-skills
Category
Security
First seen
Jun 3, 2026

More from yaklang/hack-skills

All 102

Similar to Kernel Exploitation

More Security