USBProxy

A proxy for USB devices, libUSB and gadgetFS - this project is unmaintained, try here: https://github.com/usb-tools/Facedancer

  • 所有者: usb-tools/USBProxy-legacy
  • 平台:
  • 許可證: GNU General Public License v2.0
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

USBProxy

Status

This project is in the very early stages (alpha), it should be assumed that it
is currently non-functional. In fact, there are many occasions on which git
head doesn't even compile.

To keep up to date with the project you can join the mailing list at
http://www.freelists.org/list/usbproxy or join us on IRC (#usbproxy on Freenode).
Build

Dependencies:

sudo apt-get install build-essential cmake

Build:

mkdir src/build
cd src/build
cmake ..
make
sudo make install
sudo ldconfig

If you want to try out the PCAP logger you will need to install libPCAP
headers:

sudo apt-get install libpcap-dev

Running the tool

The best way to get started with USBProxy is by trying it out. Connect a device
to your single board computer and connect it to a target host system. Then try
running the following to view packets in real time as they are sent between your
device and host.

usb-mitm -l

If you have a USB keyboard, try running the following to act as a keylogger:

usb-mitm -k

What?

A USB man in the middle device using embedded Linux devices with on the go
controllers.

Why?

Other USB sniffers exist, but I really like cheap ARM Linux hardware platforms
and I wanted to tinker with the USB device side. There was also an article on
Hack a Day about sniffing USB with the BeagleBoard-xM, but on further
inspection, it would only build against a relatively old kernel version.

ToDo

  • Support alternative chipsets - gadgetfs should take care of this (ish)
  • Clean up code - check return values, etc

License

Unless explicitly stated otherwise, all code in this repository is released
under the GPL v2 license, a copy of which can be found in the LICENSE file. All
files that are released under a different license contain a copy of that license
in the file.

FAQ

Q. I need support!

A. Me too buddy, me too. Let's hug it out. Your best chance of getting
support is to contact me on IRC (#USBProxy on freenode.net), raise an issue on
GitHub or join the mailing list (http://www.freelists.org/list/usbproxy).

Q. How is this different to using usbmon on the host?

A. It isn't. Although there are situations where you may not be able to access
the code running on the host system; for example, when reverse engineering USB
devices for use with closed platforms.

Q. Isn't the Beagle already a USB monitor?

A. Initially the BeagleBone Black was intended target device for this software,
but almost any Linux host with both a device and host port will do. The Total
Phase Beagle USB monitors are excellent devices for sniffing and debugging USB
connections, in fact, one was used by "AlexP" to reverse engineer the Microsoft
Kinect. However, they are completely unrelated to the BeagleBone Black devices
produced by TI, which are open source single board computer systems.

主要指標

概覽
名稱與所有者usb-tools/USBProxy-legacy
主編程語言C++
編程語言CMake (語言數: 6)
平台
許可證GNU General Public License v2.0
所有者活动
創建於2013-07-17 16:49:53
推送於2021-12-06 20:01:25
最后一次提交2021-12-06 15:01:25
發布數3
最新版本名稱ShmooCon_2015 (發布於 2015-02-10 10:14:24)
第一版名稱Working_Single_Relayer (發布於 2013-12-09 05:50:22)
用户参与
星數452
關注者數46
派生數103
提交數663
已啟用問題?
問題數43
打開的問題數9
拉請求數37
打開的拉請求數0
關閉的拉請求數7
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?