Beaconing captures show regular, periodic network connections that indicate compromised hosts communicating with C2 infrastructure. Key indicators include consistent time intervals between connections, similar request/response sizes, connections to unusual domains or IP addresses, and HTTP/HTTPS traffic with encoded parameters. Beacon detection relies on statistical analysis of connection timing and volume patterns.
Beaconing packet captures showing periodic C2 callbacks with consistent timing intervals, sizes, and encoded parameters.
DNS TXT Query Burst with HTTP Beaconing
Real DNS TXT lookups with high-entropy labels followed by repeated HTTP beacon posts and command-style JSON responses.
learn: DNS TXT Record C2 Communication Pattern
55 DNS transactions against BIND 9.18.39 demonstrating command-and-control communication via TXT records. Three distinct phases are visible: Phase 1 - Beacon polling: 30 TXT queries to {session_id}.beacon.updates.pcaplab.local at 500ms intervals. Each uses a random hex session ID (e.g., ca13, f082, ba5e). This periodic polling is how malware checks for new commands. Phase 2 - Data exfiltration: 15 TXT queries encoding base64 data chunks in subdomains under data.updates.pcaplab.local. Each query carries a numbered chunk of stolen data. Phase 3 - Baseline comparison: 4 legitimate TXT queries (google.com, github.com, cloudflare.com, pcaplab.local) returning real SPF and verification records, plus 3 normal A record queries. TXT records can carry arbitrary text, making them ideal for C2 data transfer. In Wireshark, filter with dns.qry.type == 16 to isolate TXT queries. In normal browsing you should see very few TXT queries. A high count to a single domain at regular intervals is a strong C2 indicator.
Backdoor Persistence Callback with Jittered Timing
20 HTTP POST callbacks at slightly randomized intervals (1-3 seconds), each with unique request IDs, reporting status, PID, and username. The jittered timing makes the beacon harder to detect with fixed-interval rules. Shows how persistent backdoors maintain C2 communication.
HTTP C2 Beaconing Pattern (Periodic POST Callbacks)
15 HTTP POST requests at regular 2-second intervals simulating command-and-control callbacks. Each beacon includes a unique X-Session-ID header and POST body with status, uptime, and hostname. The periodic timing and consistent request structure are hallmarks of C2 implant communication.