A Claude Code skill bundle for bug hunting and external red-team work - 82 skills, 15 slash commands, 681 disclosed-report patterns curated across 24 core vulnerability classes, plus enterprise identity + infrastructure attack matrices.
Python ai-securityanthropicapplication-securitybug-bountybugbountybugcrowdclaudeclaude-codeclaude-skillsethical-hackinghackeroneoffensive-securitypentestingred-teamsecurity-toolsweb-security
Sync 6 May-2026-engagement-era skill edits; redact client identifiers in 9 files
Sachin Sharmaf5e5b40ee165
diff --git a/skills/bb-methodology/SKILL.md b/skills/bb-methodology/SKILL.mdindex 60d3106..f07a4ee 100644--- a/skills/bb-methodology/SKILL.md+++ b/skills/bb-methodology/SKILL.md@@ -9,6 +9,23 @@ Master orchestrator for hunting sessions. Combines the 5-phase non-linear workfl---+## PART 0: MODE CONFIRMATION (Before Anything Else)++**Confirm the engagement type before deciding what counts as a finding.** The same target produces a different report shape depending on which mode applies. Getting this wrong is the single biggest waste of time in this workflow — answer it explicitly before Phase 0.++| Engagement type | What counts as a finding | What gets rejected |+|---|---|---|+| **Bug bounty** (H1 / Bugcrowd / Intigriti / private VDP) | Impact-demonstrated bugs ONLY. Full chain to attacker-attainable harm. | Hygiene (EoL software alone, permissive CSP alone, stack traces, info disclosure without concrete impact, "best practice" violations) |+| **Red team** (external client engagement) | Hygiene findings + recon + IoCs + defensive-state observations are ALL deliverables | Nothing — even "no finding here" is reportable as a positive defensive observation |+| **Pentest** (signed SoW / WAPT) | Depends on SoW. Read scope explicitly. Usually accepts hygiene + impact + recon | Out-of-scope assets, unsigned testing |+| **Internal audit** | Compliance-mapped findings (PCI / ISO / NIST / DPDPA / GDPR) | Findings without a control-mapping |++**Hard rule:** Before Phase 0 runs, write the engagement type as the first line in your hunt notes. If you can't answer it from the user's instruction, ASK once. Don't assume — the mistake costs both you and the triager.++**Lesson from a May-2026 authorized engagement:** First-pass on this target produced 5 hygiene findings (SP2013 EoL, permissive CSP, stack traces) shipped in red-team format. The engagement was bug-bounty. Findings would have been N/A'd as "informational, no impact demonstrated." After the corrected pass with hygiene-as-context-not-finding, the same target yielded 11 impact-demonstrated bugs including 3 Critical.++---+## PART 1: MINDSET (How to Think)### Core Principle@@ -282,6 +299,19 @@ Run /validate (7-Question Gate)+-- Borderline? -> Run /triage for quick go/no-go```+**Multi-Tool Reproduction Bar (Critical / High only):**++Before labeling a finding **Critical** or **High**, reproduce it via at least **two independent tools** (different stacks, different HTTP libraries). Cross-tool consistency rules out tool-artefact findings (e.g., a curl-only timing differential that disappears under Python `requests` was an artefact, not a bug).++Examples of independent reproductions:+- `curl` + Burp `send_http1_request` (different TLS stacks, different header normalisation)+- Python `requests` + raw socket via `ssl.wrap_socket` (one library normalises, one doesn't)+- Burp Repeater + Python `urllib` (same wire result expected from both)++The reproduction commands MUST be paste-into-shell ready in the report — a triager copies them verbatim. If the curl version requires special flags or breaks on certain systems, include a Python alternative.++**Lesson from a May-2026 authorized engagement:** All three Critical findings (Authentication.asmx brute-force, TE.CL smuggling, NTLM Type-2 disclosure) were each independently reproduced via curl + Python raw sockets + Burp tooling. The cross-tool consistency was what convinced the triage write-up that the findings were not artefacts.+**Report:**```Run /report@@ -322,6 +352,20 @@ Every 20 minutes ask yourself: **"Am I making progress?"**- No -> Rotate to next: endpoint -> subdomain -> vuln class -> target- Been on same target 2+ weeks with no findings? -> Consider switching program+### Pushback Protocol (When the User Says "Find More")++When the user disagrees with your stopping point — e.g., "I've found 10+ bugs, you should find the same," or "look harder," or "you're missing things":++**Default assumption: they are correct. You stopped early.**++Before pushing back with "I think we're done because X," do this:+1. **Re-read 3 more `hunt-*` skills** beyond what you have loaded. Pick ones that match observed surface (e.g., custom login → `hunt-auth-bypass`; SOAP endpoints → look for protocol-specific skills; URL parameters → `hunt-ssrf`).+2. **Re-attack the same surface** with the new skill checklists. Walk every step in the new skills, even if it feels redundant.+3. **Document negatives** as you go — a confirmed "no bug here" is itself a finding for the user to see (it proves coverage).+4. **Only after exhausting 3 new skills' checklists** do you push back, and only with a concrete list of what was tested.++**Lesson from a May-2026 authorized engagement:** After a first-pass of 5 weak findings the user said "I have 10+, find them." Loading `hunt-auth-bypass` (which had been loaded but not walked through end-to-end) immediately surfaced the `/_vti_bin/Authentication.asmx` legacy SOAP login — the highest-impact bug in the engagement. The user was right; pushback would have been wrong.+### Tool Routing by Phase| Phase | Tools | Why this order |@@ -350,3 +394,59 @@ Every 20 minutes ask yourself: **"Am I making progress?"**- [ ] Record any "weird but not yet exploitable" behaviors (future gadgets)- [ ] Update notes with failed attempts (don't re-test with same techniques)- [ ] Log findings with `/remember`++---++## PART 4: METHODOLOGY DISCIPLINE (False-Positive Prevention)++Most retracted findings come from four recurring process bugs. Each has a hard rule.++### Marker Discipline++When testing for reflection, cache poisoning, parameter pollution, or OOB SSRF, the marker string you inject MUST be unique and unmistakable.++**Rules:**+- Markers are random alphanumeric strings, **8+ characters**, no English words, no protocol keywords.+- **NEVER** use `test`, `marker`, `evil`, `attacker`, `payload`, `javascript`, `script`, `AAAA`, `BBBB`, your domain name, or any string that could plausibly appear naturally in the target's HTML/JS/error messages.+- **Good markers:** `cpmark987abc`, `x4hd2k9pq`, a Collaborator subdomain prefix like `dlsrcurl.<collab>.oastify.com`, or `__ZZ_MARKER_<random>_ZZ__`.+- Before claiming reflection: search the **baseline** (no-marker) response for the marker string. If it appears naturally, change your marker. This single check catches 80% of false-positive reflection reports.+- For OOB testing, sub-tag each Collaborator payload (e.g., `dlsrcurl.<collab>`, `authsrc.<collab>`) so callbacks identify the specific sink that fired.++**Lesson from a May-2026 authorized engagement:** Initial scan flagged `X-Forwarded-Proto: javascript` as reflecting into multiple SharePoint pages. The "reflection" was the literal word `javascript` appearing naturally in SP help-link hrefs (`href="javascript:HelpWindowKey(...)"`). False positive caused by a non-unique marker.++### Body-Diff Rule++A bypass claim requires response **body** differential, not just status code.++**Rules:**+- 200 OK with byte-identical body to the baseline is NOT a bypass.+- 200 OK with a 5-byte difference might be — verify what changed (correlation ID? timestamp? real content?).+- Always diff the body side-by-side before claiming bypass: `diff <(curl ... baseline) <(curl ... bypass)`.+- Status-code-only claims (e.g. "Host header X gave 200 instead of 403") are the most common rejected-as-N/A category on bug bounty platforms.++**Lesson from a May-2026 authorized engagement:** `Host: target.example:[email protected]` returned HTTP 200 instead of the baseline 403. Looked like a Host-header bypass. But the body was byte-identical (8341 bytes both) — the AWS ELB normalised the Host to `target.example:80`, dropping the `@evil` portion. Not a bypass.++### Statistical-Sample Rule (for timing-based claims)++Single outliers are NOT signal. Network jitter routinely produces 2× outliers.++**Rules for any user-enum / blind-SQLi / blind-NoSQLi / timing-side-channel claim:**+- Minimum sample size: **n ≥ 10 INTERLEAVED trials per group** (control + test, randomised order, not back-to-back).+- Compute mean, median, σ for each group.+- A signal requires the suspect group's mean to be **≥ 2σ above** the control group's mean.+- A single 2× outlier in n=1 testing is jitter, not signal.++**Lesson from a May-2026 authorized engagement:** Single-shot probe showed `Administrator` taking 1527 ms vs ~700 ms control on Authentication.asmx Login — looked like clear user-enum signal. Reproduction with n=80 interleaved trials across 8 groups collapsed every group to mean=685-716 ms, σ=25-74 ms. The 1527 ms was network jitter. Finding retracted.++### Shell-Loop Ban (>5 iterations)++For any iteration that runs more than 5 times, **use Python (with try/except per iteration), not shell for-loops.**++**Why:** zsh array expansion fails silently on edge cases. A loop like `for x in "${arr[@]}"` can produce zero iterations with no error if the array wasn't populated by the previous command. The user sees output that looks complete but actually skipped the test entirely.++**Rules:**+- Loops of ≤5 hardcoded items in shell: OK.+- Anything that iterates a list, file, or computed range: Python.+- Always count results. If you expected 100 probes and got <50 lines of output, your loop ate something.++**Lesson from a May-2026 authorized engagement:** A zsh array-iteration verb-tampering test silently produced no curl invocations across 20+ iterations (zsh ate the array). Output looked like "HIT [GET] /_api/web → " repeated for every probe but the actual response was missing. ~50 probes worth of testing lost. Switching the test to Python with explicit per-iteration logging surfaced the real results.diff --git a/skills/hunt-auth-bypass/SKILL.md b/skills/hunt-auth-bypass/SKILL.mdindex d75c414..dc1d981 100644--- a/skills/hunt-auth-bypass/SKILL.md+++ b/skills/hunt-auth-bypass/SKILL.md@@ -113,6 +113,45 @@ passport.js authenticate---+## Legacy-Protocol Matrix (Probe These First on Any Custom-Branded Login)++When a target has a custom, branded login UI (e.g. `customlogin.aspx`, `/auth/signin`, `/account/login`), **always probe the platform's legacy protocol endpoints with native credentials** in parallel. These endpoints frequently outlive the custom UI's protections and accept native credentials with NO rate limit, NO MFA challenge, NO CAPTCHA, NO anti-automation. This is the WordPress XMLRPC pattern generalised across CMS / portal / framework stacks.++| Target tech | Legacy endpoint(s) to probe | Native-cred bypass surface |+|---|---|---|+| **WordPress** | `/xmlrpc.php` (`system.listMethods`, `wp.getUsersBlogs`, `system.multicall`) | Native WP user/pass; bypasses SSO, MFA, IP-allow rules on `/wp-login.php` |+| **WordPress (REST)** | `/?rest_route=/wp/v2/users`, `/wp-json/wp/v2/users` | User enumeration anonymously even when login page is hardened |+| **SharePoint (any version)** | `/_vti_bin/Authentication.asmx` (`Mode` + `Login` SOAP ops) | Native Forms-auth credential; FedAuth cookie returned; no rate limit on this endpoint observed on SP2013 farms — **this is the canonical SP equivalent of the WP XMLRPC bypass** |+| **SharePoint legacy** | `/_vti_bin/_vti_aut/author.dll`, `/_vti_bin/_vti_adm/admin.dll`, `/_vti_bin/owssvr.dll` | FrontPage RPC; sometimes still wired to credential validators |+| **SharePoint REST** | `/_api/contextinfo` (POST), `/_api/$metadata` | Anonymous FormDigest issuance; full API surface enumeration |+| **Atlassian (Jira / Confluence)** | `/rest/auth/1/session` (basic-auth), `/rest/api/2/myself`, legacy `/rest/api/1.0/` | Native credentials accepted on `/rest/auth/1/session` even when Atlassian Crowd / Atlassian Access SSO is enforced on the UI |+| **Drupal** | `/jsonapi/`, `/user/login?_format=json` | JSON POST endpoint that accepts native passwords; separate from SSO middleware |+| **Drupal (D7 legacy)** | `/?q=user/login`, `/services/`, `/rest/` | Older REST modules with independent auth |+| **Joomla** | `/administrator/index.php?option=com_login`, `/api/index.php/v1/users` | Native Joomla credentials accepted on admin entry independent of any front-site SSO |+| **Exchange / OWA** | `/EWS/Exchange.asmx`, `/Autodiscover/Autodiscover.xml`, `/Microsoft-Server-ActiveSync` | NTLM / Basic; bypasses OWA UI restrictions (MFA, IP-allow). The classic CVE-2020-0688 / CVE-2021-26855 surface |+| **Citrix NetScaler** | `/vpn/index.html`, `/cgi/login`, `/nf/auth/doAuthentication.do` | Native AD credentials; independent of MFA wrappers |+| **F5 BIG-IP** | `/mgmt/tm/util/bash`, `/tmui/login.jsp` | Native admin credentials |+| **Generic ASP.NET app** | `*.asmx?WSDL`, `*.svc?WSDL`, `trace.axd`, `elmah.axd`, `.disco` | Find every web service; many take credentials independently of the WebForms login |+| **Spring Boot** | `/actuator/*`, `/management/*`, `/api/v1/auth/login`, `/api/v1/swagger-ui` | Actuator endpoints sometimes anonymously enumerable |+| **Jenkins** | `/jnlpJars/jenkins-cli.jar`, `/script`, `/manage`, `/computer/(master)/script` | API tokens + native auth |+| **GitLab** | `/api/v3/*` (deprecated but still on old installs), `/api/v4/users`, `/api/v4/projects` | Personal Access Tokens with looser scoping than UI session |+| **TeamCity** | `/app/rest/users`, `/login.html?username=&password=` (GET-form-login) | Native admin credentials |+| **Apache Tomcat** | `/manager/html`, `/host-manager/html`, `/manager/text/list` | Native Tomcat realm credentials independent of any front auth |+| **WebLogic** | `/console/login/LoginForm.jsp`, `/wls-wsat/*` | Native admin |+| **Oracle EBS / PeopleSoft** | `/OA_HTML/AppsLogin`, `/psp/*/?cmd=login` | Native ERP credentials |++**How to use:**+1. Identify the tech stack from headers + paths (use `hunt-misc` Attack Surface Signals).+2. Find the row above that matches.+3. Probe the legacy endpoint anonymously to confirm it's reachable and not 403/404.+4. Test with synthetic credentials to confirm it accepts native credential format and returns differential responses (success vs failure).+5. Verify there is no rate limit, no lockout, no CAPTCHA — burst 10 requests at the same user, confirm uniform timing.+6. Report as **Critical / High** depending on chain to ATO: an anonymous + unlimited credential brute-force endpoint is consistently Critical on bug-bounty programs.++**Lesson from a May-2026 authorized engagement:** A an enterprise dealer portal on SharePoint 2013 had a custom branded `customlogin.aspx`. The hunt-auth-bypass skill was loaded but the matrix above did not exist in this document — and the WordPress XMLRPC pattern was not connected to the SharePoint equivalent. `/_vti_bin/Authentication.asmx` was reachable anonymously, accepted unlimited credential attempts with no rate limit and no lockout, and was the highest-impact finding in the engagement. Walking this matrix on the first pass would have surfaced it immediately.++---+## Payload & Detection Patterns**XMLRPC auth probe (bypasses SSO):**diff --git a/skills/hunt-misc/SKILL.md b/skills/hunt-misc/SKILL.mdindex 18f0d05..9280f75 100644--- a/skills/hunt-misc/SKILL.md+++ b/skills/hunt-misc/SKILL.md@@ -71,6 +71,10 @@ graphql { installations(1. **Map all role/permission boundaries** — enumerate every role level (owner → admin → staff → guest → removed) and document what each role *should* see+ **Marker Discipline:** when probing role boundaries by injecting unique tokens / identifiers into per-role test data, markers MUST be unique random alphanumeric strings (8+ chars, no English words, no protocol keywords). Bad markers: `test`, `marker`, `attacker`, `evil`, `admin`, `AAAA`. Good markers: `cpmark987abc`, `x4hd2k9pq`. Before claiming any reflection, search the baseline (no-marker) response for the marker — if it appears naturally, change your marker.++ **Body-Diff Rule:** a privilege-bypass claim requires response BODY differential, not status-code-only. 200 OK with byte-identical body to baseline is NOT a bypass. Always diff bodies side-by-side before claiming bypass. Status-code-only claims are the most common rejected-as-N/A category on bug-bounty platforms.+2. **Test invitation flows end-to-end** — accept invitations without completing verification steps; modify invitation tokens; test whether accepting an invitation as a different user grants access3. **Test post-removal access** — add a user to a resource, remove them, then test if their session/token still grants access (especially after company/org removal)@@ -205,6 +209,8 @@ dig TXT rubylang.org | grep spf10. **Multi-device session design conflated with session fixation** — engineers implement "remember me across devices" by issuing non-expiring tokens, treating it as a feature while creating persistent access risk+11. **Server-policy responses mistaken for state-based oracles** — when many different path types return the SAME response shape, suspect a server-side blocklist/policy filter, NOT a real file-existence / user-existence / resource-existence oracle. Engineers add blanket filters (e.g., "block any path ending in `.config`/`.ashx`/`.asmx`/`.svc`") that return the same error regardless of whether the underlying file exists. Don't infer "file exists" from "blocked"; verify with an independent signal (Collaborator callback, response-time differential at scale, or out-of-band confirmation). Lesson: SharePoint's `download.aspx?SourceUrl=` returned `"blocked from this Web site by the server administrators"` for `.ashx`/`.asmx`/`.svc`/`.config` extensions regardless of whether the underlying file existed — looked like a file-existence oracle, was actually the extension blocklist. Treating it as the former produced a list of "discovered custom customer-branded endpoints" that didn't actually exist.+---## Bypass Techniquesdiff --git a/skills/hunt-ntlm-info/SKILL.md b/skills/hunt-ntlm-info/SKILL.mdindex 50c57a9..e4699f8 100644--- a/skills/hunt-ntlm-info/SKILL.md+++ b/skills/hunt-ntlm-info/SKILL.md@@ -184,7 +184,7 @@ if m:3. **Server never renamed from Windows-installer-generated hostname.** Microsoft's default `WIN-XXXXXXXXXXX` 11-character pattern is the immediate tell. Sometimes also `WORKGROUP\WIN-...` in older boxes.-4. **Sub-domain joined to corporate forest without zone-isolation.** <CustomerName> / <ParentCorp> case: a Swiss VW/<ParentCorp> importer's SP test environment is a child domain inside corporate-parent global AD, disclosed via NTLM DNS Tree Name. The customer probably intends `customer.parent-corp.example` to be operationally separate but the NTLM Type-2 reveals the forest membership to anyone who probes.+4. **Sub-domain joined to corporate forest without zone-isolation.** European-integrator case: a a European importer's SharePoint test environment is a child domain inside a corporate global AD, disclosed via NTLM DNS Tree Name. The customer probably intends `customer.parent-corp.example` to be operationally separate but the NTLM Type-2 reveals the forest membership to anyone who probes.5. **IIS Extended Protection NOT enabled.** When `<system.webServer><security><authentication><windowsAuthentication extendedProtection>` is `None` (the default), the NTLM challenge is sent to any anonymous client. When set to `Required`, NTLM is restricted to authenticated callers — and the AV-pair leak is mitigated.@@ -229,9 +229,9 @@ Before writing the report, confirm:## Real Impact Examples-### Scenario A — a regional enterprise SharePoint inside parent corporate AD (an authorized engagement, May 2026)+### Scenario A — a regional enterprise SharePoint inside parent corporate AD (an authorized engagement)-Target: `https://target-portal.example/` — an enterprise dealer portal (test mirror) operated by a system-integrator tenant (official <ParentCorp> importer for Switzerland) as system integrator.+Target: `https://target-portal.example/` — a a regional enterprise dealer portal (test mirror) operated by a system integrator.Sending the anonymous Type-1 message to `/_api/web/CurrentUser` returned a Type-2 challenge whose AV_PAIRS decoded to:@@ -246,7 +246,7 @@ Timestamp: 2026-05-13T15:55:37.922ZThree escalation paths:1. **Default Windows-installer hostname (`WIN-XXXXXXXXXXX`)** — server was never renamed after OS install; strong signal of lazy provisioning. Likely default service-account passwords on the SQL backend, default WSUS config, etc.-2. **Sub-domain inside corporate-parent AD (`customer.parent-corp.example`)** — <CustomerName> is a child domain inside <ParentCorp>'s global Active Directory. A compromise of this test farm has potential cross-trust to corporate-parent.+2. **Sub-domain inside corporate-parent AD (`customer.parent-corp.example`)** — the customer is a child domain inside <ParentCorp>'s global Active Directory. A compromise of this test farm has potential cross-trust to corporate-parent.3. **UPN format known** — combined with `hunt-auth-bypass`'s discovery of an anonymous brute-force endpoint on `/_vti_bin/Authentication.asmx`, the attacker has both the credential format (`[email protected]` or `<CustomerName>\firstname.lastname`) and the unlimited submission endpoint.Reported severity: **Medium**, with a note that the chain with the Authentication.asmx anonymous brute-force makes the combined attack Critical.diff --git a/skills/hunt-sharepoint/SKILL.md b/skills/hunt-sharepoint/SKILL.mdindex c93f514..693679e 100644--- a/skills/hunt-sharepoint/SKILL.md+++ b/skills/hunt-sharepoint/SKILL.md@@ -250,7 +250,7 @@ HelpWindowKey('WSSEndUser_troubleshooting (anonymous error.aspx- `/_api/web/SiteUsers` — enumerate users- `/_api/web/getfolderbyserverrelativeurl('/Shared Documents')/Files` — file enumeration- `/_layouts/15/people.aspx` — user listing- - Custom <CustomerName>-style modules — check for IDOR, business logic+ - Custom customer-branded modules — check for IDOR, business logic- Workflow Services (`/_api/SP.WorkflowServices.*`)---@@ -338,7 +338,7 @@ curl -sk "https://target.example/_layouts/15/Picker.aspx?PickerDialogType=Micros4. **NTLM enabled on public-zone IIS binding.** Default dual-auth (Forms + NTLM) leaves NTLM Negotiate available to anonymous internet users. Type-2 challenge leaks AD topology.-5. **SP2013 farms past EoL still internet-exposed.** Microsoft extended support ended 2023-04-11. Every post-April-2023 SharePoint CVE is unpatched. Common in enterprise integrator scenarios (<CustomerName>/<ParentCorp>, SI-managed dealer portals).+5. **SP2013 farms past EoL still internet-exposed.** Microsoft extended support ended 2023-04-11. Every post-April-2023 SharePoint CVE is unpatched. Common in enterprise integrator scenarios (system-integrator inside corporate-parent AD, SI-managed dealer portals).6. **`<SafeControl>` whitelist in web.config trusted as the only gate.** Picker.aspx enforces an `instanceof PickerDialog` check, which is patched against the original CVE-2019-0604 vector — but the underlying SafeControl model itself is anonymously enumerable via the Picker.aspx error differential.@@ -395,9 +395,9 @@ Before writing the report:## Real Impact Examples-### Scenario A — a May-2026 authorized engagement, an enterprise dealer portal test mirror+### Scenario A — a May-2026 SharePoint engagement against an EoL on-prem farm-Target: `https://target-portal.example/` — SharePoint Server 2013 build `15.0.5545.1000` (KB5002381 / final EoL April 2023 CU). Tenant = a system-integrator tenant (Swiss <ParentCorp> importer) inside corporate-parent global AD (`customer.parent-corp.example`). Server hostname `WIN-XXXXXXXXXXX` (default Windows installer pattern).+Target: `https://target-portal.example/` — SharePoint Server 2013 build `15.0.5545.1000` (KB5002381 / final EoL April 2023 CU). Tenant = a system-integrator tenant (Swiss <ParentCorp> importer) inside a corporate global AD (`customer.parent-corp.example`). Server hostname `WIN-XXXXXXXXXXX` (default Windows installer pattern).11 findings shipped: 3 Critical, 2 Medium, 6 Low/Info. The three Criticals:diff --git a/skills/hunt-ssrf/SKILL.md b/skills/hunt-ssrf/SKILL.mdindex 41ad47c..bcd3f6a 100644--- a/skills/hunt-ssrf/SKILL.md+++ b/skills/hunt-ssrf/SKILL.md@@ -20,6 +20,36 @@ Payouts are highest when SSRF reaches: cloud credentials → account takeover, i---+## OOB-Or-It-Didn't-Happen Gate (Read First)++**Claims of blind SSRF require an out-of-band (OOB) confirmation. Always. No exceptions.**++OOB means: a Burp Collaborator domain, an `interactsh-client` listener, a canarytoken, or any DNS+HTTP receiver you control that confirms the server actually made an outbound network connection on your behalf.++### What is NOT confirmation of SSRF++- The server **echoing your URL back in an error message**. Example: `"The Web application at http://evil.example.com/x could not be found"` — this is the server formatting your input into an error string, NOT making an outbound HTTP request. The error came from string formatting, not from network failure.+- The server returning a different status code for an external URL vs `localhost`. Different error responses can come from URL-scheme validators, not from actual fetching.+- A delayed response when the URL is sent. Delay can come from DNS resolution attempts within the parser, not from completed HTTP fetches.++### What IS confirmation of SSRF++- A DNS lookup for your unique Collaborator subdomain appears in the OOB listener.+- An HTTP request to your Collaborator HTTP endpoint with the server's source IP and User-Agent.+- For SSRF in JavaScript-execution contexts (PDF renderers, headless browsers), a fetch from the server to your callback URL.++### Default workflow++1. **Plant the Collaborator subdomain first** (sub-tag it per sink: `dlsrcurl.<collab>`, `import.<collab>`, etc., so callbacks tell you which sink fired).+2. **Send the request** to the target endpoint.+3. **Wait 30–120 seconds**, then poll the OOB listener.+4. **Only after a confirmed callback** do you claim SSRF.+5. If zero callbacks across all sub-tagged sinks: SSRF claims must be retracted, even if error messages echo URLs.++**Lesson from a May-2026 authorized engagement:** SharePoint's `/_layouts/15/download.aspx?SourceUrl=` returned 500 with the title `"The Web application at <attacker-URL> could not be found"`. Initial scan flagged this as SSRF (server clearly processed the URL). 38 Collaborator-tagged payloads across 12+ URL-accepting parameters yielded **zero DNS or HTTP interactions**. The "echo" was client-side error-string formatting; the server never made an outbound HTTP request. The path is actually an SP-internal `SPFile`/`SPWebApplication` resolver, not a generic URL fetcher. Reporting this as SSRF would have been N/A'd at triage.++---+## Attack Surface Signals### URL Patterns to Huntdiff --git a/skills/hunt-xss/SKILL.md b/skills/hunt-xss/SKILL.mdindex e333a0e..07140e2 100644--- a/skills/hunt-xss/SKILL.md+++ b/skills/hunt-xss/SKILL.md@@ -21,6 +21,40 @@ XSS is high-value when it combines **privileged context + persistent delivery +---+## OOB-Or-It-Didn't-Happen Gate (Blind / Stored XSS)++For blind and stored XSS — claims require an out-of-band confirmation, the same as blind SSRF. The OOB receiver fires when the payload actually executes in a browser somewhere (an admin reviewing logs, a SOC analyst opening a ticket, an email rendering a stored payload).++### What is NOT confirmation++- ASP.NET request validator rejected your `<` and returned a different status code → not XSS, that's WAF noise.+- Your payload appears in the response body URL-encoded or HTML-encoded → not XSS, that's correct output encoding.+- The form action attribute contains your payload string as `%22onclick%3D…` → not XSS, the browser does NOT decode URL encoding inside HTML attribute values; the `%22` stays as literal `%22` in the DOM.+- Your `<script>` tag appears in the response as `<script>` → not XSS, that's escaping.++### What IS confirmation++- A request to your unique Collaborator subdomain (e.g., `bxss-err-<random>.<collab>.oastify.com`) arrives in the OOB listener after your payload was stored / reflected / queued.+- For stored XSS: the request arrives **hours or days later** when an admin views the affected resource. Plant payloads early in the engagement and keep the listener open.+- The User-Agent of the firing request is a browser (Mozilla/Chrome), not the server's own backend HTTP client.++### Where to plant blind-XSS beacons++Any field whose value might be viewed in an admin UI / log viewer / email / report later:+- Error messages (`?ErrorMessage=<svg onload=fetch('//bxss-<tag>.<collab>/x')>`)+- Auth-flow source params (`?Source=`, `?ReturnUrl=`)+- Login form username field (admin may view audit logs of failed logins)+- User-Agent header (some SOC consoles render UA as HTML)+- Referer header (some analytics dashboards render Referer as HTML)+- Email addresses on registration / contact forms+- File-upload filenames++**Always sub-tag the Collaborator subdomain by sink** so callbacks identify which field fired.++**Lesson from a May-2026 authorized engagement:** 10 blind-XSS Collaborator beacons planted across `ErrorMessage`, `Source`, the Authentication.asmx username field, User-Agent header, Referer header, and request paths. Zero callbacks over a 10-minute polling window. Conclusion: the SharePoint SOC views logs / errors in tooling that does not render HTML, AND the ASP.NET request validator blocks `<` in query strings before the payload reaches storage. Stored-XSS claim correctly retracted.++---+## Attack Surface Signals**URL Patterns:**@@ -81,6 +115,8 @@ $(location3. **Probe sanitizer behavior** — Send harmless canary strings first: `aaa"bbb'ccc<ddd` to determine which characters are escaped. Observe if output is in HTML context, attribute context, JS context, or URL context.+ **Marker Discipline:** When choosing canary strings, they MUST be unique random alphanumeric strings (8+ chars, no English words, no protocol keywords). Bad markers: `test`, `marker`, `evil`, `attacker`, `payload`, `javascript`, `script`. Good markers: `cpmark987abc`, `x4hd2k9pq`, `__ZZ_MARKER_<random>_ZZ__`. Before claiming reflection, search the baseline (no-marker) response for the marker — if it appears naturally in the page (e.g., the word `javascript` is in every page's help-link hrefs), it's a false-positive trap and you need a different marker. This single check catches 80% of false-positive reflection reports.+4. **Test allowlisted tag combinations** — If a sanitizer is in use, probe for dangerous tag combos: `<math>+<style>`, `<svg>+<style>`, `<iframe srcdoc>`, `<style>` with expressions.5. **Hunt SVG and file upload vectors** — Upload SVG files containing `<script>` tags. Check Content-Type response header. Test if CSP applies to SVG responses separately.diff --git a/skills/triage-validation/SKILL.md b/skills/triage-validation/SKILL.mdindex abc7ff6..2673121 100644--- a/skills/triage-validation/SKILL.md+++ b/skills/triage-validation/SKILL.md@@ -239,6 +239,25 @@ The goal is to QUICKLY disqualify bad leads so you hunt real bugs:---+## PRE-SEVERITY GATE++Before labelling any finding **Critical** or **High** anywhere in your notes or report — write out the answer to each of these as a one-liner. If you can't answer concretely, **the severity is wrong**.++1. **Have I validated the FULL chain to attacker-attainable impact, or only one primitive in the middle?**+ — "Primitive confirmed at layer N" ≠ exploitable. Multi-stage chains require ALL stages validated before the severity matches the chain's top end.+2. **What does the attacker walk away with, in one concrete sentence?**+ — "RCE on the SP front-end web server" is concrete. "Could lead to RCE" is not — that's High at best, often Medium.+3. **Have I personally reproduced the full chain end-to-end at least twice?**+ — Twice = once during discovery, once for the report screenshot/PoC. Not "I'm sure it would work."+4. **Is there an inheritance gate, signature check, audience check, or other validation step still gating the chain?**+ — If yes, the chain is not Critical. Document it as "primitive present" at lower severity until the gate is bypassed.+5. **Has the program rejected this severity class before?**+ — Many programs cap "info disclosure with no concrete impact" at Low/Info regardless of the data type. Read the program scope.++**Lesson from a May-2026 authorized engagement:** JWT `alg:none` was initially labelled **Critical** based on the signature-bypass primitive being confirmed at the audience-validation layer. Subsequent testing showed the issuer-trust check still rejected unsigned tokens — the full ATO chain did not complete. Finding had to be retracted. If the Pre-Severity Gate had been run on the original draft, Q1 would have killed the Critical label before submission.++---+## ANTI-PATTERNS THAT LOSE MONEY```@@ -250,3 +269,29 @@ Reporting B saying "similar to A in my other report" — fresh Gate 0 for everyOverclaiming severity — triagers trust you less next timeUnder-describing impact — triager doesn't understand why it matters```++---++## RETRACTION DISCIPLINE++When a previously-claimed finding fails reproduction — **never silently drop it.** Document the retraction in the report's appendix. This proves to the triager that you validate your own work, and it saves them from chasing a phantom you've already disproved.++**Retraction entry template:**++```markdown+### Retracted: <finding name>++- **Original signal:** <one-line description of what looked like a bug>+- **Disproving evidence:** <concrete reproduction-step + observation that disproves it>+- **Why it looked like a bug:** <root cause of the false positive — e.g., natural marker collision, network jitter, status-code-only confidence>+- **Retraction date:** <YYYY-MM-DD>+```++**Concrete retractions from an authorized engagement — pattern reference:**++- **X-Forwarded-Proto reflection** — looked like header reflection across 4 pages; was the literal word `javascript` in SP help-link hrefs. Cause: non-unique marker.+- **Host header `:80@evil` bypass** — 200 OK on a path that normally 403s; body byte-identical to baseline (8341 bytes). Cause: status-code-only confidence; ELB Host normalisation dropped the `@evil` portion.+- **`download.aspx` file-existence oracle** — looked like a file-existence differentiator across path types; was SP's file-extension blocklist (`.ashx`/`.asmx`/`.svc`/`.config` always blocked regardless of existence). Cause: confusing server-side policy with file state.+- **`Administrator` timing leak** — single-shot 1527 ms vs ~700 ms control on Authentication.asmx Login; n=80 interleaved reproduction collapsed every group to 685-716 ms. Cause: single-sample statistical claim.++**Why this matters:** retracted findings put in an appendix demonstrate methodological honesty. Silently dropping them looks like you cherry-picked. A clean 11-finding report with a retraction appendix is more trustworthy than a 13-finding report where 2 fall apart at triage.