Langsung ke konten
Skillpedia
Keamanan5.5k Β· #14788

credential-attack

Fungsinya

Skill ini mengajari agent cara merencanakan pengujian kata sandi terhadap halaman login, tetapi hanya jika cakupan program mengizinkan pengujian kredensial. Skill ini menjelaskan kapan digunakan, bagaimana langkahnya saling terhubung, dan batas keamanannya.

Kapan dipakai

  • βœ“Saat program bounty secara eksplisit mengizinkan pengujian autentikasi atau kredensial pada halaman login.
  • βœ“Saat penguji memerlukan daftar kata khusus perusahaan untuk pengujian yang diizinkan.
  • βœ“Saat penguji perlu memutuskan apakah pengujian kata sandi layak dijalankan sama sekali.

Link skill

https://github.com/awarexone/Agentic-Bug-Hunter/blob/main/skills/credential-attack/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/awarexone/Agentic-Bug-Hunter/blob/main/skills/credential-attack/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

β€œBantu saya memutuskan apakah pengujian kredensial diizinkan dalam cakupan program ini, dan rencanakan pengujian yang tetap dalam batasnya.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Agent memeriksa cakupan program lebih dulu, lalu membuat daftar kata dari istilah perusahaan, memeriksa opsi login, dan merencanakan pengujian dengan batas laju yang konservatif. Agent mengikuti batasan hukum dalam skill.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

CREDENTIAL ATTACK PIPELINE

Real-world initial-access vector. Verizon DBIR consistently ranks Stolen Credentials in the top 3 incident types. Most BB hunters skip this because they only try rockyou.txt and get rate-limited.

Core principle: humans pick lazy passwords. {CompanyName}{Year}!, {ProductName}{Season}, {City}123. Harvesting company-specific vocabulary (product names, office cities, internal project codes) before spraying is what makes the hit-rate go from 0.01% to 1%+.

This skill covers WHEN to use credential attack, HOW to chain the 4 commands, and the legal/operational guardrails.


WHEN TO RUN CREDENTIAL ATTACK

Credential attack is a parallel branch to /hunt, not a replacement. Both come after /recon:

/recon ──┬──▢ /hunt (web vuln scan)         ──┐
         β”‚                                     β”œβ”€β”€β–Ά /validate ──▢ /report
         └──▢ /wordlist-gen β†’ ... β†’ /spray  β”€β”€β”˜

Run it when:

  • Target has a discoverable login endpoint (web form / O365 / Okta / OAuth)
  • Program scope explicitly permits authentication testing or credential testing
  • You can stomach a 30-min-to-multi-hour run (with conservative defaults)

Skip it when:

  • Program policy lists "credential stuffing", "brute force", or "password attacks" as out-of-scope (this is the majority)
  • Target only has SSO via a provider you don't control (e.g., "Login with Google")
  • The login endpoint is rate-limited so aggressively that even 1 attempt/30min triggers alerts

KILL signals (don't even start):

  • No login surface in recon output
  • WAF (Cloudflare with Bot Management, Akamai) on every auth endpoint
  • Program runs an active red-team β€” they'll see your spray immediately
  • You don't have a clean wordlist yet (running rockyou.txt is a waste of lockouts)

THE 4-STAGE PIPELINE

/wordlist-gen     ──▢  /breach-check     ──▢  /osint-employees   ──▢  /spray
(company words)        (rank by HIBP)         (real usernames)         (live attempts)

You can run stages 1+2 in parallel with stage 3 (they share no inputs).

Stage 1 β€” /wordlist-gen <target>

Crawls the target website with cewler, deduplicates, applies hashcat rules to mutate (flexdemo β†’ flexdemo!, Flexdemo, flexdemo123, flexdemo2025...).

Mode selection:

Mode Rules When
minimal top10_2025 (10 rules) Cautious spray, paranoid program
balanced (default) best66 (66 rules) Standard β€” best signal/noise
aggressive OneRuleToRuleThemAll (52k) Offline cracking only, NOT spray (too many candidates)

Filter selection:

Filter When
strict (default) API-doc-heavy sites (Twilio, Stripe). Drops CSS hex colors, URL slugs, random API tokens that cewler harvests as "words"
loose Marketing sites without API examples β€” keeps everything cewler found

Output: recon/<target>/wordlists/ranked.txt β€” typically 50k-500k candidates depending on site size.


Stage 2 β€” /breach-check <wordlist>

Sends only first 5 chars of SHA-1 to HIBP (k-anonymity), enriches each password with its real-world breach count. Free, no API key, full passwords never leave your machine.

Breach-count interpretation:

Range Meaning Spray strategy
0 Never leaked Could be company-specific OR truly random
1-1000 "Sweet spot" β€” proven human use, not yet in every spray list Prioritize
1k-1M Mainstream Usually already tried by previous attackers
>1M Generic (password, 123456) Skip β€” every WAF expects these

Standard filter for spray prep: --max-count 1000000 drops the boring generic stuff while keeping the sweet spot.

Performance: ~5 minutes for 10k passwords, ~50 minutes for 100k. Use --limit N --shuffle to sample if your wordlist is huge.


Stage 3 β€” /osint-employees <target>

theHarvester (search engines + CT logs) β†’ derive names from email local-parts β†’ username-anarchy permutations.

Default mode is conservative:

  • Sources: duckduckgo,brave,yahoo,mojeek,crtsh,certspotter,hackertarget,otx
  • No LinkedIn-specific scraping
  • No paid OSINT (DeHashed, IntelX, Shodan)

Opt-in flags:

  • --with-linkedin β€” adds CrossLinked (Google/Bing dorks against site:linkedin.com). Read program policy first β€” some BBPs forbid employee identification.
  • --with-pydictor-social β€” pydictor generates name-derived password candidates (john2025, `john!2
Pertanyaan umum

Apakah ini diizinkan di setiap program?

Tidak. Skill ini menyebutkan banyak program mengecualikan serangan kata sandi, sehingga cakupan harus diperiksa lebih dulu.

Mengapa memakai kata khusus perusahaan?

Skill ini menyebutkan nama produk, kota kantor, dan istilah proyek membuat daftar kata lebih berguna.

Jenis login apa saja yang dicakup?

Skill ini mencantumkan mode form web, OAuth, Office 365, dan Okta.

Detail

Deskripsi asli dari pembuat

Password spray methodology for bug bounty β€” when to do it vs web-vuln hunting, the wordlist-gen + breach-check + osint-employees + spray pipeline, mode selection (http-form / oauth / o365 / okta), rate-limit + lockout tactics, BBP legal guardrails, success detection, and the spray β†’ authenticated /hunt chain pattern. Use when assessing whether credential attack is worth running on a target, picking the right mode, or recovering from common pitfalls.

repo: awarexone/Agentic-Bug-Hunter

Popularitas

Bintang GitHub
5.5k
Peringkat
#14788
Lisensi
MIT
Diperbarui
28/10/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa