credential-attack
하는 일
이 스킬은 프로그램 범위가 자격 증명 테스트를 허용하는 경우에만 로그인 페이지에 대한 비밀번호 테스트를 계획하는 방법을 에이전트에게 가르칩니다. 언제 사용하는지, 단계가 어떻게 이어지는지, 안전 한계는 무엇인지 설명합니다.
사용하는 경우
- ✓버그 바운티 프로그램이 로그인 페이지의 인증이나 자격 증명 테스트를 명시적으로 허용할 때.
- ✓테스터에게 허용된 테스트를 위해 회사 전용 단어 목록이 필요할 때.
- ✓테스터가 비밀번호 테스트를 실행할 가치가 있는지 판단해야 하는 경우.
스킬 링크
https://github.com/awarexone/Agentic-Bug-Hunter/blob/main/skills/credential-attack/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
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 againstsite: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.
인기도
- GitHub 스타
- 5.5k
- 순위
- #14788
- 라이선스
- MIT
- 업데이트
- 2026. 10. 28.
댓글
- …
이 저장소의 다른 스킬
bug-bounty
5.5k에이전트가 범위 확인, 자산 매핑, 취약점 테스트, 영향 검증, 보고서 작성까지 버그 바운티 점검을 단계별로 계획하도록 돕습니다.
agentic-app-audit
5.5k에이전트가 운영 중인 AI 어시스턴트를 외부에서 점검해 도구 호출 탈취, 메모리 오염, 과도한 권한 사용 같은 위험을 찾도록 돕습니다.
argus
5.5k에이전트가 웹 앱과 API의 흔한 취약점을 찾는 여섯 가지 자동 스캐너를 실행하도록 돕습니다.
bb-methodology
5.5k에이전트가 버그 바운티 세션을 단계별로 계획하고, 다음 단계와 적절한 점검을 고르며, 실제 피해를 낼 수 없는 아이디어는 버리도록 돕습니다.