Bitzu

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

Single choice

What does IP spoofing aim to do against a firewall that trusts certain source addresses?

  1. Make packets appear to come from a trusted address
  2. Encrypt the payload end to end
  3. Change the destination port permanently
  4. 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.

Select all that apply

Which are common protocols abused for tunnelling traffic past a firewall?

  1. HTTP
  2. ICMP
  3. DNS
  4. Telnet to the internet
  5. 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.

True or false

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.

Download on the App StoreGet it on Google Play

More 312-50 topics in this module