opencode-skills-collection 4.0.68 → 4.0.69

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 (309) hide show
  1. package/bundled-skills/.antigravity-install-manifest.json +266 -1
  2. package/bundled-skills/access-review/SKILL.md +394 -0
  3. package/bundled-skills/access-review/references/details.md +121 -0
  4. package/bundled-skills/agent-evals/SKILL.md +420 -0
  5. package/bundled-skills/agent-observability/SKILL.md +346 -0
  6. package/bundled-skills/agent-observability/references/details.md +786 -0
  7. package/bundled-skills/ai-agent-security/SKILL.md +393 -0
  8. package/bundled-skills/ai-agent-security/references/details.md +912 -0
  9. package/bundled-skills/ai-coding-agent-guardrails/SKILL.md +442 -0
  10. package/bundled-skills/ai-coding-agent-guardrails/references/details.md +753 -0
  11. package/bundled-skills/ai-inference-service-mesh/SKILL.md +449 -0
  12. package/bundled-skills/ai-pipeline-orchestration/SKILL.md +287 -0
  13. package/bundled-skills/ai-red-teaming/SKILL.md +409 -0
  14. package/bundled-skills/ai-security-hardening/SKILL.md +343 -0
  15. package/bundled-skills/ai-sre-incident-response/SKILL.md +336 -0
  16. package/bundled-skills/alerting-oncall/SKILL.md +458 -0
  17. package/bundled-skills/alerting-oncall/references/details.md +84 -0
  18. package/bundled-skills/apk-redteam-pipeline/SKILL.md +446 -0
  19. package/bundled-skills/argocd-gitops/SKILL.md +469 -0
  20. package/bundled-skills/arm-templates/SKILL.md +438 -0
  21. package/bundled-skills/arm-templates/references/details.md +64 -0
  22. package/bundled-skills/asset-inventory/SKILL.md +412 -0
  23. package/bundled-skills/asset-inventory/references/details.md +127 -0
  24. package/bundled-skills/audit-logging/SKILL.md +476 -0
  25. package/bundled-skills/aws-cloudtrail/SKILL.md +486 -0
  26. package/bundled-skills/aws-cost-optimization/SKILL.md +331 -0
  27. package/bundled-skills/aws-ec2/SKILL.md +426 -0
  28. package/bundled-skills/aws-ecs-fargate/SKILL.md +388 -0
  29. package/bundled-skills/aws-iam/SKILL.md +463 -0
  30. package/bundled-skills/aws-lambda/SKILL.md +428 -0
  31. package/bundled-skills/aws-rds/SKILL.md +380 -0
  32. package/bundled-skills/aws-s3/SKILL.md +434 -0
  33. package/bundled-skills/aws-secrets-manager/SKILL.md +486 -0
  34. package/bundled-skills/aws-vpc/SKILL.md +436 -0
  35. package/bundled-skills/azure-ai-document-intelligence-ts/SKILL.md +1 -1
  36. package/bundled-skills/azure-aks/SKILL.md +423 -0
  37. package/bundled-skills/azure-devops/SKILL.md +457 -0
  38. package/bundled-skills/azure-functions-devsec/SKILL.md +436 -0
  39. package/bundled-skills/azure-keyvault/SKILL.md +455 -0
  40. package/bundled-skills/azure-keyvault/references/details.md +83 -0
  41. package/bundled-skills/azure-monitor-audit/SKILL.md +379 -0
  42. package/bundled-skills/azure-networking/SKILL.md +448 -0
  43. package/bundled-skills/azure-networking/references/details.md +135 -0
  44. package/bundled-skills/azure-sql/SKILL.md +413 -0
  45. package/bundled-skills/azure-sql/references/details.md +113 -0
  46. package/bundled-skills/azure-vms/SKILL.md +402 -0
  47. package/bundled-skills/azure-vms/references/details.md +134 -0
  48. package/bundled-skills/backup-recovery/SKILL.md +388 -0
  49. package/bundled-skills/bb-methodology/SKILL.md +451 -0
  50. package/bundled-skills/bb-methodology/references/details.md +120 -0
  51. package/bundled-skills/block-storage/SKILL.md +371 -0
  52. package/bundled-skills/blue-green-deploy/SKILL.md +453 -0
  53. package/bundled-skills/blue-green-deploy/references/details.md +90 -0
  54. package/bundled-skills/bug-bounty/SKILL.md +447 -0
  55. package/bundled-skills/bug-bounty/references/details.md +1316 -0
  56. package/bundled-skills/bugcrowd-reporting/SKILL.md +351 -0
  57. package/bundled-skills/business-continuity/SKILL.md +463 -0
  58. package/bundled-skills/career-ops/SKILL.md +186 -0
  59. package/bundled-skills/cdn-setup/SKILL.md +374 -0
  60. package/bundled-skills/change-management/SKILL.md +438 -0
  61. package/bundled-skills/change-management/references/details.md +105 -0
  62. package/bundled-skills/circleci/SKILL.md +475 -0
  63. package/bundled-skills/cis-benchmarks/SKILL.md +150 -0
  64. package/bundled-skills/cloudflare-pages/SKILL.md +318 -0
  65. package/bundled-skills/cloudflare-r2/SKILL.md +353 -0
  66. package/bundled-skills/cloudflare-workers/SKILL.md +415 -0
  67. package/bundled-skills/cloudflare-zero-trust/SKILL.md +361 -0
  68. package/bundled-skills/cloudformation/SKILL.md +461 -0
  69. package/bundled-skills/constraint-driven-development/SKILL.md +335 -0
  70. package/bundled-skills/constraint-driven-development/references/floor-guard.md +99 -0
  71. package/bundled-skills/container-hardening/SKILL.md +126 -0
  72. package/bundled-skills/container-registries/SKILL.md +435 -0
  73. package/bundled-skills/container-scanning/SKILL.md +416 -0
  74. package/bundled-skills/convex-backend/SKILL.md +338 -0
  75. package/bundled-skills/dast-scanning/SKILL.md +437 -0
  76. package/bundled-skills/database-backups/SKILL.md +425 -0
  77. package/bundled-skills/datadog/SKILL.md +487 -0
  78. package/bundled-skills/dependency-scanning/SKILL.md +457 -0
  79. package/bundled-skills/devcontainers-nix/SKILL.md +416 -0
  80. package/bundled-skills/disaster-recovery/SKILL.md +374 -0
  81. package/bundled-skills/disaster-recovery/references/details.md +219 -0
  82. package/bundled-skills/dns-management/SKILL.md +375 -0
  83. package/bundled-skills/docker-compose/SKILL.md +482 -0
  84. package/bundled-skills/docker-management/SKILL.md +426 -0
  85. package/bundled-skills/ebpf-observability/SKILL.md +436 -0
  86. package/bundled-skills/ebpf-observability/references/details.md +542 -0
  87. package/bundled-skills/elk-stack/SKILL.md +487 -0
  88. package/bundled-skills/enterprise-vpn-attack/SKILL.md +395 -0
  89. package/bundled-skills/evidence-hygiene/SKILL.md +404 -0
  90. package/bundled-skills/feature-flags/SKILL.md +426 -0
  91. package/bundled-skills/feature-flags/references/details.md +86 -0
  92. package/bundled-skills/fedramp-compliance/SKILL.md +453 -0
  93. package/bundled-skills/firebase-app-platform/SKILL.md +381 -0
  94. package/bundled-skills/firewall-config/SKILL.md +479 -0
  95. package/bundled-skills/gcp-audit-logs/SKILL.md +452 -0
  96. package/bundled-skills/gcp-audit-logs/references/details.md +56 -0
  97. package/bundled-skills/gcp-cloud-functions/SKILL.md +284 -0
  98. package/bundled-skills/gcp-cloud-sql/SKILL.md +277 -0
  99. package/bundled-skills/gcp-compute/SKILL.md +319 -0
  100. package/bundled-skills/gcp-gke/SKILL.md +307 -0
  101. package/bundled-skills/gcp-networking/SKILL.md +293 -0
  102. package/bundled-skills/gcp-secret-manager/SKILL.md +421 -0
  103. package/bundled-skills/gcp-secret-manager/references/details.md +131 -0
  104. package/bundled-skills/gdpr-compliance/SKILL.md +451 -0
  105. package/bundled-skills/gdpr-compliance/references/details.md +145 -0
  106. package/bundled-skills/geo-audit/SKILL.md +368 -0
  107. package/bundled-skills/geo-brand-mentions/SKILL.md +68 -0
  108. package/bundled-skills/geo-brand-mentions/references/details.md +471 -0
  109. package/bundled-skills/geo-citability/SKILL.md +350 -0
  110. package/bundled-skills/geo-compare/SKILL.md +340 -0
  111. package/bundled-skills/geo-content/SKILL.md +383 -0
  112. package/bundled-skills/geo-crawlers/SKILL.md +408 -0
  113. package/bundled-skills/geo-llmstxt/SKILL.md +464 -0
  114. package/bundled-skills/geo-platform-optimizer/SKILL.md +314 -0
  115. package/bundled-skills/geo-proposal/SKILL.md +378 -0
  116. package/bundled-skills/geo-prospect/SKILL.md +225 -0
  117. package/bundled-skills/geo-report/SKILL.md +436 -0
  118. package/bundled-skills/geo-report-pdf/SKILL.md +157 -0
  119. package/bundled-skills/geo-schema/SKILL.md +408 -0
  120. package/bundled-skills/geo-technical/SKILL.md +78 -0
  121. package/bundled-skills/geo-technical/references/details.md +543 -0
  122. package/bundled-skills/git-workflow/SKILL.md +460 -0
  123. package/bundled-skills/github-actions/SKILL.md +368 -0
  124. package/bundled-skills/gitlab-ci/SKILL.md +340 -0
  125. package/bundled-skills/gpu-kubernetes-operations/SKILL.md +468 -0
  126. package/bundled-skills/gpu-server-management/SKILL.md +236 -0
  127. package/bundled-skills/hashicorp-vault/SKILL.md +408 -0
  128. package/bundled-skills/helm-charts/SKILL.md +469 -0
  129. package/bundled-skills/hipaa-compliance/SKILL.md +451 -0
  130. package/bundled-skills/hunt-aspnet/SKILL.md +321 -0
  131. package/bundled-skills/hunt-ato/SKILL.md +184 -0
  132. package/bundled-skills/hunt-auth-bypass/SKILL.md +426 -0
  133. package/bundled-skills/hunt-auth-bypass/references/details.md +80 -0
  134. package/bundled-skills/hunt-brute-force/SKILL.md +341 -0
  135. package/bundled-skills/hunt-business-logic/SKILL.md +281 -0
  136. package/bundled-skills/hunt-cache-poison/SKILL.md +382 -0
  137. package/bundled-skills/hunt-captcha-bypass/SKILL.md +136 -0
  138. package/bundled-skills/hunt-cicd/SKILL.md +311 -0
  139. package/bundled-skills/hunt-clickjacking/SKILL.md +110 -0
  140. package/bundled-skills/hunt-cors/SKILL.md +335 -0
  141. package/bundled-skills/hunt-dom/SKILL.md +323 -0
  142. package/bundled-skills/hunt-exceptional-conditions/SKILL.md +111 -0
  143. package/bundled-skills/hunt-file-upload/SKILL.md +202 -0
  144. package/bundled-skills/hunt-fintech-graphql/SKILL.md +289 -0
  145. package/bundled-skills/hunt-forgot-password/SKILL.md +114 -0
  146. package/bundled-skills/hunt-grpc/SKILL.md +317 -0
  147. package/bundled-skills/hunt-host-header/SKILL.md +309 -0
  148. package/bundled-skills/hunt-html-injection/SKILL.md +106 -0
  149. package/bundled-skills/hunt-http-smuggling/SKILL.md +129 -0
  150. package/bundled-skills/hunt-http-smuggling/references/phase2h-smuggling-cachepoison.md +177 -0
  151. package/bundled-skills/hunt-idor/SKILL.md +434 -0
  152. package/bundled-skills/hunt-jwt-crypto/SKILL.md +221 -0
  153. package/bundled-skills/hunt-k8s/SKILL.md +337 -0
  154. package/bundled-skills/hunt-laravel/SKILL.md +255 -0
  155. package/bundled-skills/hunt-ldap/SKILL.md +351 -0
  156. package/bundled-skills/hunt-lfi/SKILL.md +311 -0
  157. package/bundled-skills/hunt-llm-ai/SKILL.md +289 -0
  158. package/bundled-skills/hunt-mfa-bypass/SKILL.md +177 -0
  159. package/bundled-skills/hunt-misc/SKILL.md +378 -0
  160. package/bundled-skills/hunt-nextjs/SKILL.md +299 -0
  161. package/bundled-skills/hunt-nodejs/SKILL.md +263 -0
  162. package/bundled-skills/hunt-nosqli/SKILL.md +210 -0
  163. package/bundled-skills/hunt-ntlm-info/SKILL.md +314 -0
  164. package/bundled-skills/hunt-oauth/SKILL.md +459 -0
  165. package/bundled-skills/hunt-open-redirect/SKILL.md +223 -0
  166. package/bundled-skills/hunt-race-condition/SKILL.md +381 -0
  167. package/bundled-skills/hunt-race-condition/references/details.md +159 -0
  168. package/bundled-skills/hunt-rag-vector/SKILL.md +212 -0
  169. package/bundled-skills/hunt-rce/SKILL.md +444 -0
  170. package/bundled-skills/hunt-rce/references/details.md +110 -0
  171. package/bundled-skills/hunt-saml/SKILL.md +156 -0
  172. package/bundled-skills/hunt-session/SKILL.md +342 -0
  173. package/bundled-skills/hunt-shadow-api/SKILL.md +198 -0
  174. package/bundled-skills/hunt-source-leak/SKILL.md +345 -0
  175. package/bundled-skills/hunt-spa-api/SKILL.md +163 -0
  176. package/bundled-skills/hunt-springboot/SKILL.md +285 -0
  177. package/bundled-skills/hunt-sqli/SKILL.md +466 -0
  178. package/bundled-skills/hunt-ssrf/SKILL.md +396 -0
  179. package/bundled-skills/hunt-ssrf/references/details.md +179 -0
  180. package/bundled-skills/hunt-ssti/SKILL.md +163 -0
  181. package/bundled-skills/hunt-subdomain/SKILL.md +379 -0
  182. package/bundled-skills/hunt-tls-network/SKILL.md +399 -0
  183. package/bundled-skills/hunt-xxe/SKILL.md +466 -0
  184. package/bundled-skills/i-have-adhd/SKILL.md +170 -0
  185. package/bundled-skills/identity-access-management/SKILL.md +382 -0
  186. package/bundled-skills/identity-access-management/references/details.md +524 -0
  187. package/bundled-skills/incident-management/SKILL.md +484 -0
  188. package/bundled-skills/incident-response/SKILL.md +448 -0
  189. package/bundled-skills/incident-response/references/details.md +113 -0
  190. package/bundled-skills/interview-me/SKILL.md +248 -0
  191. package/bundled-skills/iso27001-compliance/SKILL.md +460 -0
  192. package/bundled-skills/jenkins/SKILL.md +462 -0
  193. package/bundled-skills/jev-use/SKILL.md +158 -0
  194. package/bundled-skills/kubernetes-hardening/SKILL.md +154 -0
  195. package/bundled-skills/kubernetes-ops/SKILL.md +449 -0
  196. package/bundled-skills/kubernetes-ops/references/details.md +108 -0
  197. package/bundled-skills/kustomize/SKILL.md +478 -0
  198. package/bundled-skills/linux-administration/SKILL.md +367 -0
  199. package/bundled-skills/linux-hardening/SKILL.md +154 -0
  200. package/bundled-skills/llm-app-security/SKILL.md +389 -0
  201. package/bundled-skills/llm-app-security/references/details.md +674 -0
  202. package/bundled-skills/llm-caching/SKILL.md +334 -0
  203. package/bundled-skills/llm-cost-optimization/SKILL.md +311 -0
  204. package/bundled-skills/llm-fine-tuning/SKILL.md +329 -0
  205. package/bundled-skills/llm-gateway/SKILL.md +282 -0
  206. package/bundled-skills/llm-inference-scaling/SKILL.md +286 -0
  207. package/bundled-skills/llmops-platform-engineering/SKILL.md +472 -0
  208. package/bundled-skills/load-balancing/SKILL.md +403 -0
  209. package/bundled-skills/loki-logging/SKILL.md +479 -0
  210. package/bundled-skills/m365-entra-attack/SKILL.md +423 -0
  211. package/bundled-skills/mac-mini-llm-lab/SKILL.md +350 -0
  212. package/bundled-skills/mcp-server-security/SKILL.md +356 -0
  213. package/bundled-skills/mcp-server-security/references/details.md +745 -0
  214. package/bundled-skills/mdm-device-management/SKILL.md +404 -0
  215. package/bundled-skills/mdm-device-management/references/details.md +410 -0
  216. package/bundled-skills/meme-coin-audit/SKILL.md +402 -0
  217. package/bundled-skills/mid-engagement-ir-detection/SKILL.md +377 -0
  218. package/bundled-skills/model-registry-governance/SKILL.md +452 -0
  219. package/bundled-skills/model-serving-kubernetes/SKILL.md +339 -0
  220. package/bundled-skills/model-supply-chain-security/SKILL.md +427 -0
  221. package/bundled-skills/mongodb/SKILL.md +436 -0
  222. package/bundled-skills/multi-tenant-llm-hosting/SKILL.md +435 -0
  223. package/bundled-skills/multi-tenant-llm-hosting/references/details.md +211 -0
  224. package/bundled-skills/mysql/SKILL.md +390 -0
  225. package/bundled-skills/new-relic/SKILL.md +472 -0
  226. package/bundled-skills/nfs-storage/SKILL.md +356 -0
  227. package/bundled-skills/object-storage/SKILL.md +378 -0
  228. package/bundled-skills/offensive-osint/SKILL.md +443 -0
  229. package/bundled-skills/okta-attack/SKILL.md +436 -0
  230. package/bundled-skills/ollama-stack/SKILL.md +379 -0
  231. package/bundled-skills/openclaw-deployment-hardening/SKILL.md +135 -0
  232. package/bundled-skills/openclaw-local-mac-mini/SKILL.md +426 -0
  233. package/bundled-skills/openclaw-local-mac-mini/references/details.md +221 -0
  234. package/bundled-skills/openclaw-security-hardening/SKILL.md +135 -0
  235. package/bundled-skills/openshift/SKILL.md +485 -0
  236. package/bundled-skills/opentelemetry/SKILL.md +438 -0
  237. package/bundled-skills/opentelemetry/references/details.md +78 -0
  238. package/bundled-skills/opentofu-migration/SKILL.md +349 -0
  239. package/bundled-skills/osint-methodology/SKILL.md +460 -0
  240. package/bundled-skills/osint-methodology/references/details.md +1350 -0
  241. package/bundled-skills/pci-dss-compliance/SKILL.md +446 -0
  242. package/bundled-skills/penetration-testing/SKILL.md +152 -0
  243. package/bundled-skills/performance-tuning/SKILL.md +381 -0
  244. package/bundled-skills/planetscale/SKILL.md +297 -0
  245. package/bundled-skills/platform-engineering/SKILL.md +348 -0
  246. package/bundled-skills/platform-engineering/references/details.md +944 -0
  247. package/bundled-skills/podman/SKILL.md +405 -0
  248. package/bundled-skills/policy-as-code/SKILL.md +434 -0
  249. package/bundled-skills/policy-as-code/references/details.md +204 -0
  250. package/bundled-skills/postgresql-devsec/SKILL.md +378 -0
  251. package/bundled-skills/prometheus-grafana/SKILL.md +469 -0
  252. package/bundled-skills/prompt-injection-defense/SKILL.md +483 -0
  253. package/bundled-skills/rag-infrastructure/SKILL.md +269 -0
  254. package/bundled-skills/rag-observability-evals/SKILL.md +444 -0
  255. package/bundled-skills/rag-observability-evals/references/details.md +92 -0
  256. package/bundled-skills/recon-scope-triage/SKILL.md +128 -0
  257. package/bundled-skills/redis/SKILL.md +421 -0
  258. package/bundled-skills/redteam-report-template/SKILL.md +370 -0
  259. package/bundled-skills/report-writing/SKILL.md +426 -0
  260. package/bundled-skills/report-writing/references/details.md +187 -0
  261. package/bundled-skills/reverse-proxy/SKILL.md +420 -0
  262. package/bundled-skills/runbook-creation/SKILL.md +438 -0
  263. package/bundled-skills/runbook-creation/references/details.md +71 -0
  264. package/bundled-skills/saas-security-posture/SKILL.md +415 -0
  265. package/bundled-skills/sast-scanning/SKILL.md +444 -0
  266. package/bundled-skills/sbom-supply-chain/SKILL.md +433 -0
  267. package/bundled-skills/security-arsenal/SKILL.md +446 -0
  268. package/bundled-skills/security-arsenal/references/details.md +540 -0
  269. package/bundled-skills/security-automation/SKILL.md +146 -0
  270. package/bundled-skills/semantic-versioning/SKILL.md +434 -0
  271. package/bundled-skills/semantic-versioning/references/details.md +83 -0
  272. package/bundled-skills/service-mesh/SKILL.md +422 -0
  273. package/bundled-skills/soc2-compliance/SKILL.md +409 -0
  274. package/bundled-skills/sops-encryption/SKILL.md +124 -0
  275. package/bundled-skills/sre-dashboards/SKILL.md +143 -0
  276. package/bundled-skills/ssh-configuration/SKILL.md +324 -0
  277. package/bundled-skills/ssl-tls-management/SKILL.md +428 -0
  278. package/bundled-skills/ssl-tls-management/references/details.md +99 -0
  279. package/bundled-skills/startup-it-troubleshooting/SKILL.md +415 -0
  280. package/bundled-skills/supply-chain-attack-recon/SKILL.md +453 -0
  281. package/bundled-skills/supply-chain-attack-recon/references/details.md +258 -0
  282. package/bundled-skills/systemd-services/SKILL.md +379 -0
  283. package/bundled-skills/terraform-aws/SKILL.md +125 -0
  284. package/bundled-skills/terraform-azure/SKILL.md +415 -0
  285. package/bundled-skills/terraform-azure/references/details.md +231 -0
  286. package/bundled-skills/terraform-gcp/SKILL.md +369 -0
  287. package/bundled-skills/threat-modeling/SKILL.md +487 -0
  288. package/bundled-skills/user-management/SKILL.md +383 -0
  289. package/bundled-skills/using-agent-skills/SKILL.md +220 -0
  290. package/bundled-skills/vector-database-ops/SKILL.md +300 -0
  291. package/bundled-skills/vendor-management/SKILL.md +439 -0
  292. package/bundled-skills/vendor-management/references/details.md +109 -0
  293. package/bundled-skills/vercel-deployments/SKILL.md +296 -0
  294. package/bundled-skills/vllm-server/SKILL.md +236 -0
  295. package/bundled-skills/vmware-vcenter-attack/SKILL.md +412 -0
  296. package/bundled-skills/vpn-setup/SKILL.md +452 -0
  297. package/bundled-skills/vulnerability-scanning/SKILL.md +448 -0
  298. package/bundled-skills/waf-setup/SKILL.md +354 -0
  299. package/bundled-skills/waf-setup/references/details.md +211 -0
  300. package/bundled-skills/web2-recon/SKILL.md +440 -0
  301. package/bundled-skills/web2-recon/references/details.md +319 -0
  302. package/bundled-skills/web3-audit/SKILL.md +445 -0
  303. package/bundled-skills/web3-audit/references/details.md +224 -0
  304. package/bundled-skills/windows-hardening/SKILL.md +454 -0
  305. package/bundled-skills/windows-hardening/references/details.md +204 -0
  306. package/bundled-skills/windows-server/SKILL.md +318 -0
  307. package/bundled-skills/zero-trust/SKILL.md +461 -0
  308. package/package.json +1 -1
  309. package/skills_index.json +6943 -323
@@ -0,0 +1,1350 @@
1
+ # Details (moved from SKILL.md)
2
+
3
+ > Extended reference content for `osint-methodology`, kept under `references/` so the entrypoint stays within the audit budget.
4
+
5
+ ## 8. Asset Graph Discipline
6
+
7
+ Treat every discovery as a typed asset in a graph, not a free-floating string.
8
+
9
+ ### 8.1 Asset Taxonomy (29 types)
10
+
11
+ | Category | Asset Types |
12
+ |---|---|
13
+ | **DNS / Network** | `domain`, `subdomain`, `ip`, `netblock`, `asn` |
14
+ | **Service** | `port`, `service`, `certificate` |
15
+ | **Identity** | `email`, `person`, `credential` |
16
+ | **Code / Config** | `repo`, `secret` |
17
+ | **Cloud / Storage** | `bucket`, `firebase_project` |
18
+ | **Web** | `webapp`, `wayback_endpoint`, `api_endpoint`, `api_spec`, `graphql_schema` |
19
+ | **Mobile** | `mobile_app`, `deep_link`, `exported_component` |
20
+ | **Phishing / Adversarial** | `typosquat_domain` |
21
+ | **Collaboration / SaaS** | `postman_collection`, `postman_workspace`, `postman_api_key`, `stack_post`, `saas_public_surface` |
22
+
23
+ ### 8.2 Asset Schema
24
+
25
+ Every asset carries:
26
+ - `type` — one of the 29 above.
27
+ - `key` — unique dedup id (typed prefix, e.g. `sub:api.example.com`, `email:alice@example.com`).
28
+ - `value` — the actual string/object.
29
+ - `sources[]` — every source that confirmed this asset (deduplicated).
30
+ - `confidence` — TENTATIVE / FIRM / CONFIRMED.
31
+ - `first_seen`, `last_seen` — UTC timestamps.
32
+ - `attrs{}` — type-specific metadata (e.g., for a `webapp`: status_code, title, tech-stack list, JARM, favicon mmh3, screenshot path).
33
+
34
+ ### 8.3 Edge Taxonomy
35
+
36
+ Relationships are typed edges, not text:
37
+ `RESOLVES_TO`, `HOSTED_ON`, `IN_NETBLOCK`, `BELONGS_TO_ASN`, `LISTED_IN_CERT`, `OWNED_BY`, `ALIAS_OF`, `BREACHED_FROM`, `EMPLOYED_BY`, `HOSTS_REPO`, `TYPOSQUAT_OF`, `EXPOSES`, `DOCUMENTED_BY`, `BELONGS_TO_HOST`, `REQUIRES_AUTH`, `LEAKS_SCHEMA`, `SHIPPED_BY_ORG`, `CONTAINS_SECRET`, `TALKS_TO_HOST`, `EXPOSES_DEEPLINK`, `HAS_EXPORTED_COMPONENT`, `USES_FIREBASE_PROJECT`, `LACKS_PINNING_FOR`.
38
+
39
+ ### 8.4 Discipline rules
40
+
41
+ - **Every discovery is an asset.** Don't write findings against free-floating strings; create the asset first, then attach the finding.
42
+ - **Dedup by key, not by value.** Same value, different type ≠ same asset (`sub:api.example.com` and `webapp:https://api.example.com/` are different assets with a `BELONGS_TO_HOST` edge).
43
+ - **Provenance is non-negotiable.** `sources[]` must list every source. If two sources confirmed it, both go in.
44
+ - **Confidence is per-source, then aggregated.** A subdomain returned by 3 passive sources is FIRM; one returned by snippet-only Bing is TENTATIVE.
45
+ - **Late binding via sidecars.** When module A produces output that module B needs, write a JSON sidecar (`mobile_endpoints.json`, `secrets_sidecar.json`) — don't block module B on module A. See §24.
46
+
47
+ ### 8.5 Asset-Level Triage Rules
48
+
49
+ When you have a mixed bag of assets and limited probe budget, prioritize by what each asset *enables*:
50
+
51
+ **WebApp priority by hostname signal (highest first):**
52
+
53
+ 1. Auth-related hostnames (`auth.`, `login.`, `sso.`, `idp.`, `accounts.`, `oauth.`).
54
+ 2. Admin paths (`/admin`, `/dashboard`, `/console`, `/manager`, `/wp-admin`, `/phpmyadmin`).
55
+ 3. Dev/staging hosts (`dev.`, `staging.`, `stg.`, `qa.`, `uat.`, `test.`, `sandbox.`, `preprod.`, `preview.`) — lower defenses, often dump prod data.
56
+ 4. API hostnames (`api.`, `services.`, `gateway.`, `graph.`).
57
+ 5. Customer-facing hostnames (`portal.`, `app.`, `my.`, `account.`).
58
+ 6. Marketing / content (`www.`, `blog.`, `news.`, `careers.`, `support.`).
59
+
60
+ **Subdomain priority by inferred function:**
61
+
62
+ - API > Admin > Dev > Auth > Prod-app > Marketing.
63
+
64
+ **IP priority by netblock:**
65
+
66
+ - Corporate ASN-owned (most likely to host unadvertised internal infra).
67
+ - Cloud netblocks (AWS / GCP / Azure / DO / OVH) — high turnover but interesting for cloud-native services.
68
+ - CDN ranges (Cloudflare / Akamai / Fastly) — usually edge, not origin; defer unless doing origin discovery.
69
+
70
+ **Email priority by role hint:**
71
+
72
+ | Role indicator | Priority | Why |
73
+ |---|---|---|
74
+ | `ceo@`, `cfo@`, `cto@`, `ciso@` | HIGHEST | Exec accounts have highest breach value (BEC, finance authority, board access). |
75
+ | `it@`, `helpdesk@`, `support@`, `security@` | HIGH | IT/security accounts have privileged tool access; helpdesk accounts handle reset workflows. |
76
+ | `dev`, `engineer`, `architect`, `dba` | MEDIUM | Developer accounts often have GitHub / cloud / CI access. |
77
+ | `sales`, `marketing`, `hr`, `finance` | MEDIUM | SaaS access (Salesforce, HubSpot, Workday); finance enables BEC. |
78
+ | Generic role accounts (`info@`, `noreply@`, `contact@`) | LOW | Often unmonitored or alias forwarded; less personal context. |
79
+
80
+ **Repo priority by recency + naming:**
81
+
82
+ - Recently-pushed (last 30 days) > stale.
83
+ - Public repo with target name in description > target name only in code.
84
+ - Forked from internal-looking parent > standalone.
85
+ - Mentions `prod`, `internal`, `private`, `secret` in name → priority HIGH despite being public (may be misnamed or accidentally exposed).
86
+
87
+ **Application order:** when you have N assets and budget for M probes (M < N), apply asset-type priority first, then within-type priority. E.g.: 50 subdomains → probe API + admin + dev first (~15), then auth + prod-app (~20), defer marketing/content to a later pass.
88
+
89
+ ---
90
+
91
+
92
+ ## 9. Findings Rubric & Severity Mapping
93
+
94
+ Severity is operational, not subjective. Use these anchors:
95
+
96
+ ### 9.1 CRITICAL
97
+
98
+ Pre-auth code execution, confirmed valid credentials, listable production data, fundamental trust violations.
99
+
100
+ Examples:
101
+ - `.git/config` exposed on production webapp (full source-code disclosure).
102
+ - `/.env` exposed (credentials in plaintext, often DB / cloud / API).
103
+ - Spring Boot `/actuator/env` or `/actuator/heapdump` reachable unauthenticated.
104
+ - Listable S3 / GCS / Azure bucket containing user data.
105
+ - Unauthenticated POST/PUT/DELETE to a write endpoint that mutates state.
106
+ - Open Firebase Realtime Database (`https://{project}.firebaseio.com/.json` returns data).
107
+ - `android:debuggable=true` in a production Android app.
108
+ - Live-validated credential (PMAK, AWS key, Anthropic/OpenAI key) with broad scope.
109
+ - ≥10 employees compromised in a breach corpus + their tenant identified (SSO_EXPOSURE).
110
+ - Open Elasticsearch cluster (`/_cat/indices` returns data).
111
+ - Open Docker API (`/v1.40/containers/json` returns containers).
112
+ - Open Redis (no AUTH; can write `authorized_keys`).
113
+ - Open Kubernetes API server with anonymous-auth enabled.
114
+ - Open kubelet on 10250 (pod exec without auth).
115
+ - Open etcd on 2379 (cluster state and secrets).
116
+ - BlueKeep-vulnerable RDP, EternalBlue-vulnerable SMB.
117
+ - Citrix Netscaler / F5 BIG-IP with version-specific RCE CVE.
118
+
119
+ ### 9.2 HIGH
120
+
121
+ Significant exposure but not yet RCE; clear path to escalation; high-value information disclosure.
122
+
123
+ Examples:
124
+ - Public secret in a GitHub repo (PAT, AWS key, Slack token, etc.).
125
+ - Sourcemap (`.js.map`) accessible — full original-source disclosure of frontend.
126
+ - Open GraphQL introspection on production (full schema leaked → mutations to enum).
127
+ - Subdomain takeover possible (CNAME points to unclaimed Heroku/Shopify/etc.).
128
+ - Reflected CORS with credentials (`Access-Control-Allow-Origin: <reflected>` + `Access-Control-Allow-Credentials: true`).
129
+ - Verb tampering: hidden DELETE/PATCH on an endpoint that publicly only allows GET.
130
+ - Missing HSTS on a sensitive path (`/login`, `/sso`, `/admin`, `/auth`) — escalated from MED.
131
+ - Exposed Jenkins/Tomcat-Manager/phpMyAdmin admin UI (no auth or default creds).
132
+ - Telnet (port 23) reachable.
133
+ - WebView with JS bridge in a mobile app (XSS → RCE potential).
134
+ - Sensitive deep-link handler in a mobile app.
135
+ - DMARC policy `p=none` on production sending domain (spoof-feasible).
136
+ - Vendor product banner with known unpatched CVE (KEV-listed).
137
+
138
+ ### 9.3 MEDIUM
139
+
140
+ Information disclosure, hardening gaps, brute-force exposure.
141
+
142
+ Examples:
143
+ - Missing security headers on standard pages: HSTS, CSP.
144
+ - Apache `/server-status` or `/server-info` reachable.
145
+ - `phpinfo()` or `/info.php` reachable on dev/staging only.
146
+ - Internal IP / hostname / K8s service DNS leaked in JS.
147
+ - Schema leakage in error pages (stack traces, ORM signatures).
148
+ - `android:allowBackup=true` in Android app.
149
+ - `android:usesCleartextTraffic=true` in Android app.
150
+ - Exported activity/service without `android:permission` protection.
151
+ - Missing rate-limit on an API endpoint.
152
+ - Wildcard CORS (`Access-Control-Allow-Origin: *`) on an API that returns user-tied data (no creds).
153
+ - Slack webhook URL leaked.
154
+ - Twilio Account SID leaked (without auth token).
155
+ - SPF record permissive (`+all` or many includes).
156
+
157
+ ### 9.4 LOW
158
+
159
+ Cosmetic or marginal hardening gaps.
160
+
161
+ Examples:
162
+ - Missing `X-Frame-Options`.
163
+ - Missing `X-Content-Type-Options`.
164
+ - `.DS_Store` exposed.
165
+ - Stripe **test** key leaked.
166
+ - Firebase URL exposed (URL only, no open RTDB).
167
+ - Certificate pinning missing in mobile app.
168
+ - Outdated WordPress install detected (no known exploit yet).
169
+ - BIMI not configured (brand impersonation risk only).
170
+
171
+ ### 9.5 INFO
172
+
173
+ Worth recording, no action required immediately.
174
+
175
+ Examples:
176
+ - Missing `Referrer-Policy` / `Permissions-Policy`.
177
+ - Discovered `/.well-known/security.txt`.
178
+ - `robots.txt` reveals interesting paths.
179
+ - Private bucket exists but is locked down.
180
+ - Domain detected in a breach corpus with 0 employee accounts.
181
+ - DNSSEC not enabled.
182
+
183
+ ### 9.6 Severity escalation rules
184
+
185
+ - HSTS missing on auth/login/SSO/admin path → **MED → HIGH**.
186
+ - Wildcard CORS + credentials → **MED → HIGH**.
187
+ - Wildcard CORS + sensitive endpoint → **LOW → MED**.
188
+ - API endpoint with score ≥70 on the interest rubric (companion skill §20) → at least **HIGH**.
189
+ - Domain breach severity ≥10 employees → **CRITICAL** regardless of stale-data caveats.
190
+ - Vendor product version matches CISA KEV entry → **CRITICAL**.
191
+ - DMARC `p=reject` + SPF strict + DKIM rotated → no escalation; well-postured.
192
+
193
+ ---
194
+
195
+
196
+ ## 10. Bug-Bounty / Red-Team Pivot Modes
197
+
198
+ Existing investigative work (threat-actor research, doxxing investigations, attribution) operates under different posture than offensive recon. Switch posture explicitly.
199
+
200
+ | Aspect | Investigative Mode | Offensive Recon Mode |
201
+ |---|---|---|
202
+ | **Probing rate** | Slow, single-threaded, blend with normal traffic. | Bursts, parallel, but rate-limited per provider. |
203
+ | **OpSec posture** | Sock-puppet only, never reveal investigator. | Persona may be the engagement persona; team may notify SOC. |
204
+ | **Evidence handling** | Court-grade chain of custody; hashes, timestamps, screenshots. | Engagement-grade; same hashing/timestamp discipline but evidence is for the client report. |
205
+ | **Severity in scope** | All severity levels relevant for context. | CRIT/HIGH/MED matter; LOW/INFO often dropped from exec summary. |
206
+ | **Authorization posture** | Public-record / OSINT-only; no probing private resources without authorization. | Written rules of engagement; explicit scope; explicit out-of-scope list. |
207
+ | **Reporting format** | Narrative + sourced timeline. | Per-asset findings + remediation + reproduction steps. |
208
+ | **Stop conditions** | When the question is answered. | When the engagement window closes OR when the report is delivered. |
209
+
210
+ When you're working with the user, ask which mode they're in if it's unclear from context.
211
+
212
+ ### 10.1 Scale-Based Tactics
213
+
214
+ Org size shapes which techniques pay off.
215
+
216
+ **Small org (< 100 employees):**
217
+ - Executive accounts disproportionately matter; one CEO/CFO compromise often hands you the keys.
218
+ - Email harvest is small enough to enumerate exhaustively (10–50 emails total).
219
+ - Likely Microsoft 365 or Google Workspace; identity fabric is one tenant.
220
+ - Code repos often public on GitHub under personal accounts (founders moved from solo dev).
221
+ - Cloud presence often single-account AWS or GCP project.
222
+ - Tactics: deep on every email + every identity-fabric finding; full LinkedIn enum; check founders' personal GitHub orgs.
223
+
224
+ **Medium org (100–1K):**
225
+ - Balanced enumeration. Email list is enumerable but not exhaustive.
226
+ - Identity fabric likely one IdP but with multiple SaaS tenants (Slack workspace, Notion org, GitHub org).
227
+ - Mobile apps possible; check both stores.
228
+ - Cloud presence multi-account or multi-region.
229
+ - Tactics: full pipeline at standard depth; sample-and-deepen on each asset class; LinkedIn priority by role.
230
+
231
+ **Large org (1K–10K):**
232
+ - Email enum becomes lossy (sample top roles); breach hits scale up.
233
+ - Multi-tenant identity fabric (often Entra + Okta + multiple Auth0 customers).
234
+ - Mobile apps, multiple Android packages from different teams.
235
+ - Cloud presence sprawling; subsidiaries / acquisitions complicate scope.
236
+ - Tactics: breadth-first; rely on automation for asset discovery; manual triage on findings.
237
+
238
+ **Very large org (10K+) or conglomerate:**
239
+ - Brand-pivot maps before anything else: enumerate every brand domain, every subsidiary.
240
+ - Breach corpus dominates: 10K+ employees mean significant past-breach exposure.
241
+ - Identity fabric may differ per business unit (legal entity boundaries).
242
+ - Tactics: scope pruning is the most important step; sampling + automation throughout; deep dive only on high-priority findings.
243
+
244
+ **Cross-scale principle:** the smaller the org, the more individual-account focus pays off. The larger the org, the more systemic posture findings (DMARC gaps, SSO_EXPOSURE breadth, vendor-product version sweeps) pay off.
245
+
246
+ ---
247
+
248
+
249
+ ## 11. Identity Fabric Mapping
250
+
251
+ An organization's IdP/SSO posture is a high-value target: compromise the identity fabric and you don't need to break into individual apps. Map it methodically.
252
+
253
+ ### 11.1 Subdomain prefix enumeration
254
+
255
+ Probe these prefixes against the target's root domain (and any sibling brand domains discovered):
256
+
257
+ ```
258
+ auth.{domain}
259
+ login.{domain}
260
+ sso.{domain}
261
+ idp.{domain}
262
+ iam.{domain}
263
+ identity.{domain}
264
+ accounts.{domain}
265
+ oauth.{domain}
266
+ ```
267
+
268
+ Plus generic OIDC discovery on every alive subdomain:
269
+ ```
270
+ {any-host}/.well-known/openid-configuration
271
+ ```
272
+
273
+ ### 11.2 Microsoft Entra (Azure AD)
274
+
275
+ - **OIDC metadata + tenant GUID extraction** — fetch `https://login.microsoftonline.com/{tenant-or-domain}/.well-known/openid-configuration`. The `issuer` field returns a URL containing the tenant GUID (8-4-4-4-12 hex format). Tenant GUID + domain = stable tenant fingerprint.
276
+ - **getuserrealm.srf** — `https://login.microsoftonline.com/getuserrealm.srf?login=<user>@<domain>` returns NameSpaceType: `Managed` (cloud-native), `Federated` (on-prem ADFS / external IdP), or `Unknown`. Detectability: low.
277
+ - **Autodiscover v2** — `https://autodiscover-s.outlook.com/autodiscover/metadata/json/1` POST with email; detects tenant membership.
278
+ - **GetCredentialType** (deep-mode user-enum) — `https://login.microsoftonline.com/common/GetCredentialType` POST `{"username": "<email>"}`. Response indicates whether email exists in tenant. Detectability: medium. Cap attempts at 20 per tenant.
279
+
280
+ ### 11.3 Okta
281
+
282
+ - **Org slug derivation** — derive candidate slugs from subdomains + root domain stem; Okta tenants live at `<slug>.okta.com` (or `<slug>.oktapreview.com`).
283
+ - **OIDC fingerprint** — `https://<slug>.okta.com/.well-known/openid-configuration`.
284
+ - **/api/v1/authn user-enum** (deep-mode) — POST `{"username": "<email>", "password": "invalid"}`. 400 vs 401 response code indicates user existence. Detectability: medium. Cap at 20 per tenant.
285
+
286
+ ### 11.4 ADFS
287
+
288
+ - **Passive fingerprint** — GET `https://{domain}/adfs/idpinitiatedsignon.aspx` → 200 indicates ADFS present.
289
+ - **Active mex endpoint** (deep-mode) — `https://{domain}/adfs/Services/Trust/mex` returns SOAP metadata.
290
+
291
+ ### 11.5 Google Workspace
292
+
293
+ - `https://{domain}/.well-known/openid-configuration` — Google-hosted-domain customers expose discovery endpoints with characteristic issuer/JWKS URIs.
294
+ - MX records pointing to `*.googlemail.com` / `aspmx.l.google.com` is a strong Google Workspace signal.
295
+
296
+ ### 11.6 Generic OIDC (Keycloak / Auth0 / Ping / OneLogin / Duo)
297
+
298
+ - Probe every alive subdomain for `/.well-known/openid-configuration`.
299
+ - The `issuer` and `authorization_endpoint` fields fingerprint the IdP product.
300
+ - `*.auth0.com`, `*.onelogin.com`, `*.pingone.com`, `*.duosecurity.com` patterns are characteristic.
301
+
302
+ ### 11.7 SAML metadata
303
+
304
+ Probe these paths on every alive webapp:
305
+
306
+ ```
307
+ /saml/metadata
308
+ /FederationMetadata/2007-06/FederationMetadata.xml
309
+ /federationmetadata/2007-06/federationmetadata.xml
310
+ /simplesaml/saml2/idp/metadata.php
311
+ /auth/saml2/metadata
312
+ ```
313
+
314
+ SAML metadata XML contains: `EntityID`, signing certs, `SingleSignOnService` URL, `NameIDFormat`.
315
+
316
+ ### 11.8 AWS account-ID extraction
317
+
318
+ - **S3 bucket region header** — HEAD on a known target bucket returns `x-amz-bucket-region`; correlate with bucket-name entropy to infer account.
319
+ - **ARN regex in JSON / HTML responses** — search for `arn:aws:[a-z0-9-]+:[a-z0-9-]*:([0-9]{12}):` (the 12-digit AWS account ID is the capture group).
320
+ - **`AccountId` property in JS / API responses** — common in IAM-related error messages and CloudFormation outputs.
321
+ - **OAuth client_id leaks** — Google OAuth: `<digits>-<chars>.apps.googleusercontent.com`; MSAL: GUID in `clientId` property.
322
+
323
+ ### 11.9 Output
324
+
325
+ Each discovered IdP becomes a `Service` asset with `attrs.product`, `attrs.tenant_id`, `attrs.discovery_endpoint`. Then in Stage 4, correlate with breach data: every compromised user under a discovered tenant becomes an SSO_EXPOSURE finding (CRITICAL — see §22.3).
326
+
327
+ ### 11.10 Microsoft 365 Deep Surface
328
+
329
+ Beyond plain Entra fingerprinting, M365 exposes a wider attack surface that's worth enumerating in depth.
330
+
331
+ **Teams Federation:**
332
+
333
+ - `https://login.microsoftonline.com/<target-domain>/.well-known/openid-configuration` confirms tenant.
334
+ - Teams federation status: `https://teams.microsoft.com/api/mt/<region>/beta/users/<email>/externalsearchv3` (requires authenticated request from a federated tenant; useful for confirming whether external Teams chat is allowed).
335
+ - **External chat enabled** = soft-attack surface (vishing, smishing, "from-IT" pretexts via Teams chat).
336
+ - **Open Federation** (any tenant can chat) is the default; check whether the target restricted it.
337
+
338
+ **SharePoint subdomains:**
339
+
340
+ - `<target-stem>.sharepoint.com` — main tenant SharePoint.
341
+ - `<target-stem>-my.sharepoint.com` — OneDrive-for-Business URLs (per-user personal sites).
342
+ - `<target-stem>-admin.sharepoint.com` — SharePoint admin center (auth-required, but presence confirms tenancy).
343
+ - Where `<target-stem>` is derived from the company name (often the part before `.com`).
344
+
345
+ **OneDrive personal site enumeration:**
346
+
347
+ - Per-user OneDrive URL: `https://<target-stem>-my.sharepoint.com/personal/<user_email_with_underscore>/Documents/`.
348
+ - Replace `@` with `_` and `.` with `_` in the email (e.g., `alice@acme.com` → `alice_acme_com`).
349
+ - Authenticated probe; useful for confirming whether the OneDrive personal site has been provisioned (which itself is a presence indicator).
350
+
351
+ **M365 OAuth client_id discovery:**
352
+
353
+ - Many internal apps register OAuth client_ids in Entra. Search JS bundles, mobile-app strings, and API responses for `client_id=<GUID>` patterns.
354
+ - Microsoft's well-known first-party client_ids (for Office, Graph, etc.) are documented; finding non-Microsoft GUIDs reveals custom internal apps.
355
+ - The endpoint `https://login.microsoftonline.com/<tenant>/v2.0/.well-known/openid-configuration` lists supported endpoints; some tenants leave `device_authorization_endpoint` enabled (device-code phishing target).
356
+
357
+ **Power Platform / Power Apps:**
358
+
359
+ - `https://make.powerapps.com/environments` (auth-required); environment IDs sometimes leak in URLs.
360
+ - `*.crm.dynamics.com` (Dynamics 365 / Power Apps default URLs).
361
+ - `*.azurewebsites.net` for App Service deployments.
362
+
363
+ **M365 OAuth misconfig findings to look for:**
364
+
365
+ - `device_authorization_endpoint` enabled on `common` tenant (device-code phishing target) → **MEDIUM** (operational risk; not directly exploitable but enables attack).
366
+ - Custom OAuth app with `Public client` flow enabled and broad scopes (offline_access, Mail.Read, Files.Read.All) → **HIGH** if app is approved for the tenant.
367
+ - Multi-tenant OAuth app published by the target (others can consent) → check whether scopes include sensitive Graph permissions.
368
+
369
+ **Detectability:** all M365 endpoint probes log to Entra sign-in logs / audit logs (medium-low for fetch-only; medium for any auth attempt).
370
+
371
+ ---
372
+
373
+
374
+ ## 12. API & Auth-Map Methodology
375
+
376
+ Modern targets expose REST, GraphQL, and undocumented internal APIs. The OSINT goal is to enumerate them, classify them, and rank by attack interest.
377
+
378
+ ### 12.1 Discovery paths
379
+
380
+ - **Swagger / OpenAPI** — probe a 28-path wordlist (companion skill §16.1) on every alive webapp. Parse YAML/JSON; extract every endpoint (method + path).
381
+ - **GraphQL** — probe a 13-path wordlist (companion skill §16.2). POST a standard introspection query. If schema returns, you have full type/query/mutation/subscription enumeration.
382
+ - **GraphQL when introspection is disabled** — fall back to field-suggestion enumeration (companion skill §22.9).
383
+ - **Postman** — query Postman's public universal-search endpoint with the target name; walk each matching workspace; extract requests, headers, pre-request scripts, test scripts, env vars.
384
+ - **JS-extracted endpoints** — every endpoint extracted from JavaScript bundles feeds into the same classifier.
385
+ - **Mobile-extracted endpoints** — every endpoint from APK static analysis feeds in via sidecar (`mobile_endpoints.json`).
386
+
387
+ ### 12.2 Classification
388
+
389
+ For each endpoint, capture:
390
+
391
+ ```
392
+ url, method, source[], auth_required, auth_type, auth_location,
393
+ rate_limited, cors_policy, sensitive_path_keywords[], schema_leaks,
394
+ verb_tampering_possible, interest_score (0..100), interest_reasons[]
395
+ ```
396
+
397
+ How to determine each field:
398
+ - Send `OPTIONS` → `Allow` header reveals supported methods (verb tampering check).
399
+ - Send `GET` without auth → 200 = `auth_required=false`; 401/403 = `auth_required=true`.
400
+ - Capture response headers for `WWW-Authenticate` (auth_type), `RateLimit-*` / `X-RateLimit-*`.
401
+ - Send a request with `Origin: https://attacker.example` → response `Access-Control-Allow-Origin` reflected = `cors_policy=reflected`.
402
+ - Trigger an error → check response for stack traces, ORM hints.
403
+
404
+ ### 12.3 Interest score (0–100)
405
+
406
+ See companion skill §20 for the full rubric. **Score ≥ 70 → HIGH/CRITICAL finding** with `attack_path_hint` in evidence.
407
+
408
+ ### 12.4 Attack-path hints
409
+
410
+ When emitting a HIGH/CRITICAL finding, include a one-sentence attack-path hint in the evidence so the operator knows where to start exploiting. Templates in companion skill §39.
411
+
412
+ ---
413
+
414
+
415
+ ## 13. JavaScript Deep Analysis
416
+
417
+ For every alive webapp, scrape its JS — it's where modern frontends leak.
418
+
419
+ ### 13.1 Script discovery
420
+
421
+ - Parse HTML for `<script src="...">` and `<link rel="modulepreload" href="...">`.
422
+ - Probe a guess-path list (companion skill §16.9) for common bundlers.
423
+
424
+ ### 13.2 Sourcemap detection (HIGH info disclosure)
425
+
426
+ - Inline reference: regex `//[#@]\s*sourceMappingURL=` at end of bundle.
427
+ - Sibling fetch: try `<bundle>.map` next to every discovered JS.
428
+ - If accessible: parse the sourcemap's `sources[]` (leaks repo structure) and `sourcesContent[]` (full original source code embedded). Run the secret catalog over `sourcesContent[]`.
429
+ - Severity: HIGH `INFO_DISCLOSURE`.
430
+
431
+ ### 13.3 Secret scanning
432
+
433
+ Run the 29+-pattern catalog (companion skill §17) over every JS body and every parsed `sourcesContent[]` blob. Each hit = `SECRET_LEAK` finding with the catalog's per-pattern severity.
434
+
435
+ ### 13.4 Endpoint extraction
436
+
437
+ Three regex tiers (companion skill §16.10). Each unique endpoint becomes a `wayback_endpoint` asset and feeds into the API classifier in §12.
438
+
439
+ ### 13.5 Internal-host leakage detection
440
+
441
+ Three patterns (companion skill §16.11): RFC1918, internal DNS suffixes, K8s service DNS. Each match = MEDIUM `INFO_DISCLOSURE`.
442
+
443
+ ### 13.6 GraphQL introspection probe
444
+
445
+ When an extracted endpoint ends in `/graphql` or `/graphiql`, POST the standard introspection query. If schema returns → HIGH `MISCONFIG`. Then enumerate mutations and subscriptions for high-value targets.
446
+
447
+ ### 13.7 Next.js manifest parsing
448
+
449
+ `_buildManifest.js` and `_ssgManifest.js` enumerate every Next.js page route — exposes the application's full route structure.
450
+
451
+ ### 13.8 Budget guidelines
452
+
453
+ - Cap webapps analyzed per engagement: 40 default, 120 with `--deep`.
454
+ - Cap JS files per webapp: 40 default, 80 with `--deep`.
455
+ - Cap individual JS file size: 2 MiB.
456
+ - Per-file timeout: 10 seconds.
457
+
458
+ ---
459
+
460
+
461
+ ## 14. Mobile Attack Surface
462
+
463
+ Mobile apps are often the weakest link.
464
+
465
+ ### 14.1 App discovery
466
+
467
+ - **Android** — google-play-scraper. Search by company name, brand keywords, root domain stem.
468
+ - **iOS** — iTunes Search API.
469
+
470
+ ### 14.2 Ownership confidence (0–100)
471
+
472
+ See companion skill §21. Threshold: **≥70** for deep analysis.
473
+
474
+ ### 14.3 APK acquisition + static analysis
475
+
476
+ - Download via APKPure HTML scrape.
477
+ - Extract via `zipfile` + optional `androguard`.
478
+ - Pull: `AndroidManifest.xml`, resource strings, asset files, native `.so` files, `classes*.dex` (string-extract).
479
+
480
+ ### 14.4 Secret scanning
481
+
482
+ Run the catalog over manifest, resources, asset files, dex string-extract output.
483
+
484
+ ### 14.5 Backend hostname extraction
485
+
486
+ Every discovered hostname becomes a `subdomain` asset. Write sidecar `mobile_endpoints.json` for the API discovery module to consume.
487
+
488
+ ### 14.6 Manifest misconfig findings
489
+
490
+ | Manifest attribute | Severity |
491
+ |---|---|
492
+ | `android:debuggable="true"` | CRITICAL |
493
+ | `android:allowBackup="true"` (without whitelist) | MEDIUM |
494
+ | `android:usesCleartextTraffic="true"` | MEDIUM |
495
+ | Exported activity/service/receiver without `android:permission` | MEDIUM |
496
+ | Sensitive deep-link handler | HIGH |
497
+ | WebView with `setJavaScriptEnabled(true)` + `addJavascriptInterface(...)` | HIGH |
498
+ | Certificate pinning absent | LOW |
499
+
500
+ ### 14.7 Firebase canonical probe
501
+
502
+ For every Firebase project ID extracted:
503
+ - **Realtime DB** — GET `https://{project-id}.firebaseio.com/.json`. Returns JSON tree → CRITICAL `OPEN_FIREBASE_RTDB`.
504
+ - **Firestore** — `https://{project-id}.firebaseapp.com/`.
505
+ - **Storage** — corresponding GCS bucket.
506
+ - **Remote Config** — only readable with extracted API key + app ID.
507
+
508
+ ### 14.8 iOS path
509
+
510
+ - Discovery only via iTunes Search API.
511
+ - ITMS link extraction: `https://apps.apple.com/<region>/app/<slug>/id<bundle-id>`.
512
+ - Privacy nutrition labels (App Store Connect): publicly published; useful for understanding what data the app touches.
513
+ - Don't recommend auto-download (DMCA / DRM considerations).
514
+
515
+ ---
516
+
517
+
518
+ ## 15. Cloud Attack Surface
519
+
520
+ ### 15.1 Bucket permutation
521
+
522
+ Build candidate bucket names from: target's root domain, subdomain stems, optional brand/company name. Filter generic stems unless combined with target-identifying tokens. Apply 6 prefixes × 15 suffixes (companion skill §16.8 has the lists).
523
+
524
+ ### 15.2 Provider URL templates
525
+
526
+ S3, GCS, Azure Blob templates — see companion skill §16.8.
527
+
528
+ ### 15.3 Probe technique
529
+
530
+ - HEAD first. Status code 200/301 = exists; 403 = exists, private; 404 = skip.
531
+ - If exists, GET on bucket root. Listable XML/JSON listing → **CRITICAL**.
532
+
533
+ ### 15.4 Severity mapping
534
+
535
+ | Outcome | Severity |
536
+ |---|---|
537
+ | Bucket listable | CRITICAL |
538
+ | Bucket exists, objects readable by direct URL but not listable | HIGH |
539
+ | Bucket exists, ACL private | INFO |
540
+
541
+ ### 15.5 Adjacent cloud signals
542
+
543
+ Extract AWS account-ID from S3 region/error responses. GCP project ID from GCS error responses. Azure tenant ID from blob URL patterns.
544
+
545
+ ---
546
+
547
+
548
+ ## 16. Cryptocurrency Investigation
549
+
550
+ ### 16.1 Transaction Analysis
551
+
552
+ - Track flows between wallets; identify clusters of related addresses; monitor large transfers.
553
+
554
+ Tools: Cielo (multi-chain), TRM (graphs), Arkham (multichain + entity labels), MetaSleuth (visual), Range (CCTP), Socketscan (EVM bridge), Pulsy (bridge aggregator), Chainalysis Horizon 2.0 (paid), Elliptic Lens.
555
+
556
+ ### 16.2 Layer 2 / Rollup Analysis
557
+
558
+ - **zkSync Era / Polygon zkEVM** — ZK proofs hide L2 details; only L1 bridge events visible.
559
+ - **Arbitrum / Optimism** — batched/compressed; L2 state from L1 calldata.
560
+ - **StarkNet** — Cairo VM; different address derivation.
561
+ - **Base / Blast / Scroll** — OP Stack or ZK.
562
+ - **Privacy protocols on L2** — Aztec (programmable privacy), Railgun (shielded pools), Privacy Pools (Tornado Cash successor).
563
+
564
+ **Methodology:** start with L1 bridge events; use L2 explorers for in-rollup activity; for privacy protocols focus on timing analysis and clustering.
565
+
566
+ ### 16.3 Cautions
567
+
568
+ - Bridges introduce mint/burn semantics; avoid 1:1 flow assumptions.
569
+ - MEV/aggregator paths create false "direct" trails.
570
+ - L2 finality: optimistic rollups have 7-day challenge periods.
571
+
572
+ ### 16.4 Wallet / Exchange / NFT Profiling
573
+
574
+ Same patterns: age + activity + connections + balance over time + linked accounts. NFTs add ownership history + metadata + connected wallets.
575
+
576
+ ---
577
+
578
+
579
+ ## 17. Image Analysis
580
+
581
+ ### 17.1 Reverse Image Search
582
+
583
+ - Google Images / Lens (Lens may require auth — use sock-puppet incognito).
584
+ - Yandex Images (strongest for RU/East-European content).
585
+ - Bing Image Match, TinEye, Copyseeker, Perplexity Pro.
586
+ - Browser extensions: RevEye, Search by Image (multi-engine).
587
+ - Picarta for AI geolocation.
588
+
589
+ ### 17.2 Metadata (EXIF)
590
+
591
+ ExifTool, Jeffrey's Image Metadata Viewer, EXIF Viewer Pro.
592
+
593
+ ### 17.3 Image Forensics
594
+
595
+ Forensically, FotoForensics, Bellingcat Photo Checker, Sensity AI, Exposing.ai, Adobe Content Credentials Verify, c2patool. Techniques: ELA, metadata, clone detection, noise analysis.
596
+
597
+ ### 17.4 Geolocation Workflow
598
+
599
+ - **Foreground** — signs, license plates, clothing, vegetation, weather.
600
+ - **Background** — landmarks, unique buildings, mountains, water, infrastructure.
601
+ - **Map markings** — flora/fauna, seasonal indicators.
602
+ - **Trial and error** — Google Street View, Bing Streetside, Yandex Panorama.
603
+ - **Overpass Turbo** for OpenStreetMap queries.
604
+ - **Mountain ID** — PeakVisor, Peakfinder, PeakLens AR.
605
+ - **OCR** — Google or Yandex OCR.
606
+ - **Video transcripts** — YouTube captions improve keyword search.
607
+
608
+ ### 17.5 Specialized
609
+
610
+ - **Fire identification** — NASA FIRMS, Sentinel Hub, Global Forest Watch, Copernicus EFFIS.
611
+ - **Plane tracking** — Apollo Hunter, FlightRadar, ADS-B Exchange.
612
+
613
+ ---
614
+
615
+
616
+ ## 18. Video Analysis
617
+
618
+ ### 18.1 Context extraction
619
+
620
+ Signs/banners, architecture, road markings, license plates, clothing, cross-platform snippet search.
621
+
622
+ ### 18.2 Metadata
623
+
624
+ YouTube Data Viewer (Amnesty), ExifTool on downloaded files.
625
+
626
+ ### 18.3 Platform-specific
627
+
628
+ - **TikTok / Instagram** — APIs change often; prefer platform exports; sample 1–4h cadence.
629
+ - **Bluesky AT Protocol** — DID resolution via `bsky.social/xrpc/com.atproto.identity.resolveHandle`; identity doc via `plc.directory/<did>`; firehose at Firesky; SkyView for graphs. Archive early — handle migration / post deletion.
630
+ - **Mastodon / Fediverse** — instance matters (jurisdiction, logging); WebFinger for discovery; FediSearch cross-instance; instance enumeration via Fediverse Observer; ActivityPub objects are JSON-LD.
631
+ - **Threads** — IG-API-similar limitations.
632
+
633
+ ### 18.4 Auditory clues
634
+
635
+ Languages, dialects, background noises (train horns, prayer calls, wildlife). Tools: Audacity, Sonic Visualiser, SoundCMD. Spectrograms for unique patterns; Shazam/SoundHound for music.
636
+
637
+ ### 18.5 Frame extraction
638
+
639
+ FFmpeg, VLC. Stitch panoramas; stabilize panning footage (FFmpeg `deshake` or Blender VSE). Prefer original uploads over re-encodes.
640
+
641
+ ---
642
+
643
+
644
+ ## 19. Chronolocation and Time Analysis
645
+
646
+ ### 19.1 Shadow Analysis
647
+
648
+ Tools: SunCalc, ShadeMap, Bellingcat Shadow-Finder, NOAA Solar Calculator.
649
+
650
+ ### 19.2 Astronomical Calculations
651
+
652
+ Stellarium, SkyMap, MoonCalc to simulate sky at different times/locations.
653
+
654
+ ### 19.3 Satellite Imagery Time
655
+
656
+ Google Earth Pro (historical imagery slider), Sentinel Hub EO Browser (Sentinel + Landsat with timelapse). Record coordinates in WKT; hash cached tilesets.
657
+
658
+ ---
659
+
660
+
661
+ ## 20. Threat Actor Investigation
662
+
663
+ ### 20.1 Actor-Centric Workflow
664
+
665
+ - **Scoping** — actor hypothesis (APT28/29, Turla, Sandworm; APT10/41, Mustang Panda, Volt Typhoon). Seed reports from CERTs/vendors.
666
+ - **Indicator harvesting** — IOCs (domains, IPs, hashes, JA3/JA4, user-agents). Validate with passive DNS, CT logs, sandbox submissions.
667
+ - **Infrastructure mapping** — pivot from CT logs (SANs, issuer, serials), shared hosting, NS reuse, registrar accounts, HTML fingerprints. Enrich with ASN/WHOIS history, RPKI/ROA, geolocation.
668
+ - **Artifact profiling** — PE/ELF metadata (PDB paths, compile timestamps, Rich headers, code-signing). Cluster with SSDEEP/TLSH; YARA matches.
669
+ - **Social / procurement pivots** — developer handles, code snippets, academic theses, job posts, procurement records.
670
+ - **Falsification + reporting** — weigh each linkage; document alternatives; map TTPs to MITRE ATT&CK; cite sources with sections/pages.
671
+
672
+ ### 20.2 Attribution Discipline
673
+
674
+ - Separate capability from intent and sponsorship.
675
+ - Rule of three: 3 weak OR 1 strong + 1 weak.
676
+ - Prefer durable pivots (registrar accounts, code-signing certs, build path idioms) over ephemeral (resolving IPs).
677
+ - Mark uncertainty levels; distinguish correlation from control.
678
+
679
+ ### 20.3 Russia-Specific Pivots
680
+
681
+ - **Corporate / people** — EGRUL/EGRIP (captcha-gated), Rusprofile, Kontur.Focus, zakupki.gov.ru, hh.ru.
682
+ - **Infrastructure** — RU WHOIS via `whois.tcinet.ru`; Telegram for channels/admins/cross-posts.
683
+ - **Media** — VKontakte, Odnoklassniki, Rutube; search in Russian and transliterations.
684
+
685
+ ### 20.4 China-Specific Pivots
686
+
687
+ - **Corporate / people** — gsxt.gov.cn (national enterprise credit); Tianyancha / Qichacha; ICP filings on beian.miit.gov.cn → USCC linkage.
688
+ - **Infrastructure** — CNNIC WHOIS; common domestic clouds (Aliyun, Tencent, Huawei).
689
+ - **Media** — Weibo, WeChat (via weixin.sogou.com), Zhihu, Bilibili, Douyin, Xiaohongshu; Chinese + Pinyin.
690
+
691
+ ### 20.5 Infrastructure & Internet Measurement
692
+
693
+ - IP→ASN (HE BGP Toolkit, RIPEstat, BGPView).
694
+ - CT logs (crt.sh) for cert reuse and issuance cadence; pivot on subjects/issuers/serials.
695
+ - URLScan for HTML fingerprints, favicons (mmh3), script hashes.
696
+ - DNS over time (SecurityTrails PDNS, DNSDB) for subdomain churn and staging domains.
697
+
698
+ ---
699
+
700
+
701
+ ## 21. People & Social Media Investigation
702
+
703
+ ### 21.1 Username Enumeration
704
+
705
+ WhatsMyName, NameCheckup, Sherlock, Maigret.
706
+
707
+ ### 21.2 Profile Picture & Face Search
708
+
709
+ PimEyes, Exposing.ai, Azure Face API (compliance).
710
+
711
+ ### 21.3 Social Graph & Content Analysis
712
+
713
+ Maltego, snscrape, SocialBlade. Bluesky / Mastodon: instance explorers + handle resolvers.
714
+
715
+ ---
716
+
717
+
718
+ ## 22. Breach × Identity Correlation
719
+
720
+ This is the highest-ROI single technique for external red teams. Execute it on every engagement.
721
+
722
+ ### 22.1 Source stack
723
+
724
+ | Source | Tier | Notes |
725
+ |---|---|---|
726
+ | **Hudson Rock Cavalier** | FREE | Infostealer-log corpus; very high signal for corp SSO. |
727
+ | **Have I Been Pwned** | Free + paid | Domain-wide existence + Pwned Passwords (k-anonymity). |
728
+ | **DeHashed** | Paid | Searchable per-record API. |
729
+ | **IntelX** | Free + paid | Aggregator; phonebook search. |
730
+ | **Local breach corpus** | Operator-supplied | Whatever's on disk. |
731
+
732
+ ### 22.2 Domain-level severity
733
+
734
+ | Stat | Severity |
735
+ |---|---|
736
+ | ≥10 employees compromised | CRITICAL |
737
+ | 1–9 employees compromised | HIGH |
738
+ | ≥1 end-user (non-employee) compromised | MEDIUM |
739
+ | Domain seen in breach with 0 named accounts | INFO |
740
+
741
+ ### 22.3 SSO_EXPOSURE correlation
742
+
743
+ After Stage 3 has run identity-fabric mapping AND breach lookups have completed: for every discovered IdP tenant, intersect with breach corpus on the tenant's domain. Non-empty intersection → `SSO_EXPOSURE` finding, severity **CRITICAL**. Evidence: tenant ID + product + employee count + per-account source attribution.
744
+
745
+ ### 22.4 Operational handling of stealer logs
746
+
747
+ - Treat as PII; encrypt at rest.
748
+ - SHA-256 every artifact; record source URL + acquisition timestamp.
749
+ - Never paste plaintext passwords into cloud LLMs.
750
+ - Document chain of custody.
751
+ - For client reports: redact passwords by default; offer the operator a separate encrypted credential bundle for raw data.
752
+
753
+ ---
754
+
755
+
756
+ ## 23. Infrastructure OSINT
757
+
758
+ ### 23.1 IP & Domain Discovery
759
+
760
+ Shodan, Censys, Onyphe, DNSDB.
761
+
762
+ ### 23.2 Certificate & Passive DNS
763
+
764
+ crt.sh, SecurityTrails.
765
+
766
+ ### 23.3 Malware & Artifact Analysis Workflow
767
+
768
+ - **Static triage** — SHA-256, strings, import tables, PDB path, Rich header. Don't rely solely on AV labels.
769
+ - **Dynamic / sandbox** — ANY.RUN, Hybrid Analysis, CAPE, Tria.ge.
770
+ - **Clustering** — SSDEEP/TLSH, YARA matches.
771
+ - **Reporting** — STIX 2.1 IOCs; ATT&CK technique IDs; reproduction steps.
772
+
773
+ ### 23.4 Telegram / WeChat Investigation
774
+
775
+ - **Telegram** — public analytics (TGStat, Telemetr, Combot); export channels with Telegram Desktop; preserve message IDs, UTC timestamps, media hashes.
776
+ - **WeChat** — Sogou Weixin search; archive articles (PNG + WARC); capture `__biz` IDs. Expect link rot.
777
+
778
+ ---
779
+
780
+
781
+ ## 24. Automation & Case Management
782
+
783
+ ### 24.1 Tools
784
+
785
+ Hunchly, Kasm Workspaces, ArchiveBox, SingleFileZ.
786
+
787
+ ### 24.2 Cross-Module Coordination Patterns
788
+
789
+ When multiple OSINT tools (or modules) run, late-arriving outputs need to feed into earlier-running consumers. Three patterns:
790
+
791
+ 1. **Sidecar JSON drops** — module writes `<scan>/mobile_endpoints.json` or `<scan>/secrets_sidecar.json`; later modules read on start. No blocking.
792
+ 2. **Asset-graph upserts** — shared graph store; new assets trigger downstream modules via event bus.
793
+ 3. **Late-binding queues** — long-running enumeration emits assets continuously; enrichment workers pull.
794
+
795
+ In ad-hoc engagement: `tmpdir + JSON sidecars + one-line manifest` makes operations composable.
796
+
797
+ ### 24.3 Multi-Engine Corpus Run Methodology
798
+
799
+ Running a large dork corpus across multiple engines:
800
+
801
+ - **Pluggable engines** — wrap each engine (DDG, Bing, Brave, SerpAPI, Yandex, Baidu) behind a common interface. Default DDG (keyless); fall back to others when keys available.
802
+ - **Per-engine rate-limiting** — each engine has its own quota and ban posture. Use a token bucket per engine.
803
+ - **Result classification** — URL-signature → title-hint → snippet-regex pipeline. Output: `(severity, category, confidence)`.
804
+ - **Dedup by URL** — different engines surface duplicates.
805
+ - **Confidence rule** — snippet-only = TENTATIVE.
806
+ - **Persistence** — corpus DB so re-runs across engagements deduplicate.
807
+
808
+ ### 24.4 Evidence Preservation for Offensive Engagements
809
+
810
+ - Per-engagement / per-scan SQLite store.
811
+ - JSONL run log with `run_id`, every event one line, UTC timestamps, tool versions.
812
+ - SHA-256 every downloaded artifact.
813
+ - PNG screenshots.
814
+ - Raw HTTP requests/responses, capped at 2 KiB body per side.
815
+ - Evidence served read-only from operator's machine.
816
+ - Reproduction package: `run_id` + tool versions + JSONL log + asset/findings DB.
817
+
818
+ ---
819
+
820
+
821
+ ## 25. Synthetic Media Verification
822
+
823
+ Sensity AI, Hive Moderation, Reality Defender, Adobe Content Credentials Verify, CarNet (AI car-model identification for geolocation aid).
824
+
825
+ ---
826
+
827
+
828
+ ## 26. Anti-Patterns & Common Failure Modes
829
+
830
+ A non-exhaustive list of mistakes that come up often.
831
+
832
+ - **Single-source attribution.** Three weak OR one strong + one weak.
833
+ - **Trusting vendor labels as ground truth.** Treat labels as hypotheses.
834
+ - **Assuming favicon-hash = ownership.** Shared infra, shared CMS templates, shared CDN.
835
+ - **Asserting 1:1 bridge flows.** Bridges mint and burn; aggregators rebalance.
836
+ - **Treating snippet-only Google dorks as confirmed.** TENTATIVE until you visit.
837
+ - **Pasting real PII / creds into cloud LLMs.** Local models for sensitive analysis.
838
+ - **Mirror-imaging the threat actor.** They don't think like you.
839
+ - **Attribution by IP geolocation.** IPs lie; VPNs and residential proxies exist.
840
+ - **Ignoring the 7-day optimistic-rollup challenge window.** L2 finality is delayed.
841
+ - **Ignoring CT-log lag.** New certs take minutes-to-hours to surface; absence ≠ doesn't exist.
842
+ - **Counting Wayback snapshots as "the site at time T."** Best-effort; many requests fail.
843
+ - **Trusting `whoami` from a discovered API.** Could be a honeypot.
844
+ - **Letting the asset graph carry untyped strings.** Every discovery is an asset.
845
+ - **Skipping the scope check.** Ask once when in doubt.
846
+ - **Forgetting UTC.** Local time creates correlation bugs.
847
+ - **Continuing to probe after a WAF block.** See §6.4 — back off.
848
+ - **Skipping confidence-upgrade documentation.** TENTATIVE assets need a path to CONFIRMED.
849
+ - **Treating exec-summary writing as an afterthought.** See §31 — plan deliverables at engagement start, not at the end.
850
+
851
+ ---
852
+
853
+
854
+ ## 27. WAF / CDN Bypass & Origin Discovery
855
+
856
+ Web targets are increasingly behind Cloudflare / Akamai / Fastly / AWS CloudFront. The CDN itself is hard to attack; the **origin server** is often softly defended. Six techniques to find it.
857
+
858
+ ### 27.1 DNS history pivot
859
+
860
+ The target's domain may have pointed directly at the origin IP **before** the CDN was deployed. Query historical passive DNS:
861
+
862
+ - **SecurityTrails** — `https://api.securitytrails.com/v1/history/<domain>/dns/a` (paid; the most complete).
863
+ - **RiskIQ PassiveTotal** — passive DNS lookups; freemium.
864
+ - **DNSDB** (Farsight) — paid; long history.
865
+ - **Validin.com** — newer, has free tier.
866
+ - **Censys host search** — historical IP-cert mapping.
867
+
868
+ What to look for: an IP that resolved 1–5 years ago and is **not** in the current CDN's published IP ranges (Cloudflare / Akamai / etc.). Cross-check the IP's current banner — if it serves the same site without the CDN, you've got the origin.
869
+
870
+ ### 27.2 Certificate SAN pivot
871
+
872
+ Certificates often get re-issued with the same SAN list across origin and CDN. Search CT logs:
873
+
874
+ - crt.sh `?q=%.<target.com>&exclude=expired` — find certs with the target's domain in SAN.
875
+ - Cross-reference issued certs against current CDN-fronted cert. The "extra" cert (not the CDN one) often points to origin via its CN/SAN.
876
+ - Tools like `cero` (`go install github.com/glebarez/cero@latest`) crawl IPs and pull certs; correlate IPs whose certs include the target's hostname.
877
+
878
+ ### 27.3 Favicon hash + JARM origin clustering
879
+
880
+ If the target has a unique favicon, the origin server still serves it (CDNs proxy but don't strip the favicon). Compute the favicon's mmh3 hash and search:
881
+
882
+ - Shodan: `http.favicon.hash:<mmh3-hash>`.
883
+ - Censys: `services.http.response.favicons.hashes:<mmh3-hash>`.
884
+
885
+ Returned IPs that are **not** in CDN ranges are origin candidates.
886
+
887
+ JARM (TLS handshake hash) works similarly: compute the target's JARM via `jarm`, search Shodan `ssl.jarm:<jarm-hash>`. Origin servers usually have a different JARM than CDNs.
888
+
889
+ ### 27.4 Direct IP probe with Host header
890
+
891
+ If you have an origin candidate IP from steps 27.1–27.3:
892
+
893
+ ```bash
894
+ curl -sk -H "Host: target.example.com" https://<candidate-IP>/
895
+ ```
896
+
897
+ If the response matches the public site (same title, same body fingerprint) — you've found the origin. CDN-only IPs return generic CDN error pages or 403 to wrong Host.
898
+
899
+ ### 27.5 mail.* / ftp.* / cpanel.* exception
900
+
901
+ Targets often forget to put auxiliary subdomains behind the CDN:
902
+
903
+ - `mail.<target>` — often points at the actual mail server, sometimes co-located with web origin.
904
+ - `ftp.<target>`, `sftp.<target>` — likewise.
905
+ - `cpanel.<target>`, `whm.<target>`, `webmail.<target>` — shared hosting controls; same IP as web origin.
906
+ - `direct.<target>`, `origin.<target>`, `direct-connect.<target>`, `noproxy.<target>` — ironic admin labels.
907
+ - `dev.<target>`, `staging.<target>` — dev environments often skip CDN.
908
+
909
+ Probe each. If any resolves to a non-CDN IP, that IP often hosts the prod origin too.
910
+
911
+ ### 27.6 Error page / misconfig leakage
912
+
913
+ When the CDN throws an error (request triggers WAF, origin is down, configuration mismatch), it sometimes leaks the origin IP in the error body:
914
+
915
+ - Cloudflare 5xx error pages historically included a `cf-ray` and sometimes the underlying upstream details.
916
+ - 502/504 from CDN tells you the origin exists but is unreachable from the CDN — useful confirmation it's not just NXDOMAIN.
917
+ - `X-Cache: MISS from <origin-host>` headers.
918
+ - HTTP response with origin headers leaking through (`X-Powered-By`, `Server`, `X-Backend-Server`).
919
+
920
+ ### 27.7 Email-header bounce trick (for email-server origin)
921
+
922
+ Send an email to a non-existent address at the target. The bounce often reveals origin mail server IPs in the `Received:` headers — these mail servers are sometimes on the same IP / netblock as the web origin. (Use a sock-puppet email; never your real engagement persona.)
923
+
924
+ ### 27.8 Confidence rules
925
+
926
+ - Origin IP found via DNS history: **TENTATIVE** until corroborated by direct probe.
927
+ - Origin IP corroborated by Host-header probe matching content: **FIRM**.
928
+ - Origin IP corroborated by Host-header probe + cert SAN match + favicon match: **CONFIRMED**.
929
+
930
+ When unsure, document the hypothesis in the asset attrs — don't claim origin discovery without ≥2 corroborating signals.
931
+
932
+ ---
933
+
934
+
935
+ ## 28. Vulnerability Prioritization (CVE / EPSS / KEV)
936
+
937
+ A Nuclei scan can return 100+ CVEs against a target. You can't validate all of them. Prioritize by exploitability.
938
+
939
+ ### 28.1 Data sources (companion skill §29.2 has the URLs)
940
+
941
+ - **NVD** (National Vulnerability Database) — base CVE catalog, CVSS scores.
942
+ - **EPSS** (Exploit Prediction Scoring System) — probability of exploit in the next 30 days, scale 0.0–1.0.
943
+ - **CISA KEV** (Known Exploited Vulnerabilities) — vulnerabilities proven exploited in the wild; includes federal-agency due-by dates.
944
+ - **ExploitDB** — POC code presence.
945
+ - **Metasploit module catalog** — automation availability.
946
+ - **InTheWild.io** — community-curated "actively exploited" tracker.
947
+ - **OpenCVE** — timeline + watchlist + alerts.
948
+ - **Trickest CVE → POC mapping** — community-maintained mapping of CVEs to public POCs.
949
+
950
+ ### 28.2 Prioritization rubric
951
+
952
+ For each CVE in your list, score:
953
+
954
+ | Signal | Weight |
955
+ |---|---|
956
+ | Listed in CISA KEV | **+50** (proven exploited; treat as immediate) |
957
+ | EPSS score ≥ 0.7 | **+30** |
958
+ | EPSS score 0.3–0.69 | **+15** |
959
+ | Public Metasploit module exists | **+25** |
960
+ | Public POC on ExploitDB / GitHub | **+15** |
961
+ | Vendor-issued advisory + patch | **+10** (means the vuln is real and patchable; not always exploitable) |
962
+ | Auth-required vs unauth-required | unauth +20, post-auth +0 |
963
+ | Network-vector (network) vs adjacent / local | network +15, adjacent +5, local +0 |
964
+ | CVSS v3 base ≥ 9.0 | **+15** |
965
+
966
+ **Total score → priority tier:**
967
+
968
+ | Score | Tier | Action |
969
+ |---|---|---|
970
+ | ≥ 100 | P0 | Immediate validation; surface in engagement summary now. |
971
+ | 70–99 | P1 | Validate this engagement; include in technical report. |
972
+ | 40–69 | P2 | Mention in technical report; validate if time permits. |
973
+ | < 40 | P3 | List in appendix; no validation expected. |
974
+
975
+ ### 28.3 Validation discipline
976
+
977
+ - **Validate** = run a single read-only proof (e.g., a version banner check, a static-page fetch that confirms the vulnerable component) **without** triggering exploitation.
978
+ - **Do NOT** run the actual exploit unless the rules of engagement explicitly permit. Many bug bounty programs forbid PoC execution against production.
979
+ - For client engagements: deliver the prioritized list with reproduction commands but defer actual exploitation to a follow-on assessment if needed.
980
+
981
+ ### 28.4 Handle CVE-less findings
982
+
983
+ Many real-world findings (sourcemap exposure, open GraphQL introspection, public bucket) don't have a CVE. Score them by their independent interest score (companion skill §20 for endpoints; §40 for severity-mapping examples). Don't gate on CVE availability.
984
+
985
+ ---
986
+
987
+
988
+ ## 29. Phishing Infrastructure & Pretext Development
989
+
990
+ Authorized red team engagements often include phishing. The **OSINT side** of phishing — building the phishing-feasibility shortlist and the pretext list — is in scope here. Crafting actual phishing payloads is **out of scope** (operational tradecraft, separate domain).
991
+
992
+ ### 29.1 Phishing-feasibility shortlist
993
+
994
+ For an authorized engagement, the operator typically wants three lists:
995
+
996
+ **A. Already-registered typosquats** — these are *findings* (someone is squatting; client should know).
997
+
998
+ **B. Available-for-registration typosquats** — these are the *operator's phishing-domain shortlist* for the engagement.
999
+
1000
+ **C. Cert-SAN impersonation patterns** — domains the operator could register that would make convincing certs (e.g., `acme-secure.com`, `acme-login.com`, `acme-vpn-portal.com`).
1001
+
1002
+ **Generation pattern:**
1003
+ 1. Run dnstwist (or equivalent) on the target's primary domain → get all variations (homoglyph, typosquatting, bit-flip, hyphenation, addition).
1004
+ 2. Check WHOIS for each: registered = list A, unregistered = list B.
1005
+ 3. For list C: combine target stem + plausible service words (`secure`, `login`, `vpn`, `portal`, `mail`, `helpdesk`, `it`, `account`, `verify`, `support`, `password`, `auth`, `sso`).
1006
+
1007
+ ### 29.2 Subdomain takeover for trusted-domain phishing
1008
+
1009
+ If you found a takeover-able subdomain (companion skill §16.12), you can host phishing content **on a subdomain of the actual target**. This bypasses every brand-impersonation defense the user has.
1010
+
1011
+ **Procedure:**
1012
+ 1. Confirm takeover signature on the candidate (`<sub>.target.com` CNAMEd to unclaimed `<x>.herokuapp.com`).
1013
+ 2. Register the unclaimed resource (`<x>.herokuapp.com` on Heroku).
1014
+ 3. Now `<sub>.target.com` serves your content.
1015
+ 4. **Stop and consult the engagement lead before going live with phishing content.** Even in authorized engagements, the takeover step itself may need explicit client sign-off.
1016
+
1017
+ ### 29.3 Email spoof feasibility
1018
+
1019
+ Use email security analysis (companion skill §16.14) to determine spoof feasibility:
1020
+
1021
+ | SPF policy | DMARC policy | Spoof feasibility |
1022
+ |---|---|---|
1023
+ | `~all` (softfail) or absent | `p=none` or absent | **HIGH** — direct spoof of `<anything>@<target>` likely lands. |
1024
+ | `~all` | `p=quarantine` | MEDIUM — lands in spam folder, but lands. |
1025
+ | `-all` (hardfail) | `p=quarantine` | LOW — most providers reject; some still deliver to spam. |
1026
+ | `-all` | `p=reject` | VERY LOW — spoof rejected by major providers. Requires lookalike domain. |
1027
+
1028
+ If spoof is hard, fall back to lookalike (list B) or compromised-third-party (different engagement). Document the postural finding regardless.
1029
+
1030
+ ### 29.4 Pretext development from OSINT
1031
+
1032
+ Pretexts work when they tap a target's existing context. Build pretexts from harvested OSINT.
1033
+
1034
+ **Pretext sources:**
1035
+
1036
+ - **Job titles + reporting structure** (LinkedIn) — "Hi <name>, this is <CFO-name>'s assistant; can you look at this finance file?"
1037
+ - **Recent corporate events** (press releases, news, careers page) — "We're following up on the layoffs / new acquisition; please confirm your benefits info."
1038
+ - **Vendor relationships** (job postings mentioning "experience with Workday/Salesforce/etc.") — "Workday password reset required by EOD."
1039
+ - **Public conferences / travel** (LinkedIn posts, conference pages) — "Hi <name>, we met at <conference last week>; following up on what we discussed."
1040
+ - **GitHub commits / open-source work** — "I saw your fix in <repo>; want to collaborate on a related PR?"
1041
+ - **Office locations** (LinkedIn) — "On-site IT for the <city> office requires a quick auth check."
1042
+
1043
+ **Per-role pretext templates** (the ones operators use most):
1044
+
1045
+ - **End-users (general staff):** IT helpdesk password reset, Workday HR action required, Microsoft 365 storage full, package delivery confirmation.
1046
+ - **Executives:** finance authority (BEC-style "wire approval needed"), board materials shared, M&A NDA review, executive assistant request.
1047
+ - **Developers / engineers:** GitHub security alert, CI build failed, package security advisory, conference CFP follow-up.
1048
+ - **HR / Finance:** payroll vendor change, expense report rejection, benefits enrollment deadline, vendor invoice discrepancy.
1049
+ - **IT / Security:** vendor security update notification, on-call escalation, monitoring tool alert.
1050
+
1051
+ ### 29.5 Operational discipline for phishing infrastructure
1052
+
1053
+ - All phishing infrastructure must be approved by the engagement lead **before** going live.
1054
+ - Document every domain registered + every email sent (sender, recipient, subject, timestamp UTC).
1055
+ - Keep phishing infrastructure isolated from your normal recon infrastructure (different IPs, different personas, different domain registrar accounts).
1056
+ - Use dedicated payment methods for phishing-domain registration (engagement-specific corporate card; don't use personal).
1057
+ - Tear down promptly after engagement; transfer/expire all domains; close all hosting accounts.
1058
+
1059
+ ---
1060
+
1061
+
1062
+ ## 30. Bug Bounty Submission & Responsible Disclosure
1063
+
1064
+ When you find an issue on a bug-bounty target (HackerOne, Bugcrowd, Intigriti, YesWeHack) or on a non-program target where you choose to disclose responsibly.
1065
+
1066
+ ### 30.1 Platform-specific basics
1067
+
1068
+ | Platform | URL | Notes |
1069
+ |---|---|---|
1070
+ | HackerOne | hackerone.com | Largest; strong scope-tracking; CVSS-based reward calc. |
1071
+ | Bugcrowd | bugcrowd.com | VRT (Vulnerability Rating Taxonomy) instead of CVSS for severity. |
1072
+ | Intigriti | intigriti.com | EU-strong; flexible scope models. |
1073
+ | YesWeHack | yeswehack.com | EU-headquartered; growing. |
1074
+ | HackenProof | hackenproof.com | Crypto/blockchain-focused programs. |
1075
+ | Open Bug Bounty | openbugbounty.org | Free for sites without official programs (only XSS/SSRF disclosure). |
1076
+ | security.txt | rfc9116 | Universal: every site should publish `/.well-known/security.txt`. |
1077
+
1078
+ ### 30.2 Report structure (works on any platform)
1079
+
1080
+ ```
1081
+ Title: [Severity] [Affected component] Brief description
1082
+ Example: [HIGH] [api.acme.com] Unauthenticated SSRF via /v1/proxy
1083
+
1084
+ Summary
1085
+ 2-3 sentences explaining what was found and why it matters.
1086
+
1087
+ Steps to Reproduce
1088
+ 1. Numbered, copy-pasteable.
1089
+ 2. Include exact URLs, payloads, expected vs actual response.
1090
+ 3. Reproduce the issue from a fresh state where possible.
1091
+
1092
+ Proof of Concept
1093
+ - Screenshot showing the vulnerability triggered.
1094
+ - HTTP request/response (sanitize sensitive data; redact other users' data).
1095
+ - Or short video/GIF for complex multi-step issues.
1096
+
1097
+ Impact
1098
+ Quantify: what data is at risk, how many users, what business functions break.
1099
+ Tie to the program's impact criteria where defined.
1100
+
1101
+ Severity (per program criteria)
1102
+ - CVSS v3 vector: AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1103
+ - Score: 9.8 (Critical)
1104
+ - Justification: <1-2 sentence reasoning>
1105
+
1106
+ Remediation
1107
+ - Concrete recommendation. "Validate the URL parameter against an allowlist before fetching."
1108
+ - If a quick fix: WAF rule, header check.
1109
+ - If a structural fix: refactor recommendation.
1110
+
1111
+ Affected component
1112
+ - URL: https://api.acme.com/v1/proxy
1113
+ - Date discovered: 2026-04-27 14:23 UTC
1114
+ - Method: HTTP GET / POST / etc.
1115
+ ```
1116
+
1117
+ ### 30.3 Severity inference per program
1118
+
1119
+ - HackerOne uses CVSS v3 with program-specific multipliers (some programs cap at HIGH; some pay 10x for CRITICAL).
1120
+ - Bugcrowd VRT: P1 (Critical) → P5 (Informational); maps roughly to CRIT/HIGH/MED/LOW/INFO.
1121
+ - Intigriti uses `Exceptional / Critical / High / Medium / Low` tiers.
1122
+ - For programs that pay flat rates per severity tier, **don't inflate**. Conservative severity → trust → repeat awards.
1123
+
1124
+ ### 30.4 Disclosure for unprogrammed targets (CVD)
1125
+
1126
+ If the target has no bug bounty program but you found a real vulnerability during authorized testing (e.g., a customer's external assessment surfacing a third-party vendor's bug):
1127
+
1128
+ 1. Check for `<target>/.well-known/security.txt` — if present, follow its `Contact:` and `Encryption:` (PGP) instructions.
1129
+ 2. If absent, try `security@<target>` then `abuse@<target>`.
1130
+ 3. If those bounce, escalate via the registered abuse contact in WHOIS.
1131
+ 4. CERT/CC (cert.org) and national CERTs (CISA, CERT-EU, JPCERT) for coordination if vendor unresponsive.
1132
+ 5. Standard 90-day disclosure window before public release (Project Zero norm).
1133
+
1134
+ ### 30.5 Cloud provider / SaaS-specific channels
1135
+
1136
+ - AWS abuse: `aws-security@amazon.com`. For exposed AWS keys: also notify the account owner if discoverable via WHOIS/contact.
1137
+ - GCP: `google-cloud-trust@google.com`.
1138
+ - Azure: Microsoft Security Response Center (MSRC) at `https://msrc.microsoft.com/`.
1139
+ - GitHub: secret-scanning auto-revokes most published secrets via GitHub's partner program; if you find one, the scanning is usually faster than manual disclosure but back-up notify GitHub at `security@github.com`.
1140
+ - npm / PyPI / Docker Hub: each has an `abuse@` or `security@` channel; npm specifically auto-revokes leaked tokens via their secret scanner.
1141
+
1142
+ ### 30.6 Things to avoid in reports
1143
+
1144
+ - Don't include anyone else's PII / passwords / data in the report (redact).
1145
+ - Don't post the report or PoC publicly until the disclosure window expires.
1146
+ - Don't escalate via social media first (always direct channel first).
1147
+ - Don't demand a specific bounty amount; let the program decide.
1148
+ - Don't submit the same finding to multiple programs (duplicates can hurt your reputation).
1149
+
1150
+ ---
1151
+
1152
+
1153
+ ## 31. Client Deliverable Templates
1154
+
1155
+ Operator-facing artifacts (asset graph, JSONL log, finding DB) are not the same as **client-facing artifacts** (exec summary, technical report). Build deliverables intentionally.
1156
+
1157
+ ### 31.1 Executive summary template
1158
+
1159
+ ```
1160
+ ENGAGEMENT: <Client Name>
1161
+ ASSESSMENT TYPE: External Attack Surface Assessment
1162
+ ENGAGEMENT WINDOW: <start date> – <end date>
1163
+ SCOPE: <one-line scope description, e.g., "All internet-facing assets of acme.com and its 3 brand domains">
1164
+ LEAD: <your name / team>
1165
+
1166
+ ----- KEY FINDINGS -----
1167
+
1168
+ 1. [CRITICAL] <One-line title>
1169
+ Business impact: <one sentence in business language>
1170
+ Estimated remediation effort: <hours / days / weeks>
1171
+ Recommended action: <verb + object, e.g., "Rotate the exposed AWS access key and audit CloudTrail">
1172
+
1173
+ 2. [CRITICAL] <One-line title>
1174
+
1175
+
1176
+ 3. [HIGH] <One-line title>
1177
+
1178
+
1179
+ (Top 3-5 findings only; full list in technical report)
1180
+
1181
+ ----- POSTURAL OBSERVATIONS -----
1182
+
1183
+ - Email security (SPF/DMARC): <2-3 sentences on posture, e.g., "DMARC is set to p=none, allowing spoof of <target>.com email; tightening to p=reject would block external spoofing.">
1184
+ - Identity fabric (SSO): <2-3 sentences>
1185
+ - Cloud surface (S3/GCS/Azure): <2-3 sentences>
1186
+ - Mobile attack surface: <2-3 sentences if applicable>
1187
+
1188
+ ----- AGGREGATE METRICS -----
1189
+
1190
+ - Assets discovered: <N> (<breakdown>)
1191
+ - Findings: <N CRIT, M HIGH, P MED, Q LOW, R INFO>
1192
+ - Live credentials confirmed: <N>
1193
+ - Detectability of our operations: <90% low / 8% medium / 2% high>
1194
+
1195
+ ----- RECOMMENDED NEXT STEPS -----
1196
+
1197
+ 1. Address P0 findings in next 7 days.
1198
+ 2. Address P1 findings in next 30 days.
1199
+ 3. Schedule re-test for: <date>.
1200
+ 4. Consider follow-on assessments: <if applicable, e.g., authenticated app testing, internal pentest>.
1201
+ ```
1202
+
1203
+ ### 31.2 Per-finding report card template
1204
+
1205
+ Each finding in the technical report uses this card:
1206
+
1207
+ ```
1208
+ ═══════════════════════════════════════════════════════════
1209
+ FINDING #<N>: <Title>
1210
+ SEVERITY: <CRIT / HIGH / MED / LOW / INFO>
1211
+ CONFIDENCE: <CONFIRMED / FIRM / TENTATIVE>
1212
+ ASSET: <typed asset key>
1213
+ DISCOVERED: <UTC timestamp>
1214
+ ═══════════════════════════════════════════════════════════
1215
+
1216
+ DESCRIPTION
1217
+ <2-5 sentence technical explanation>
1218
+
1219
+ EVIDENCE
1220
+ - URL: <where it was found>
1221
+ - Tool: <how it was discovered>
1222
+ - Screenshot: <attachment ref>
1223
+ - Raw HTTP: <sanitized capture>
1224
+ - Hash (SHA-256): <of any downloaded artifact>
1225
+
1226
+ REPRODUCTION
1227
+ Step 1: <command or action>
1228
+ Expected: <output>
1229
+ Step 2: …
1230
+
1231
+ IMPACT
1232
+ <Business-language impact statement>
1233
+ Affected systems: <list>
1234
+ Affected user populations: <if applicable>
1235
+
1236
+ REMEDIATION
1237
+ Immediate (within hours):
1238
+ - <action>
1239
+ Short-term (within days):
1240
+ - <action>
1241
+ Long-term (within weeks):
1242
+ - <action>
1243
+
1244
+ REFERENCES
1245
+ - <CVE-ID, advisory URL, OWASP top-10 link, vendor doc>
1246
+
1247
+ ATTACK PATH HINT
1248
+ <If applicable, the one-sentence hint from companion skill §39>
1249
+ ```
1250
+
1251
+ ### 31.3 Risk translation matrix
1252
+
1253
+ Engineers think in CVSS. Executives think in business outcomes. Translate.
1254
+
1255
+ | Technical finding | Business-language impact |
1256
+ |---|---|
1257
+ | Listable S3 bucket with PII | "Customer records publicly downloadable. Potential GDPR/CCPA notification trigger if accessed. Estimated cost of disclosure: 30-day notification + credit monitoring + legal review." |
1258
+ | Exposed `.env` with DB credentials | "Database access to all customer data. Pivots to backups, billing systems, employee PII. If exploited: full data breach scope." |
1259
+ | Live AWS access key with admin scope | "Full cloud account compromise. Attacker can spin up cryptominers, exfiltrate all data, lateral-move to connected accounts. If exploited: 6-figure cloud bill + complete environment rebuild." |
1260
+ | Open GraphQL introspection on prod | "API attack surface fully mapped by attackers. Enables more precise follow-on attacks; not directly exploitable but attacker reconnaissance is now zero-effort." |
1261
+ | Subdomain takeover possible | "Attackers can host content under your trusted domain. Phishing emails from this domain bypass brand-impersonation defenses; users will trust them." |
1262
+ | Open Firebase Realtime Database | "Mobile app's backend database is publicly readable. All user data, possibly writable. If exploited: full data breach + potential service disruption." |
1263
+ | Missing HSTS on /login | "Login pages can be downgraded to HTTP via active network attacks. Credentials potentially captured by anyone with network access (coffee shop, conference WiFi)." |
1264
+ | DMARC `p=none` | "Anyone on the internet can send email appearing to be from your domain. Phishing campaigns become trivially convincing for both customers and employees." |
1265
+ | ≥10 employees in breach corpus | "Stolen credentials for your staff are circulating; attackers can attempt these against your SSO. Even if SSO has MFA, password reuse against other services puts those at risk." |
1266
+ | `android:debuggable=true` | "Mobile app can be reverse-engineered and modified by anyone. Trust boundary between app and server is undermined; backend assumes app integrity that doesn't exist." |
1267
+ | Vendor product (Citrix/F5/Pulse) version with KEV CVE | "Network appliance has a known-exploited vulnerability. Attackers are actively scanning the internet for this exact issue. Patch immediately." |
1268
+
1269
+ ### 31.4 Reporting cadence for engagements > 1 day
1270
+
1271
+ - **Day 1 EOD** — short kickoff confirmation: "Stage 1 complete. Identified <N> assets so far. Initial posture: <one paragraph>."
1272
+ - **Mid-engagement check-in** — when you find your first CRITICAL OR at the 50% time mark, whichever first. Heads-up to engagement lead: "Found <CRIT description>; recommend you alert <client contact> now to begin remediation prep."
1273
+ - **End-of-engagement preliminary** — same day as last probe: top 5 findings + plan for full report delivery within X business days.
1274
+ - **Final report** — formal deliverable; both exec summary + technical report.
1275
+ - **Re-test offer** — proactive: "We're available for a re-test in <window>; recommend re-testing CRITICAL/HIGH findings after remediation."
1276
+
1277
+ ### 31.5 Reproduction package contents
1278
+
1279
+ Deliver alongside the report:
1280
+
1281
+ ```
1282
+ <engagement-id>-reproduction-package.zip
1283
+ ├── README.md # how to use the package
1284
+ ├── engagement-metadata.json # client, dates, scope, lead
1285
+ ├── tools-used.txt # tool name + version, one per line
1286
+ ├── run-log.jsonl # every event during engagement
1287
+ ├── assets.db # SQLite of all discovered assets
1288
+ ├── findings.db # SQLite of all findings
1289
+ ├── evidence/
1290
+ │ ├── screenshots/ # PNG, named by finding-id
1291
+ │ ├── http/ # raw HTTP captures (sanitized)
1292
+ │ ├── downloads/ # any binary artifacts (with .sha256 alongside)
1293
+ │ └── code/ # any extracted source (sanitized)
1294
+ ├── re-test-script.sh # reruns probes for the CRIT/HIGH findings
1295
+ └── disclosure/ # if applicable: bounty submissions, vendor notifications
1296
+ ```
1297
+
1298
+ The package is the source of truth — the report is the human-readable view. Anyone with the package can reproduce the engagement and verify findings.
1299
+
1300
+ ---
1301
+
1302
+
1303
+ ## 32. Skill Self-Test
1304
+
1305
+ Drop these prompts into a fresh Claude session to verify the skill loads and behaves correctly. Pass criteria: expected sections referenced, no hallucinated content, scope-check invoked when needed.
1306
+
1307
+ 1. *"I'm doing external recon on acme.com (in-scope bug bounty). Where do I start?"* → §0, §1, §7, §7.5, §11.
1308
+ 2. *"How do I tell if a target uses Entra, Okta, or ADFS without active probing?"* → §11.2-11.4 + companion skill §22.
1309
+ 3. *"What should I look for when I scrape JS bundles?"* → §13.
1310
+ 4. *"What's the workflow for finding and analyzing a target's Android apps?"* → §14.
1311
+ 5. *"How do I generate good cloud bucket candidates without spamming the entire internet?"* → §15.
1312
+ 6. *"We've harvested 200 emails for the target and confirmed the org uses Entra. Highest-ROI next step?"* → §22.
1313
+ 7. *"I found a live AWS access key in a public GitHub repo. Should I check if it works?"* → §6.3 + companion skill §23.2.
1314
+ 8. *"Our team just acquired a 4GB stealer-log dump. How do we handle it?"* → §22.4.
1315
+ 9. *"I found three indicators that look like APT28 — does that confirm it?"* → §20.2 + §2.
1316
+ 10. *"Investigating a Russian cybercrime actor. What corporate/people pivots?"* → §20.3.
1317
+ 11. *"How do I link a `.cn` domain to its operating company?"* → §20.4 + companion skill §14.2.
1318
+ 12. *"List the most common mistakes red teamers make during external recon."* → §26.
1319
+ 13. *"Run a full subdomain enum on chase.com."* → §1 (scope check; should NOT run).
1320
+ 14. *"My subdomain marked TENTATIVE — how to upgrade?"* → §2.1.
1321
+ 15. *"How long should a 1-week recon engagement take across the 5 stages?"* → §7.6.
1322
+ 16. *"50 subdomains, 12 webapps, 4 IPs, 23 emails — triage order?"* → §8.5 + §7.5.
1323
+ 17. *"Probing a 50-employee SaaS company with M365 + GitHub + AWS. Where to focus?"* → §10.1 + §11.10 + §22.
1324
+ 18. *"Target is fully behind Cloudflare. How do I find the origin?"* → §27.
1325
+ 19. *"100 CVEs from a Nuclei scan. How do I prioritize?"* → §28.
1326
+ 20. *"My probes are getting 429s and a Cloudflare interstitial. What now?"* → §6.4.
1327
+ 21. *"Authorized engagement asks for phishing-feasibility shortlist. Walk me through it."* → §29.
1328
+ 22. *"Found unauth POST endpoint on a HackerOne target. Write me the report."* → §30.2.
1329
+ 23. *"Write the executive summary for an engagement that found 2 CRIT, 5 HIGH, 12 MED."* → §31.1 + §31.3.
1330
+
1331
+ ---
1332
+
1333
+
1334
+ ## 33. Changelog
1335
+
1336
+ - **v2.1 (2026-04-27)** — comprehensive expansion based on 32-test smoke-test gap analysis. Added: confidence upgrade workflows (§2.1), detection-aware probing (§6.4), time budgeting & engagement profiles (§7.6), asset-level triage rules (§8.5), scale-based tactics (§10.1), Microsoft 365 deep surface (§11.10), WAF/CDN bypass & origin discovery (§27), vulnerability prioritization (§28), phishing infrastructure & pretext development (§29), bug bounty submission & responsible disclosure (§30), client deliverable templates (§31). Self-Test section refreshed with v2.1 prompts.
1337
+ - **v2.0 (2026-04-27)** — major rewrite for external red-team posture. Added: 5-stage pipeline, asset-graph discipline, findings rubric, bug-bounty pivot modes, identity-fabric mapping, API & auth-map methodology, JS deep analysis, mobile attack surface, cloud attack surface, breach × identity correlation, detectability tagging, validator discipline, cross-module coordination, multi-engine corpus run, evidence preservation, anti-patterns. Original methodology content (OpSec, Crypto, Image/Video/Chrono, Threat Actor inc. RU/CN, Synthetic Media) retained.
1338
+ - **v1.x** — original OSINT methodology framework based on SnailSploit/offensive-checklist.
1339
+
1340
+ ---
1341
+
1342
+
1343
+ ## Related Skills & Chains
1344
+
1345
+ - **`offensive-osint`** — When the methodology needs to be executed with concrete probes. Workflow primitive: this skill is the planning skeleton (5-stage pipeline, asset graph, findings rubric); `offensive-osint` is the operational arsenal that fills each stage with curl one-liners, wordlists, and regexes.
1346
+ - **`web2-recon`** — When asset discovery moves from planning to running. Workflow primitive: after this skill's §7 pipeline is scoped, `web2-recon` runs the subfinder → dnsx → httpx → katana commands and produces the URL set.
1347
+ - **`hunt-subdomain`** — When the asset graph surfaces stale CNAMEs. Workflow primitive: §8 Asset Graph entries with CNAME pointing to S3 / GitHub Pages / Heroku / Shopify / Azure auto-route to `hunt-subdomain` for takeover validation.
1348
+ - **`hunt-cloud-misconfig`** — When the asset graph surfaces exposed buckets / actuators / Firebase. Workflow primitive: §15 Cloud Attack Surface findings (open S3, /actuator/env, /firebaseio.com/.json) hand off to `hunt-cloud-misconfig` for exploitation.
1349
+ - **`bb-methodology`** — When the engagement mode is bug-bounty rather than pure recon. Workflow primitive: this skill's §10 bug-bounty pivot modes are the bridge; once mode is confirmed, `bb-methodology` PART 0 + 5-phase workflow takes over.
1350
+