本文へスキップ
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

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

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

AIへの頼み方の例

“私たちのネットワーク上で、秘密の通信の兆候を探してください。”

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

仕組み

このツールは、ネットワーク接続ログを分析して、繰り返される通信パターンを見つけます。接続の間隔を計算し、一定のパターンがあるかを確認します。その際、ソフトウェアの更新のような通常の通信は除外します。

技術的な内容(元の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

…
よくある質問

「ビーコニング」とは何ですか?

感染したコンピューターが、灯台の光のように一定の間隔で制御用サーバーへ合図を送ることを指します。

「ジッター」とは何ですか?

合図の間隔に生じる、小さなランダムなばらつきのことです。攻撃者は、規則的なパターンを隠して検知を逃れるためにこれを使います。

なぜ少なくとも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
更新日
2026/8/31

このスキルは役に立ちますか?

0

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

コメント

  • …

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

似ているスキル