By Fatskills Exam Guides Team — the exam nerds behind 28,500+ quizzes and 2.1M practice questions across 500+ global exams.
(MITM, DDoS, DNS Poisoning, ARP Spoofing, VLAN Hopping)
You’re a security analyst at a mid-sized company. One morning, users report slow internet, random disconnects, and some even claim their bank login pages look "off." Your SIEM alerts show unusual ARP traffic, DNS queries to sketchy IPs, and a sudden spike in UDP traffic from an internal server. You’re under attack.
Network attacks aren’t just theoretical—they’re daily threats that can: - Steal credentials (MITM, ARP spoofing) - Take down services (DDoS) - Redirect users to malicious sites (DNS poisoning) - Bypass segmentation (VLAN hopping)
If you ignore these, you’re leaving the door wide open for data breaches, ransomware, or compliance violations (GDPR, HIPAA, PCI-DSS). Your job is to detect, mitigate, and prevent them.
google.com
fake-google.com
Guest
Finance
switchport mode access
arpspoof
dsniff
Wireshark
Attacker (Kali Linux):
# Install dsniff (if not already installed) sudo apt update && sudo apt install dsniff -y # Find the gateway IP (usually .1 or .254) ip route | grep default # Start ARP spoofing (replace IPs with your network) sudo arpspoof -i eth0 -t 192.168.1.100 192.168.1.1
Expected Output:
0:11:22:33:44:55 192.168.1.100 08:00:27:aa:bb:cc
(This means the attacker’s MAC is now linked to the victim’s IP.)
Victim (Ubuntu):
# Check ARP cache for duplicates arp -a # Look for multiple IPs with the same MAC (attacker's MAC)
Expected Output (Attack in Progress):
? (192.168.1.1) at 00:11:22:33:44:55 [ether] on eth0 ? (192.168.1.100) at 00:11:22:33:44:55 [ether] on eth0 # Same MAC for two IPs!
# Add a static ARP entry for the gateway (replace MAC with your router's real MAC) sudo arp -s 192.168.1.1 08:00:27:aa:bb:cc
Verify:
arp -a | grep 192.168.1.1
(Should show PERM for permanent entry.)
PERM
# On a Cisco switch (enable DHCP Snooping + Dynamic ARP Inspection) enable configure terminal ip dhcp snooping ip dhcp snooping vlan 1 ip arp inspection vlan 1 end write memory
DNS Poisoning (not ARP spoofing—ARP steals traffic, DNS redirects it).
"How do you prevent VLAN hopping?"
Disable unused ports, use switchport mode access by default.
"What’s the best way to stop ARP spoofing?"
Dynamic ARP Inspection (DAI) + DHCP Snooping.
"Which protocol is vulnerable to MITM?"
ping -f
"You detect ARP spoofing in your network. How do you find the attacker’s MAC address?"
# On the victim machine, check ARP cache for duplicates arp -a | grep -v PERM | sort | uniq -d -w 17
Why it works: - arp -a lists all ARP entries. - grep -v PERM excludes static entries. - uniq -d -w 17 finds duplicate MACs (first 17 chars = MAC + IP).
arp -a
grep -v PERM
uniq -d -w 17
dig
show mac address-table
Exam Traps: - ARP = Layer 2 (MAC), DNS = Layer 7 (Application). - DDoS-DoS (distributed vs. single source). - VLAN hopping requires a trunk port (not access port).
Network attacks aren’t just "hacker movies"—they’re daily threats in production. Your job is to make them harder to execute than the attacker’s ROI. Start with ARP inspection, DNSSEC, and DDoS scrubbing, then layer on monitoring. Defense in depth wins. ?
Join 4M+ learners. Unlock unlimited quizzes, wrong-answer tracking, flashcards + reminders, study guides, and 1-on-1 challenges.