본문으로 건너뛰기
Skillpedia
보안5.5k · #14788

credential-attack

하는 일

이 스킬은 프로그램 범위가 자격 증명 테스트를 허용하는 경우에만 로그인 페이지에 대한 비밀번호 테스트를 계획하는 방법을 에이전트에게 가르칩니다. 언제 사용하는지, 단계가 어떻게 이어지는지, 안전 한계는 무엇인지 설명합니다.

사용하는 경우

  • ✓버그 바운티 프로그램이 로그인 페이지의 인증이나 자격 증명 테스트를 명시적으로 허용할 때.
  • ✓테스터에게 허용된 테스트를 위해 회사 전용 단어 목록이 필요할 때.
  • ✓테스터가 비밀번호 테스트를 실행할 가치가 있는지 판단해야 하는 경우.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/awarexone/Agentic-Bug-Hunter/blob/main/skills/credential-attack/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“이 프로그램의 범위에서 자격 증명 테스트가 허용되는지 판단하고, 그 한계를 지키는 테스트를 계획해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 먼저 프로그램 범위를 확인한 다음, 회사 용어로 단어 목록을 만들고, 로그인 옵션을 점검하고, 보수적인 속도 제한으로 테스트를 계획합니다. 스킬의 법적 제약을 따릅니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 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
자주 묻는 질문

모든 프로그램에서 허용되나요?

아닙니다. 스킬은 많은 프로그램이 비밀번호 공격을 제외하므로 범위를 먼저 확인해야 한다고 설명합니다.

왜 회사 전용 단어를 쓰나요?

스킬은 제품명, 사무실 도시, 프로젝트 용어가 단어 목록을 더 유용하게 만든다고 설명합니다.

어떤 로그인 유형을 다루나요?

웹 폼, OAuth, Office 365, Okta 모드를 다룹니다.

상세 정보

작성자의 원본 설명

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

인기도

GitHub 스타
5.5k
순위
#14788
라이선스
MIT
업데이트
2026. 10. 28.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬