Chuyển đến nội dung
Skillpedia
Bảo mật5.5k · #14788

credential-attack

Skill này làm gì

Skill này dạy agent cách lên kế hoạch kiểm thử mật khẩu trên trang đăng nhập, nhưng chỉ khi phạm vi chương trình cho phép kiểm thử thông tin đăng nhập. Skill giải thích khi nào nên dùng, các bước liên kết với nhau thế nào và các giới hạn an toàn.

Khi nào nên dùng

  • ✓Khi chương trình bug bounty cho phép rõ ràng việc kiểm thử xác thực hoặc thông tin đăng nhập trên trang đăng nhập.
  • ✓Khi người kiểm thử cần một danh sách từ riêng cho công ty cho một bài kiểm thử được phép.
  • ✓Khi người kiểm thử cần quyết định xem một bài kiểm thử mật khẩu có đáng làm hay không.

Liên kết skill

https://github.com/awarexone/Agentic-Bug-Hunter/blob/main/skills/credential-attack/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/awarexone/Agentic-Bug-Hunter/blob/main/skills/credential-attack/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Giúp tôi quyết định xem kiểm thử thông tin đăng nhập có được phép theo phạm vi của chương trình này không, và lên kế hoạch một bài kiểm thử nằm trong giới hạn đó.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent kiểm tra phạm vi chương trình trước, rồi xây dựng danh sách từ từ thuật ngữ của công ty, kiểm tra các tùy chọn đăng nhập và lên kế hoạch kiểm thử với giới hạn tần suất thận trọng. Agent tuân theo các rào pháp lý trong skill.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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
Câu hỏi thường gặp

Có được phép trên mọi chương trình không?

Không. Skill nói nhiều chương trình loại trừ tấn công mật khẩu, nên phải kiểm tra phạm vi trước.

Vì sao dùng từ riêng cho công ty?

Skill nói tên sản phẩm, thành phố văn phòng và thuật ngữ dự án giúp danh sách từ hữu ích hơn.

Nó bao phủ những loại đăng nhập nào?

Skill liệt kê các chế độ form web, OAuth, Office 365 và Okta.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
5.5k
Vị trí xếp hạng
#14788
Giấy phép
MIT
Cập nhật
28/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự