본문으로 건너뛰기
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가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/hunting-for-beaconing-with-frequency-analysis/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 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

…
자주 묻는 질문

‘비컨링(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
업데이트
2026. 8. 31.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬