본문으로 건너뛰기
Skillpedia
분석 및 스프레드시트35k · #7959

hunting-for-domain-fronting-c2-traffic

하는 일

이 도구는 콘텐츠 전송 네트워크(CDN) 같은 잘 알려진 웹사이트 뒤에 숨으려는 의심스러운 인터넷 트래픽을 찾습니다. 컴퓨터가 사이트에 연결할 때 보내는 서로 다른 정보들을 비교해 확인합니다.

사용하는 경우

  • ✓누군가 악의적인 통신을 숨기고 있다고 의심될 때.
  • ✓네트워크 로그에서 비정상적인 활동을 조사할 때.
  • ✓보안 도구가 이런 유형의 숨은 트래픽을 잡아내는지 확인하는 경우.

스킬 링크

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/hunting-for-domain-fronting-c2-traffic/SKILL.md

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

사용 방법

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

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

Use this skill to help me: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/hunting-for-domain-fronting-c2-traffic/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분.

작동 방식

이 도구는 보안 연결(TLS) 시작 시 보내는 웹사이트 이름(SNI)과, 그다음 HTTP 통신에서 보내는 웹사이트 이름(Host 헤더)을 비교합니다. 둘이 다르고 정상 사이트를 악성 사이트를 숨기는 데 쓰는 것처럼 보이면 경고를 띄웁니다.

기술 내용 (원본 SKILL.md)

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

Hunting for Domain Fronting C2 Traffic

Overview

Domain fronting (MITRE ATT&CK T1090.004) is a technique where attackers use different domain names in the TLS SNI field and the HTTP Host header to disguise C2 traffic behind legitimate CDN-hosted domains. This skill detects domain fronting by parsing proxy/web gateway logs for SNI-Host header mismatches, analyzing TLS certificates for CDN provider identification, flagging connections where the SNI points to a high-reputation domain but the Host header targets an attacker-controlled domain, and correlating with known CDN provider IP ranges.

When to Use

  • When investigating security incidents that require hunting for domain fronting c2 traffic
  • When building detection rules or threat hunting queries for this domain
  • When SOC analysts need structured procedures for this analysis type
  • When validating security monitoring coverage for related attack techniques

Prerequisites

  • Web proxy or secure web gateway logs with SNI and Host header fields
  • Python 3.8+ with pyOpenSSL and cryptography libraries
  • TLS inspection enabled on proxy for Host header visibility
  • CDN provider IP range lists (CloudFront, Azure CDN, Cloudflare)

Steps

  1. Parse proxy logs for connections with both SNI and Host header fields
  2. Compare SNI domain against HTTP Host header for mismatches
  3. Extract TLS certificate Subject and SAN fields using pyOpenSSL
  4. Identify CDN-hosted connections via certificate issuer and IP ranges
  5. Flag high-confidence domain fronting where SNI and Host differ on CDN IPs
  6. Score alerts based on domain reputation differential
  7. Generate detection report with network flow context

Expected Output

JSON report containing detected domain fronting indicators with SNI-Host pairs, certificate details, CDN provider identification, confidence scores, and MITRE ATT&CK technique mapping.

자주 묻는 질문

‘도메인 프런팅’이란 무엇인가요?

공격자가 악성 코드의 명령 및 제어(C2) 트래픽을 CDN 서비스 같은 잘 알려진 웹사이트인 것처럼 위장해 숨기는 기법입니다.

‘SNI’와 ‘Host 헤더’는 무엇인가요?

SNI(Server Name Indication)는 보안 연결(TLS/SSL)이 시작될 때 브라우저가 접속하려는 웹사이트를 알려 주기 위해 보내는 정보입니다. Host 헤더는 그 후 HTTP 통신 안에서 보내지며, 역시 원하는 웹사이트를 나타냅니다.

SNI와 Host 헤더를 비교하는 것이 왜 중요한가요?

SNI가 CDN 도메인(예: ‘cdn.example.com’)을 가리키는데 Host 헤더가 다른 의심스러운 도메인(예: ‘malware.attacker.com’)을 가리킨다면, 누군가 ‘도메인 프런팅’으로 통신을 숨기려는 강한 신호입니다.

상세 정보

작성자의 원본 설명

Detects domain fronting C2 traffic by analyzing SNI-vs-HTTP-Host-header mismatches in proxy logs and inspecting TLS certificate discrepancies with pyOpenSSL. Use when hunting for command-and-control traffic hidden behind legitimate CDN domains, or when investigating proxy/TLS logs for signs of domain fronting evasion.

repo: mukul975/Anthropic-Cybersecurity-Skills

인기도

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

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬