Pcornel
Security · Common Attacks

VLAN Hopping

Cheat sheet · https://pcornel.dk/topic.php?topic=4955

Back to the Topic

Answer

VLAN hopping lets an attacker reach other VLANs through switch spoofing (negotiating a trunk via DTP) or double tagging. Disable DTP, set access ports explicitly and use an unused native VLAN.

Remember

  • Switch spoofing abuses DTP.
  • Double tagging abuses the native VLAN.
  • Access ports should never trunk.

First checks

  • show interfaces trunk — trunks
  • show running-config | include switchport mode|nonegotiate — DTP off
  • show vlan brief — native VLAN usage

Verify in this order

attacker → DTP/double tag → other VLAN (blocked)

Where it usually breaks

First mismatch in signal/report → evidence preservation → scoping/analysis → containment → eradication → recovery → validation/lessons learned; preserve identity/policy/pre-state before mutation.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4955

Confirmation

Confirm action

Continue?