312-50 ยท Sniffing
Sniffing countermeasures and detection
Detecting promiscuous NICs, encrypted protocols (SSH, HTTPS, VPN), switch hardening, 802.1X, and network monitoring.
Key points
- Encrypt in transit (SSH, HTTPS, VPN) so captured packets reveal little.
- Harden switches with port security, DHCP snooping, DAI and disabled unused ports, and require 802.1X before a port forwards.
- Detect with monitoring of ARP changes, MAC counts and rogue DHCP offers, plus probes for NICs in promiscuous mode.
Practice questions
Which encrypted protocol replaces Telnet for remote administration?
- SSH
- TFTP
- SNMPv1
- RIP
Show answer
Answer: A. SSH
SSH provides an encrypted remote shell. TFTP, SNMPv1 and RIP send data without encryption or are not shells.
Which are sound switch hardening measures against sniffing?
- Shut down unused ports
- Enable port security on access ports
- Enable DHCP snooping and DAI
- Leave unused ports active in the default VLAN
- Replace switches with hubs for simplicity
Show answer
Answer: A. Shut down unused ports, B. Enable port security on access ports, C. Enable DHCP snooping and DAI
Closing unused ports and enabling port security, snooping and DAI shrink the attack surface. Active spare ports and hubs make sniffing easier.
True or false: using HTTPS makes it impossible for an attacker to capture the packets.
Show answer
Answer: False
False. Packets can still be captured; HTTPS only keeps the content unreadable, while metadata such as addresses and traffic volume remains visible.
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.
