post-exploit-reporting
它能做什么
本指南说明如何撰写经授权入侵后测试的结果,包括凭据、权限和横向移动的证据。适用于向客户和防御者汇报的安全测试人员。
适用场景
- ✓当经授权的测试发现了需要正式成文的凭据或权限问题时。
- ✓当报告必须说明防御者未能发现哪些攻击行为时。
- ✓当客户需要为每个入侵后发现提供评分和修复建议时。
技能链接
https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/post-exploit/reporting/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请帮我撰写经授权测试的结果,包括凭据暴露和权限提升,以及蓝队未能发现的内容。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会使用带有 frontmatter、严重等级和 CVSS 评分的分阶段模板,然后记录证据、受影响的系统以及检测漏洞。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Post-Exploitation Reporting Knowledge Base
Post-exploitation findings require richer documentation than reconnaissance findings because they demonstrate real-world impact, test Blue Team detection capabilities, and map the full kill chain traversal. This skill provides phase-specific templates and detection gap analysis guidance aligned with PTES, CREST, and TIBER-EU standards.
All agent-authored documents MUST be Markdown format (.md). Operational data files (creds/*.json, network_map.json) are exceptions.
1. Phase-Specific Finding Templates
Each post-exploitation phase has a specialized template. All templates share the same YAML frontmatter schema but differ in body sections to capture phase-relevant details.
A. Credential Access Finding (TA0006)
---
id: FIND-007
severity: high
cvss_score: 8.4
cvss_vector: "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:H/SI:N/SA:N"
cwe: CWE-522
mitre: [T1003.001]
affected_target: "WEB01 (10.0.0.5)"
affected_component: "LSASS process memory"
confidence: verified
objective_id: <server-issued-objective-id>
phase: post-exploit
agent: postexploit
detected: false
remediation_priority: immediate
discovered_at: "2026-04-06T16:45:00Z"
---
# [HIGH] LSASS Memory Dump on WEB01 exposes Domain Credentials
## Description
LSASS process memory was dumped on WEB01 (10.0.0.5) using nanodump, yielding NTLM hashes for 3 domain accounts including a service account with Domain Admin group membership.
## Steps to Reproduce
1. From SYSTEM shell on WEB01:
```
nanodump --write C:\Windows\Temp\debug.dmp --valid
```
2. Transfer dump to attack host:
```
impacket-smbclient //10.0.0.5/C$ -k -no-pass
get Windows/Temp/debug.dmp
```
3. Extract credentials with pypykatz:
```
pypykatz lsa minidump debug.dmp
```
## Credentials Obtained
| Username | Type | Hash/Value | Source Host | Domain | Privilege |
|----------|------|-----------|-------------|--------|-----------|
| svc_sql | NTLM | aad3b435...7cb | WEB01 | corp.local | Domain Admin |
| jdoe | NTLM | e19ccf75...2a1 | WEB01 | corp.local | Domain User |
| web_app | NTLM | 31d6cfe0...e0d | WEB01 | corp.local | Domain User |
## Impact
The `svc_sql` account is a member of the Domain Admins group. With this NTLM hash, an attacker can perform Pass-the-Hash to gain full control over the Active Directory domain, including all domain-joined systems and data.
## Evidence
| Type | Path | Description |
|------|------|-------------|
| terminal-log | findings/evidence/FIND-007_nanodump.txt | nanodump execution output |
| terminal-log | findings/evidence/FIND-007_pypykatz.txt | pypykatz credential extraction |
## Detection Gap Analysis
| Control | Fired? | Notes |
|---------|--------|-------|
| EDR (CrowdStrike) | No | nanodump evaded userland hooks via direct syscalls |
| SIEM | No | No alert for LSASS access or suspicious process creation |
| Windows Event Log | Partial | Event 4663 logged but not forwarded to SIEM |
| Network monitoring | No | SMB transfer blended with normal traffic |
Blue team detection status: **Not detected**. LSASS access via direct syscalls bypassed EDR userland hooks entirely.
## Remediation
1. Enable Credential Guard to protect LSASS from memory dumps.
2. Configure EDR to monitor kernel-level LSASS access (PPL enforcement).
3. Forward Windows Security Event 4663 (object access) to SIEM with alerting.
4. Review service accounts: `svc_sql` should NOT be Domain Admin — apply least privilege.
## References
- MITRE ATT&CK T1003.001: https://attack.mitre.org/techniques/T1003/001/
- Microsoft Credential Guard: https://learn.microsoft.com/en-us/windows/security/identity-protection/credential-guard/
- CWE-522: https://cwe.mitre.org/data/definitions/522.html
B. Privilege Escalation Finding (TA0004)
---
id: FIND-005
severity: high
cvss_score: 8.5
cvss_vector: "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
cwe: CWE-269
mitre: [T1068]
affected_target: "WEB01 (10.0.0.5)"
affected_component: "Windows Token Privileges"
confidence: verified
objective_id: <server-issued-objective-id>
phase: post-exploit
agent: postexploit
detected: false
remediation_priority: short-term
discovered_at: "2026-04-06T16:20:00Z"
---
# [HIGH] GodPotato on WEB01 — svc_web (IIS AppPool) to SYSTEM
## Description
The IIS application pool identity `svc_web` holds SeImpersonatePrivilege, allowing token impersonation via GodPotato to escalate from service account to N
常见问题
为什么这些报告内容更丰富?
指南指出,入侵后的发现必须体现真实影响,并检验防御者是否注意到了攻击。
frontmatter 里有什么?
编号、严重等级、评分、受影响目标、阶段、可信度和修复优先级。
可以使用占位文件吗?
不可以。指南要求每项发现都必须来自经过验证的工作。
详情
作者的原始描述
Post-exploitation finding documentation — credential access, privilege escalation, lateral movement reports, detection gap analysis, attack path documentation, CVSS v4.0 scoring.
热度
- GitHub 星标
- 6.5k
- 排名
- #14139
- 许可证
- Apache-2.0
- 更新时间
- 2026/11/1
评论
- …