본문으로 건너뛰기
Skillpedia
보안6.5k · #14048

ato-methodology

하는 일

이 안내서는 웹 앱에서 계정 탈취로 이어지는 주요 경로를 나열합니다. 로그인과 계정 기능을 테스트하는 보안 팀을 위한 가이드입니다.

사용하는 경우

  • ✓허가된 테스트가 비밀번호 재설정과 이메일 변경 흐름을 확인해야 할 때.
  • ✓다단계 인증 검사를 건너뛰거나 추측할 수 있는지 보고 싶을 때.
  • ✓팀이 검토할 계정 탈취 경로의 결정 트리를 원하는 경우.

스킬 링크

https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/exploit/web/ato-methodology/SKILL.md

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

사용 방법

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

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

Use this skill to help me: https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/exploit/web/ato-methodology/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에서 그대로 가져왔습니다.

Account Takeover (ATO) Methodology

ATO is an outcome, not a vuln class. Reach it via 9 canonical paths.

1. Password reset flaws

  • Token in URL leaked to Referer (3rd-party CDN, analytics)
  • Token guessable (timestamp + user_id, sequential int, predictable RNG)
  • Token-no-expiry → reuse forever
  • Reset accepts arbitrary email param (mass-assignment style)
  • Token not invalidated after password change
  • "Forgot username" flows revealing existence

2. Email change without re-auth

POST /api/users/me/email {email: ...} without verifying current password. Or with verification but verification token leaks.

3. Session fixation

Server accepts attacker-set session cookie. Victim's actions bind to attacker's session.

4. JWT-based ATO

See skills/exploit/web/jwt/SKILL.md — alg confusion, weak secret, kid injection.

5. OAuth-based ATO

See skills/exploit/web/oauth/SKILL.md — redirect_uri bypass + open-redirect chain → code to attacker.

6. IDOR-based ATO

  • PATCH /api/users/<id> w/o auth check → change victim's email/password
  • GET /api/users/<id>/sessions → harvest victim's session tokens

7. XSS-based ATO

Stored XSS on victim-visible page → exfil cookie / session token to attacker.

8. CSRF on critical state

  • CSRF on password change endpoint (no anti-CSRF token)
  • CSRF on email change
  • CSRF on MFA disable

9. MFA bypass

  • TOTP code accepted multiple times w/ short delay (race)
  • TOTP code accepted from past N-step (clock skew abuse)
  • Backup-code flow doesn't enforce TOTP
  • "Trust this device" w/o re-auth on critical action
  • Account recovery bypasses MFA entirely
  • Phone-number takeover (SIM swap) → SMS 2FA hijack

Chain table

Primary vuln Chain partner Outcome
Open redirect OAuth redirect_uri allowlist OAuth code → attacker → ATO
XSS (reflected) session cookie not HttpOnly Cookie exfil → ATO
XSS (stored) victim views page Cookie / session-storage exfil → ATO
IDOR on email change reset flow Change victim's email, reset, login
CSRF on password change predictable URL Phishing email triggers password change
Predictable reset token weak RNG audit Generate victim's token offline → reset
OAuth state missing account linking by email Attacker pre-creates account, links victim's OAuth → ATO
JWT alg=none server accepts Mint admin JWT → ATO
Email change w/o re-auth + ATO of email full account graph Standard playbook for multi-tenant SaaS

Decision tree

Has user MFA enabled?
├── No → Standard password-reset attacks (paths 1-3, 6, 8)
└── Yes →
    Bypass MFA available?
    ├── Yes (path 9) → MFA bypass → standard reset
    └── No → Look for paths 5, 7 (OAuth, XSS) that bypass MFA by design
              OR path 4 (JWT) that doesn't touch the MFA flow
              OR account-linking via OAuth (path 5) which often skips MFA

PoC framing

Every ATO PoC should:

  • Attacker creates own account
  • Demonstrate victim's account is fully controllable (login as victim, change their email, post as them)
  • Capture video or step-by-step screenshots
  • Show no destructive action taken on victim's actual data — just proof of access

Severity

ATO is always Critical (9.8-10.0) when fully achieved. Severity downgrade only when:

  • Requires user interaction (click malicious link) — High 8-9 typically
  • Requires multiple vulns to chain — capture the chain in single report
  • Limited to specific user types — caveat in impact

Cross-references

  • Upstream: skills/_corpus/payloads/Account Takeover/
  • JWT: skills/exploit/web/jwt/SKILL.md
  • OAuth: skills/exploit/web/oauth/SKILL.md
  • IDOR: skills/analyst/idor.md
  • XSS: skills/exploit/web/xss.md
  • Open redirect: skills/exploit/web/open-redirect/SKILL.md
자주 묻는 질문

계정 탈취란 무엇인가요?

누군가 다른 사람의 허락 없이 그 사람의 계정을 통제하게 되는 것입니다.

어떤 경로가 다뤄지나요?

비밀번호 재설정 결함, 재로그인 없는 이메일 변경, 세션 고정, 토큰 결함, OAuth, 다단계 인증 우회를 다룹니다.

검사가 빠졌다고 항상 탈취인가요?

항상 그렇지는 않습니다. 안내서는 각 경로를 테스트로 확인할 가능성으로 다룹니다.

상세 정보

작성자의 원본 설명

Account Takeover decision tree — 9 canonical ATO paths, chaining patterns (IDOR→ATO, XSS→ATO, OAuth→ATO), MFA bypass entry points.

repo: BitterSecurity/Decepticon

인기도

GitHub 스타
6.5k
순위
#14048
라이선스
Apache-2.0
업데이트
2026. 11. 1.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬