PiTap: Automated packet capture on a Raspberry Pi #piday #raspberrypi @Raspberry_Pi

May 16, 2014 Jessica

PiTap Automated Packet Capture on a Raspberry Pi William Knowles

William Knowles published this great project on his blog.

The PiTap is a device I put together with the intention of being a pentesting tool, but it has also found utility in facilitating data collection as part of my Industrial Control System (ICS) security research. I need to do a lot of packet captures; often at multiple points within a network. This can be quite a time consuming process to set up and configure, so I set out to put together what I like to call a “plug-and-capture” device.

Design Requirements

  1. Small and portable.
  2. The bridge and packet capture would start automatically on boot.
  3. It didn’t need to run on mains power.
  4. Minimal hardware configuration allowing the SD card to be cloned and run on multiple stock devices.


  1. Raspberry Pi.
  2. USB power supply. I used the battery from my Wifi Pineapple MK4 battery; however, I have had success in running it from a cheaper Duracell USB battery (5V 0.6A).
  3. USB Ethernet adapter (the Pi only has one Ethernet port).

Read the full tutorial here.

998Each Friday is PiDay here at Adafruit! Be sure to check out our posts, tutorials and new Raspberry Pi related products. Adafruit has the largest and best selection of Raspberry Pi accessories and all the code & tutorials to get you up and running in no time!