Skillpedia
التحليل وجداول البيانات35k · #7949

hunting-for-beaconing-with-frequency-analysis

ما الذي تفعله

تساعد هذه المهارة على إيجاد الحواسيب في شبكتك التي قد تتواصل سرا مع خادم خبيث. وتفعل ذلك بالبحث عن أنماط تواصل تتكرر على فترات منتظمة، مثل «إشارة» ترسلها إلى «قائد».

متى تستخدمها

  • ✓عندما تشك في أن حاسوبا ربما تعرض للاختراق.
  • ✓عندما تتلقى تحذيرات عن تهديدات جديدة قد تؤثر في شبكتك.
  • ✓عندما ترى حواسيب تتصل بأماكن غريبة على الإنترنت على فترات منتظمة.

رابط المهارة

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/hunting-for-beaconing-with-frequency-analysis/SKILL.md

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

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

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

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

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

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

“ابحث عن علامات تواصل سري في شبكتنا.”

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

كيف تعمل

تحلل المهارة سجلات اتصالات الشبكة لإيجاد أنماط تواصل متكررة. وتحسب الفترة الزمنية بين الاتصالات، وتتحقق من وجود نمط منتظم، مع تجاهل الاتصالات العادية مثل تحديثات البرمجيات.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

Hunting for Beaconing with Frequency Analysis

When to Use

  • When proactively searching for compromised endpoints calling back to C2 infrastructure
  • After threat intelligence reports indicate active C2 frameworks targeting your sector
  • When network logs show periodic outbound connections to unfamiliar destinations
  • During purple team exercises validating C2 detection capabilities
  • When investigating a potential breach and need to identify active C2 channels

Prerequisites

  • Network proxy/firewall logs with timestamps and destination data (minimum 24 hours)
  • Zeek conn.log, dns.log, and ssl.log or equivalent NetFlow/IPFIX data
  • SIEM platform with statistical analysis capability (Splunk, Elastic, Microsoft Sentinel)
  • RITA (Real Intelligence Threat Analytics) or AC-Hunter for automated beacon analysis
  • Threat intelligence feeds for domain/IP reputation enrichment

Workflow

  1. Define Beacon Parameters: Establish detection thresholds -- coefficient of variation (CV) below 0.20 indicates strong periodicity, minimum 50 connections over 24 hours, average interval between 30 seconds and 24 hours.
  2. Collect Network Telemetry: Aggregate proxy logs, DNS queries, firewall connection logs, and Zeek metadata into the analysis platform.
  3. Calculate Connection Intervals: For each source-destination pair, compute the time delta between consecutive connections and derive mean interval, standard deviation, and CV.
  4. Apply Jitter Analysis: Sophisticated C2 frameworks like Cobalt Strike add jitter (randomness) to beacon intervals. The Sunburst backdoor beaconed every 15 minutes plus/minus 90 seconds. Analyze jitter patterns to detect even randomized beaconing.
  5. Filter Legitimate Periodic Traffic: Exclude known-good beaconing sources including Windows Update, antivirus definition updates, NTP synchronization, SaaS heartbeat services, and CDN health checks.
  6. Analyze Data Size Consistency: C2 heartbeat packets typically have consistent payload sizes. Calculate the CV of bytes transferred per connection -- low variance suggests automated communication.
  7. Enrich with Threat Intelligence: Check identified beaconing destinations against VirusTotal, WHOIS registration data (flag domains under 30 days old), certificate transparency logs, and passive DNS history.
  8. Correlate with Endpoint Telemetry: Map beaconing source IPs to endpoint hostnames via DHCP logs, then correlate with process creation events (Sysmon Event ID 1, 3) to identify the responsible process.
  9. Score and Prioritize: Assign risk scores based on CV value, domain age, TI matches, data size consistency, and suspicious port usage. Escalate high-confidence findings.

Key Concepts

Concept Description
T1071.001 Application Layer Protocol: Web Protocols -- HTTP/HTTPS beaconing
T1071.004 Application Layer Protocol: DNS -- DNS-based C2 tunneling
T1573 Encrypted Channel -- TLS/SSL encrypted C2 communication
T1568.002 Dynamic Resolution: Domain Generation Algorithms
Coefficient of Variation Standard deviation divided by mean; values below 0.20 indicate periodicity
Jitter Random variation added to beacon interval to evade detection
RITA Beacon Score Composite score from connection regularity, data size consistency, and connection count
JA3/JA4 Fingerprinting TLS client fingerprinting to identify C2 framework signatures
Fast-Flux DNS Rapidly changing DNS resolution used to protect C2 infrastructure

Tools & Systems

Tool Purpose
RITA (Real Intelligence Threat Analytics) Automated beacon scoring from Zeek logs
AC-Hunter Commercial threat hunting platform with beacon detection
Splunk SPL-based statistical beacon analysis with streamstats
Elastic Security ML anomaly detection for periodic network behavior
Zeek Network metadata collection (conn.log, dns.log, ssl.log)
Suricata Network IDS with JA3/JA4 TLS fingerprint extraction
FLARE C2 profile and beacon pattern detection
VirusTotal Domain and IP reputation enrichment

Detection Queries

Splunk -- HTTP/S Beacon Frequency Analysis

index=proxy OR index=firewall
| where NOT match(dest, "(?i)(microsoft|google|amazonaws|cloudflare|akamai)")
| bin _time span=1s
| stats count by src_ip dest _time
| streamstats current=f last(_time) as prev_time by src_ip dest
| eval interval=_time-prev_time

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

ما هو «beaconing»؟

هو أن يرسل حاسوب مصاب إشارات منتظمة إلى خادم تحكم، مثل منارة تومض لتوجيه السفينة.

ما هو «التشويش» (jitter)؟

هو تغيّر عشوائي صغير في توقيت الإشارات. يستخدمه المهاجمون لإخفاء النمط المنتظم وتجنب الكشف.

لماذا أحتاج إلى سجلات الشبكة لمدة 24 ساعة على الأقل؟

لتملك بيانات كافية لتحديد أنماط التواصل المتكررة عبر الزمن، وتمييزها عن النشاط العشوائي العادي.

التفاصيل

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

Identify command-and-control beaconing patterns in network traffic by applying statistical frequency analysis, jitter calculation, and coefficient of variation scoring to detect periodic callbacks from compromised endpoints.

repo: mukul975/Anthropic-Cybersecurity-Skills

الشعبية

نجوم GitHub
35k
الترتيب
#7949
الترخيص
Apache-2.0
آخر تحديث
31‏/8‏/2026

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

0

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

التعليقات

  • …

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

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