mizazhaider-ceh/agentarsenal/kernel-exploit-basics
Claude Code and agent skill by mizazhaider-ceh/agentarsenal
- community
Checking that the SKILL.md file is still in the repository.
Use when learning kernel exploitation fundamentals in a
Install
npx vskill@latest install mizazhaider-ceh/agentarsenal/kernel-exploit-basicsSKILL.md
The same SKILL.md was published earlier as mizazhaider-ceh/agentarsenal/kernel-exploit-basics.
Kernel exploitation turns a kernel bug into ring 0 code execution: the stakes and the mitigations are both higher than userspace. This skill covers the fundamentals for lab learning on your own VMs: attack surface, bug classes, mitigation concepts, and the safe lab setup. Learning only; never test kernels you do not own.
Quick Workflow
- Build the lab: a vulnerable kernel VM with snapshots, and a
matching debug setup.
- Learn the attack surface: syscalls, ioctls, and drivers reachable
from unprivileged users.
- Study the bug class: UAF, overflow, or race in kernel context.
- Understand the mitigations: SMEP, SMAP, KASLR, KPTI, and what
each stops.
- Plan the primitive: what the bug gives you (read, write, where).
- Plan the escalation: from primitive to credential overwrite or
modprobe_path.
- Develop against snapshots: snapshot before each attempt.
- Document the full chain for learning, with the mitigations
noted.
1. Lab setup and recon
2. Classic escalation primitives (lab)
Edge cases
- The bug is not reachable unprivileged. Then it is a lower
severity local issue; adjust the learning goal.
- KASLR defeats your hardcoded addresses. Learn info leaks first;
guessing is not a method.
- The VM keeps crashing. That is the process; snapshots make it
cheap, and each crash teaches the constraint.
Escalation
- Stuck on a mitigation: study that mitigation's known bypasses
in isolation before returning to the chain.
- Need a real target assessment: kernel exploitation against
production is specialized work; scope it separately.
Detection and defender view
Defenders detect kernel exploitation with kernel integrity monitoring, audit of privileged operations, and crash analysis. They defend with the mitigations (keep them on), timely patching, and reducing attack surface (unneeded drivers, unprivileged namespaces). The durable lesson: patch quickly, because public kernel exploits follow disclosure fast.
Key references
- MITRE ATT&CK T1068 (Exploitation for Privilege Escalation).
- Linux kernel self protection documentation.
- Kernel exploitation learning resources (lab focused).
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/binary/kernel-exploit-basics/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/mizazhaider-ceh/agentarsenal/kernel-exploit-basics)