rtexit-method 0.1.0 → 0.1.1

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 (220) hide show
  1. package/package.json +2 -5
  2. package/packaged-assets/.agents/skills/rt-active-recon/SKILL.md +767 -0
  3. package/packaged-assets/.agents/skills/rt-active-recon/workflow.md +68 -0
  4. package/packaged-assets/.agents/skills/rt-agent-breaker/SKILL.md +65 -0
  5. package/packaged-assets/.agents/skills/rt-agent-breaker/customize.toml +76 -0
  6. package/packaged-assets/.agents/skills/rt-agent-commander/SKILL.md +63 -0
  7. package/packaged-assets/.agents/skills/rt-agent-commander/customize.toml +67 -0
  8. package/packaged-assets/.agents/skills/rt-agent-ghost/SKILL.md +65 -0
  9. package/packaged-assets/.agents/skills/rt-agent-ghost/customize.toml +77 -0
  10. package/packaged-assets/.agents/skills/rt-agent-navigator/SKILL.md +62 -0
  11. package/packaged-assets/.agents/skills/rt-agent-navigator/customize.toml +61 -0
  12. package/packaged-assets/.agents/skills/rt-agent-phantom/SKILL.md +62 -0
  13. package/packaged-assets/.agents/skills/rt-agent-phantom/customize.toml +62 -0
  14. package/packaged-assets/.agents/skills/rt-agent-scout/SKILL.md +62 -0
  15. package/packaged-assets/.agents/skills/rt-agent-scout/customize.toml +61 -0
  16. package/packaged-assets/.agents/skills/rt-agent-scribe/SKILL.md +65 -0
  17. package/packaged-assets/.agents/skills/rt-agent-scribe/customize.toml +77 -0
  18. package/packaged-assets/.agents/skills/rt-attack-chain-builder/SKILL.md +476 -0
  19. package/packaged-assets/.agents/skills/rt-attack-chain-builder/workflow.md +68 -0
  20. package/packaged-assets/.agents/skills/rt-attack-surface-map/SKILL.md +1209 -0
  21. package/packaged-assets/.agents/skills/rt-attack-surface-map/template.md +62 -0
  22. package/packaged-assets/.agents/skills/rt-autodoc/SKILL.md +258 -0
  23. package/packaged-assets/.agents/skills/rt-c2-operations/SKILL.md +1072 -0
  24. package/packaged-assets/.agents/skills/rt-c2-operations/workflow.md +68 -0
  25. package/packaged-assets/.agents/skills/rt-compliance-mapper/SKILL.md +773 -0
  26. package/packaged-assets/.agents/skills/rt-create-sead/SKILL.md +74 -0
  27. package/packaged-assets/.agents/skills/rt-create-sead/template.md +89 -0
  28. package/packaged-assets/.agents/skills/rt-create-sead/workflow.md +68 -0
  29. package/packaged-assets/.agents/skills/rt-credential-access/SKILL.md +756 -0
  30. package/packaged-assets/.agents/skills/rt-credential-hunt/SKILL.md +856 -0
  31. package/packaged-assets/.agents/skills/rt-credential-hunt/workflow.md +68 -0
  32. package/packaged-assets/.agents/skills/rt-cvss-calculator/SKILL.md +542 -0
  33. package/packaged-assets/.agents/skills/rt-cvss-calculator/cvss4-matrix.csv +20 -0
  34. package/packaged-assets/.agents/skills/rt-data-exfiltration/SKILL.md +784 -0
  35. package/packaged-assets/.agents/skills/rt-defense-evasion/SKILL.md +987 -0
  36. package/packaged-assets/.agents/skills/rt-evidence-chain/SKILL.md +712 -0
  37. package/packaged-assets/.agents/skills/rt-evidence-chain/template.md +31 -0
  38. package/packaged-assets/.agents/skills/rt-executive-report/SKILL.md +718 -0
  39. package/packaged-assets/.agents/skills/rt-executive-report/template.md +38 -0
  40. package/packaged-assets/.agents/skills/rt-executive-report/workflow.md +68 -0
  41. package/packaged-assets/.agents/skills/rt-exploit-active-directory/SKILL.md +1078 -0
  42. package/packaged-assets/.agents/skills/rt-exploit-active-directory/ad-checklist.csv +12 -0
  43. package/packaged-assets/.agents/skills/rt-exploit-active-directory/workflow.md +68 -0
  44. package/packaged-assets/.agents/skills/rt-exploit-android/SKILL.md +1329 -0
  45. package/packaged-assets/.agents/skills/rt-exploit-android/masvs-checklist.csv +10 -0
  46. package/packaged-assets/.agents/skills/rt-exploit-android/workflow.md +68 -0
  47. package/packaged-assets/.agents/skills/rt-exploit-api/SKILL.md +1547 -0
  48. package/packaged-assets/.agents/skills/rt-exploit-api/workflow.md +68 -0
  49. package/packaged-assets/.agents/skills/rt-exploit-auth/SKILL.md +1949 -0
  50. package/packaged-assets/.agents/skills/rt-exploit-auth/workflow.md +68 -0
  51. package/packaged-assets/.agents/skills/rt-exploit-bec/SKILL.md +69 -0
  52. package/packaged-assets/.agents/skills/rt-exploit-cloud-aws/SKILL.md +865 -0
  53. package/packaged-assets/.agents/skills/rt-exploit-cloud-aws/workflow.md +68 -0
  54. package/packaged-assets/.agents/skills/rt-exploit-cloud-azure/SKILL.md +1258 -0
  55. package/packaged-assets/.agents/skills/rt-exploit-cloud-gcp/SKILL.md +981 -0
  56. package/packaged-assets/.agents/skills/rt-exploit-containers/SKILL.md +55 -0
  57. package/packaged-assets/.agents/skills/rt-exploit-databases/SKILL.md +1374 -0
  58. package/packaged-assets/.agents/skills/rt-exploit-desktop-mac/SKILL.md +834 -0
  59. package/packaged-assets/.agents/skills/rt-exploit-desktop-win/SKILL.md +903 -0
  60. package/packaged-assets/.agents/skills/rt-exploit-desktop-win/workflow.md +68 -0
  61. package/packaged-assets/.agents/skills/rt-exploit-dotnet/SKILL.md +945 -0
  62. package/packaged-assets/.agents/skills/rt-exploit-elasticsearch/SKILL.md +68 -0
  63. package/packaged-assets/.agents/skills/rt-exploit-electron/SKILL.md +1023 -0
  64. package/packaged-assets/.agents/skills/rt-exploit-electron/workflow.md +68 -0
  65. package/packaged-assets/.agents/skills/rt-exploit-file-upload/SKILL.md +1576 -0
  66. package/packaged-assets/.agents/skills/rt-exploit-file-upload/payloads/README.md +4 -0
  67. package/packaged-assets/.agents/skills/rt-exploit-file-upload/workflow.md +68 -0
  68. package/packaged-assets/.agents/skills/rt-exploit-firebase/SKILL.md +54 -0
  69. package/packaged-assets/.agents/skills/rt-exploit-frameworks/SKILL.md +967 -0
  70. package/packaged-assets/.agents/skills/rt-exploit-idor/SKILL.md +1693 -0
  71. package/packaged-assets/.agents/skills/rt-exploit-idor/workflow.md +68 -0
  72. package/packaged-assets/.agents/skills/rt-exploit-injection/SKILL.md +1860 -0
  73. package/packaged-assets/.agents/skills/rt-exploit-injection/payloads/sqlmap-tampers.txt +22 -0
  74. package/packaged-assets/.agents/skills/rt-exploit-injection/workflow.md +68 -0
  75. package/packaged-assets/.agents/skills/rt-exploit-ios/SKILL.md +1214 -0
  76. package/packaged-assets/.agents/skills/rt-exploit-ios/workflow.md +68 -0
  77. package/packaged-assets/.agents/skills/rt-exploit-iot/SKILL.md +91 -0
  78. package/packaged-assets/.agents/skills/rt-exploit-iot/workflow.md +68 -0
  79. package/packaged-assets/.agents/skills/rt-exploit-java/SKILL.md +1009 -0
  80. package/packaged-assets/.agents/skills/rt-exploit-jwt/SKILL.md +1327 -0
  81. package/packaged-assets/.agents/skills/rt-exploit-jwt/workflow.md +68 -0
  82. package/packaged-assets/.agents/skills/rt-exploit-mongodb/SKILL.md +67 -0
  83. package/packaged-assets/.agents/skills/rt-exploit-mssql/SKILL.md +52 -0
  84. package/packaged-assets/.agents/skills/rt-exploit-mysql/SKILL.md +53 -0
  85. package/packaged-assets/.agents/skills/rt-exploit-network/SKILL.md +118 -0
  86. package/packaged-assets/.agents/skills/rt-exploit-network/workflow.md +68 -0
  87. package/packaged-assets/.agents/skills/rt-exploit-nodejs/SKILL.md +852 -0
  88. package/packaged-assets/.agents/skills/rt-exploit-osticket/SKILL.md +63 -0
  89. package/packaged-assets/.agents/skills/rt-exploit-phishing/SKILL.md +173 -0
  90. package/packaged-assets/.agents/skills/rt-exploit-phishing/templates/README.md +4 -0
  91. package/packaged-assets/.agents/skills/rt-exploit-phishing/workflow.md +68 -0
  92. package/packaged-assets/.agents/skills/rt-exploit-php/SKILL.md +1119 -0
  93. package/packaged-assets/.agents/skills/rt-exploit-physical/SKILL.md +63 -0
  94. package/packaged-assets/.agents/skills/rt-exploit-physical/workflow.md +68 -0
  95. package/packaged-assets/.agents/skills/rt-exploit-postgresql/SKILL.md +67 -0
  96. package/packaged-assets/.agents/skills/rt-exploit-python/SKILL.md +986 -0
  97. package/packaged-assets/.agents/skills/rt-exploit-redis/SKILL.md +68 -0
  98. package/packaged-assets/.agents/skills/rt-exploit-ruby/SKILL.md +61 -0
  99. package/packaged-assets/.agents/skills/rt-exploit-scada/SKILL.md +1091 -0
  100. package/packaged-assets/.agents/skills/rt-exploit-ssrf/SKILL.md +1528 -0
  101. package/packaged-assets/.agents/skills/rt-exploit-ssrf/payloads.txt +23 -0
  102. package/packaged-assets/.agents/skills/rt-exploit-ssrf/workflow.md +68 -0
  103. package/packaged-assets/.agents/skills/rt-exploit-vishing/SKILL.md +121 -0
  104. package/packaged-assets/.agents/skills/rt-exploit-vishing/scripts.md +4 -0
  105. package/packaged-assets/.agents/skills/rt-exploit-web/SKILL.md +1902 -0
  106. package/packaged-assets/.agents/skills/rt-exploit-web/owasp-checklist.csv +14 -0
  107. package/packaged-assets/.agents/skills/rt-exploit-web/workflow.md +68 -0
  108. package/packaged-assets/.agents/skills/rt-exploit-wireless/SKILL.md +71 -0
  109. package/packaged-assets/.agents/skills/rt-exploit-wordpress/SKILL.md +1565 -0
  110. package/packaged-assets/.agents/skills/rt-exploit-wordpress/cves.csv +7 -0
  111. package/packaged-assets/.agents/skills/rt-exploit-wordpress/workflow.md +68 -0
  112. package/packaged-assets/.agents/skills/rt-exploit-xss/SKILL.md +1526 -0
  113. package/packaged-assets/.agents/skills/rt-exploit-xss/payloads.txt +18 -0
  114. package/packaged-assets/.agents/skills/rt-exploit-xss/workflow.md +68 -0
  115. package/packaged-assets/.agents/skills/rt-finding-document/SKILL.md +687 -0
  116. package/packaged-assets/.agents/skills/rt-finding-document/template.md +71 -0
  117. package/packaged-assets/.agents/skills/rt-finding-document/workflow.md +68 -0
  118. package/packaged-assets/.agents/skills/rt-finding-tracker/SKILL.md +216 -0
  119. package/packaged-assets/.agents/skills/rt-finding-tracker/workflow.md +68 -0
  120. package/packaged-assets/.agents/skills/rt-help/SKILL.md +292 -0
  121. package/packaged-assets/.agents/skills/rt-help/workflow.md +68 -0
  122. package/packaged-assets/.agents/skills/rt-js-analysis/SKILL.md +639 -0
  123. package/packaged-assets/.agents/skills/rt-js-analysis/patterns.txt +27 -0
  124. package/packaged-assets/.agents/skills/rt-js-analysis/workflow.md +68 -0
  125. package/packaged-assets/.agents/skills/rt-kill-chain-map/SKILL.md +393 -0
  126. package/packaged-assets/.agents/skills/rt-lateral-movement/SKILL.md +1032 -0
  127. package/packaged-assets/.agents/skills/rt-lateral-movement/workflow.md +68 -0
  128. package/packaged-assets/.agents/skills/rt-methodology-selector/SKILL.md +69 -0
  129. package/packaged-assets/.agents/skills/rt-methodology-selector/frameworks.csv +10 -0
  130. package/packaged-assets/.agents/skills/rt-methodology-selector/workflow.md +68 -0
  131. package/packaged-assets/.agents/skills/rt-mitre-map/SKILL.md +668 -0
  132. package/packaged-assets/.agents/skills/rt-mitre-map/tactics.csv +16 -0
  133. package/packaged-assets/.agents/skills/rt-mitre-map/workflow.md +68 -0
  134. package/packaged-assets/.agents/skills/rt-osint/SKILL.md +775 -0
  135. package/packaged-assets/.agents/skills/rt-osint/osint-sources.csv +12 -0
  136. package/packaged-assets/.agents/skills/rt-osint/workflow.md +68 -0
  137. package/packaged-assets/.agents/skills/rt-party-mode/SKILL.md +249 -0
  138. package/packaged-assets/.agents/skills/rt-party-mode/workflow.md +68 -0
  139. package/packaged-assets/.agents/skills/rt-persistence/SKILL.md +1146 -0
  140. package/packaged-assets/.agents/skills/rt-persistence/workflow.md +68 -0
  141. package/packaged-assets/.agents/skills/rt-poc-writer/SKILL.md +640 -0
  142. package/packaged-assets/.agents/skills/rt-post-exploitation/SKILL.md +998 -0
  143. package/packaged-assets/.agents/skills/rt-post-exploitation/linux-checklist.csv +10 -0
  144. package/packaged-assets/.agents/skills/rt-post-exploitation/windows-checklist.csv +10 -0
  145. package/packaged-assets/.agents/skills/rt-post-exploitation/workflow.md +68 -0
  146. package/packaged-assets/.agents/skills/rt-privilege-escalation/SKILL.md +1027 -0
  147. package/packaged-assets/.agents/skills/rt-privilege-escalation/linux-checklist.csv +10 -0
  148. package/packaged-assets/.agents/skills/rt-privilege-escalation/win-checklist.csv +10 -0
  149. package/packaged-assets/.agents/skills/rt-privilege-escalation/workflow.md +68 -0
  150. package/packaged-assets/.agents/skills/rt-remediation-roadmap/SKILL.md +665 -0
  151. package/packaged-assets/.agents/skills/rt-remediation-roadmap/template.md +28 -0
  152. package/packaged-assets/.agents/skills/rt-risk-matrix/SKILL.md +232 -0
  153. package/packaged-assets/.agents/skills/rt-rules-of-engagement/SKILL.md +62 -0
  154. package/packaged-assets/.agents/skills/rt-rules-of-engagement/workflow.md +68 -0
  155. package/packaged-assets/.agents/skills/rt-scenario-c001/SKILL.md +71 -0
  156. package/packaged-assets/.agents/skills/rt-scenario-c002/SKILL.md +69 -0
  157. package/packaged-assets/.agents/skills/rt-scenario-c003/SKILL.md +71 -0
  158. package/packaged-assets/.agents/skills/rt-scenario-c004/SKILL.md +71 -0
  159. package/packaged-assets/.agents/skills/rt-scenario-c005/SKILL.md +72 -0
  160. package/packaged-assets/.agents/skills/rt-scenario-d001/SKILL.md +378 -0
  161. package/packaged-assets/.agents/skills/rt-scenario-d002/SKILL.md +392 -0
  162. package/packaged-assets/.agents/skills/rt-scenario-d003/SKILL.md +522 -0
  163. package/packaged-assets/.agents/skills/rt-scenario-d004/SKILL.md +373 -0
  164. package/packaged-assets/.agents/skills/rt-scenario-d005/SKILL.md +458 -0
  165. package/packaged-assets/.agents/skills/rt-scenario-library/SKILL.md +292 -0
  166. package/packaged-assets/.agents/skills/rt-scenario-library/scenarios.csv +32 -0
  167. package/packaged-assets/.agents/skills/rt-scenario-m001/SKILL.md +796 -0
  168. package/packaged-assets/.agents/skills/rt-scenario-m002/SKILL.md +723 -0
  169. package/packaged-assets/.agents/skills/rt-scenario-m003/SKILL.md +463 -0
  170. package/packaged-assets/.agents/skills/rt-scenario-m004/SKILL.md +449 -0
  171. package/packaged-assets/.agents/skills/rt-scenario-m005/SKILL.md +505 -0
  172. package/packaged-assets/.agents/skills/rt-scenario-n001/SKILL.md +573 -0
  173. package/packaged-assets/.agents/skills/rt-scenario-n002/SKILL.md +112 -0
  174. package/packaged-assets/.agents/skills/rt-scenario-n003/SKILL.md +100 -0
  175. package/packaged-assets/.agents/skills/rt-scenario-n004/SKILL.md +90 -0
  176. package/packaged-assets/.agents/skills/rt-scenario-n005/SKILL.md +71 -0
  177. package/packaged-assets/.agents/skills/rt-scenario-w001/SKILL.md +635 -0
  178. package/packaged-assets/.agents/skills/rt-scenario-w002/SKILL.md +612 -0
  179. package/packaged-assets/.agents/skills/rt-scenario-w003/SKILL.md +449 -0
  180. package/packaged-assets/.agents/skills/rt-scenario-w004/SKILL.md +648 -0
  181. package/packaged-assets/.agents/skills/rt-scenario-w005/SKILL.md +479 -0
  182. package/packaged-assets/.agents/skills/rt-scenario-w006/SKILL.md +443 -0
  183. package/packaged-assets/.agents/skills/rt-scenario-w007/SKILL.md +494 -0
  184. package/packaged-assets/.agents/skills/rt-scenario-w008/SKILL.md +576 -0
  185. package/packaged-assets/.agents/skills/rt-scenario-w009/SKILL.md +518 -0
  186. package/packaged-assets/.agents/skills/rt-scenario-w010/SKILL.md +574 -0
  187. package/packaged-assets/.agents/skills/rt-scope-definition/SKILL.md +79 -0
  188. package/packaged-assets/.agents/skills/rt-scope-definition/workflow.md +68 -0
  189. package/packaged-assets/.agents/skills/rt-shodan-recon/SKILL.md +880 -0
  190. package/packaged-assets/.agents/skills/rt-status/SKILL.md +64 -0
  191. package/packaged-assets/.agents/skills/rt-subdomain-enum/SKILL.md +906 -0
  192. package/packaged-assets/.agents/skills/rt-subdomain-enum/workflow.md +68 -0
  193. package/packaged-assets/.agents/skills/rt-technical-report/SKILL.md +710 -0
  194. package/packaged-assets/.agents/skills/rt-technical-report/template.md +41 -0
  195. package/packaged-assets/.agents/skills/rt-technical-report/workflow.md +68 -0
  196. package/packaged-assets/.agents/skills/rt-threat-model/SKILL.md +59 -0
  197. package/packaged-assets/.agents/skills/rt-threat-model/template.md +32 -0
  198. package/packaged-assets/.agents/skills/rt-threat-model/workflow.md +68 -0
  199. package/packaged-assets/.agents/skills/rt-timeline/SKILL.md +338 -0
  200. package/packaged-assets/RTEXIT.md +127 -0
  201. package/tools/installer/lib/asset-manifest.js +10 -5
  202. package/tools/installer/lib/copy-assets.js +5 -2
  203. /package/{_rtexit → packaged-assets/_rtexit}/config.toml +0 -0
  204. /package/{_rtexit → packaged-assets/_rtexit}/config.user.toml +0 -0
  205. /package/{_rtexit → packaged-assets/_rtexit}/custom/config.toml +0 -0
  206. /package/{_rtexit → packaged-assets/_rtexit}/scripts/autodoc_engine.py +0 -0
  207. /package/{_rtexit → packaged-assets/_rtexit}/scripts/finding_tracker.py +0 -0
  208. /package/{_rtexit → packaged-assets/_rtexit}/scripts/resolve_config.py +0 -0
  209. /package/{_rtexit → packaged-assets/_rtexit}/scripts/resolve_customization.py +0 -0
  210. /package/{resources → packaged-assets/resources}/certifications.md +0 -0
  211. /package/{resources → packaged-assets/resources}/payloads.md +0 -0
  212. /package/{resources → packaged-assets/resources}/tools.md +0 -0
  213. /package/{resources → packaged-assets/resources}/wordlists.md +0 -0
  214. /package/{templates → packaged-assets/templates}/attack-chain-template.md +0 -0
  215. /package/{templates → packaged-assets/templates}/executive-report-template.md +0 -0
  216. /package/{templates → packaged-assets/templates}/executive-report.md +0 -0
  217. /package/{templates → packaged-assets/templates}/finding-template.md +0 -0
  218. /package/{templates → packaged-assets/templates}/remediation-roadmap.md +0 -0
  219. /package/{templates → packaged-assets/templates}/sead-template.md +0 -0
  220. /package/{templates → packaged-assets/templates}/technical-report.md +0 -0
@@ -0,0 +1,68 @@
1
+ # Workflow - rt-exploit-jwt
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-exploit-jwt --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,67 @@
1
+ ---
2
+ name: rt-exploit-mongodb
3
+ description: "MongoDB security assessment skill for authorized exposure validation, access control review, NoSQL injection testing, TLS, backup posture, audit logging, and remediation."
4
+ ---
5
+
6
+ # rt-exploit-mongodb - MongoDB Assessment
7
+
8
+ ## Overview
9
+
10
+ MongoDB risk usually appears as public exposure, weak authentication, permissive roles, missing TLS, unvalidated query objects, or sensitive data in collections. This skill emphasizes safe NoSQL injection testing and configuration review.
11
+
12
+ ## Prerequisites
13
+
14
+ - In-scope cluster/database/application endpoint.
15
+ - Test users and role expectations.
16
+ - Approved test records or collection.
17
+ - Data sampling limits.
18
+
19
+ ## Assessment Areas
20
+
21
+ | Area | Checks |
22
+ |---|---|
23
+ | Exposure | Public listener, Atlas network access, firewall rules. |
24
+ | Authentication | Auth enabled, SCRAM/OIDC/IAM integration, shared users. |
25
+ | Authorization | Role scope, database separation, admin privileges. |
26
+ | Transport | TLS enforcement. |
27
+ | NoSQL Injection | Operator injection through JSON/filter inputs. |
28
+ | Backups | Snapshot access, public exports, retention. |
29
+ | Logging | Audit events and suspicious query visibility. |
30
+
31
+ ## Workflow
32
+
33
+ 1. Confirm cluster and role scope.
34
+ 2. Inventory exposure, auth, TLS, and roles.
35
+ 3. Map application query inputs that accept objects or filters.
36
+ 4. Validate NoSQLi only against approved test records.
37
+ 5. Review sensitive collection access by role.
38
+ 6. Recommend schema validation and role reduction.
39
+
40
+ ## Evidence
41
+
42
+ Capture role summaries, redacted connection settings, paired app requests, and test-record behavior. Do not export production collections.
43
+
44
+ ## Remediation
45
+
46
+ - Restrict network access.
47
+ - Enforce authentication and TLS.
48
+ - Reduce roles.
49
+ - Validate schemas and allowlist operators.
50
+ - Avoid passing raw user JSON into queries.
51
+ - Monitor suspicious reads and auth failures.
52
+
53
+
54
+ ## Finding Examples
55
+
56
+ | Finding | Severity Driver |
57
+ |---|---|
58
+ | Public MongoDB listener | Internet data exposure risk. |
59
+ | Weak role separation | Excess collection access. |
60
+ | Raw filter injection | Authorization bypass or data exposure. |
61
+ | Missing TLS | Credential and data interception. |
62
+
63
+ ## Autodoc
64
+
65
+ ```bash
66
+ python _rtexit/scripts/autodoc_engine.py log --skill rt-exploit-mongodb --phase exploitation --cmd "MongoDB posture review" --output "redacted database risk summary"
67
+ ```
@@ -0,0 +1,52 @@
1
+ ---
2
+ name: rt-exploit-mssql
3
+ description: "Microsoft SQL Server assessment skill for authorized exposure review, authentication mode, role permissions, linked servers, encryption, application-layer injection, and remediation."
4
+ ---
5
+
6
+ # rt-exploit-mssql - Microsoft SQL Server Assessment
7
+
8
+ ## Overview
9
+
10
+ MSSQL environments often connect identity, Windows administration, linked servers, application permissions, and sensitive business data. This skill reviews risk without enabling disruptive features or modifying production state.
11
+
12
+ ## Prerequisites
13
+
14
+ - Approved instance list or application endpoint.
15
+ - Test account/role.
16
+ - Clear prohibition or approval for configuration changes.
17
+ - Data access and evidence limits.
18
+
19
+ ## Assessment Areas
20
+
21
+ | Area | Checks |
22
+ |---|---|
23
+ | Exposure | Listener exposure, named instances, firewall rules. |
24
+ | Authentication | Windows vs mixed mode, weak SQL logins, service accounts. |
25
+ | Roles | sysadmin, db_owner, impersonation, unsafe grants. |
26
+ | Features | Risky features enabled without business need. |
27
+ | Linked Servers | Trust relationships and credential delegation. |
28
+ | Encryption | Force encryption, certificate posture, TDE where needed. |
29
+ | App Layer | Injection, stored procedure misuse, overprivileged app role. |
30
+
31
+ ## Workflow
32
+
33
+ 1. Confirm instance and role scope.
34
+ 2. Inventory version, authentication mode, encryption, and privileges.
35
+ 3. Review linked server and service account exposure.
36
+ 4. Validate application injection with safe evidence only.
37
+ 5. Map impact to data classification and Windows/AD relationships.
38
+ 6. Document remediation by DBA and application owners.
39
+
40
+ ## Evidence
41
+
42
+ Use configuration screenshots, role summaries, redacted query behavior, and application request pairs. Avoid enabling features or dumping tables unless explicitly approved.
43
+
44
+ ## Remediation
45
+
46
+ - Use Windows/managed identity where appropriate.
47
+ - Remove unnecessary sysadmin/db_owner.
48
+ - Restrict linked servers.
49
+ - Enforce encryption.
50
+ - Parameterize application queries.
51
+ - Audit privileged actions and failed logins.
52
+
@@ -0,0 +1,53 @@
1
+ ---
2
+ name: rt-exploit-mysql
3
+ description: "MySQL security assessment skill for authorized configuration review, privilege analysis, exposure validation, SQL injection impact scoping, logging, backup posture, and remediation."
4
+ ---
5
+
6
+ # rt-exploit-mysql - MySQL Assessment
7
+
8
+ ## Overview
9
+
10
+ MySQL findings usually combine application-layer injection, excessive database privileges, weak network exposure, insecure backups, or missing encryption. This skill keeps validation scoped and evidence minimal.
11
+
12
+ ## Prerequisites
13
+
14
+ - Database host/port or application endpoint in scope.
15
+ - Approved account or application test role.
16
+ - Data sampling limits.
17
+ - Permission for configuration review if direct DB access is provided.
18
+
19
+ ## Assessment Areas
20
+
21
+ | Area | Checks |
22
+ |---|---|
23
+ | Exposure | Public listener, firewall rules, allowed source networks. |
24
+ | Authentication | Root remote login, weak/shared users, password policy. |
25
+ | Privileges | FILE, SUPER, CREATE USER, GRANT OPTION, broad schema rights. |
26
+ | Transport | TLS requirement and certificate posture. |
27
+ | Application Queries | Parameterization and stored procedure usage. |
28
+ | Backups | Public dumps, weak storage permissions, retention. |
29
+ | Logging | Audit logs, slow query logs, failed login visibility. |
30
+
31
+ ## Workflow
32
+
33
+ 1. Confirm whether testing is direct database review or app-mediated.
34
+ 2. Inventory version, exposure, and account privileges.
35
+ 3. Validate injection impact with approved test data only.
36
+ 4. Review whether application role can access unnecessary schemas.
37
+ 5. Review sensitive data handling and backup locations.
38
+ 6. Convert issues into least-privilege and query-safety recommendations.
39
+
40
+ ## Evidence
41
+
42
+ Capture version, privilege summaries, endpoint proof, redacted query behavior, and screenshots. Do not dump production tables.
43
+
44
+ ## Remediation
45
+
46
+ - Parameterized queries.
47
+ - Least-privilege application users.
48
+ - Disable remote root access.
49
+ - Enforce TLS for database connections.
50
+ - Restrict network access.
51
+ - Protect and encrypt backups.
52
+ - Add database activity monitoring.
53
+
@@ -0,0 +1,118 @@
1
+ ---
2
+ name: rt-exploit-network
3
+ description: "Authorized network penetration testing workflow for service discovery, exposure validation, segmentation review, identity controls, evidence handling, and remediation planning."
4
+ ---
5
+
6
+ # rt-exploit-network - Network Security Testing
7
+
8
+ > Network testing can affect availability. Confirm scope, scan windows, rate limits, and emergency contacts before any active validation.
9
+
10
+ ## Overview
11
+
12
+ This skill covers internal and external network assessment from inventory through risk validation. It is designed to produce a controlled map of exposed services, weak configurations, segmentation issues, and identity/control gaps without turning the engagement into uncontrolled exploitation.
13
+
14
+ ## Prerequisites
15
+
16
+ - In-scope CIDRs, hostnames, and excluded ranges.
17
+ - Approved source IPs and scan windows.
18
+ - Contact path for SOC/NOC notifications.
19
+ - Tool rate limits and packet restrictions.
20
+ - Permission level: external, internal unauthenticated, or internal authenticated.
21
+
22
+ ## Skill Levels
23
+
24
+ | Level | Activities |
25
+ |---|---|
26
+ | BEGINNER | Asset inventory, banner review, TLS/port exposure summary. |
27
+ | INTERMEDIATE | Service validation, weak protocol checks, segmentation review. |
28
+ | ADVANCED | Attack-path modeling from network exposure to business impact. |
29
+ | EXPERT | Architecture-level recommendations and detection engineering notes. |
30
+
31
+ ## Workflow
32
+
33
+ ### Step 1 - Scope and Safety
34
+
35
+ Create a test card:
36
+
37
+ | Field | Value |
38
+ |---|---|
39
+ | CIDR/Host | [value] |
40
+ | Source IP | [value] |
41
+ | Window | [value] |
42
+ | Rate Limit | [value] |
43
+ | Exclusions | [value] |
44
+ | Emergency Stop | [contact] |
45
+
46
+ ### Step 2 - Inventory
47
+
48
+ Start with the least intrusive method available:
49
+
50
+ - Existing asset inventory from the client.
51
+ - Passive DNS and cloud inventory.
52
+ - Approved lightweight host discovery.
53
+ - Approved service enumeration.
54
+
55
+ Record host, port, protocol, service, version confidence, owner, and exposure.
56
+
57
+ ### Step 3 - Prioritization
58
+
59
+ Prioritize:
60
+
61
+ - Internet-exposed administrative services.
62
+ - Legacy protocols such as SMBv1, Telnet, FTP, old TLS, SNMP community exposure.
63
+ - Weak remote access controls.
64
+ - Unauthenticated data services.
65
+ - Flat network paths between user zones and server/admin zones.
66
+ - Services with known critical CVEs.
67
+
68
+ ### Step 4 - Validation
69
+
70
+ Validate safely:
71
+
72
+ - Confirm service identity.
73
+ - Confirm authentication requirement.
74
+ - Confirm encryption posture.
75
+ - Confirm version if reliable.
76
+ - Confirm whether compensating controls exist.
77
+
78
+ Avoid disruptive checks unless explicitly approved.
79
+
80
+ ### Step 5 - Segmentation Review
81
+
82
+ Build a matrix:
83
+
84
+ | Source Zone | Destination Zone | Allowed? | Expected? | Risk |
85
+ |---|---|---|---|---|
86
+ | User LAN | Server VLAN | [yes/no] | [yes/no] | [notes] |
87
+
88
+ ### Step 6 - Findings
89
+
90
+ Common finding families:
91
+
92
+ - Exposed management service.
93
+ - Weak or deprecated protocol.
94
+ - Missing network segmentation.
95
+ - Unauthenticated service access.
96
+ - Excessive firewall allow rules.
97
+ - Insecure remote administration.
98
+ - Missing logging and alerting.
99
+
100
+ ## Evidence
101
+
102
+ Use screenshots, service banners, TLS reports, packet captures when approved, and redacted tool output.
103
+
104
+ ## Remediation
105
+
106
+ - Restrict management ports by VPN/jump host.
107
+ - Enforce MFA for remote access.
108
+ - Disable legacy protocols.
109
+ - Patch externally exposed services first.
110
+ - Segment user, server, admin, and backup zones.
111
+ - Add alerting for scanning and authentication anomalies.
112
+
113
+ ## Autodoc
114
+
115
+ ```bash
116
+ python _rtexit/scripts/autodoc_engine.py log --skill rt-exploit-network --phase exploitation --cmd "[network validation summary]" --output "[redacted output]"
117
+ ```
118
+
@@ -0,0 +1,68 @@
1
+ # Workflow - rt-exploit-network
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-exploit-network --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