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

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/hunting-for-domain-fronting-c2-traffic/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“ابحث عن حركة مخفية في سجلات البروكسي لدينا.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

تقارن هذه المهارة اسم الموقع المرسل في بداية الاتصال الآمن (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.

الأسئلة الشائعة

ما هو «domain fronting»؟

هو أسلوب يستخدمه المهاجمون لإخفاء حركة التحكم والسيطرة (C2) الصادرة من البرامج الخبيثة، فتبدو وكأنها تتجه إلى موقع شرعي ومعروف، مثل خدمة CDN.

ما هما «SNI» و«Host header»؟

SNI معلومة يرسلها المتصفح في بداية الاتصال الآمن (TLS/SSL) ليحدد الموقع الذي يريد الوصول إليه. أما Host header فيُرسل لاحقًا ضمن اتصال HTTP، ويدل أيضًا على الموقع المطلوب.

لماذا تُعد مقارنة SNI مع Host header مهمة؟

إذا أشار SNI إلى نطاق CDN مثل «cdn.example.com» وأشار Host header إلى نطاق مختلف ومشبوه مثل «malware.attacker.com»، فهذه علامة قوية على أن أحدًا يحاول استخدام «domain fronting» لإخفاء التواصل.

التفاصيل

الوصف الأصلي من المؤلف

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
آخر تحديث
31‏/8‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة