Bitzu

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

Single choice

Which message does a router send back when a packet's TTL reaches zero?

  1. ICMP echo reply
  2. ICMP destination unreachable
  3. TCP reset
  4. 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.

Select all that apply

Which statements about traceroute are correct?

  1. It starts probing with a TTL of 1
  2. Routers at each hop reply with ICMP time exceeded
  3. It reveals the content of packets on the path
  4. It always shows every firewall on the route
  5. 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.

True or false

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.

Download on the App StoreGet it on Google Play

More 312-50 topics in this module