312-50 ยท Footprinting and reconnaissance
Network footprinting and traceroute
Network ranges via RIR lookups, traceroute and how it uses TTL/ICMP, mapping topology, and tools such as Maltego and Recon-ng.
Key points
- Network footprinting finds the target's address ranges and layout.
- Regional Internet Registries (ARIN, RIPE NCC, APNIC, LACNIC, AFRINIC): show which IP blocks an organisation holds.
- Traceroute: probes with TTL starting at 1, raised each round.
- A router discarding an expired packet answers ICMP time exceeded, revealing its address.
- Maltego, Recon-ng: combine findings into a topology graph.
Source: https://linux.die.net/man/8/traceroute
Practice questions
Which message does a router send back when a packet's TTL reaches zero?
- ICMP echo reply
- ICMP destination unreachable
- TCP reset
- ICMP time exceeded
Show answer
Answer: D. ICMP time exceeded
A router that drops a packet because its TTL expired returns an ICMP time exceeded message, which is how traceroute learns each hop. Destination unreachable and echo reply come from other situations.
Which statements about traceroute are correct?
- It starts probing with a TTL of 1
- Routers at each hop reply with ICMP time exceeded
- It reveals the content of packets on the path
- It always shows every firewall on the route
- Filtered hops may appear as missing replies
Show answer
Answer: A. It starts probing with a TTL of 1, B. Routers at each hop reply with ICMP time exceeded, E. Filtered hops may appear as missing replies
Traceroute raises the TTL one step at a time and reads the ICMP time exceeded replies to list hops. It can be blocked or filtered, and it does not show every device, only routers that answer.
Traceroute needs administrative access on the target host in order to map the path to it.
Show answer
Answer: False
Traceroute works from the tester's own machine and needs nothing on the target; it relies on routers along the path returning ICMP messages. The default UDP method works for unprivileged users.
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.
