pre { margin: 5px 20px; border: 1px dashed #666; padding: 5px; background: #f8f8f8; white-space: pre-wrap; /* css-3 */ white-space: -moz-pre-wrap; /* Mozilla, since 1999 */ white-space: -pre-wrap; /* Opera 4-6 */ white-space: -o-pre-wrap; /* Opera 7 */ word-wrap: break-word; /* Internet Explorer 5.5+ */ } Linux Embedded: Beaglebone based USB sniffer

Pagine

mercoledì 26 febbraio 2014

Beaglebone based USB sniffer


Recently I need a USB sniffer. Searching on the web I found the work of Nicolas Boichat. It's based on the Beagleboard hardware. I own a Beaglebone instead, so I decided to port his work on it.

If you want to try the result of my work here are the links for the compiled kernel and a for debian based rootfs:

  • uImage
  • rootfs
  • Default username/password:
    • username: debian
    • password: temppwd


    To try usb sniffing, log in the system as debian user, plug in a device to the beaglebone usb connector and then do the following:
    sudo ./scripts/sniff
    
    The script will show the list of the available usb devices; select one of them and the usb sniffing will start. The usb traffic will logged in the file /run/shm/dump. You can later open it with wireshark to examine in details.

    If you want to examine the linux kernel sources, you can find on my github repository:
  • Usb sniffer beaglebone kernel

  • 1 commento:

    Unknown ha detto...

    Hello, thank you for this. I need this for my project but i dont know how to install it.I have mounted the rootfs on sd card and i think this is ok but i dont know what is the second file and how to install them.