agentleFS
Wang200935Wang200935/security-agent-skills/skills/post-exploitation/intranet-pentest-advanced/SKILL.md

intranet-pentest-advanced

Skill4 starsChanged 3 months agoMITView on GitHub

内网渗透高级 — 横向移动、凭据窃取、提权、持久化、隧道代理、AD攻击、ADCS滥用、Exchange/SharePoint攻击。Use

The file

Files
SKILL.md

内网渗透高级 Skill

当任务从互联网评估转入主机、域或内网操作时使用本 Skill。需要已获得初始访问权限或立足点。

前置条件:如果尚未获得初始访问,先完成外网渗透获取立足点。

场景路由

目标类型首选参考
横向移动(PsExec/WMI/WinRM/DCOM/SSH/RDP/PTH/PTT)references/intranet-playbook-01-lateral-movement.md
规避与反检测(AMSI绕过/ETW/注入/伪装/签名二进制滥用)references/intranet-playbook-02-evasion-and-anti-detection.md
凭据窃取(Mimikatz/Kerberoasting/DCSync/浏览器Vault)references/intranet-playbook-03-credential-theft.md
提权与持久化(Token/Service/Potato/Cron/Registry/WMI)references/intranet-playbook-04-privilege-escalation.md + 05-persistence.md
隧道与代理(FRP/Chisel/Ligolo/SOCKS/SSH/DNS/ICMP)references/intranet-playbook-06-tunneling-and-proxy.md
信息收集references/intranet-playbook-07-information-gathering.md
AD 攻击(BloodHound/AS-REP/Kerberoasting/Golden/Silver)references/intranet-playbook-08-active-directory-attacks.md
ADCS 攻击(ESC1-8/Certipy/Certreq)references/intranet-playbook-09-adcs-attacks.md
Exchange 攻击references/intranet-playbook-10-exchange-attacks.md
SharePoint 攻击references/intranet-playbook-11-sharepoint-attacks.md

测试流程

1. 信息收集

  • 内网拓扑、网段、主机发现
  • 域信息、信任关系
  • 服务识别与漏洞探测

2. 凭据获取

  • Mimikatz 抓取内存凭据
  • Kerberoating / AS-REP Roasting
  • 浏览器/密码管理器凭据提取
  • DCSync(需域管权限)

3. 横向移动

  • Pass-the-Hash / Pass-the-Ticket
  • PsExec / WMI / WinRM / DCOM
  • SSH / RDP 横向

4. 权限提升

  • Token 篡改 / 服务滥用
  • Potato 家族
  • 域提权(GPO/ACL滥用)

5. 持久化

  • 计划任务 / WMI 事件订阅
  • 注册表 / 启动项 / 服务
  • 黄金票据 / 白银票据

6. 隧道与代理

  • SOCKS 代理 / SSH 转发
  • FRP / Chisel / Ligolo
  • DNS / ICMP 隧道

7. AD/ADCS 专项

  • BloodHound 路径分析
  • ADCS 证书模板滥用
  • Exchange/SharePoint 攻击链

参考文档

  • references/06-intranet-and-host-operations-integrated.md — 内网操作整合参考
  • references/intranet-playbook-01~11-*.md — 各专项 Playbook(11 个)
  • references/intranet-pentest-playbook-skill.md — Playbook 入口

Hermes 使用適配

  • 來源為 專案技能,已匯入 Hermes 本地 skill。僅在已授權滲透測試、CTF、內部安全評估或防禦驗證範圍內使用。
  • 原文若提到 fetch,在 Hermes 中優先使用 web_extract、browser 或 terminal(curl/HTTPie) 取得真實回應。
  • 原文若提到 python_execute,在 Hermes 中使用 execute_code 或 terminal(python3 ...);計算、編碼、hash、PoC 驗證必須用工具實測,不靠猜。
  • 原文若提到 MCP/Burp/adb/frida/jadx/chrome_devtools 等外部工具:先確認本機是否安裝或可用;不可用時以 Hermes 現有 web、browser、terminal、file、vision 工具替代,並明確標註限制。
  • 下一次滲透任務中,先載入 -pentest-flow 做總路由,再依場景載入本系列專項 skill(例如 -web-security-advanced、-osint-recon、-rapid-checklist)。

來源與維護

  • 原始 skill 已保存於 references/upstream-skill.md;README/LICENSE 已保存於 references/。

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.