Skill · 4 hands-on labs

C2 and Data Exfiltration Detection

Detect command and control and data exfiltration in packet captures: regular beacons, DNS tunneling, ICMP payloads, IoT uploads and Base64 or hex encoded data.

What is C2 and Data Exfiltration Detection?

Command and control (C2) is how malware checks in with its operator for orders. Exfiltration is how data leaves. Both try to blend into allowed traffic such as HTTP, DNS or ping, but they leave patterns: regular timing, odd sizes, encoded payloads and destinations that do not fit the device.

How analysts do it

  1. List outside destinations and how often each one is contacted.
  2. Look for a steady rhythm to one address: that is a beacon.
  3. Check DNS for long, random-looking subdomains and unusual record types.
  4. Compare ICMP and other payload sizes with a normal baseline.
  5. Decode what you find (Base64, hex) to see what was sent.

What to look for

  • Check-ins at a perfectly regular interval.
  • Outdated or unusual User-Agent strings.
  • Many unique subdomains under one domain.
  • Ping packets with large or varying payloads.
  • Devices contacting companies unrelated to their maker.

Practise it: 4 labs, easiest first

Every lab gives you real evidence to download and a set of questions. Guided labs tell you where to look, challenges do not.

Certifications that test this skill

Related skills

Questions people ask

What is beaconing in cyber security?

Beaconing is malware contacting its command and control server at regular intervals to ask for instructions. Perfectly regular connections from one host to one outside address are a strong sign of it.

How do you detect DNS tunneling?

Look for many queries to one domain with long, random-looking subdomains, often TXT records, at a steady pace. The subdomains usually carry encoded data that you can put in order and decode.