Evasion captures demonstrate techniques attackers use to bypass security controls. This includes protocol tunnelling (DNS over HTTPS, SSH tunnels), traffic fragmentation, encryption of C2 channels, domain fronting, and timing-based evasion to avoid rate limiters. Studying evasion traffic helps security teams identify gaps in their detection capabilities.
Evasion technique packet captures demonstrating protocol tunnelling, traffic fragmentation, domain fronting, and detection bypass methods.
learn: DNS Queries to Non-Standard Resolver (Rogue DNS Detection)
DNS queries split between two resolvers demonstrating how malware bypasses DNS monitoring. Queries to 10.99.0.21 (the legitimate BIND 9.18.39 internal resolver) resolve normal domains: google.com, github.com, microsoft.com, and internal pcaplab.local hostnames, all returning valid A records. Queries to 10.99.0.22 (a non-standard server not normally used for DNS) include suspicious lookups: evil-c2-server.com, malware-update.net, exfil-drop.org, botnet-controller.info, plus 10 DGA-style hex-encoded domain names like 48b66121b5087926.com and fa6b0b3f7288f67e.com. Most machines should only query your internal DNS server or known public resolvers (8.8.8.8, 1.1.1.1). In Wireshark, filter for DNS traffic going to unexpected destinations: dns && !(ip.dst == 10.99.0.21) (adjust for your environment). Any host sending DNS queries to an unknown IP address may be running malware with its own DNS infrastructure to avoid your monitoring.
Living Off the Land Attack (Legitimate Tools for Malicious Purposes)
Multi-protocol attack using only legitimate tools against 4 hosts (10.99.0.10, 10.99.0.21, 10.99.0.22, 10.99.0.150). Protocols observed: HTTP, DNS, MySQL, TLS, SMB2. Zeek identified DNS, GSSAPI, NTLM, and SMB services. The attack chain uses curl for web reconnaissance (1 HTTP request, 200 OK), dig for DNS zone transfer (2 DNS queries), mysql client for database credential extraction (TLS-encrypted MySQL sessions), smbclient for file planting on Samba and accessing Windows DC shares (SMB2 with NTLM authentication), and SSH tunneling for covert database access. Suricata flagged NTLM Session Setup negotiation and authentication. No malware is used - every tool is a standard system utility, making detection dependent on behavioral analysis of the combined activity pattern.
Suspicious TLS Patterns: Rapid Connections and Deceptive SNI
10 rapid short-lived TLS connections (scanning pattern) followed by connections with deceptive SNI values: evil-c2.attacker.com, update.microsoft.com.evil.com, and cdn.googleapis.com.attacker.net. Shows how attackers use typosquatting and brand impersonation in SNI fields to make C2 traffic appear as legitimate cloud/update services. The rapid connection pattern is typical of TLS scanners and certificate harvesters.
Nmap Scan with Spoofed MAC Address
SYN scan using --spoof-mac to send packets with Apple and Dell vendor MAC address prefixes instead of the real NIC MAC. Shows how MAC address spoofing can evade network access controls and confuse asset identification at Layer 2.
Nmap Decoy Scan with Spoofed Source IPs
SYN scan using -D flag with three decoy IP addresses (192.168.1.100, 192.168.1.200, 10.0.0.50) plus the real scanner. The target sees SYN packets from four different source IPs, making it difficult to identify the actual scanner. Shows how decoy scans complicate IDS attribution.
HTTP Parameter Pollution Attacks
Six HTTP requests with duplicate parameters: same parameter with different values, conflicting action parameters, and duplicate authentication fields. Exploits server-side parameter parsing ambiguity where different frameworks handle duplicate parameters differently.
Fake Windows Update Traffic (Masqueraded C2)
HTTP requests disguised as Windows Update: Windows-Update-Agent User-Agent, Microsoft BITS/7.8, CryptoAPI/10.0, with Host headers set to windowsupdate.microsoft.com and download.windowsupdate.com. A hidden beacon POST with system fingerprint data is mixed in. Shows how malware uses legitimate-looking traffic patterns to evade detection.
Encoded and Obfuscated HTTP Payloads
HTTP requests carrying payloads in various encodings: Base64, URL encoding, hex, double encoding, and XOR with Base64 wrapping. Demonstrates payload obfuscation techniques used to evade WAFs and IDS signature matching.
TCP Port Knocking Sequences
Two port knocking sequences: 3-port (7000, 8000, 9000) followed by SSH attempt, and 4-port (1234, 5678, 9012, 3456). Each knock is a single SYN to a closed port. Shows the signature sequential access pattern used to hide services behind knock-activated firewall rules.
Nmap FIN Scan Against Top 100 Ports
TCP FIN scan (-sF) sending packets with only the FIN flag set against the top 100 ports. Another RFC 793-based evasion technique. Closed ports respond with RST, open/filtered ports do not respond. Compared to SYN scans, FIN scans may bypass stateless firewalls that only filter on SYN packets. Useful for comparing scan techniques and understanding firewall bypass methods.
Nmap NULL Scan Against Top 100 Ports
TCP NULL scan (-sN) sending packets with no flags set against the top 100 ports. Exploits the same RFC 793 behavior as XMAS scans: closed ports reply with RST, open/filtered ports stay silent. The capture shows completely flagless TCP packets, which is abnormal traffic that most IDS systems will flag. Useful for comparing against SYN and XMAS scans to understand different scan evasion techniques.
Nmap XMAS Scan Against Top 100 Ports
TCP XMAS scan (-sX) setting FIN, PSH, and URG flags simultaneously on packets sent to the top 100 ports. Per RFC 793, closed ports respond with RST while open/filtered ports should not respond. This evasion technique attempts to bypass simple packet filters that only look for SYN flags. The capture shows the characteristic triple-flag packets and the RST responses from closed ports.