Bitzu

N10-009 ยท Network attacks and defenses

Layer 2 and name resolution attacks

VLAN hopping, MAC flooding, ARP poisoning and spoofing, DNS poisoning and spoofing.

Key points

  • VLAN hopping: entering another VLAN via a trunk (switch spoofing) or double tagging.
  • MAC flooding: fills the CAM table so the switch floods frames like a hub.
  • ARP poisoning/spoofing: forged replies map a victim IP (often the gateway) to the attacker's MAC.
  • DNS poisoning/spoofing: false cached records, forged answers.
  • Defenses: static access ports, unused native VLAN, port security, DHCP snooping + Dynamic ARP Inspection, DNSSEC.

Practice questions

Single choice

Which attack overflows a switch's MAC address table so that it begins flooding unicast frames out of all ports?

  1. ARP poisoning
  2. DNS spoofing
  3. MAC flooding
  4. VLAN hopping
Show answer

Answer: C. MAC flooding

MAC flooding fills the CAM table with bogus source addresses; once full, the switch behaves like a hub and the attacker can sniff. ARP poisoning forges IP-to-MAC mappings and does not exhaust the table.

Select all that apply

Which actions help prevent VLAN hopping?

  1. Set user ports to static access mode
  2. Leave trunk negotiation (DTP) on auto
  3. Use an unused VLAN as the trunk native VLAN
  4. Keep VLAN 1 as the native VLAN everywhere
  5. Shut down unused switch ports
Show answer

Answer: A. Set user ports to static access mode, C. Use an unused VLAN as the trunk native VLAN, E. Shut down unused switch ports

Static access ports remove trunk negotiation (switch spoofing), an unused native VLAN defeats double tagging, and shutting unused ports removes entry points. Leaving DTP on auto or using VLAN 1 natively keeps the weaknesses open.

True or false

True or false: DNSSEC protects against DNS poisoning by encrypting DNS queries so eavesdroppers cannot read them.

Show answer

Answer: False

DNSSEC adds digital signatures so a resolver can verify that answers are authentic and unmodified; it does not encrypt queries (that is DoT/DoH).

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 N10-009 topics in this module