본문으로 건너뛰기
Skillpedia
테스트35k · #8244

performing-initial-access-with-evilginx3

하는 일

EvilGinx3는 로그인 정보와 세션 쿠키를 훔치기 위한 ‘중간자(man-in-the-middle)’ 공격을 모의하는 도구입니다. 이를 통해 보안팀은 신원 도용 방어가 제대로 작동하는지 테스트할 수 있습니다.

사용하는 경우

  • ✓회사의 보안을 공격 모의로 테스트할 때.
  • ✓데이터 도난 방어가 작동하는지 확인할 때.
  • ✓정기 보안 감사를 수행하는 경우.

스킬 링크

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/performing-initial-access-with-evilginx3/SKILL.md

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

사용 방법

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

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

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

AI에게 요청하는 예시

“Microsoft 365 자격 증명과 세션 쿠키를 얻기 위한 피싱 공격을 모의해 주세요.”

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

작동 방식

도구는 피해자와 실제 웹사이트 사이에 자리 잡고, 입력된 정보와 세션 쿠키를 복사합니다. 이를 통해 테스터는 비밀번호나 2단계 인증 없이도 피해자의 계정에 ‘들어갈’ 수 있습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Performing Initial Access with EvilGinx3

Overview

EvilGinx3 is a man-in-the-middle attack framework used for phishing login credentials along with session cookies, enabling bypass of multi-factor authentication (MFA). Unlike traditional credential phishing that only captures usernames and passwords, EvilGinx3 operates as a transparent reverse proxy between the victim and the legitimate authentication service, intercepting the full authentication flow including MFA tokens and session cookies. This makes it the primary tool for red teams demonstrating the risk of adversary-in-the-middle (AiTM) attacks against organizations relying solely on MFA for protection.

When to Use

  • When conducting security assessments that involve performing initial access with evilginx3
  • When following incident response procedures for related security events
  • When performing scheduled security testing or auditing activities
  • When validating security controls through hands-on testing

Prerequisites

  • Familiarity with red teaming concepts and tools
  • Access to a test or lab environment for safe execution
  • Python 3.8+ with required dependencies installed
  • Appropriate authorization for any testing activities

Objectives

  • Deploy EvilGinx3 with custom phishlets targeting authorized scope
  • Configure DNS and SSL certificates for the phishing domain
  • Capture session tokens that bypass MFA protections
  • Import stolen session cookies into a browser to hijack authenticated sessions
  • Integrate with GoPhish or custom delivery mechanisms for phishing email campaigns
  • Document the complete attack chain from phishing email to authenticated access

MITRE ATT&CK Mapping

  • T1566.002 - Phishing: Spearphishing Link
  • T1557 - Adversary-in-the-Middle
  • T1539 - Steal Web Session Cookie
  • T1078 - Valid Accounts
  • T1556 - Modify Authentication Process
  • T1550.004 - Use Alternate Authentication Material: Web Session Cookie

Workflow

Phase 1: Infrastructure Setup

  1. Register a convincing lookalike domain (e.g., using homoglyphs or typosquatting)
  2. Provision a VPS and point the domain's DNS A record to the server IP
  3. Install EvilGinx3:
    git clone https://github.com/kgretzky/evilginx2.git
    cd evilginx2
    make
    sudo ./bin/evilginx -p ./phishlets
    
  4. Configure the domain and IP in EvilGinx3:
    config domain example-phish.com
    config ipv4 <server-ip>
    
  5. EvilGinx3 automatically provisions Let's Encrypt certificates for configured hostnames

Phase 2: Phishlet Configuration

  1. Select or create a phishlet for the target service (e.g., Microsoft 365, Google Workspace):
    phishlets hostname o365 login.example-phish.com
    phishlets enable o365
    
  2. Verify phishlet is active and SSL certificate is issued:
    phishlets
    
  3. Create a lure URL for the phishing campaign:
    lures create o365
    lures get-url 0
    
  4. Optionally configure a redirect URL for post-capture:
    lures edit 0 redirect_url https://legitimate-site.com
    

Phase 3: Phishing Delivery

  1. Craft a pretext email with the lure URL embedded
  2. Use GoPhish or manual SMTP for email delivery:
    # Integration with EvilGoPhish for combined campaigns
    # Provides GoPhish email tracking + EvilGinx3 credential capture
    
  3. Implement URL masking or shortening if needed for link obfuscation
  4. Deploy landing page with appropriate social engineering pretext

Phase 4: Session Hijacking

  1. Monitor EvilGinx3 for captured sessions:
    sessions
    sessions <session-id>
    
  2. Extract captured session cookies from the session:
    # Session output includes:
    # - Username and password
    # - Session cookies (authentication tokens)
    # - Custom captured parameters
    
  3. Import session cookies into a browser using a cookie editor extension:
    • Export cookies in JSON format
    • Use Cookie-Editor or EditThisCookie browser extension
    • Navigate to the target service to validate session hijack
  4. Establish persistent access by creating application passwords or OAuth tokens

Phase 5: Post-Access Activities

  1. Enumerate mailbox contents, contacts, and shared drives
  2. Identify additional targets for lateral phishing
  3. Check for access to connected cloud applications (SharePoint, Teams, OneDrive)
  4. Document all captured credentials and access achieved

Tools and Resources

| Tool | Purpose | Platform |

…

자주 묻는 질문

‘중간자(man-in-the-middle)’란 무엇인가요?

대화 중간에 끼어들어 오가는 내용을 엿듣거나 가로채는 것과 같습니다. 디지털 세계에서는 도구가 사용자와 접속하려는 웹사이트 사이에 자리 잡습니다.

‘세션 쿠키’란 무엇인가요?

웹사이트가 이미 로그인된 상태임을 기억하기 위해 브라우저에 저장하는 작은 파일입니다. 이 쿠키를 훔치면 비밀번호 없이도 계정을 사용할 수 있습니다.

이 도구를 사용하려면 허가가 필요한가요?

네, EvilGinx3를 어떤 환경에서든 사용하기 전에 명시적인 허가를 받는 것이 매우 중요합니다. 이 도구는 허가된 보안 테스트(레드 팀)를 위해 설계되었습니다.

상세 정보

작성자의 원본 설명

Perform authorized initial access using EvilGinx3 adversary-in-the-middle phishing framework to capture session tokens and bypass multi-factor authentication during red team engagements.

repo: mukul975/Anthropic-Cybersecurity-Skills

인기도

GitHub 스타
35k
순위
#8244
라이선스
Apache-2.0
업데이트
2026. 8. 31.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬