Langsung ke konten
Skillpedia
Keamanan48k ยท #4886

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.md

Salin 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

Gunakan skill ini untuk membantu saya: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/hunt-mfa-bypass/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit โ†’

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:

  1. Ask the user to state the exact target URL, IP, account, or resource.
  2. Ask the user to confirm written authorization and the permitted scope.
  3. Show the exact command(s) and explain their expected effect.
  4. 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):

  1. Login with valid credentials โ†’ receive a "pre-MFA" session state
  2. Without completing MFA, directly access a protected resource (/dashboard, /api/me, /account/profile)
  3. 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):

  1. Complete a valid MFA flow to get a working OTP
  2. Log out, log in again with the same credentials
  3. Submit the same OTP again
  4. 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:

  1. Submit a 1โ€“3 digit value (e.g. otp=1, then otp=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.
  2. 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.
  3. 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,โ€ฆ,9 before 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

Deskripsi asli dari pembuat

Hunt MFA / 2FA bypass

repo: sickn33/agentic-awesome-skills

Popularitas

Bintang GitHub
48k
Peringkat
#4886
Lisensi
MIT
Diperbarui
15/10/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • โ€ฆ

Skill lain dari repositori ini

Skill serupa