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.
SSH with X11 Forwarding and Port Forward Attempt
SSH sessions demonstrating forwarding capabilities: X11 forwarding (-X) and local port forward (-L 9999:target:3306) creating a tunnel to a remote MySQL server. Shows channel open requests for forwarding features. Demonstrates how SSH tunneling appears in captures and why encrypted tunnels bypass firewall restrictions.