• Home »
  • Security »
  • Backtrack 4: Information Gathering: Route: Lanmap – Passively map a network

Backtrack 4: Information Gathering: Route: Lanmap – Passively map a network

Lanmap is one of those tools I never really used until now. Its actually very cool. Lanmap sits quietly on a network and builds a picture of what it sees and outputs it in svg,png or gif format. I let it run on a test network far a hour or so and was impressed with the output. The only drawback is that it doesn’t “see” through switches so it can only do the private subnet the computer is physically on.

First lets check out the options:

root@666:/# lanmap -h
Usage: lanmap [options]
Options:
 -v ...................... verbose mode, up to 3 levels (-vv, -vvv)
 -i [?|*wildcard*|iface] . interface to use; 'all' for all
                            ?: list all interfaces and exit
                            *3Com*: use the first NIC with "3Com" in it
 -r # .................... generate a report every # seconds. default: 60
 -D [#|all|raw] .......... debug mode, tons of output. use with caution.
                            #: payload bytes to dump (default: 0)
 -f str .................. traffic filter; libpcap syntax
 -T [png|gif|svg] ........ output image format (default: png)
 -e program .............. program to run to generate graph (default: twopi)
 -o directory ............ map destination (default ./)
 -V ...................... program version info
 -h ...................... this handy help message
Example: lanmap -i eth0 -r 30 -T png -o /tmp/
More info: <URL:http://parseerror.com/lanmap/>

I ran a test run for about a hour on a test network with the following options:

root@666:~# lanmap - eth0 -r 30 -T png -o /root/

The -r option makes it update every 30 seconds. I had to wait about 10 minutes for any real data to start coming in.

Here is a sample output picture:
lanmap

Its always useful in my opinion to compare your command line scans with a visual output of the network in order to get a real picture of whats going on. I will definitely be using this tool in the future.


List Price: $79.95 USD
New From: $49.15 USD In Stock
Used from: $41.12 USD In Stock

LAN Wiring (Paperback)

By (author): James Trulove


List Price: $75.00 USD
New From: $28.60 USD In Stock
Used from: $3.34 USD In Stock

Share