hunting-for-beaconing-with-frequency-analysis

Detect periodic C2 beaconing in network traffic using frequency and jitter analysis.

Updated Apr 23, 2026
One-click install
npx skills add https://github.com/YukiIto1999/ctf-sleuth --skill hunting-for-beaconing-with-frequency-analysis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hunting-for-beaconing-with-frequency-analysis
Source: https://github.com/YukiIto1999/ctf-sleuth/tree/main/.claude/skills/hunting-for-beaconing-with-frequency-analysis
Command: npx skills add https://github.com/YukiIto1999/ctf-sleuth --skill hunting-for-beaconing-with-frequency-analysis

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Identify periodic beaconing patterns in network traffic to reveal covert command-and-control channels and automate detection.

Core Features & Use Cases

  • Statistical frequency analysis of connection flows to identify regular beacons.
  • Jitter and data-size consistency scoring to distinguish automated C2 from legitimate polling.
  • Threat intelligence enrichment and risk scoring to prioritize investigations.
  • Use Case: Monitor enterprise networks for DNS/HTTP/TLS beaconing indicating compromised endpoints.

Quick Start

Run the beaconing analysis on Zeek logs to uncover periodic C2 traffic.

Frequently Asked Questions about hunting-for-beaconing-with-frequency-analysis

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect C2 beaconing in network traffic using frequency analysis?

C2 beaconing is detected by statistically analyzing connection flows over 24 hours to identify regular intervals, applying jitter calculation and data-size consistency scoring to distinguish automated polling from legitimate traffic.

Can I use this to find periodic beacon patterns in Zeek conn.log files?

Zeek conn.log files provide the time-stamped flow data required to identify periodic beacon patterns across HTTP, DNS, and TLS protocols using statistical frequency analysis and jitter scoring.

What is the best way to distinguish automated C2 traffic from legitimate polling?

Automated C2 traffic is distinguished from legitimate polling by calculating coefficient of variation for connection regularity, jitter, and data-size consistency to reveal covert channels hiding in standard network protocols.

Do I need threat intelligence feeds to score beaconing risk?

Threat intelligence enrichment is optional for risk scoring, but the core detection of periodic beaconing patterns relies on basic statistical capabilities applied to time-stamped network flow data.

Does this frequency analysis work on DNS and TLS traffic logs?

Frequency analysis works on DNS and TLS traffic logs by evaluating timestamped flow data to uncover periodic beacon patterns across multiple protocols within 24-hour or longer monitoring windows.

What are the limitations of jitter calculation for C2 detection?

Jitter calculation limitations include requiring time-stamped flow data over 24 hours, as high jitter values can mask regular beaconing patterns if automated C2 channels intentionally randomize their connection intervals.