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
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_pathoverwrite, cred structure overwrite, namespace escape) and kernel ROP techniques such asseq_operationshijack and stack pivoting - Describes returning cleanly to userspace via
swapgsandiretq, 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 -yInstalls 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
- binary-protection-bypass — userspace protections (NX, ASLR) also apply in kernel context
- stack-overflow-and-rop — kernel ROP reuses many userspace ROP concepts
- heap-exploitation — kernel SLUB is conceptually related to userspace heap
- linux-privilege-escalation — non-exploit kernel privesc techniques
Advanced References
Details
- Repository
- github.com/yaklang/hack-skills
- Category
- Security
- First seen
- Jun 3, 2026
More from yaklang/hack-skills
All 102- Path Traversal Lfi4.1K
- Request Smuggling4K
- Deserialization Insecure4K
- Xxe Xml External Entity4K
- Format String Exploitation4K
- File Access Vuln4K
- Http Parameter Pollution4K
- Csp Bypass Advanced4K
- Browser Exploitation V84K
- Open Redirect4K
- Symbolic Execution Tools4K
- Crlf Injection4K
- Mobile Ssl Pinning Bypass4K
- Insecure Source Code Management4K
- Subdomain Takeover4K
- Http Host Header Attacks4K
- Web Cache Deception4K
- Dependency Confusion4K
- Expression Language Injection4K
- Csv Formula Injection4K
- Linux Privilege Escalation4K
- Active Directory Acl Abuse4K
- Clickjacking4K
- Active Directory Kerberos Attacks4K
Similar to Kernel Exploitation
More Securitylinux-privilege-escalationyaklang/hack-skills4K installsLinux privilege escalation playbook covering SUID/SGID, capabilities, cron abuse, kernel exploits, and credential harvesting.
linux-security-bypassyaklang/hack-skills4K installsExpert playbook for escaping rbash, noexec mounts, AppArmor, SELinux, seccomp, and audit logging during post-exploitation.
privesc-linuxhypnguyen1209/offensive-claude430 starsLinux privilege escalation playbook covering SUID/sudo abuse, capabilities, kernel and glibc CVEs, and container escape.
ctf-pwnljagiello/ctf-skills10.4K installsBinary exploitation toolkit for CTF pwn challenges, covering memory corruption through to privilege escalation.
Privilege Escalation Methodsdavila7/claude-code-templates187 installsReference guide covering privilege escalation techniques for Linux and Windows post-exploitation, including Active Directory attacks.
windows-boundarieshypnguyen1209/offensive-claude430 starsOffensive playbook for crossing Windows security boundaries via kernel, UAC, sandbox, PPL, and RPC escapes.