Network Monitoring and Packet Sniffing Tools

Modified 23 March 2009

Sections of this page, jump to a topic:

Network monitoring or packet sniffing tools are like many other infosec tools. They can be used for good or evil, it all depends on the intent of the user!

I cannot imagine how you could claim to do LAN troubleshooting without capturing packets at times. At the same time, protocols that move sensitive data as cleartext are commonly used (POP and IMAP with the user's account name and password, and FTP and even TELNET are still used a surprising amount), and the bad guy could easily capture user authentication information (login and password) or other sensitive data (complete contents of shared files, copies of every print job submitted, and so on).

So, you have to use these to maintain your networks, and you need to realize that the bad guys could use these against you.

There are various categories of network monitoring tools:

Packetstorm has a wonderful archive of network monitoring tools: http://packetstormsecurity.org/sniffers/


LAN Monitoring Tools

UNIX / Linux / BSD / MacOS X LAN Monitoring Tools

DOS/Windows LAN Monitoring Tools


Beware a false sense of security based on switches


Wireless LAN/WAN Monitoring and Attacks on WEP and WPA

Here is a useful introduction to wireless networking and the security issues: http://en.wikipedia.org/wiki/IEEE_802.11

Note that wireless monitoring tools can be extremely dependent on chipset — make sure that your planned software and WLAN card will get along.

The Trifinite Group has information on wireless security, including RFIDiot and other RFID security tools and information: http://trifinite.org/

Also see the COMSEC section of another page for details on how GSM encryption can be broken.


Tapping Optical Fibre

Tapping optical fibre no longer requires splicing. You can read the data by removing some of the sheath and gently bending the fibre in a bend coupler. You can supposedly buy them for a few hundred US$, even off eBay.

There are claims that optical taps have been found on police networks in the Netherlands and Germany, and the FBI investigated one discovered on Verizon's network in the US.

For more see:


Eavesdropping Via Light, Audio, and Other Unusual Means

Interactive keyboard use can be "eavesdropped" by means you might not expect.

Consider the relative difficulty or ease of touch-typing different character sequences on a standard QWERTY keyboard: F-J would be very fast (home key on left hand then home key on right hand, easy and fast) while 2-X would be very slow (extreme reaches for the same finger, awkward and slow).

So, a good typist may have a high aggregate rate of characters per minute, but the inter-character spacings are going to vary. A given two-character or longer sequence is not always going to be exactly the same, but over time the distribution is going to be fairly distinctive.

Measure the inter-character times and you have the data needed for bigram analysis. You won't recover 100% of the cleartext, but with adequate data and quality typing of large blocks of text, you will recover some.

So how can you measure the inter-character times?

Like so much of information theory, this isn't entirely new. A Morse code operator might be recognized by a distinctive "fist" or slight imperfection in their keying cadence.


Detecting Packet Sniffing Attacks

For suggestions on spotting sniffer attacks, see http://www.cert.org/pub/advisories/CA-1994-01.html

To detect network interfaces in promiscuous mode:


Back to the Security Page


Home Page Unix/Linux TCP/IP Infosec Travel Radio Site Map Contact
Use /bin/vi! Manipulate images with ImageMagick! Hosted on OpenBSD
Hosted on Apache Valid XHTML 1.1! Valid CSS!
© Bob Cromwell Jul 2009. Created with /bin/vi and ImageMagick, hosted on OpenBSD with Apache.    Root password available here, privacy policy here.