312-50 ยท Evading IDS, firewalls and honeypots
Evading firewalls and endpoint security
Source routing, IP spoofing, port knocking concept, proxy and tunnelling (HTTP, ICMP, DNS), NAC and AV evasion.
Key points
- Source routing: sender dictates the path to dodge a filter.
- IP spoofing: forged source matches a trusted rule.
- Tunnelling: traffic hidden in allowed HTTP, ICMP or DNS.
- Port knocking: port closed until a secret sequence of connection attempts.
- NAC, antivirus bypass: spoofed identity, obfuscated payloads.
- Defences: egress filtering, drop source-routed packets, anti-spoofing, DNS and proxy inspection, endpoint detection.
Practice questions
What does IP spoofing aim to do against a firewall that trusts certain source addresses?
- Make packets appear to come from a trusted address
- Encrypt the payload end to end
- Change the destination port permanently
- Increase the link bandwidth
Show answer
Answer: A. Make packets appear to come from a trusted address
Forging a trusted source address can make a packet match an allow rule. It does not encrypt traffic or change the destination.
Which are common protocols abused for tunnelling traffic past a firewall?
- HTTP
- ICMP
- DNS
- Telnet to the internet
- SMB to the internet
Show answer
Answer: A. HTTP, B. ICMP, C. DNS
HTTP, ICMP and DNS are usually allowed outbound, so they can carry hidden data. Telnet and SMB are commonly blocked at the perimeter and are not typical tunnelling carriers.
Port knocking keeps a service port closed to scanners until a specific sequence of connection attempts is received.
Show answer
Answer: True
True. The firewall opens the port only for a source that sends the secret sequence, which hides the service from casual scans. It is obscurity, so it should not replace real authentication.
Practice 8 questions on this topic in Bitzu
Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.
