Explore/

Base64-Encoded Payloads

1 public capture

Base64 turns binary into a safe alphabet, which makes it the default wrapper for tunnelled commands, exfiltrated data and attachments. In captures it appears as long alphanumeric runs ending in equals signs inside DNS subdomains, HTTP parameters, ICMP payloads and email bodies. Decoding is trivial, so the point of these captures is spotting the encoding in an unexpected place rather than breaking it.

Base64 encoding on the wire: encoded payloads in DNS labels, HTTP bodies and command channels used to hide data from casual inspection.

trypcaphub·7mo ago

learn: DNS Tunneling via Encoded Subdomain Labels

28 DNS queries against BIND 9.18.39 demonstrating data exfiltration through encoded subdomain names. 15 queries encode stolen data as base64 subdomain labels under exfil.pcaplab.local. The encoded payloads contain actual credentials and system information: dXNlcm5hbWU9YWRtaW5pc3RyYXRvcg decodes to username=administrator, cGFzc3dvcmQ9UzNjcmV0UEBzc3cwcmQh decodes to password=S3cretP@ssw0rd!, plus hostname, IP address, OS version, antivirus status, and installed software inventory. 10 TXT record queries to cmd.{n}.c2.pcaplab.local simulate C2 command retrieval. 3 normal A record queries (www.pcaplab.local, mail.pcaplab.local, google.com) provide baseline comparison. Normal subdomains are short: www, api, mail, cdn. DNS tunneling uses abnormally long subdomains (50+ characters) with base64-like character patterns. To detect this in Wireshark, look for DNS query names where the subdomain length is far longer than typical. The high entropy and consistent parent domain are the key indicators.

3649.5 KB56