To simulate DNS traffic to a closed UDP port and analyze ICMP "Destination Port Unreachable" messages using tcpdump and Wireshark, mimicking real-world SOC network troubleshooting.
- DNS protocol analysis (UDP/53)
- ICMP Destination Unreachable investigation
- Network packet capture using tcpdump
- Packet analysis using Wireshark
- Linux command-line troubleshooting
- Incident reporting (SOC methodology)
-
Understand DNS over UDP (Port 53)
-
Capture DNS traffic
-
Trigger DNS failures intentionally
-
Analyze ICMP "Port Unreachable" packets
-
Write a basic incident report
- Linux (Ubuntu)
- tcpdump
- Wireshark
- dig / nslookup
-
Run DNS query to a closed port dig @ example.com
-
Capture packets sudo tcpdump -nn -i eth0 icmp or udp port 53
-
Analyze ICMP Port Unreachable response in Wireshark
lab-steps.md — beginner-friendly hands-on steps
packet-capture.md — how to collect .pcap
packet-analysis.md — analyze DNS failure
incident-report.md — SOC-style documentation
troubleshooting.md — how to fix the issue
commands.sh — automation script
| File | Description |
|---|---|
README.md |
Overview and purpose |
LAB-STEPS.md |
Full setup and execution guide |
scripts/run-tcpdump.sh |
Script to start capturing packets |
scripts/send-dns-request.sh |
Script to send DNS queries to a closed port |
tcpdump-output-example.txt |
Sample output for reference |
/screenshots/ |
Add your tcpdump screenshots |
ICMP Destination Unreachable alerts are common in:
- Firewall misconfigurations
- Network scanning activity
- DNS service outages
This lab trains analysts to distinguish misconfiguration from malicious behavior.