本文へスキップ
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がスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/hunting-for-domain-fronting-c2-traffic/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“当社のプロキシログで、隠れたトラフィックがないか探してください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

このツールは、安全な接続(TLS/SSL)の開始時に送られるSNI(接続先のウェブサイト名)と、ブラウザーがアクセスしようとしているウェブサイト名を示す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

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル