Skip to content
Checklist

Data Exfiltration & Egress Control Checklist

Your firewall shows no outbound traffic on 22, 443 or 8080 from a compromised server, yet data is still leaving. How? Usually through what nobody restricted: DNS queries, ICMP pings or HTTPS to a cloud service. Answer about your own network: outbound rules, DNS, ICMP and other protocols, web and cloud channels, and whether you could see and answer “what left, and where”. You get a 0–100 score and the gaps ranked, each with the fix.

Egress control
0/ 100
Wide open

Outbound traffic is largely unrestricted and unwatched. Blocking a few ports will not stop an attacker; start with egress allow-lists and DNS logging.

0 / 21 items answered · weighting is a heuristic
By section
  • Default-deny outbound0
  • DNS0
  • ICMP and other protocols0
  • Web and cloud channels0
  • Visibility and response0

Prioritised gaps

Highest-weight, least-done items first. Work from the top.

  1. Default-deny outbound · unanswered

    Write the list of destinations each server tier really needs, allow those, deny the rest and log denies.

    Firewall Lab →
  2. DNS · unanswered

    Block outbound 53 except from your resolvers, and force clients to them.

    DNS Tunneling Detection Lab →
  3. DNS · unanswered

    Turn on resolver query logging and ship it centrally; without it you cannot hunt DNS tunnels.

    DNS Tunneling Log Analyzer →
  4. DNS · unanswered

    Build detections on query length, label entropy, unique subdomains per domain and TXT volume; tune against your own baseline.

    DNS Tunneling Log Analyzer →
  5. Visibility and response · unanswered

    Make sure your EDR records per-process network and DNS events on servers, not just workstations.

  6. Default-deny outbound · unanswered

    Route server HTTPS through a forward proxy and allow only the update, API and SaaS domains each tier needs.

  7. Default-deny outbound · unanswered

    Remove internet egress from the most sensitive segments; use relays for updates.

  8. Visibility and response · unanswered

    Set retention for egress logs to 90 days or more; exfiltration is often found weeks later.

+ 13 more in the checklist below and in the export.

Default-deny outbound · weight 22

Blocking a few well-known ports is not egress control. A server that can reach any address on any protocol has many ways out.

0
/ 100
eg1

Servers have a default-deny outbound policy: only named destinations and ports are allowed, everything else is dropped and logged.

Firewall Lab →
eg2

HTTPS out from servers goes through a proxy with an allow-list of domains, not straight to the internet.

eg3

Database, domain controller and OT segments cannot reach the internet at all.

eg4

Denied outbound attempts raise an alert, not just a log line.

DNS · weight 24

DNS is allowed almost everywhere, so it is the classic covert channel: data packed into query names and answers, often TXT records.

0
/ 100
dn1

Servers and workstations can only use your internal resolvers; direct port 53 (UDP and TCP) to the internet is blocked.

DNS Tunneling Detection Lab →
dn2

Your resolvers log every query with client, name, type and response code, and the logs reach your SIEM.

DNS Tunneling Log Analyzer →
dn3

You alert on DNS tunnelling signs: very long or random-looking names, many unique subdomains of one domain, heavy TXT/NULL use, high NXDOMAIN rates, regular timing.

DNS Tunneling Log Analyzer →
dn4

DNS over HTTPS and DNS over TLS to public resolvers are blocked or routed to your own resolver.

dn5

Resolvers use threat-intel or newly-registered-domain filtering (protective DNS).

ICMP and other protocols · weight 16

Ping looks harmless, but ICMP echo packets can carry data in their payload. So can any protocol a firewall lets through unchecked.

0
/ 100
ic1

Outbound ICMP echo from servers to the internet is blocked (or limited to monitoring hosts).

ic2

You alert on ICMP packets with unusually large or varied payloads, or sustained ICMP to one external host.

Covert Channel Awareness Lab →
ic3

Rarely needed protocols (NTP, SMB, FTP, IRC, Tor) are blocked outbound unless a named system needs them.

ic4

Firewall rules are reviewed at least yearly and every "any" outbound rule has an owner and a reason.

Firewall Lab →

Web and cloud channels · weight 18

Most real exfiltration rides HTTPS to legitimate services: cloud storage, paste sites, chat apps and webhooks.

0
/ 100
wb1

You can see and control uploads to personal cloud storage, file sharing and paste sites from company devices.

wb2

You alert on unusually large outbound transfers from a host or user compared with its normal volume.

wb3

You detect beaconing: regular, small, repeated connections from a host to one external destination.

C2 Detection Lab →
wb4

Webhook, chat and request-catcher services (webhook endpoints, bot APIs) are blocked from servers that do not need them.

Visibility and response · weight 20

If you suspect exfiltration you need to know which process sent it, where, and how much. That needs data you collect before the incident.

0
/ 100
ev1

Endpoint telemetry links network connections and DNS queries to the process that made them.

ev2

Firewall, proxy, DNS and flow logs are kept long enough to look back at least 90 days.

ev3

You have a playbook for suspected exfiltration: isolate the host, block the destination, preserve logs and memory, and assess what data left.

ev4

Your incident team has practised answering "what left, how much, and to where" from your own logs.

DNS Tunneling Detection Lab →

Educational self-assessment from PlayCISO. The weights are a judgement framework, not a measurement or certification. Defensive guidance only. Runs in your browser and uploads nothing; your answers live only in the link you choose to copy.

Loading…

Sample report · illustrative data

Sample result: data exfiltration and egress control checklist

Example answers for a made-up company whose firewall blocks outbound 22, 443 and 8080 from servers, but lets servers use any DNS server and send ping anywhere.

Overall

Egress control
38 / 100 (Wide open)
Items answered
21 of 21

Score by section

SectionWeightScore
Default-deny outbound2235
DNS2420
ICMP and other protocols1630
Web and cloud channels1848
Visibility and response2058

Prioritised gaps (first five)

  • DNS: block outbound 53 except from your resolvers, and force clients to them.
  • Default-deny outbound: allow only the destinations each server tier needs and deny the rest.
  • DNS: turn on resolver query logging and ship it centrally.
  • ICMP: drop outbound echo from servers.
  • DNS: alert on long, random-looking names and many unique subdomains of one domain.

Made-up example data. Your own run uses your inputs. Downloads of the full report need Pro.

TL;DR

What this checklist is

5 points
  • For security teams and network owners: if a server were compromised today, which ways could it send your data out, and would you notice?
  • Five weighted sections: default-deny outbound, DNS, ICMP and other protocols, web and cloud channels, and visibility and response. Answer no, partly, mostly, verified by test or N/A.
  • It is built around a common interview question: the firewall shows no outbound 22, 443 or 8080, so how is data still leaving? Usually DNS, ICMP or HTTPS to a destination nobody restricts.
  • You get a 0-100 score and the gaps ranked, each with the fix. Resolver-only DNS with query logging and default-deny outbound carry the most weight.
  • Runs in your browser; nothing is uploaded. Share the exact checklist with a link; CSV and Markdown exports are available.

Blocking ports is not egress control

A firewall that blocks SSH, HTTPS and a few web ports still leaves most of the ways out open. DNS has to work, so data can be packed into query names and travel through your own resolvers. ICMP echo packets can carry data in their payload. And an unrestricted proxy lets anything reach cloud storage, paste sites and webhooks over ordinary HTTPS.

The fixes are known: servers may only use your resolvers, resolvers log every query, outbound is default-deny with an allow-list per tier, ICMP echo out of servers is dropped, and you alert on tunnelling signs, beaconing and unusual volume. The weights here are PlayCISO’s heuristic, shown openly. Practise the analysis in the DNS Tunneling Detection Lab, or check your own logs with the DNS Tunneling Log Analyzer.

Frequently asked questions

If outbound 22, 443 and 8080 are blocked, how can malware still send data out?

Through whatever the firewall still allows. DNS is the classic route: data is packed into query names to a domain the attacker controls, and the queries travel through your own resolvers. ICMP echo (ping) packets can carry data too, and many firewalls allow them. Other options are HTTPS through an unrestricted proxy to cloud storage or webhooks, and less-watched protocols. Blocking a few ports is not egress control.

What is DNS tunnelling?

Hiding data inside DNS traffic. The infected host asks for names like a long encoded string followed by a domain the attacker controls; the attacker's name server reads the data from the query and can answer with data in the response, often in TXT records. Signs are very long or random-looking names, many unique subdomains of one domain, heavy TXT use, high NXDOMAIN rates and regular timing.

What is ICMP tunnelling?

Carrying data in the payload of ICMP packets, usually echo request and reply (ping). Normal ping payloads are small and predictable; tunnels show larger or varied payloads and sustained ICMP traffic to one external host. Most servers have no reason to ping the internet, so dropping outbound echo from servers removes the channel.

How do I detect it in my own logs?

You need resolver query logs (client, name, type, response code), firewall and flow logs, and endpoint data that ties connections to processes. Then look for the signs above. Our DNS Tunneling Log Analyzer scores domains in your own DNS logs in the browser, and the DNS Tunneling Detection Lab walks through the decisions on synthetic data.

Does DNS over HTTPS make this worse?

It can hide DNS from your resolver logs if devices use public DoH resolvers directly. Block known public DoH and DoT endpoints and port 853, and set browser and operating-system policy to use your own resolver, so queries stay visible.

More tools like this

Related tools and labs, with new picks every day.

All tools
🎉 New here? Use code WELCOME10 for 10% off any plan at checkout