hunt-mfa-bypass
Fungsinya
Tool ini membantu menguji apakah autentikasi dua faktor (MFA/2FA) pada sebuah website bisa dilewati. Tool ini memeriksa apakah area yang dilindungi bisa diakses tanpa menyelesaikan langkah keamanan tambahan.
Kapan dipakai
- โSaat menguji keamanan website dengan izin.
- โUntuk memeriksa apakah sistem login cukup kuat.
- โUntuk memahami bagaimana celah keamanan bisa terjadi.
Link skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/hunt-mfa-bypass/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
โSaya ingin menguji apakah saya bisa melewati langkah autentikasi dua faktor di website [alamat website].โ
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Tool ini mencoba berbagai cara untuk mengelabui sistem keamanan. Caranya antara lain mencoba mengakses area terbatas tanpa kode, menggunakan ulang kode lama, atau memanfaatkan celah pada proses validasi.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
โ ๏ธ AUTHORIZED USE ONLY This skill is for educational purposes or authorized security assessments only. You must have explicit, written permission from the system owner before using this tool. Misuse of this tool is illegal and strictly prohibited.
Mandatory confirmation gate Before running any command that probes, exploits, changes, persists on, extracts data from, or attempts credential access against a target:
- Ask the user to state the exact target URL, IP, account, or resource.
- Ask the user to confirm written authorization and the permitted scope.
- Show the exact command(s) and explain their expected effect.
- Wait for explicit confirmation in the current conversation.
Without that confirmation, remain read-only and provide defensive guidance only. Prefer a sandbox, disposable VM, or controlled lab.
Autonomous Testing Priority
Try workflow bypasses before brute force โ they're faster and more likely to succeed.
Pattern 1 โ Skip the MFA step entirely (most automatable):
- Login with valid credentials โ receive a "pre-MFA" session state
- Without completing MFA, directly access a protected resource (
/dashboard,/api/me,/account/profile) - If the response returns user data โ MFA is enforced only in the UI, not server-side = Critical
Pattern 2 โ OTP replay (reuse a consumed code):
- Complete a valid MFA flow to get a working OTP
- Log out, log in again with the same credentials
- Submit the same OTP again
- If accepted โ OTP is not invalidated after use
Pattern 3 โ Submit obviously wrong OTP, observe response:
Try submitting 000000 or 123456. If the response is 200 or returns a session token, OTP validation is broken or client-side only.
Pattern 4 โ Partial / incremental validation (prefix oracle): If a guessed full code is rejected, test whether the server validates the OTP prefix-by-prefix instead of all-or-nothing. Submit a short partial code and compare responses:
- Submit a 1โ3 digit value (e.g.
otp=1, thenotp=12, โฆ) โ for a POST verify endpoint the code goes in the request body, not the URL query string, or the server reads an empty value. - If a correct prefix gives a DIFFERENT response than a wrong one (a success/flag, a distinct message, or a different length/timing), the validator leaks correctness one chunk at a time.
- Walk the code digit-by-digit: keep the prefix that "responds correct," append 0โ9, repeat. This collapses 10^6 brute force to ~10รN guesses (โค60 for a 6-digit code) โ very feasible in a bounded test.
This is the go-to when there is no leaked code and no skip/replay path. Some apps award success on any correct prefix outright (so a single correct first digit can win โ sweep
otp=0,1,โฆ,9before giving up). CRITICAL โ stay in ONE session: re-authenticating (POST /โฆ/login again) regenerates the OTP, throwing away your prefix progress. Do the entire sweep against a single established MFA session; never re-login between guesses.
On full brute force: brute-forcing all 10^6 codes is infeasible in a bounded test โ but the prefix oracle above (Pattern 4) usually makes it unnecessary. Only attempt full brute force with evidence of no rate limit AND a small key space.
Proof: A session token or protected resource data in the response without completing MFA confirms the bypass.
19. MFA / 2FA BYPASS
Growing bug class โ 7 distinct patterns. Pays High/Critical when it enables ATO without prior session.
Pattern 1: No Rate Limit on OTP
# Test with ffuf โ all 1M 6-digit codes
ffuf -u "https://target.com/api/verify-otp" \
-X POST -H "Content-Type: application/json" \
-H "Cookie: session=YOUR_SESSION" \
-d '{"otp":"FUZZ"}' \
-w <(seq -w 000000 999999) \
-fc 400,429 -t 5
# -t 5 (slow down) โ aggressive rates get 429 or ban
Pattern 2: OTP Not Invalidated After Use
1. Login โ receive OTP "123456" โ enter it โ success
2. Logout โ login again with same credentials
3. Try OTP "123456" again
4. If accepted โ OTP never invalidated = ATO (attacker sniffs OTP once, reuses forever)
Pattern 3: Response Manipulation
1. Enter wrong OTP โ capture response in Burp
2. Change {"success":false} โ {"success":true} (or 401 โ 200)
3. Forward โ if app proceeds โ client-side only MFA check
Pattern 4: Skip MFA Step (Workflow Bypass)
# After entering password, app sets a "pre-mfa" cookie โ redirects to /mfa
โฆ
Pertanyaan umum
Apa itu MFA/2FA?
Itu adalah lapisan keamanan tambahan yang meminta kode (biasanya dikirim ke ponsel atau dihasilkan oleh aplikasi) selain kata sandi biasa Anda.
Apakah aman menggunakan tool ini?
Hanya jika Anda memiliki izin tertulis yang jelas dari pemilik sistem. Menggunakannya tanpa izin adalah tindakan ilegal.
Apa arti 'bypass'?
Artinya menemukan cara untuk melewati penghalang keamanan tanpa mengikuti aturan normal, misalnya melewati langkah kode dua faktor.
Detail
Popularitas
- Bintang GitHub
- 48k
- Peringkat
- #4886
- Lisensi
- MIT
- Diperbarui
- 15/10/2026
Komentar
- โฆ
Skill lain dari repositori ini
00-andruia-consultant
48kMembantu agent Anda memulai atau meningkatkan proyek AI. Agent menganalisis kode, menyarankan tools, dan membuat rencana aksi dalam bahasa Spanyol.
007
48kMemungkinkan agent Anda melakukan audit keamanan dan threat modeling. Berguna untuk melindungi proyek dari serangan dan celah keamanan.
10-andruia-skill-smith
48kMembantu agent Anda membuat atau meningkatkan tools AI. Agent mendefinisikan cara kerja tools, menulis dokumentasi, dan memvalidasi strukturnya.
20-andruia-niche-intelligence
48kMemungkinkan agent Anda membuat ringkasan industri tertentu. Berguna untuk memahami konteks, aturan, pola penggunaan, dan risiko proyek dengan sumber terpercaya.
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.