Skip to content
CyberSimStart training

Theory · 9 min · Network monitoring

Beacons and DNS tunnels

Recognise command-and-control patterns in DNS and web traffic.

Malware that is waiting for orders checks in regularly: a beacon. The rhythm (every 60 seconds, with a little random jitter), the small and similar request sizes, and a destination nobody else visits make it stand out in proxy or flow logs.

Most command and control today runs over HTTPS to blend in (T1071.001), often through cloud services or freshly registered domains.

DNS tunnelling (T1071.004) hides data in DNS queries: many long, random-looking subdomains of one domain, often TXT records. Volume and entropy per domain give it away.

Not every regular connection is bad: software updaters, telemetry and monitoring agents beacon too. Check what process makes the connection and whether other hosts do the same.

T1071.004T1071.001

Your turn: decide on a scenario. What do these DNS queries from one workstation most likely show?

Do the interactive check Free, in the browser.

Sources

Part of