Networking Tools
These are the tools you will use constantly. Learn the basics of each one — not every flag, just what it does and when to reach for it.
ping
Tests basic connectivity. Sends ICMP echo requests and waits for replies.
If there’s no response: the host may be down, or ICMP may be blocked by a firewall.
traceroute / tracepath
Shows the path packets take to reach a destination. Each hop is a router.
High latency on a specific hop often indicates a problem at that router.
netstat / ss
Shows open network connections and listening ports.
ss is the modern replacement for netstat. Both do the same thing.
nmap
Network scanner. Finds hosts, open ports, services, and OS fingerprints.
Only scan networks you own or have explicit permission to scan.
Unauthorized network scanning is illegal in most jurisdictions.
Two flags beginners learn the hard way:
If nmap says a host is down and you know it is up, -Pn is the fix. Always save output with -oA. You will want to grep it later, and you will not want to scan again.
Wireshark
Packet capture and analysis tool with a GUI. Captures live traffic or reads .pcap files.
Use it to see exactly what data is going over the wire. Essential for protocol analysis, debugging, and CTF forensics challenges.
For terminal-only environments, use tcpdump:
curl / wget
Make HTTP requests from the command line.
curl is for inspecting and interacting with HTTP. wget is for downloading.
dig / nslookup
DNS query tools.
nc / ncat
Netcat. Reads and writes raw TCP or UDP. It is the tool for “is that port open, and what does it say?”
Connect to port 80, type GET / HTTP/1.0, and press Enter twice. You just spoke HTTP without a browser. That is banner grabbing: the first thing a service says tells you what it is.
The listener is how a reverse shell arrives. Your lab VM listens, the CTF box connects back. Use it only on machines you are authorized to test. The ncat guide covers the rest.
ip
The modern replacement for ifconfig, route, and arp. If a guide tells you to run ifconfig, the guide is old. Learn ip.
ip r answers “why can’t my VM reach anything”: there is no default route, or it is the wrong one. Reference: ip(8).
/etc/hosts
CTF boxes use names like target.htb that no DNS server knows. Map the name yourself.
When a web app redirects you to a hostname and the page never loads, this is why. Add the name and try again.
Moving Files Between Machines
You will need to get a tool onto a box, or a file off it. The fastest way is a one-line web server.
Over SSH, when you have credentials:
In CTF Environments
Recon workflow on a new machine:
Network forensics — analyzing a .pcap in a CTF:
Pivoting — finding what else is reachable from a compromised host:
CTF web recon:
Using AI
Networking tools generate a lot of output. AI is useful for making sense of it quickly.
Where it helps:
- Interpreting nmap output: Paste the scan results and ask “what attack surface does this expose?” AI will flag interesting services, unusual ports, and known vulnerable versions.
- Wireshark display filters: The filter syntax is not intuitive. Describe what you are looking for and ask for the filter. Example: “show only HTTP POST requests containing the word password.”
- Writing recon scripts: “Write a bash script that runs nmap against a /24, extracts open port 80 hosts, and runs gobuster against each one.”
- Protocol analysis: Paste a hex dump or ASCII stream and ask what protocol it is or what it contains.
- Identifying services: Unknown port or service banner? Paste it and ask.
What AI cannot do: actually run the scan, know what is on your specific network, or replace looking at the traffic yourself. Use it to accelerate interpretation, not replace it.
How the Club Uses This
TODO: Add which tools the club uses in competitions (CCDC network defense, CTF recon challenges, etc.) and any club-specific configurations or scripts.
References
- IP, Ports & Subnets
- Protocols
-
Networking Tools