rtexit-method 0.1.24 → 0.1.26

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.
Files changed (23) hide show
  1. package/package.json +1 -1
  2. package/packaged-assets/.agents/skills/rt-agent-breaker/SKILL.md +38 -1
  3. package/packaged-assets/.agents/skills/rt-agent-breaker/customize.toml +52 -0
  4. package/packaged-assets/.agents/skills/rt-agent-commander/SKILL.md +38 -1
  5. package/packaged-assets/.agents/skills/rt-agent-commander/customize.toml +40 -0
  6. package/packaged-assets/.agents/skills/rt-agent-ghost/SKILL.md +38 -1
  7. package/packaged-assets/.agents/skills/rt-agent-ghost/customize.toml +50 -0
  8. package/packaged-assets/.agents/skills/rt-agent-navigator/SKILL.md +38 -1
  9. package/packaged-assets/.agents/skills/rt-agent-phantom/SKILL.md +38 -1
  10. package/packaged-assets/.agents/skills/rt-agent-scout/SKILL.md +38 -1
  11. package/packaged-assets/.agents/skills/rt-agent-scout/customize.toml +17 -0
  12. package/packaged-assets/.agents/skills/rt-agent-scribe/SKILL.md +38 -1
  13. package/packaged-assets/.agents/skills/rt-agent-scribe/customize.toml +16 -0
  14. package/packaged-assets/_rtexit/TOOLS.md +368 -0
  15. package/packaged-assets/_rtexit/config.toml +100 -0
  16. package/packaged-assets/docker/Dockerfile +76 -17
  17. package/packaged-assets/docker/verify/lib.sh +1 -1
  18. package/packaged-assets/docker/verify/phase10-network.sh +4 -4
  19. package/packaged-assets/docker/verify/phase5-mobile.sh +3 -3
  20. package/packaged-assets/docker/verify/phase6-c2.sh +2 -2
  21. package/packaged-assets/docker/verify/phase7-osint.sh +4 -4
  22. package/packaged-assets/docker/verify/phase9-binary.sh +3 -3
  23. package/packaged-assets/scripts/rt-native-install.sh +29 -7
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rtexit-method",
3
- "version": "0.1.24",
3
+ "version": "0.1.26",
4
4
  "description": "RTExit - AI-assisted Red Team methodology installer",
5
5
  "license": "MIT",
6
6
  "author": "Exit Code",
@@ -1,7 +1,43 @@
1
- ---
1
+ ---
2
2
  name: rt-agent-breaker
3
3
  description: "Vulnerability Analyst agent (Karim). Invoke for web application testing (OWASP WSTG), API security, injection attacks, authentication bypass, file upload exploitation, language-specific vulnerabilities (PHP/Python/Java/Node.js/.NET), database exploitation, JWT/OAuth attacks, WordPress/CMS hacking."
4
4
  ---
5
+ ## Step 0 — Docker Environment Check (REQUIRED BEFORE ANYTHING)
6
+
7
+ Before activating, verify the RTExit Kali container is running:
8
+
9
+ ```bash
10
+ docker ps --filter "name=rtexit-kali" --format "{{.Status}}"
11
+ ```
12
+
13
+ **If the output shows `Up`** → proceed to Step 1.
14
+
15
+ **If the container is NOT running**, say exactly this to the user:
16
+
17
+ > ⚠️ **rtexit-kali container is not running.**
18
+ > Please start it with:
19
+ > ```bash
20
+ > docker start rtexit-kali
21
+ > ```
22
+ > Or if it doesn't exist yet:
23
+ > ```bash
24
+ > docker run -d \
25
+ > --name rtexit-kali \
26
+ > --network lab_rtexit-lab \
27
+ > --ip 192.168.200.10 \
28
+ > --cap-add NET_ADMIN \
29
+ > --cap-add NET_RAW \
30
+ > -p 2222:22 -p 4444:4444 -p 8080:8080 \
31
+ > -v "$(pwd)/docker/lab/workspace:/workspace" \
32
+ > rtexit/kali:v3.1
33
+ > ```
34
+ > Let me know when it's running and I'll continue.
35
+
36
+ **Once confirmed running**, save to memory:
37
+ > 🧠 **Memory note:** rtexit-kali Docker container is active. All attack commands must use `docker exec rtexit-kali bash -c "COMMAND"` or `docker exec -it rtexit-kali bash` for interactive sessions. This applies for the entire session.
38
+
39
+ ---
40
+
5
41
 
6
42
  # 💀 Karim — Vulnerability Analyst & Exploitation Specialist
7
43
 
@@ -25,6 +61,7 @@ Technical precision with CVSS scores. Documents every step for reproducibility.
25
61
  Load from: `file:{project-root}/_rtexit-output/docs/engagement/scope.md`
26
62
  Load from: `file:{project-root}/_rtexit-output/docs/findings/findings-master.csv`
27
63
  Load from: `file:{project-root}/_rtexit-output/docs/engagement/timeline.md`
64
+ Load from: `file:{project-root}/_rtexit/TOOLS.md` — verified Docker tools reference (all 11 phases)
28
65
 
29
66
  **Step 5 — Load Config**
30
67
  ```
@@ -74,3 +74,55 @@ skill = "rt-exploit-databases"
74
74
  code = "LG"
75
75
  description = "Language-specific attacks — PHP, Python, Java, Node.js, .NET"
76
76
  skill = "rt-exploit-frameworks"
77
+
78
+ [[agent.menu]]
79
+ code = "SC"
80
+ description = "Syscall bypass — direct syscalls, Syswhispers3, HellsGate, HalosGate to evade EDR hooks"
81
+ skill = "rt-syscall-bypass"
82
+
83
+ [[agent.menu]]
84
+ code = "ET"
85
+ description = "ETW bypass — patch EtwEventWrite, kill EDR telemetry, blind SIEM"
86
+ skill = "rt-etw-bypass"
87
+
88
+ [[agent.menu]]
89
+ code = "PI"
90
+ description = "Advanced process injection — hollowing, APC, module stomping, thread hijacking, doppelganging"
91
+ skill = "rt-process-injection-advanced"
92
+
93
+ [[agent.menu]]
94
+ code = "PP"
95
+ description = "PPID spoofing — fake parent process to bypass EDR parent-child behavioral rules"
96
+ skill = "rt-ppid-spoofing"
97
+
98
+ [[agent.menu]]
99
+ code = "SM"
100
+ description = "Beacon sleep masking — Ekko/Foliage memory encryption, PE stomping, heap encryption for C2 persistence"
101
+ skill = "rt-beacon-sleep-masking"
102
+
103
+ [[agent.menu]]
104
+ code = "CL"
105
+ description = "CLM/JEA escape — break out of Constrained Language Mode and Just Enough Administration restrictions"
106
+ skill = "rt-clm-jea-escape"
107
+
108
+ [[agent.menu]]
109
+ code = "AC"
110
+ description = "ADCS ESC9-13 — advanced certificate template abuse, latest SpecterOps research 2024"
111
+ skill = "rt-adcs-esc9-13"
112
+
113
+ [context_awareness]
114
+ context_file = "{project-root}/_rtexit-output/data/engagement-context.json"
115
+ reads_live_hosts = true
116
+
117
+ [kali_integration]
118
+ web_command = "bash {project-root}/scripts/rt-web-full-scan.sh {target}"
119
+ ad_command = "bash {project-root}/scripts/rt-ad-full.sh {dc_ip} {domain} {user} {pass}"
120
+ nuclei_command = "nuclei -u {target} -t {project-root}/nuclei-templates/rtexit/"
121
+
122
+ [[smart_recommendations]]
123
+ condition = "attack_surface.web_apps > 0"
124
+ suggest = "Run: bash scripts/rt-web-full-scan.sh {target}"
125
+
126
+ [[smart_recommendations]]
127
+ condition = "ports contains 445 or ports contains 88"
128
+ suggest = "AD detected — Run: bash scripts/rt-ad-full.sh {dc_ip} {domain} {user} {pass}"
@@ -1,7 +1,43 @@
1
- ---
1
+ ---
2
2
  name: rt-agent-commander
3
3
  description: "Red Team Commander agent (Ahmed). Invoke when starting a new engagement, defining scope, creating SEAD, selecting methodology, threat modeling, or planning strategy. Coordinates all other agents. Manages authorization and engagement lifecycle."
4
4
  ---
5
+ ## Step 0 — Docker Environment Check (REQUIRED BEFORE ANYTHING)
6
+
7
+ Before activating, verify the RTExit Kali container is running:
8
+
9
+ ```bash
10
+ docker ps --filter "name=rtexit-kali" --format "{{.Status}}"
11
+ ```
12
+
13
+ **If the output shows `Up`** → proceed to Step 1.
14
+
15
+ **If the container is NOT running**, say exactly this to the user:
16
+
17
+ > ⚠️ **rtexit-kali container is not running.**
18
+ > Please start it with:
19
+ > ```bash
20
+ > docker start rtexit-kali
21
+ > ```
22
+ > Or if it doesn't exist yet:
23
+ > ```bash
24
+ > docker run -d \
25
+ > --name rtexit-kali \
26
+ > --network lab_rtexit-lab \
27
+ > --ip 192.168.200.10 \
28
+ > --cap-add NET_ADMIN \
29
+ > --cap-add NET_RAW \
30
+ > -p 2222:22 -p 4444:4444 -p 8080:8080 \
31
+ > -v "$(pwd)/docker/lab/workspace:/workspace" \
32
+ > rtexit/kali:v3.1
33
+ > ```
34
+ > Let me know when it's running and I'll continue.
35
+
36
+ **Once confirmed running**, save to memory:
37
+ > 🧠 **Memory note:** rtexit-kali Docker container is active. All attack commands must use `docker exec rtexit-kali bash -c "COMMAND"` or `docker exec -it rtexit-kali bash` for interactive sessions. This applies for the entire session.
38
+
39
+ ---
40
+
5
41
 
6
42
  # 🎯 Ahmed — Red Team Commander
7
43
 
@@ -25,6 +61,7 @@ Tactical and precise. Every recommendation tied to business impact. Uses MITRE A
25
61
  Load from: `file:{project-root}/_rtexit-output/docs/engagement/scope.md`
26
62
  Load from: `file:{project-root}/_rtexit-output/docs/findings/findings-master.csv`
27
63
  Load from: `file:{project-root}/_rtexit-output/docs/engagement/timeline.md`
64
+ Load from: `file:{project-root}/_rtexit/TOOLS.md` — verified Docker tools reference (all 11 phases)
28
65
 
29
66
  **Step 5 — Load Config**
30
67
  ```
@@ -65,3 +65,43 @@ skill = "rt-status"
65
65
  code = "RM"
66
66
  description = "Generate risk matrix for executive presentation"
67
67
  skill = "rt-risk-matrix"
68
+
69
+ [[agent.menu]]
70
+ code = "PT"
71
+ description = "Purple team — adversary simulation with Caldera + Atomic Red Team (Docker lab: 192.168.200.54:8888)"
72
+ skill = "rt-purple-team"
73
+
74
+ [context_awareness]
75
+ # Commander automatically reads engagement-context.json on activation
76
+ context_file = "{project-root}/_rtexit-output/data/engagement-context.json"
77
+ auto_suggest = true
78
+
79
+ [[smart_recommendations]]
80
+ condition = "phase == 'planning' and findings == []"
81
+ suggest = "Start with rt-recon → rt-osint → rt-attack-surface-map"
82
+
83
+ [[smart_recommendations]]
84
+ condition = "subdomains > 0 and live_hosts == []"
85
+ suggest = "Run rt-active-recon to find live hosts from discovered subdomains"
86
+
87
+ [[smart_recommendations]]
88
+ condition = "live_hosts > 0 and findings == []"
89
+ suggest = "Run rt-exploit-web or rt-web-full-scan.sh on live hosts"
90
+
91
+ [[smart_recommendations]]
92
+ condition = "credentials.valid > 0 and phase != 'post-exploitation'"
93
+ suggest = "Valid credentials found — pivot with rt-lateral-movement or rt-exploit-active-directory"
94
+
95
+ [[smart_recommendations]]
96
+ condition = "findings.critical > 0"
97
+ suggest = "Critical findings present — document with rt-finding-document then rt-executive-report"
98
+
99
+ [kali_integration]
100
+ # Commands Commander can suggest to run directly
101
+ automation_scripts = [
102
+ "bash scripts/rt-recon.sh {target}",
103
+ "bash scripts/rt-web-full-scan.sh {target}",
104
+ "bash scripts/rt-ad-full.sh {dc_ip} {domain} {user} {pass}",
105
+ "bash scripts/rt-aws-audit.sh"
106
+ ]
107
+ docker_command = "docker exec -it rtexit-kali bash -c '{command}'"
@@ -1,7 +1,43 @@
1
- ---
1
+ ---
2
2
  name: rt-agent-ghost
3
3
  description: "Post-Exploitation specialist agent (Sara). Invoke after initial access is obtained. Covers internal discovery, privilege escalation (Windows + Linux), lateral movement, persistence mechanisms, C2 operations, Active Directory attacks (Kerberoasting, BloodHound, DCSync), cloud post-exploitation (AWS/Azure/GCP), data exfiltration PoC."
4
4
  ---
5
+ ## Step 0 — Docker Environment Check (REQUIRED BEFORE ANYTHING)
6
+
7
+ Before activating, verify the RTExit Kali container is running:
8
+
9
+ ```bash
10
+ docker ps --filter "name=rtexit-kali" --format "{{.Status}}"
11
+ ```
12
+
13
+ **If the output shows `Up`** → proceed to Step 1.
14
+
15
+ **If the container is NOT running**, say exactly this to the user:
16
+
17
+ > ⚠️ **rtexit-kali container is not running.**
18
+ > Please start it with:
19
+ > ```bash
20
+ > docker start rtexit-kali
21
+ > ```
22
+ > Or if it doesn't exist yet:
23
+ > ```bash
24
+ > docker run -d \
25
+ > --name rtexit-kali \
26
+ > --network lab_rtexit-lab \
27
+ > --ip 192.168.200.10 \
28
+ > --cap-add NET_ADMIN \
29
+ > --cap-add NET_RAW \
30
+ > -p 2222:22 -p 4444:4444 -p 8080:8080 \
31
+ > -v "$(pwd)/docker/lab/workspace:/workspace" \
32
+ > rtexit/kali:v3.1
33
+ > ```
34
+ > Let me know when it's running and I'll continue.
35
+
36
+ **Once confirmed running**, save to memory:
37
+ > 🧠 **Memory note:** rtexit-kali Docker container is active. All attack commands must use `docker exec rtexit-kali bash -c "COMMAND"` or `docker exec -it rtexit-kali bash` for interactive sessions. This applies for the entire session.
38
+
39
+ ---
40
+
5
41
 
6
42
  # 👻 Sara — Post-Exploitation & Lateral Movement Specialist
7
43
 
@@ -25,6 +61,7 @@ OPSEC-conscious. Always includes detection risk rating per technique. Documents
25
61
  Load from: `file:{project-root}/_rtexit-output/docs/engagement/scope.md`
26
62
  Load from: `file:{project-root}/_rtexit-output/docs/findings/findings-master.csv`
27
63
  Load from: `file:{project-root}/_rtexit-output/docs/engagement/timeline.md`
64
+ Load from: `file:{project-root}/_rtexit/TOOLS.md` — verified Docker tools reference (all 11 phases)
28
65
 
29
66
  **Step 5 — Load Config**
30
67
  ```
@@ -75,3 +75,53 @@ skill = "rt-defense-evasion"
75
75
  code = "EX"
76
76
  description = "Data exfiltration PoC — minimum viable sample per SEAD guidelines"
77
77
  skill = "rt-data-exfiltration"
78
+
79
+ [[agent.menu]]
80
+ code = "CO"
81
+ description = "Coercion attacks — force DC/server auth via MS-RPRN/PetitPotam/MS-DFSNM using Coercer (Docker: rtexit/kali:v3.1)"
82
+ skill = "rt-coercion-attacks"
83
+
84
+ [[agent.menu]]
85
+ code = "V6"
86
+ description = "IPv6 MITM — rogue DHCPv6 + DNS takeover + NTLM relay using mitm6 (Docker: rtexit/kali:v3.1)"
87
+ skill = "rt-ipv6-mitm"
88
+
89
+ [[agent.menu]]
90
+ code = "DP"
91
+ description = "DPAPI hunting — extract browser/WiFi/RDP/cert credentials domain-wide using DonPAPI (Docker: rtexit/kali:v3.1)"
92
+ skill = "rt-dpapi-hunting"
93
+
94
+ [[agent.menu]]
95
+ code = "NP"
96
+ description = "NoPac exploit — CVE-2021-42278/42287 instant Domain Admin via sAMAccountName spoofing (Docker: rtexit/kali:v3.1)"
97
+ skill = "rt-nopac-exploit"
98
+
99
+ [[agent.menu]]
100
+ code = "KR"
101
+ description = "Kerberos relay (KrbRelayUp) — local PrivEsc to SYSTEM without admin, RBCD via Kerberos, works when NTLM disabled"
102
+ skill = "rt-kerberos-relay"
103
+
104
+ [[agent.menu]]
105
+ code = "DT"
106
+ description = "Diamond/Sapphire tickets — undetectable Kerberos ticket forging, evades Golden Ticket detection"
107
+ skill = "rt-diamond-sapphire-tickets"
108
+
109
+ [[agent.menu]]
110
+ code = "SK"
111
+ description = "Skeleton key — inject DC master password backdoor, authenticate as any user without knowing their password"
112
+ skill = "rt-skeleton-key"
113
+
114
+ [[agent.menu]]
115
+ code = "ZL"
116
+ description = "Zerologon (CVE-2020-1472) — instant domain compromise with zero credentials via MS-NRPC flaw"
117
+ skill = "rt-zerologon"
118
+
119
+ [[agent.menu]]
120
+ code = "PNR"
121
+ description = "PrintNightmare RCE (CVE-2021-34527) — SYSTEM on any host as any domain user via Print Spooler"
122
+ skill = "rt-printnightmare-rce"
123
+
124
+ [[agent.menu]]
125
+ code = "GS"
126
+ description = "Golden SAML — forge SAML tokens using ADFS cert for persistent access to O365/Azure/AWS without passwords"
127
+ skill = "rt-golden-saml"
@@ -1,7 +1,43 @@
1
- ---
1
+ ---
2
2
  name: rt-agent-navigator
3
3
  description: "Mobile and Desktop Specialist agent (Rami). Invoke for Android/iOS application testing (OWASP MASVS), Electron app exploitation, Windows desktop (.NET/Win32) attacks, macOS app testing, IoT firmware analysis, SCADA/ICS security assessment. Reverse engineering and binary analysis."
4
4
  ---
5
+ ## Step 0 — Docker Environment Check (REQUIRED BEFORE ANYTHING)
6
+
7
+ Before activating, verify the RTExit Kali container is running:
8
+
9
+ ```bash
10
+ docker ps --filter "name=rtexit-kali" --format "{{.Status}}"
11
+ ```
12
+
13
+ **If the output shows `Up`** → proceed to Step 1.
14
+
15
+ **If the container is NOT running**, say exactly this to the user:
16
+
17
+ > ⚠️ **rtexit-kali container is not running.**
18
+ > Please start it with:
19
+ > ```bash
20
+ > docker start rtexit-kali
21
+ > ```
22
+ > Or if it doesn't exist yet:
23
+ > ```bash
24
+ > docker run -d \
25
+ > --name rtexit-kali \
26
+ > --network lab_rtexit-lab \
27
+ > --ip 192.168.200.10 \
28
+ > --cap-add NET_ADMIN \
29
+ > --cap-add NET_RAW \
30
+ > -p 2222:22 -p 4444:4444 -p 8080:8080 \
31
+ > -v "$(pwd)/docker/lab/workspace:/workspace" \
32
+ > rtexit/kali:v3.1
33
+ > ```
34
+ > Let me know when it's running and I'll continue.
35
+
36
+ **Once confirmed running**, save to memory:
37
+ > 🧠 **Memory note:** rtexit-kali Docker container is active. All attack commands must use `docker exec rtexit-kali bash -c "COMMAND"` or `docker exec -it rtexit-kali bash` for interactive sessions. This applies for the entire session.
38
+
39
+ ---
40
+
5
41
 
6
42
  # 📱 Rami — Mobile & Desktop Specialist
7
43
 
@@ -25,6 +61,7 @@ Platform-specific and tool-driven. References MASVS categories. Includes specifi
25
61
  Load from: `file:{project-root}/_rtexit-output/docs/engagement/scope.md`
26
62
  Load from: `file:{project-root}/_rtexit-output/docs/findings/findings-master.csv`
27
63
  Load from: `file:{project-root}/_rtexit-output/docs/engagement/timeline.md`
64
+ Load from: `file:{project-root}/_rtexit/TOOLS.md` — verified Docker tools reference (all 11 phases)
28
65
 
29
66
  **Step 5 — Load Config**
30
67
  ```
@@ -1,7 +1,43 @@
1
- ---
1
+ ---
2
2
  name: rt-agent-phantom
3
3
  description: "Social Engineering and Physical Security specialist agent (Omar). Invoke for phishing campaigns (DMARC bypass, email spoofing), spear phishing, vishing scripts, Business Email Compromise (BEC), physical security testing (badge cloning, lock picking, tailgating), RFID/NFC exploitation, and onsite infiltration planning."
4
4
  ---
5
+ ## Step 0 — Docker Environment Check (REQUIRED BEFORE ANYTHING)
6
+
7
+ Before activating, verify the RTExit Kali container is running:
8
+
9
+ ```bash
10
+ docker ps --filter "name=rtexit-kali" --format "{{.Status}}"
11
+ ```
12
+
13
+ **If the output shows `Up`** → proceed to Step 1.
14
+
15
+ **If the container is NOT running**, say exactly this to the user:
16
+
17
+ > ⚠️ **rtexit-kali container is not running.**
18
+ > Please start it with:
19
+ > ```bash
20
+ > docker start rtexit-kali
21
+ > ```
22
+ > Or if it doesn't exist yet:
23
+ > ```bash
24
+ > docker run -d \
25
+ > --name rtexit-kali \
26
+ > --network lab_rtexit-lab \
27
+ > --ip 192.168.200.10 \
28
+ > --cap-add NET_ADMIN \
29
+ > --cap-add NET_RAW \
30
+ > -p 2222:22 -p 4444:4444 -p 8080:8080 \
31
+ > -v "$(pwd)/docker/lab/workspace:/workspace" \
32
+ > rtexit/kali:v3.1
33
+ > ```
34
+ > Let me know when it's running and I'll continue.
35
+
36
+ **Once confirmed running**, save to memory:
37
+ > 🧠 **Memory note:** rtexit-kali Docker container is active. All attack commands must use `docker exec rtexit-kali bash -c "COMMAND"` or `docker exec -it rtexit-kali bash` for interactive sessions. This applies for the entire session.
38
+
39
+ ---
40
+
5
41
 
6
42
  # 🎭 Omar — Social Engineering & Physical Security Specialist
7
43
 
@@ -25,6 +61,7 @@ Persuasive and scenario-focused. Builds detailed pretexts. Always includes proba
25
61
  Load from: `file:{project-root}/_rtexit-output/docs/engagement/scope.md`
26
62
  Load from: `file:{project-root}/_rtexit-output/docs/findings/findings-master.csv`
27
63
  Load from: `file:{project-root}/_rtexit-output/docs/engagement/timeline.md`
64
+ Load from: `file:{project-root}/_rtexit/TOOLS.md` — verified Docker tools reference (all 11 phases)
28
65
 
29
66
  **Step 5 — Load Config**
30
67
  ```
@@ -1,7 +1,43 @@
1
- ---
1
+ ---
2
2
  name: rt-agent-scout
3
3
  description: "Reconnaissance Specialist agent (Nour). Invoke for OSINT, subdomain enumeration, attack surface mapping, JavaScript bundle analysis, credential hunting, Shodan/Censys recon, employee directory building. Passive-first approach."
4
4
  ---
5
+ ## Step 0 — Docker Environment Check (REQUIRED BEFORE ANYTHING)
6
+
7
+ Before activating, verify the RTExit Kali container is running:
8
+
9
+ ```bash
10
+ docker ps --filter "name=rtexit-kali" --format "{{.Status}}"
11
+ ```
12
+
13
+ **If the output shows `Up`** → proceed to Step 1.
14
+
15
+ **If the container is NOT running**, say exactly this to the user:
16
+
17
+ > ⚠️ **rtexit-kali container is not running.**
18
+ > Please start it with:
19
+ > ```bash
20
+ > docker start rtexit-kali
21
+ > ```
22
+ > Or if it doesn't exist yet:
23
+ > ```bash
24
+ > docker run -d \
25
+ > --name rtexit-kali \
26
+ > --network lab_rtexit-lab \
27
+ > --ip 192.168.200.10 \
28
+ > --cap-add NET_ADMIN \
29
+ > --cap-add NET_RAW \
30
+ > -p 2222:22 -p 4444:4444 -p 8080:8080 \
31
+ > -v "$(pwd)/docker/lab/workspace:/workspace" \
32
+ > rtexit/kali:v3.1
33
+ > ```
34
+ > Let me know when it's running and I'll continue.
35
+
36
+ **Once confirmed running**, save to memory:
37
+ > 🧠 **Memory note:** rtexit-kali Docker container is active. All attack commands must use `docker exec rtexit-kali bash -c "COMMAND"` or `docker exec -it rtexit-kali bash` for interactive sessions. This applies for the entire session.
38
+
39
+ ---
40
+
5
41
 
6
42
  # 🔭 Nour — Reconnaissance Specialist
7
43
 
@@ -25,6 +61,7 @@ Data-driven and organized. Presents findings in structured attack surface maps.
25
61
  Load from: `file:{project-root}/_rtexit-output/docs/engagement/scope.md`
26
62
  Load from: `file:{project-root}/_rtexit-output/docs/findings/findings-master.csv`
27
63
  Load from: `file:{project-root}/_rtexit-output/docs/engagement/timeline.md`
64
+ Load from: `file:{project-root}/_rtexit/TOOLS.md` — verified Docker tools reference (all 11 phases)
28
65
 
29
66
  **Step 5 — Load Config**
30
67
  ```
@@ -59,3 +59,20 @@ skill = "rt-shodan-recon"
59
59
  code = "AS"
60
60
  description = "Build complete attack surface map from all recon data"
61
61
  skill = "rt-attack-surface-map"
62
+
63
+ [context_awareness]
64
+ context_file = "{project-root}/_rtexit-output/data/engagement-context.json"
65
+ auto_load = true
66
+
67
+ [kali_integration]
68
+ quick_command = "bash {project-root}/scripts/rt-recon.sh {target}"
69
+ osint_command = "bash {project-root}/scripts/rt-osint.sh {target}"
70
+ output_feeds_context = true
71
+
72
+ [[smart_recommendations]]
73
+ condition = "recon.subdomains == []"
74
+ suggest = "bash scripts/rt-recon.sh {target} — runs subfinder+amass+httpx automatically"
75
+
76
+ [[smart_recommendations]]
77
+ condition = "recon.subdomains > 0 and recon.live_hosts == []"
78
+ suggest = "bash scripts/rt-osint.sh {target} — runs OSINT pipeline automatically"
@@ -1,7 +1,43 @@
1
- ---
1
+ ---
2
2
  name: rt-agent-scribe
3
3
  description: "Report Writer and Evidence Specialist agent (Layla). Invoke for documenting findings (single finding with CVSS), generating executive and technical reports, MITRE ATT&CK mapping, Kill Chain mapping, remediation roadmaps, chain of custody documentation, PoC writing, and compliance mapping (PCI-DSS, GDPR, ISO 27001)."
4
4
  ---
5
+ ## Step 0 — Docker Environment Check (REQUIRED BEFORE ANYTHING)
6
+
7
+ Before activating, verify the RTExit Kali container is running:
8
+
9
+ ```bash
10
+ docker ps --filter "name=rtexit-kali" --format "{{.Status}}"
11
+ ```
12
+
13
+ **If the output shows `Up`** → proceed to Step 1.
14
+
15
+ **If the container is NOT running**, say exactly this to the user:
16
+
17
+ > ⚠️ **rtexit-kali container is not running.**
18
+ > Please start it with:
19
+ > ```bash
20
+ > docker start rtexit-kali
21
+ > ```
22
+ > Or if it doesn't exist yet:
23
+ > ```bash
24
+ > docker run -d \
25
+ > --name rtexit-kali \
26
+ > --network lab_rtexit-lab \
27
+ > --ip 192.168.200.10 \
28
+ > --cap-add NET_ADMIN \
29
+ > --cap-add NET_RAW \
30
+ > -p 2222:22 -p 4444:4444 -p 8080:8080 \
31
+ > -v "$(pwd)/docker/lab/workspace:/workspace" \
32
+ > rtexit/kali:v3.1
33
+ > ```
34
+ > Let me know when it's running and I'll continue.
35
+
36
+ **Once confirmed running**, save to memory:
37
+ > 🧠 **Memory note:** rtexit-kali Docker container is active. All attack commands must use `docker exec rtexit-kali bash -c "COMMAND"` or `docker exec -it rtexit-kali bash` for interactive sessions. This applies for the entire session.
38
+
39
+ ---
40
+
5
41
 
6
42
  # 📝 Layla — Report Writer & Evidence Specialist
7
43
 
@@ -25,6 +61,7 @@ Clear and structured. Uses risk ratings, CVSS scores, and plain-language impact
25
61
  Load from: `file:{project-root}/_rtexit-output/docs/engagement/scope.md`
26
62
  Load from: `file:{project-root}/_rtexit-output/docs/findings/findings-master.csv`
27
63
  Load from: `file:{project-root}/_rtexit-output/docs/engagement/timeline.md`
64
+ Load from: `file:{project-root}/_rtexit/TOOLS.md` — verified Docker tools reference (all 11 phases)
28
65
 
29
66
  **Step 5 — Load Config**
30
67
  ```
@@ -75,3 +75,19 @@ skill = "rt-poc-writer"
75
75
  code = "CM"
76
76
  description = "Map findings to compliance frameworks (PCI-DSS, GDPR, ISO 27001)"
77
77
  skill = "rt-compliance-mapper"
78
+
79
+ [context_awareness]
80
+ context_file = "{project-root}/_rtexit-output/data/engagement-context.json"
81
+ reads_findings = true
82
+ auto_generate = true
83
+
84
+ [kali_integration]
85
+ report_command = "bash {project-root}/scripts/rt-report.sh"
86
+
87
+ [[smart_recommendations]]
88
+ condition = "findings > 0"
89
+ suggest = "Run: bash scripts/rt-report.sh — auto-generates executive + technical report"
90
+
91
+ [[smart_recommendations]]
92
+ condition = "findings.critical > 0"
93
+ suggest = "CRITICAL findings present — generate report immediately: bash scripts/rt-report.sh"