Post-exploitation and Lateral Movement

An egress firewall blocks all direct outbound traffic, but internal hosts may query the corporate DNS resolver, which forwards external lookups. Which covert channel should the tester use to exfiltrate data?

Show the answer

Correct answerB. Data encoded in subdomain labels of queries

AWhy not this: Steganography hides data in a file but still needs a permitted path out, which is not available here.

BWhy this is right: DNS tunneling relays data through the allowed resolver to the tester's authoritative name server.

CWhy not this: ICMP packets would need direct egress, which the firewall blocks; the resolver does not relay them.

DWhy not this: HTTPS needs a direct outbound connection to the server, which the firewall blocks.

DNS tunneling encodes data in query names that the resolver forwards to a tester-controlled authoritative server, so it works through the permitted resolver. HTTPS needs direct outbound access, which is blocked.