rtexit-method 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +9 -7
- package/packaged-assets/.agents/skills/rt-active-recon/SKILL.md +767 -0
- package/packaged-assets/.agents/skills/rt-active-recon/workflow.md +68 -0
- package/packaged-assets/.agents/skills/rt-agent-breaker/SKILL.md +65 -0
- package/packaged-assets/.agents/skills/rt-agent-breaker/customize.toml +76 -0
- package/packaged-assets/.agents/skills/rt-agent-commander/SKILL.md +63 -0
- package/packaged-assets/.agents/skills/rt-agent-commander/customize.toml +67 -0
- package/packaged-assets/.agents/skills/rt-agent-ghost/SKILL.md +65 -0
- package/packaged-assets/.agents/skills/rt-agent-ghost/customize.toml +77 -0
- package/packaged-assets/.agents/skills/rt-agent-navigator/SKILL.md +62 -0
- package/packaged-assets/.agents/skills/rt-agent-navigator/customize.toml +61 -0
- package/packaged-assets/.agents/skills/rt-agent-phantom/SKILL.md +62 -0
- package/packaged-assets/.agents/skills/rt-agent-phantom/customize.toml +62 -0
- package/packaged-assets/.agents/skills/rt-agent-scout/SKILL.md +62 -0
- package/packaged-assets/.agents/skills/rt-agent-scout/customize.toml +61 -0
- package/packaged-assets/.agents/skills/rt-agent-scribe/SKILL.md +65 -0
- package/packaged-assets/.agents/skills/rt-agent-scribe/customize.toml +77 -0
- package/packaged-assets/.agents/skills/rt-attack-chain-builder/SKILL.md +476 -0
- package/packaged-assets/.agents/skills/rt-attack-chain-builder/workflow.md +68 -0
- package/packaged-assets/.agents/skills/rt-attack-surface-map/SKILL.md +1209 -0
- package/packaged-assets/.agents/skills/rt-attack-surface-map/template.md +62 -0
- package/packaged-assets/.agents/skills/rt-autodoc/SKILL.md +258 -0
- package/packaged-assets/.agents/skills/rt-c2-operations/SKILL.md +1072 -0
- package/packaged-assets/.agents/skills/rt-c2-operations/workflow.md +68 -0
- package/packaged-assets/.agents/skills/rt-compliance-mapper/SKILL.md +773 -0
- package/packaged-assets/.agents/skills/rt-create-sead/SKILL.md +74 -0
- package/packaged-assets/.agents/skills/rt-create-sead/template.md +89 -0
- package/packaged-assets/.agents/skills/rt-create-sead/workflow.md +68 -0
- package/packaged-assets/.agents/skills/rt-credential-access/SKILL.md +756 -0
- package/packaged-assets/.agents/skills/rt-credential-hunt/SKILL.md +856 -0
- package/packaged-assets/.agents/skills/rt-credential-hunt/workflow.md +68 -0
- package/packaged-assets/.agents/skills/rt-cvss-calculator/SKILL.md +542 -0
- package/packaged-assets/.agents/skills/rt-cvss-calculator/cvss4-matrix.csv +20 -0
- package/packaged-assets/.agents/skills/rt-data-exfiltration/SKILL.md +784 -0
- package/packaged-assets/.agents/skills/rt-defense-evasion/SKILL.md +987 -0
- package/packaged-assets/.agents/skills/rt-evidence-chain/SKILL.md +712 -0
- package/packaged-assets/.agents/skills/rt-evidence-chain/template.md +31 -0
- package/packaged-assets/.agents/skills/rt-executive-report/SKILL.md +718 -0
- package/packaged-assets/.agents/skills/rt-executive-report/template.md +38 -0
- package/packaged-assets/.agents/skills/rt-executive-report/workflow.md +68 -0
- package/packaged-assets/.agents/skills/rt-exploit-active-directory/SKILL.md +1078 -0
- package/packaged-assets/.agents/skills/rt-exploit-active-directory/ad-checklist.csv +12 -0
- package/packaged-assets/.agents/skills/rt-exploit-active-directory/workflow.md +68 -0
- package/packaged-assets/.agents/skills/rt-exploit-android/SKILL.md +1329 -0
- package/packaged-assets/.agents/skills/rt-exploit-android/masvs-checklist.csv +10 -0
- package/packaged-assets/.agents/skills/rt-exploit-android/workflow.md +68 -0
- package/packaged-assets/.agents/skills/rt-exploit-api/SKILL.md +1547 -0
- package/packaged-assets/.agents/skills/rt-exploit-api/workflow.md +68 -0
- package/packaged-assets/.agents/skills/rt-exploit-auth/SKILL.md +1949 -0
- package/packaged-assets/.agents/skills/rt-exploit-auth/workflow.md +68 -0
- package/packaged-assets/.agents/skills/rt-exploit-bec/SKILL.md +69 -0
- package/packaged-assets/.agents/skills/rt-exploit-cloud-aws/SKILL.md +865 -0
- package/packaged-assets/.agents/skills/rt-exploit-cloud-aws/workflow.md +68 -0
- package/packaged-assets/.agents/skills/rt-exploit-cloud-azure/SKILL.md +1258 -0
- package/packaged-assets/.agents/skills/rt-exploit-cloud-gcp/SKILL.md +981 -0
- package/packaged-assets/.agents/skills/rt-exploit-containers/SKILL.md +55 -0
- package/packaged-assets/.agents/skills/rt-exploit-databases/SKILL.md +1374 -0
- package/packaged-assets/.agents/skills/rt-exploit-desktop-mac/SKILL.md +834 -0
- package/packaged-assets/.agents/skills/rt-exploit-desktop-win/SKILL.md +903 -0
- package/packaged-assets/.agents/skills/rt-exploit-desktop-win/workflow.md +68 -0
- package/packaged-assets/.agents/skills/rt-exploit-dotnet/SKILL.md +945 -0
- package/packaged-assets/.agents/skills/rt-exploit-elasticsearch/SKILL.md +68 -0
- package/packaged-assets/.agents/skills/rt-exploit-electron/SKILL.md +1023 -0
- package/packaged-assets/.agents/skills/rt-exploit-electron/workflow.md +68 -0
- package/packaged-assets/.agents/skills/rt-exploit-file-upload/SKILL.md +1576 -0
- package/packaged-assets/.agents/skills/rt-exploit-file-upload/payloads/README.md +4 -0
- package/packaged-assets/.agents/skills/rt-exploit-file-upload/workflow.md +68 -0
- package/packaged-assets/.agents/skills/rt-exploit-firebase/SKILL.md +54 -0
- package/packaged-assets/.agents/skills/rt-exploit-frameworks/SKILL.md +967 -0
- package/packaged-assets/.agents/skills/rt-exploit-idor/SKILL.md +1693 -0
- package/packaged-assets/.agents/skills/rt-exploit-idor/workflow.md +68 -0
- package/packaged-assets/.agents/skills/rt-exploit-injection/SKILL.md +1860 -0
- package/packaged-assets/.agents/skills/rt-exploit-injection/payloads/sqlmap-tampers.txt +22 -0
- package/packaged-assets/.agents/skills/rt-exploit-injection/workflow.md +68 -0
- package/packaged-assets/.agents/skills/rt-exploit-ios/SKILL.md +1214 -0
- package/packaged-assets/.agents/skills/rt-exploit-ios/workflow.md +68 -0
- package/packaged-assets/.agents/skills/rt-exploit-iot/SKILL.md +91 -0
- package/packaged-assets/.agents/skills/rt-exploit-iot/workflow.md +68 -0
- package/packaged-assets/.agents/skills/rt-exploit-java/SKILL.md +1009 -0
- package/packaged-assets/.agents/skills/rt-exploit-jwt/SKILL.md +1327 -0
- package/packaged-assets/.agents/skills/rt-exploit-jwt/workflow.md +68 -0
- package/packaged-assets/.agents/skills/rt-exploit-mongodb/SKILL.md +67 -0
- package/packaged-assets/.agents/skills/rt-exploit-mssql/SKILL.md +52 -0
- package/packaged-assets/.agents/skills/rt-exploit-mysql/SKILL.md +53 -0
- package/packaged-assets/.agents/skills/rt-exploit-network/SKILL.md +118 -0
- package/packaged-assets/.agents/skills/rt-exploit-network/workflow.md +68 -0
- package/packaged-assets/.agents/skills/rt-exploit-nodejs/SKILL.md +852 -0
- package/packaged-assets/.agents/skills/rt-exploit-osticket/SKILL.md +63 -0
- package/packaged-assets/.agents/skills/rt-exploit-phishing/SKILL.md +173 -0
- package/packaged-assets/.agents/skills/rt-exploit-phishing/templates/README.md +4 -0
- package/packaged-assets/.agents/skills/rt-exploit-phishing/workflow.md +68 -0
- package/packaged-assets/.agents/skills/rt-exploit-php/SKILL.md +1119 -0
- package/packaged-assets/.agents/skills/rt-exploit-physical/SKILL.md +63 -0
- package/packaged-assets/.agents/skills/rt-exploit-physical/workflow.md +68 -0
- package/packaged-assets/.agents/skills/rt-exploit-postgresql/SKILL.md +67 -0
- package/packaged-assets/.agents/skills/rt-exploit-python/SKILL.md +986 -0
- package/packaged-assets/.agents/skills/rt-exploit-redis/SKILL.md +68 -0
- package/packaged-assets/.agents/skills/rt-exploit-ruby/SKILL.md +61 -0
- package/packaged-assets/.agents/skills/rt-exploit-scada/SKILL.md +1091 -0
- package/packaged-assets/.agents/skills/rt-exploit-ssrf/SKILL.md +1528 -0
- package/packaged-assets/.agents/skills/rt-exploit-ssrf/payloads.txt +23 -0
- package/packaged-assets/.agents/skills/rt-exploit-ssrf/workflow.md +68 -0
- package/packaged-assets/.agents/skills/rt-exploit-vishing/SKILL.md +121 -0
- package/packaged-assets/.agents/skills/rt-exploit-vishing/scripts.md +4 -0
- package/packaged-assets/.agents/skills/rt-exploit-web/SKILL.md +1902 -0
- package/packaged-assets/.agents/skills/rt-exploit-web/owasp-checklist.csv +14 -0
- package/packaged-assets/.agents/skills/rt-exploit-web/workflow.md +68 -0
- package/packaged-assets/.agents/skills/rt-exploit-wireless/SKILL.md +71 -0
- package/packaged-assets/.agents/skills/rt-exploit-wordpress/SKILL.md +1565 -0
- package/packaged-assets/.agents/skills/rt-exploit-wordpress/cves.csv +7 -0
- package/packaged-assets/.agents/skills/rt-exploit-wordpress/workflow.md +68 -0
- package/packaged-assets/.agents/skills/rt-exploit-xss/SKILL.md +1526 -0
- package/packaged-assets/.agents/skills/rt-exploit-xss/payloads.txt +18 -0
- package/packaged-assets/.agents/skills/rt-exploit-xss/workflow.md +68 -0
- package/packaged-assets/.agents/skills/rt-finding-document/SKILL.md +687 -0
- package/packaged-assets/.agents/skills/rt-finding-document/template.md +71 -0
- package/packaged-assets/.agents/skills/rt-finding-document/workflow.md +68 -0
- package/packaged-assets/.agents/skills/rt-finding-tracker/SKILL.md +216 -0
- package/packaged-assets/.agents/skills/rt-finding-tracker/workflow.md +68 -0
- package/packaged-assets/.agents/skills/rt-help/SKILL.md +292 -0
- package/packaged-assets/.agents/skills/rt-help/workflow.md +68 -0
- package/packaged-assets/.agents/skills/rt-js-analysis/SKILL.md +639 -0
- package/packaged-assets/.agents/skills/rt-js-analysis/patterns.txt +27 -0
- package/packaged-assets/.agents/skills/rt-js-analysis/workflow.md +68 -0
- package/packaged-assets/.agents/skills/rt-kill-chain-map/SKILL.md +393 -0
- package/packaged-assets/.agents/skills/rt-lateral-movement/SKILL.md +1032 -0
- package/packaged-assets/.agents/skills/rt-lateral-movement/workflow.md +68 -0
- package/packaged-assets/.agents/skills/rt-methodology-selector/SKILL.md +69 -0
- package/packaged-assets/.agents/skills/rt-methodology-selector/frameworks.csv +10 -0
- package/packaged-assets/.agents/skills/rt-methodology-selector/workflow.md +68 -0
- package/packaged-assets/.agents/skills/rt-mitre-map/SKILL.md +668 -0
- package/packaged-assets/.agents/skills/rt-mitre-map/tactics.csv +16 -0
- package/packaged-assets/.agents/skills/rt-mitre-map/workflow.md +68 -0
- package/packaged-assets/.agents/skills/rt-osint/SKILL.md +775 -0
- package/packaged-assets/.agents/skills/rt-osint/osint-sources.csv +12 -0
- package/packaged-assets/.agents/skills/rt-osint/workflow.md +68 -0
- package/packaged-assets/.agents/skills/rt-party-mode/SKILL.md +249 -0
- package/packaged-assets/.agents/skills/rt-party-mode/workflow.md +68 -0
- package/packaged-assets/.agents/skills/rt-persistence/SKILL.md +1146 -0
- package/packaged-assets/.agents/skills/rt-persistence/workflow.md +68 -0
- package/packaged-assets/.agents/skills/rt-poc-writer/SKILL.md +640 -0
- package/packaged-assets/.agents/skills/rt-post-exploitation/SKILL.md +998 -0
- package/packaged-assets/.agents/skills/rt-post-exploitation/linux-checklist.csv +10 -0
- package/packaged-assets/.agents/skills/rt-post-exploitation/windows-checklist.csv +10 -0
- package/packaged-assets/.agents/skills/rt-post-exploitation/workflow.md +68 -0
- package/packaged-assets/.agents/skills/rt-privilege-escalation/SKILL.md +1027 -0
- package/packaged-assets/.agents/skills/rt-privilege-escalation/linux-checklist.csv +10 -0
- package/packaged-assets/.agents/skills/rt-privilege-escalation/win-checklist.csv +10 -0
- package/packaged-assets/.agents/skills/rt-privilege-escalation/workflow.md +68 -0
- package/packaged-assets/.agents/skills/rt-remediation-roadmap/SKILL.md +665 -0
- package/packaged-assets/.agents/skills/rt-remediation-roadmap/template.md +28 -0
- package/packaged-assets/.agents/skills/rt-risk-matrix/SKILL.md +232 -0
- package/packaged-assets/.agents/skills/rt-rules-of-engagement/SKILL.md +62 -0
- package/packaged-assets/.agents/skills/rt-rules-of-engagement/workflow.md +68 -0
- package/packaged-assets/.agents/skills/rt-scenario-c001/SKILL.md +71 -0
- package/packaged-assets/.agents/skills/rt-scenario-c002/SKILL.md +69 -0
- package/packaged-assets/.agents/skills/rt-scenario-c003/SKILL.md +71 -0
- package/packaged-assets/.agents/skills/rt-scenario-c004/SKILL.md +71 -0
- package/packaged-assets/.agents/skills/rt-scenario-c005/SKILL.md +72 -0
- package/packaged-assets/.agents/skills/rt-scenario-d001/SKILL.md +378 -0
- package/packaged-assets/.agents/skills/rt-scenario-d002/SKILL.md +392 -0
- package/packaged-assets/.agents/skills/rt-scenario-d003/SKILL.md +522 -0
- package/packaged-assets/.agents/skills/rt-scenario-d004/SKILL.md +373 -0
- package/packaged-assets/.agents/skills/rt-scenario-d005/SKILL.md +458 -0
- package/packaged-assets/.agents/skills/rt-scenario-library/SKILL.md +292 -0
- package/packaged-assets/.agents/skills/rt-scenario-library/scenarios.csv +32 -0
- package/packaged-assets/.agents/skills/rt-scenario-m001/SKILL.md +796 -0
- package/packaged-assets/.agents/skills/rt-scenario-m002/SKILL.md +723 -0
- package/packaged-assets/.agents/skills/rt-scenario-m003/SKILL.md +463 -0
- package/packaged-assets/.agents/skills/rt-scenario-m004/SKILL.md +449 -0
- package/packaged-assets/.agents/skills/rt-scenario-m005/SKILL.md +505 -0
- package/packaged-assets/.agents/skills/rt-scenario-n001/SKILL.md +573 -0
- package/packaged-assets/.agents/skills/rt-scenario-n002/SKILL.md +112 -0
- package/packaged-assets/.agents/skills/rt-scenario-n003/SKILL.md +100 -0
- package/packaged-assets/.agents/skills/rt-scenario-n004/SKILL.md +90 -0
- package/packaged-assets/.agents/skills/rt-scenario-n005/SKILL.md +71 -0
- package/packaged-assets/.agents/skills/rt-scenario-w001/SKILL.md +635 -0
- package/packaged-assets/.agents/skills/rt-scenario-w002/SKILL.md +612 -0
- package/packaged-assets/.agents/skills/rt-scenario-w003/SKILL.md +449 -0
- package/packaged-assets/.agents/skills/rt-scenario-w004/SKILL.md +648 -0
- package/packaged-assets/.agents/skills/rt-scenario-w005/SKILL.md +479 -0
- package/packaged-assets/.agents/skills/rt-scenario-w006/SKILL.md +443 -0
- package/packaged-assets/.agents/skills/rt-scenario-w007/SKILL.md +494 -0
- package/packaged-assets/.agents/skills/rt-scenario-w008/SKILL.md +576 -0
- package/packaged-assets/.agents/skills/rt-scenario-w009/SKILL.md +518 -0
- package/packaged-assets/.agents/skills/rt-scenario-w010/SKILL.md +574 -0
- package/packaged-assets/.agents/skills/rt-scope-definition/SKILL.md +79 -0
- package/packaged-assets/.agents/skills/rt-scope-definition/workflow.md +68 -0
- package/packaged-assets/.agents/skills/rt-shodan-recon/SKILL.md +880 -0
- package/packaged-assets/.agents/skills/rt-status/SKILL.md +64 -0
- package/packaged-assets/.agents/skills/rt-subdomain-enum/SKILL.md +906 -0
- package/packaged-assets/.agents/skills/rt-subdomain-enum/workflow.md +68 -0
- package/packaged-assets/.agents/skills/rt-technical-report/SKILL.md +710 -0
- package/packaged-assets/.agents/skills/rt-technical-report/template.md +41 -0
- package/packaged-assets/.agents/skills/rt-technical-report/workflow.md +68 -0
- package/packaged-assets/.agents/skills/rt-threat-model/SKILL.md +59 -0
- package/packaged-assets/.agents/skills/rt-threat-model/template.md +32 -0
- package/packaged-assets/.agents/skills/rt-threat-model/workflow.md +68 -0
- package/packaged-assets/.agents/skills/rt-timeline/SKILL.md +338 -0
- package/packaged-assets/RTEXIT.md +127 -0
- package/tools/installer/commands/install.js +0 -1
- package/tools/installer/lib/asset-manifest.js +10 -5
- package/tools/installer/lib/banner.js +14 -6
- package/tools/installer/lib/copy-assets.js +5 -2
- package/tools/installer/lib/prompts.js +1 -11
- package/tools/installer/lib/write-config.js +8 -2
- /package/{_rtexit → packaged-assets/_rtexit}/config.toml +0 -0
- /package/{_rtexit → packaged-assets/_rtexit}/config.user.toml +0 -0
- /package/{_rtexit → packaged-assets/_rtexit}/custom/config.toml +0 -0
- /package/{_rtexit → packaged-assets/_rtexit}/scripts/autodoc_engine.py +0 -0
- /package/{_rtexit → packaged-assets/_rtexit}/scripts/finding_tracker.py +0 -0
- /package/{_rtexit → packaged-assets/_rtexit}/scripts/resolve_config.py +0 -0
- /package/{_rtexit → packaged-assets/_rtexit}/scripts/resolve_customization.py +0 -0
- /package/{resources → packaged-assets/resources}/certifications.md +0 -0
- /package/{resources → packaged-assets/resources}/payloads.md +0 -0
- /package/{resources → packaged-assets/resources}/tools.md +0 -0
- /package/{resources → packaged-assets/resources}/wordlists.md +0 -0
- /package/{templates → packaged-assets/templates}/attack-chain-template.md +0 -0
- /package/{templates → packaged-assets/templates}/executive-report-template.md +0 -0
- /package/{templates → packaged-assets/templates}/executive-report.md +0 -0
- /package/{templates → packaged-assets/templates}/finding-template.md +0 -0
- /package/{templates → packaged-assets/templates}/remediation-roadmap.md +0 -0
- /package/{templates → packaged-assets/templates}/sead-template.md +0 -0
- /package/{templates → packaged-assets/templates}/technical-report.md +0 -0
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
# Workflow - rt-js-analysis
|
|
2
|
+
|
|
3
|
+
## Purpose
|
|
4
|
+
|
|
5
|
+
This workflow standardizes how $skill is executed inside RTExit. It is designed for authorized engagements, evidence-first documentation, and consistent handoff into reporting.
|
|
6
|
+
|
|
7
|
+
## Authorization Gate
|
|
8
|
+
|
|
9
|
+
Before execution, confirm:
|
|
10
|
+
|
|
11
|
+
- SEAD exists and explicitly covers the target asset or activity.
|
|
12
|
+
- Rules of Engagement define allowed techniques, rate limits, and stop conditions.
|
|
13
|
+
- The operator knows the evidence handling rules.
|
|
14
|
+
- Any active or sensitive validation has client approval.
|
|
15
|
+
|
|
16
|
+
If any item is unclear, pause and invoke
|
|
17
|
+
|
|
18
|
+
## Required Inputs
|
|
19
|
+
|
|
20
|
+
| Input | Source | Notes |
|
|
21
|
+
|---|---|---|
|
|
22
|
+
| Engagement reference | _rtexit/config.toml or SEAD | Used in output names. |
|
|
23
|
+
| Target asset(s) | Scope document | Must be explicitly approved. |
|
|
24
|
+
| Operator name | Config/user context | Used in timeline entries. |
|
|
25
|
+
| Evidence directory | _rtexit-output/docs/evidence/ | Store logs, screenshots, and artifacts. |
|
|
26
|
+
| Finding tracker | _rtexit-output/docs/findings/ | Create/update findings when confirmed. |
|
|
27
|
+
|
|
28
|
+
## Execution Steps
|
|
29
|
+
|
|
30
|
+
1. Load current engagement configuration.
|
|
31
|
+
2. Read scope, exclusions, and current findings.
|
|
32
|
+
3. Build a small test plan for this skill with target, expected control, and evidence type.
|
|
33
|
+
4. Run the lowest-risk validation first.
|
|
34
|
+
5. Capture baseline behavior before proof behavior.
|
|
35
|
+
6. Record exact timestamp, account/role used, and affected asset.
|
|
36
|
+
7. Stop when evidence is sufficient; avoid unnecessary data access.
|
|
37
|
+
8. Create or update findings through the RTExit finding tracker.
|
|
38
|
+
9. Map remediation owner and recommended timeline.
|
|
39
|
+
10. Add a timeline entry and evidence chain entry.
|
|
40
|
+
|
|
41
|
+
## Evidence Requirements
|
|
42
|
+
|
|
43
|
+
| Evidence | Required? | Notes |
|
|
44
|
+
|---|---|---|
|
|
45
|
+
| Command or action summary | Yes | Redact secrets and tokens. |
|
|
46
|
+
| Screenshot or transcript | If useful | Store under evidence folder. |
|
|
47
|
+
| Request/response pair | For web/API | Redact cookies and bearer tokens. |
|
|
48
|
+
| Config excerpt | For cloud/infra | Include only relevant lines. |
|
|
49
|
+
| Business impact note | Yes | Explain why it matters. |
|
|
50
|
+
|
|
51
|
+
## Autodoc Commands
|
|
52
|
+
|
|
53
|
+
`ash
|
|
54
|
+
python _rtexit/scripts/autodoc_engine.py log --skill rt-js-analysis --phase auto --cmd "workflow execution" --output "summary"
|
|
55
|
+
python _rtexit/scripts/finding_tracker.py list
|
|
56
|
+
`
|
|
57
|
+
|
|
58
|
+
## Completion Criteria
|
|
59
|
+
|
|
60
|
+
- Scope and authorization are referenced.
|
|
61
|
+
- Evidence is stored and redacted.
|
|
62
|
+
- Findings are added or explicitly marked as not found.
|
|
63
|
+
- Remediation guidance is actionable.
|
|
64
|
+
- Timeline and chain of custody are updated where applicable.
|
|
65
|
+
|
|
66
|
+
## Handoff
|
|
67
|
+
|
|
68
|
+
Send confirmed findings to
|
|
@@ -0,0 +1,393 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: rt-kill-chain-map
|
|
3
|
+
description: "Map the full attack chain to Lockheed Martin Cyber Kill Chain 7 phases: Reconnaissance, Weaponization, Delivery, Exploitation, Installation, C2, Actions on Objectives. Creates Mermaid diagram showing attack progression and defender disruption opportunities at each phase. Core visual for executive reports."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# rt-kill-chain-map
|
|
7
|
+
|
|
8
|
+
## Overview
|
|
9
|
+
|
|
10
|
+
The Kill Chain Map is the visual spine of every executive report. It translates a fragmented list of technical findings into a single narrative: how an attacker moved from open-source intelligence to domain admin. Executives understand timelines and stories; they do not read CVE tables. This skill produces the diagram and the accompanying narrative that sits on page 2 of every executive report.
|
|
11
|
+
|
|
12
|
+
**When to run this skill:**
|
|
13
|
+
- After the exploitation phase, when at least 3-4 confirmed findings exist
|
|
14
|
+
- Before generating the executive report (rt-agent-scribe KC command)
|
|
15
|
+
- Whenever the engagement has a clear end-to-end attack path to demonstrate
|
|
16
|
+
|
|
17
|
+
**Output:** `_rtexit-output/docs/attack-chains/kill-chain-map.md`
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
## Engagement Lifecycle Position
|
|
22
|
+
|
|
23
|
+
```
|
|
24
|
+
[Recon] → [Weaponization] → [Delivery] → [Exploitation] → [Post-Exploitation]
|
|
25
|
+
↓
|
|
26
|
+
rt-kill-chain-map runs HERE
|
|
27
|
+
↓
|
|
28
|
+
[Executive Report generation]
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
This skill is a **reporting artifact**, not an attack tool. It reads confirmed findings from `findings-master.csv` and reconstructs the narrative arc of the engagement.
|
|
32
|
+
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
## Step-by-Step Workflow
|
|
36
|
+
|
|
37
|
+
### Step 1 — Load Confirmed Findings
|
|
38
|
+
|
|
39
|
+
Pull all confirmed findings from the tracker, sorted by phase:
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
python3 _rtexit/scripts/finding_tracker.py list --severity CRITICAL
|
|
43
|
+
python3 _rtexit/scripts/finding_tracker.py list --severity HIGH
|
|
44
|
+
python3 _rtexit/scripts/finding_tracker.py export --format csv
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
Review the `phase` column in `findings-master.csv`. Each finding should already have a kill chain phase assigned when it was added. If any findings have an empty `phase` field, assign one now using the mapping table in Step 2.
|
|
48
|
+
|
|
49
|
+
**Example findings-master.csv rows you will work with:**
|
|
50
|
+
|
|
51
|
+
```
|
|
52
|
+
id,title,severity,cvss,status,asset,cwe,cve,mitre,phase,date,operator,notes
|
|
53
|
+
F-001,Subdomain Enumeration via Certificate Transparency,INFO,0.0,CONFIRMED,*.acmecorp.com,CWE-200,,T1596.003,Reconnaissance,2026-05-12,op1,Found 47 subdomains via crt.sh
|
|
54
|
+
F-002,Exposed Swagger UI on dev-api.acmecorp.com,MEDIUM,5.3,CONFIRMED,dev-api.acmecorp.com,CWE-200,,T1592,Reconnaissance,2026-05-12,op1,Full API schema exposed unauthenticated
|
|
55
|
+
F-003,Default Credentials on Jenkins CI (admin/admin),CRITICAL,9.8,CONFIRMED,jenkins.acmecorp.com,CWE-798,CVE-2024-23897,T1078.001,Delivery,2026-05-13,op1,Direct console access
|
|
56
|
+
F-004,RCE via Jenkins Script Console (Groovy),CRITICAL,9.9,CONFIRMED,jenkins.acmecorp.com,CWE-94,,T1059.002,Exploitation,2026-05-13,op1,Reverse shell as jenkins user
|
|
57
|
+
F-005,Plaintext AWS Keys in /var/lib/jenkins/workspace/,CRITICAL,9.1,CONFIRMED,jenkins.acmecorp.com,CWE-312,,T1552.001,Installation,2026-05-14,op1,Keys have S3 FullAccess + EC2 Describe
|
|
58
|
+
F-006,EC2 Instance Metadata SSRF → IAM Role Exfiltration,HIGH,8.6,CONFIRMED,10.0.1.45,CWE-918,,T1552.005,C2,2026-05-14,op1,Retrieved arn:aws:iam::123456789012:role/prod-ec2-role
|
|
59
|
+
F-007,S3 Bucket Exfiltration — PII Database Dump,CRITICAL,9.4,CONFIRMED,acmecorp-prod-db-backups,CWE-359,,T1530,Actions on Objectives,2026-05-15,op1,Downloaded 4.2GB backup; 1.2M customer records
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
### Step 2 — Map Findings to Kill Chain Phases
|
|
63
|
+
|
|
64
|
+
Use this mapping table if any findings lack a `phase` value:
|
|
65
|
+
|
|
66
|
+
| Kill Chain Phase | What Happened Here | MITRE Tactic |
|
|
67
|
+
|---|---|---|
|
|
68
|
+
| Reconnaissance | OSINT, subdomain enum, port scanning, API schema discovery | TA0043 |
|
|
69
|
+
| Weaponization | Payload crafting, exploit modification, phishing template creation | TA0042 |
|
|
70
|
+
| Delivery | Phishing email sent, exploit delivered, malicious file uploaded, login with credentials | TA0001 |
|
|
71
|
+
| Exploitation | Vulnerability triggered, shell obtained, auth bypass | TA0002 |
|
|
72
|
+
| Installation | Persistence mechanism, backdoor, credential harvesting tool | TA0003 |
|
|
73
|
+
| C2 | Beacon established, lateral movement tooling, data staging | TA0011 |
|
|
74
|
+
| Actions on Objectives | Data exfiltration, ransomware deployment, account takeover | TA0009 |
|
|
75
|
+
|
|
76
|
+
Update any untagged findings:
|
|
77
|
+
|
|
78
|
+
```bash
|
|
79
|
+
python3 _rtexit/scripts/finding_tracker.py update F-003 --phase "Delivery"
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
### Step 3 — Build the Phase Summary Table
|
|
83
|
+
|
|
84
|
+
For each of the 7 phases, write one row. Be specific — use real hostnames, real finding IDs, real techniques. Never write generic descriptions.
|
|
85
|
+
|
|
86
|
+
**Template (fill in for your engagement):**
|
|
87
|
+
|
|
88
|
+
| Phase | What the Attacker Did | Finding(s) | Defender Opportunity |
|
|
89
|
+
|---|---|---|---|
|
|
90
|
+
| Reconnaissance | Enumerated 47 subdomains via Certificate Transparency logs; identified exposed Swagger UI revealing internal API schema | F-001, F-002 | Alert on crt.sh enumeration; remove Swagger from non-prod exposure |
|
|
91
|
+
| Weaponization | No custom weaponization required — default credentials eliminated this phase | — | Credential hygiene program would have broken the chain here |
|
|
92
|
+
| Delivery | Authenticated to Jenkins CI using default credentials admin/admin — no phishing required | F-003 | Enforce non-default credentials; MFA on all admin panels |
|
|
93
|
+
| Exploitation | Executed Groovy script in Jenkins Script Console to obtain reverse shell as jenkins service account | F-004 | Disable Script Console in production; restrict to admin IP |
|
|
94
|
+
| Installation | Discovered plaintext AWS access keys committed to Jenkins workspace build artifacts | F-005 | Secrets scanning in CI pipeline; rotate all keys; use IAM roles |
|
|
95
|
+
| Command & Control | Used stolen AWS keys to query EC2 Instance Metadata Service; retrieved IAM role credentials for prod-ec2-role | F-006 | IMDSv2 enforcement; least-privilege IAM roles |
|
|
96
|
+
| Actions on Objectives | Downloaded 4.2 GB S3 backup containing 1.2 million customer records including names, emails, hashed passwords | F-007 | S3 bucket policies restricting access by VPC; CloudTrail alerting on bulk GetObject |
|
|
97
|
+
|
|
98
|
+
### Step 4 — Generate the Mermaid Diagram
|
|
99
|
+
|
|
100
|
+
Produce the Mermaid flowchart. Structure: left-to-right flow through phases, with findings as nodes, and defender disruption points marked in red.
|
|
101
|
+
|
|
102
|
+
**Standard diagram template:**
|
|
103
|
+
|
|
104
|
+
````markdown
|
|
105
|
+
```mermaid
|
|
106
|
+
flowchart LR
|
|
107
|
+
subgraph Phase1["1. Reconnaissance"]
|
|
108
|
+
R1["F-001: Subdomain Enum\ncrt.sh — 47 subdomains"]
|
|
109
|
+
R2["F-002: Swagger UI Exposed\ndev-api.acmecorp.com"]
|
|
110
|
+
end
|
|
111
|
+
|
|
112
|
+
subgraph Phase2["2. Weaponization"]
|
|
113
|
+
W1["(Skipped — default creds\neliminated need)"]
|
|
114
|
+
end
|
|
115
|
+
|
|
116
|
+
subgraph Phase3["3. Delivery"]
|
|
117
|
+
D1["F-003: Default Credentials\nJenkins admin/admin"]
|
|
118
|
+
end
|
|
119
|
+
|
|
120
|
+
subgraph Phase4["4. Exploitation"]
|
|
121
|
+
E1["F-004: RCE via Groovy\nScript Console — reverse shell"]
|
|
122
|
+
end
|
|
123
|
+
|
|
124
|
+
subgraph Phase5["5. Installation"]
|
|
125
|
+
I1["F-005: AWS Keys in\nbuild workspace (plaintext)"]
|
|
126
|
+
end
|
|
127
|
+
|
|
128
|
+
subgraph Phase6["6. Command & Control"]
|
|
129
|
+
C1["F-006: SSRF → IMDS\nIAM role credential theft"]
|
|
130
|
+
end
|
|
131
|
+
|
|
132
|
+
subgraph Phase7["7. Actions on Objectives"]
|
|
133
|
+
A1["F-007: S3 Exfiltration\n1.2M customer records — 4.2 GB"]
|
|
134
|
+
end
|
|
135
|
+
|
|
136
|
+
Phase1 --> Phase2 --> Phase3 --> Phase4 --> Phase5 --> Phase6 --> Phase7
|
|
137
|
+
|
|
138
|
+
style Phase1 fill:#1a1a2e,stroke:#4a4a8a,color:#fff
|
|
139
|
+
style Phase2 fill:#1a1a2e,stroke:#4a4a8a,color:#fff
|
|
140
|
+
style Phase3 fill:#2d1b1b,stroke:#8b2c2c,color:#fff
|
|
141
|
+
style Phase4 fill:#2d1b1b,stroke:#cc0000,color:#fff
|
|
142
|
+
style Phase5 fill:#2d1b1b,stroke:#cc0000,color:#fff
|
|
143
|
+
style Phase6 fill:#2d1b1b,stroke:#cc0000,color:#fff
|
|
144
|
+
style Phase7 fill:#3d0000,stroke:#ff0000,color:#fff
|
|
145
|
+
```
|
|
146
|
+
````
|
|
147
|
+
|
|
148
|
+
**Disruption opportunities diagram (add after the attack flow):**
|
|
149
|
+
|
|
150
|
+
````markdown
|
|
151
|
+
```mermaid
|
|
152
|
+
flowchart TD
|
|
153
|
+
D1["BREAK HERE: Credential hygiene\n+ MFA on Jenkins\n→ Stops chain at Delivery"]:::fix
|
|
154
|
+
D2["BREAK HERE: Secrets scanning in CI\n→ Stops chain at Installation"]:::fix
|
|
155
|
+
D3["BREAK HERE: IMDSv2 + least-privilege IAM\n→ Stops chain at C2"]:::fix
|
|
156
|
+
D4["BREAK HERE: S3 VPC endpoint policy\n+ CloudTrail alerting\n→ Stops chain at Actions"]:::fix
|
|
157
|
+
|
|
158
|
+
classDef fix fill:#0a3d0a,stroke:#00cc00,color:#fff
|
|
159
|
+
```
|
|
160
|
+
````
|
|
161
|
+
|
|
162
|
+
### Step 5 — Write the Executive Narrative (200-300 words)
|
|
163
|
+
|
|
164
|
+
This paragraph goes directly under the diagram in the executive report. Write it in plain English. No jargon. Focus on business impact.
|
|
165
|
+
|
|
166
|
+
**Example narrative:**
|
|
167
|
+
|
|
168
|
+
> Our team gained access to 1.2 million customer records in three days — without sending a single phishing email. The attack began with publicly available information: your Jenkins build server was discoverable through certificate transparency logs, and its login page accepted the default password "admin." From that single misstep, we obtained a command shell on a production-adjacent server, discovered Amazon Web Services credentials stored in plain text inside a build log, and used those credentials to download a complete backup of your customer database from cloud storage.
|
|
169
|
+
>
|
|
170
|
+
> The Cyber Kill Chain diagram above shows every step. More importantly, it shows where a single defensive control would have stopped the entire chain. Enforcing non-default passwords with multi-factor authentication on Jenkins breaks the attack at Delivery — phases four through seven never happen. Adding automated secrets scanning to your CI pipeline breaks it at Installation. You do not need to fix all seven findings simultaneously; fixing the two highest-leverage controls neutralizes the complete attack path.
|
|
171
|
+
>
|
|
172
|
+
> The customer data accessed includes full names, email addresses, physical addresses, and password hashes for accounts created before 2024-01-01. Depending on jurisdiction, this exposure triggers notification obligations under GDPR Article 33 and PDPL Article 20.
|
|
173
|
+
|
|
174
|
+
### Step 6 — Save the Kill Chain Document
|
|
175
|
+
|
|
176
|
+
Write the final document to the standard output path:
|
|
177
|
+
|
|
178
|
+
```
|
|
179
|
+
_rtexit-output/docs/attack-chains/kill-chain-map.md
|
|
180
|
+
```
|
|
181
|
+
|
|
182
|
+
Document structure:
|
|
183
|
+
|
|
184
|
+
```
|
|
185
|
+
# Kill Chain Map — [Client Name] — [Engagement Reference]
|
|
186
|
+
**Date:** YYYY-MM-DD
|
|
187
|
+
**Operator:** [callsign]
|
|
188
|
+
**Engagement:** [REF-YYYY-NNN]
|
|
189
|
+
|
|
190
|
+
## Executive Summary (2 sentences max)
|
|
191
|
+
## Attack Phase Table
|
|
192
|
+
## Kill Chain Diagram (Mermaid)
|
|
193
|
+
## Defender Disruption Opportunities (Mermaid)
|
|
194
|
+
## Executive Narrative
|
|
195
|
+
## Finding References
|
|
196
|
+
```
|
|
197
|
+
|
|
198
|
+
### Step 7 — Log to Autodoc Engine
|
|
199
|
+
|
|
200
|
+
```bash
|
|
201
|
+
python3 _rtexit/scripts/autodoc_engine.py log \
|
|
202
|
+
--skill rt-kill-chain-map \
|
|
203
|
+
--phase "Reporting" \
|
|
204
|
+
--note "Kill chain map generated — 7 phases, 7 findings mapped" \
|
|
205
|
+
--finding "F-001,F-002,F-003,F-004,F-005,F-006,F-007"
|
|
206
|
+
```
|
|
207
|
+
|
|
208
|
+
---
|
|
209
|
+
|
|
210
|
+
## Integration with finding_tracker.py
|
|
211
|
+
|
|
212
|
+
**Pull all findings for mapping:**
|
|
213
|
+
```bash
|
|
214
|
+
python3 _rtexit/scripts/finding_tracker.py list
|
|
215
|
+
python3 _rtexit/scripts/finding_tracker.py stats
|
|
216
|
+
```
|
|
217
|
+
|
|
218
|
+
**Update phase tags on existing findings:**
|
|
219
|
+
```bash
|
|
220
|
+
python3 _rtexit/scripts/finding_tracker.py update F-003 --phase "Delivery"
|
|
221
|
+
python3 _rtexit/scripts/finding_tracker.py update F-004 --phase "Exploitation"
|
|
222
|
+
```
|
|
223
|
+
|
|
224
|
+
**Export to CSV for batch review:**
|
|
225
|
+
```bash
|
|
226
|
+
python3 _rtexit/scripts/finding_tracker.py export --format csv
|
|
227
|
+
```
|
|
228
|
+
|
|
229
|
+
The `phase` field in `findings-master.csv` is the source of truth. Kill chain maps must never contradict what is in the tracker. If a finding is tagged `Exploitation` in the tracker, it appears in the Exploitation phase of the diagram — no exceptions.
|
|
230
|
+
|
|
231
|
+
---
|
|
232
|
+
|
|
233
|
+
## Integration with autodoc_engine.py
|
|
234
|
+
|
|
235
|
+
Log the start of kill chain mapping:
|
|
236
|
+
```bash
|
|
237
|
+
python3 _rtexit/scripts/autodoc_engine.py log \
|
|
238
|
+
--skill rt-kill-chain-map \
|
|
239
|
+
--phase "Reporting" \
|
|
240
|
+
--note "Started kill chain map construction"
|
|
241
|
+
```
|
|
242
|
+
|
|
243
|
+
Log each phase as you complete it:
|
|
244
|
+
```bash
|
|
245
|
+
python3 _rtexit/scripts/autodoc_engine.py log \
|
|
246
|
+
--skill rt-kill-chain-map \
|
|
247
|
+
--phase "Reporting" \
|
|
248
|
+
--note "Reconnaissance phase mapped — 2 findings (F-001, F-002)"
|
|
249
|
+
```
|
|
250
|
+
|
|
251
|
+
Log completion and output file:
|
|
252
|
+
```bash
|
|
253
|
+
python3 _rtexit/scripts/autodoc_engine.py log \
|
|
254
|
+
--skill rt-kill-chain-map \
|
|
255
|
+
--phase "Reporting" \
|
|
256
|
+
--note "Kill chain map complete — saved to attack-chains/kill-chain-map.md"
|
|
257
|
+
```
|
|
258
|
+
|
|
259
|
+
The timeline entry confirms to QA reviewers exactly when the kill chain was finalized and whether it was produced before or after the executive report was drafted.
|
|
260
|
+
|
|
261
|
+
---
|
|
262
|
+
|
|
263
|
+
## Complete Example Output
|
|
264
|
+
|
|
265
|
+
The following is what a finished `kill-chain-map.md` looks like for the AcmeCorp engagement:
|
|
266
|
+
|
|
267
|
+
---
|
|
268
|
+
|
|
269
|
+
```markdown
|
|
270
|
+
# Kill Chain Map — AcmeCorp Ltd — RT-2026-007
|
|
271
|
+
|
|
272
|
+
**Date:** 2026-05-15
|
|
273
|
+
**Operator:** Ghost
|
|
274
|
+
**Engagement:** RT-2026-007 — External Black-Box Penetration Test
|
|
275
|
+
**Scope:** acmecorp.com and all subdomains; AWS account 123456789012
|
|
276
|
+
|
|
277
|
+
---
|
|
278
|
+
|
|
279
|
+
## Attack Summary
|
|
280
|
+
|
|
281
|
+
An unauthenticated external attacker achieved full exfiltration of 1.2 million
|
|
282
|
+
customer records in 72 hours using a 7-step attack chain originating from
|
|
283
|
+
publicly available infrastructure intelligence.
|
|
284
|
+
|
|
285
|
+
---
|
|
286
|
+
|
|
287
|
+
## Phase Table
|
|
288
|
+
|
|
289
|
+
| Phase | Attacker Action | Finding | Defender Disruption |
|
|
290
|
+
|---|---|---|---|
|
|
291
|
+
| Reconnaissance | Enumerated subdomains via CT logs; identified Jenkins and Swagger UI | F-001, F-002 | Monitor CT logs; restrict admin service exposure |
|
|
292
|
+
| Weaponization | Not required — default credentials negated this phase | — | Credential hygiene breaks chain here |
|
|
293
|
+
| Delivery | Logged into Jenkins CI with admin/admin | F-003 | Non-default passwords + MFA breaks chain here |
|
|
294
|
+
| Exploitation | Executed reverse shell via Jenkins Groovy Script Console | F-004 | Disable Script Console; restrict by source IP |
|
|
295
|
+
| Installation | Read plaintext AWS keys from Jenkins build workspace logs | F-005 | Secrets scanner in CI pipeline breaks chain here |
|
|
296
|
+
| C2 | SSRF to EC2 IMDS retrieved IAM role credentials for prod-ec2-role | F-006 | IMDSv2 mandatory; least-privilege IAM breaks chain here |
|
|
297
|
+
| Actions on Objectives | Downloaded 4.2 GB S3 backup containing 1.2M customer PII records | F-007 | VPC endpoint S3 policy + CloudTrail alerting breaks chain here |
|
|
298
|
+
|
|
299
|
+
---
|
|
300
|
+
|
|
301
|
+
## Kill Chain Diagram
|
|
302
|
+
|
|
303
|
+
[Mermaid diagram as shown in Step 4]
|
|
304
|
+
|
|
305
|
+
---
|
|
306
|
+
|
|
307
|
+
## Defender Disruption Opportunities
|
|
308
|
+
|
|
309
|
+
[Disruption diagram as shown in Step 4]
|
|
310
|
+
|
|
311
|
+
---
|
|
312
|
+
|
|
313
|
+
## Executive Narrative
|
|
314
|
+
|
|
315
|
+
Our team gained access to 1.2 million customer records in three days — without
|
|
316
|
+
sending a single phishing email. [... full narrative as shown in Step 5 ...]
|
|
317
|
+
|
|
318
|
+
---
|
|
319
|
+
|
|
320
|
+
## Finding References
|
|
321
|
+
|
|
322
|
+
| ID | Title | Severity | CVSS |
|
|
323
|
+
|---|---|---|---|
|
|
324
|
+
| F-001 | Subdomain Enumeration via Certificate Transparency | INFO | 0.0 |
|
|
325
|
+
| F-002 | Exposed Swagger UI on dev-api.acmecorp.com | MEDIUM | 5.3 |
|
|
326
|
+
| F-003 | Default Credentials on Jenkins CI | CRITICAL | 9.8 |
|
|
327
|
+
| F-004 | RCE via Jenkins Script Console | CRITICAL | 9.9 |
|
|
328
|
+
| F-005 | Plaintext AWS Keys in Jenkins Workspace | CRITICAL | 9.1 |
|
|
329
|
+
| F-006 | EC2 IMDS SSRF → IAM Role Exfiltration | HIGH | 8.6 |
|
|
330
|
+
| F-007 | S3 Bucket PII Exfiltration — 1.2M Records | CRITICAL | 9.4 |
|
|
331
|
+
```
|
|
332
|
+
|
|
333
|
+
---
|
|
334
|
+
|
|
335
|
+
## Quality Checklist
|
|
336
|
+
|
|
337
|
+
Before submitting the kill chain map for executive report inclusion, verify every item:
|
|
338
|
+
|
|
339
|
+
**Coverage**
|
|
340
|
+
- [ ] All 7 Kill Chain phases are present in the diagram (even if a phase was skipped, document why)
|
|
341
|
+
- [ ] Every CRITICAL and HIGH finding appears in at least one phase
|
|
342
|
+
- [ ] No finding appears in the wrong phase (cross-check with findings-master.csv `phase` field)
|
|
343
|
+
- [ ] Finding IDs in the diagram match finding IDs in the tracker exactly (F-001 not "Finding 1")
|
|
344
|
+
|
|
345
|
+
**Accuracy**
|
|
346
|
+
- [ ] Hostnames, IPs, and service names in the diagram match what was actually tested
|
|
347
|
+
- [ ] MITRE technique IDs in the phase table are valid and current (ATT&CK v15+)
|
|
348
|
+
- [ ] No placeholder text remains (no "[TARGET]", no "[INSERT HERE]", no "[TBD]")
|
|
349
|
+
- [ ] CVSS scores in the finding reference table match the tracker
|
|
350
|
+
|
|
351
|
+
**Narrative Quality**
|
|
352
|
+
- [ ] Executive narrative contains zero technical jargon (no CVE IDs, no "RCE", no "SSRF")
|
|
353
|
+
- [ ] Business impact is stated in concrete terms (number of records, regulatory framework, dollar equivalent if known)
|
|
354
|
+
- [ ] At least two specific defender disruption points are called out with actionable controls
|
|
355
|
+
- [ ] Narrative is 200-350 words — not shorter (too thin), not longer (executive loses interest)
|
|
356
|
+
|
|
357
|
+
**Mermaid Diagram**
|
|
358
|
+
- [ ] Diagram renders correctly (test in any Mermaid live editor before including in report)
|
|
359
|
+
- [ ] Phase boxes are color-coded: blue/dark for early phases, red gradient for destructive phases
|
|
360
|
+
- [ ] Disruption diagram is separate from the attack flow diagram
|
|
361
|
+
- [ ] Node labels are readable at 80% zoom — no label exceeds 40 characters per line
|
|
362
|
+
|
|
363
|
+
**Logging**
|
|
364
|
+
- [ ] `autodoc_engine.py log` called at start and completion
|
|
365
|
+
- [ ] Output file saved to `_rtexit-output/docs/attack-chains/kill-chain-map.md`
|
|
366
|
+
- [ ] Timeline entry confirms the map was completed before the executive report was generated
|
|
367
|
+
|
|
368
|
+
---
|
|
369
|
+
|
|
370
|
+
## Common Mistakes to Avoid
|
|
371
|
+
|
|
372
|
+
**1. Skipping phases without explanation**
|
|
373
|
+
Wrong: Simply leaving Weaponization blank in the diagram.
|
|
374
|
+
Right: Add a node that says "Weaponization bypassed — default credentials eliminated this phase" with a note explaining the defensive implication. A skipped phase is itself a finding about attacker efficiency.
|
|
375
|
+
|
|
376
|
+
**2. Putting findings in the wrong phase**
|
|
377
|
+
Discovering a credential in a config file is Installation, not Reconnaissance. Reconnaissance is passive information gathering before any access. Once you have a foothold, you are past Delivery. Misclassified phases confuse defenders who use the map to prioritize controls.
|
|
378
|
+
|
|
379
|
+
**3. Writing the narrative in technical language**
|
|
380
|
+
Wrong: "We leveraged CVE-2024-23897 to achieve RCE via the Jenkins LFI vulnerability, obtaining a reverse shell with UID 1001."
|
|
381
|
+
Right: "We gained full control of your build server using a known vulnerability in Jenkins. This gave us the same access as your development team — including their stored credentials."
|
|
382
|
+
|
|
383
|
+
**4. Copying the phase table verbatim as the narrative**
|
|
384
|
+
The table and the narrative serve different audiences. The table is for technical readers who will act on it. The narrative is for the CEO who needs to understand why this matters to the business. They should tell the same story in two different registers.
|
|
385
|
+
|
|
386
|
+
**5. Generating the map before findings are confirmed**
|
|
387
|
+
Never map unconfirmed or potential findings to the kill chain. If a finding is marked `POTENTIAL` in the tracker, do not include it. The kill chain is a factual record of what was demonstrated, not a speculation about what might be possible.
|
|
388
|
+
|
|
389
|
+
**6. Forgetting the disruption diagram**
|
|
390
|
+
The attack flow diagram shows what happened. The disruption diagram shows what would have stopped it. Without the disruption diagram, the kill chain map is a horror story with no resolution. Executives need to leave the meeting knowing there are concrete actions that break the chain.
|
|
391
|
+
|
|
392
|
+
**7. Not logging to autodoc_engine.py**
|
|
393
|
+
The timeline in `engagement/timeline.md` is legal evidence that the kill chain map was produced during the engagement and not retroactively. Always log. Always include the `--phase "Reporting"` flag so the timeline is accurate.
|