privesc-linux

仓库创建 2026年5月19日最近提交 24 天前SkillHot 收录 21 天前
▸ 精选理由

汇集 SUID、内核 LPE 与容器逃逸等路径,适合渗透与攻防演练。

▸ 风险提示

含详细提权与逃逸技术,具有高风险滥用可能,可能违法。

这个 Skill 做什么

在 Linux 主机与容器上进行本地提权与逃逸的实战指南。

在拿到 Linux 非特权 shell 后用来快速升权或从容器逃逸:排查 SUID/SGID、利用 sudo 漏洞、玩转 capabilities、LD_PRELOAD 或利用 kernel 漏洞(如 Dirty Pipe)实现本地 LPE。也包含 GTFOBins 的常见利用与 namespace 逃逸套路。目标是尽快拿到 root 或更高权限,实战性强、步骤可复现。

▸ 展开 SKILL.md 英文原文

Use when escalating privileges on a Linux host — SUID/SGID & GTFOBins, sudo LPE (CVE-2025-32462/32463), capabilities & LD_PRELOAD, kernel LPE (CVE-2024-1086, Dirty Pipe, GameOver(lay)), service misconfig (PwnKit, Looney Tunables), container/namespace escape

垂直行业Linux 提权容器逃逸内核漏洞通用
326
Stars
58
Forks
37
仓库内 Skill
+15
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/hypnguyen1209/offensive-claude/main/skills/privesc-linux/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/hypnguyen1209/offensive-claude/main/skills/privesc-linux/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# Linux Privilege Escalation

## When to Activate

- Gained an initial unprivileged shell on a Linux host and need root or a higher-privileged account
- Post-exploitation lateral/vertical movement on Linux servers, workstations, CI runners, or appliances
- Container / Kubernetes pod foothold that needs to escape to the host node
- Triaging a host for misconfig-based LPE (SUID, sudo, capabilities, writable units/cron) before reaching for kernel 0-day
- CTF / lab challenges requiring privilege escalation with a defensible, detection-aware methodology

## Technique Map

| Technique | ATT&CK | CWE | Reference | Script |
|-----------|--------|-----|-----------|--------|
| Automated + manual enume
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有