web-auth-mapping
Authentication surface — login endpoints, JWT/OAuth/SAML/SSO/API-key mechanism identification.
- License 许可
- Apache-2.0
- 最近更新
- 2026-07-22
- Stars
- ★ 3
- Forks
- 0
01 前言 Front Matter
- name
- web-auth-mapping
- metadata
- { "tags": "auth-mapping", "subdomain": "reconnaissance", "when_to_use": "auth surface, login endpoints, JWT, OAuth, SAML, SSO, API key, authentication mechanism", "mitre_attack": "T1589.001" }
- description
- Authentication surface — login endpoints, JWT/OAuth/SAML/SSO/API-key mechanism identification.
- allowed-tools
- Bash Read Write
03 SKILL.md 正文
Authentication Surface Mapping
Map every authentication mechanism the target exposes. Exploit downstream needs to know exactly how to hold a session (cookie, JWT, API key) and where to attack auth (token theft, race-condition on bcrypt, SSO redirect chain).
1. Login Endpoint Discovery
# Common auth paths
for path in login signin auth authenticate oauth/authorize \
api/auth api/login admin/login wp-login.php; do
code=$(curl -s -o /dev/null -w "%{http_code}" "https://<target>/$path")
[ "$code" != "404" ] && echo "$code https://<target>/$path"
done
2. Auth Mechanism Identification
| Mechanism | Signal |
|---|---|
| Cookie-based | Set-Cookie headers after login (often session=, JSESSIONID=, PHPSESSID=) |
| JWT | Authorization: Bearer eyJ... patterns; three base64 segments separated by . |
| OAuth 2.0 | /oauth/authorize, /oauth/token endpoints; state/code/redirect_uri params |
| API Key | X-API-Key header accepted; Authorization: ApiKey <token> |
| SAML/SSO | Redirects to IdP (Okta, Azure AD, Auth0); SAMLRequest form param |
| Session row + slow KDF | Login latency >50ms on wrong password (bcrypt/Argon2) — flag for race-condition recon |
3. Output for Handoff
Record per mechanism: endpoint, success/fail signals (status code, cookie set, JSON shape), credentials used, observed latency. This feeds the Required session state line in the recon → exploit handoff.
04 同仓库更多 Skills
wps-pixie-dust
WPS Pixie-Dust offline nonce attack (reaver -K / pixiewps) and fallback online PIN brute (bully) to recover the AP's WPA PSK without capturing a handshake.
wpa3-sae
WPA3-SAE transition-mode downgrade (DragonShift), SSID Confusion CVE-2023-52424, Dragonblood side-channels, and SAE captive-portal credential recovery against WPA3-Personal networks.
wpa2-psk
WPA/WPA2-PSK handshake capture via targeted deauth + PMKID (no deauth required) + offline hashcat cracking. The most common consumer/SMB encryption mode in 2026.
wpa-enterprise-eap
WPA/WPA2/WPA3-Enterprise (802.1X/EAP) rogue-RADIUS evil-twin for MSCHAPv2 capture, GTC downgrade, and PEAP relay. MSCHAPv2 capture equals a NetNTLM hash — the primary wireless on-ramp to Active Directory.
krack-fragattacks
KRACK key-reinstallation (CVE-2017-13077..13082) and FragAttacks fragmentation/aggregation flaws (CVE-2020-24586..24588, CVE-2020-26139..26147) against legacy or embedded 802.11 supplicants with poor patch cadence.
evil-twin-karma
Evil-twin rogue AP with KARMA/Mana PNL-probe response, captive-portal credential capture, and post-association MITM for PSK/open networks. Distinct from wpa-enterprise-eap which targets 802.1X.