LUNA: LETS YOUR CAPTURE AND ANALYZE TRAFFIC BETWEEN HOSTS AND USB DEVICES

Summary of LUNA: LETS YOUR CAPTURE AND ANALYZE TRAFFIC BETWEEN HOSTS AND USB DEVICES


LUNA is a PCB-based hacking device that functions as a high-speed USB protocol analyzer, USB-hacking multi-tool, and USB development platform. It uses a Lattice Semiconductor LFE5U-12F ECP5 FPGA supported by the yosys+nextpnr open-source FPGA flow, works with the ViewSB software for human-readable USB traffic analysis on Linux, macOS, Windows, and FreeBSD, and supports device creation and emulation via the FaceDancer Python library. It also includes an onboard USB-to-serial bridge for FPGA debug I/O and diagnostic testing.

Parts used in the LUNA project:

  • PCB (printed circuit board) with complex circuitry
  • Lattice Semiconductor LFE5U-12F ECP5 FPGA
  • Integrated circuits for USB handling and other functions
  • USB connectors for host and device interfacing
  • USB-to-serial communications bridge (onboard) for FPGA debug I/O
  • Support components for FPGA configuration and diagnostics (passives, regulators, headers)

Lately, we have seen several interesting projects up for crowdfunding that you can support and get rewards for as well. One such project coming soon is the LUNA hacking device that is nothing but a PCB with some integrated circuits and complex circuitry.

With this new device, you can build, test, monitor, and experiment with any USB device you can think of.

Can you imagine one hardware exhibiting three extremely useful capabilities for all kinds of developers? This will keep many of the designers clamoring over the ability to act as a high-speed USB protocol analyzer, a USB-hacking multi-tool, or a USB development platform. Looking at the specifications, you will notice that the hardware comes with Lattice Semiconductor LFE5U-12F ECP5 FPGA that is supported by the yosys+nextpnr open-source FPGA flow.

LUNA USB Protocol Analyzer

“Out-of-the-box, LUNA acts as a USB protocol analyzer capable of capturing and analyzing traffic between a host and any Low-, Full-, or High-Speed (“USB 2.0”) USB device. It works seamlessly with our open-source ViewSB software, which translates captured USB traffic into a human-readable format. ViewSB runs on Linux, macOS, Windows, and FreeBSD.”

For anyone who has been wishing to monitor and analyze the traffic of any USB 2.0 device. Along with the protocol analysis, the manufacturer doesn’t stop surprising us with its immense capabilities that allow you to create your high-speed USB device. This can be done using the FaceDancer library with which you don’t only get to create USB devices but also emulate them in high-level Python programming.

This is not the first time we have seen the LUNA team working in the USB space. Earlier, we have come across several educational materials that deal with hacking and working on USB devices. With onboard integrated circuits, you can easily configure the FPGA and run diagnostic tests like the built-in USB-to-serial communications bridge for FPGA debug I/O.

Read more: LUNA: LETS YOUR CAPTURE AND ANALYZE TRAFFIC BETWEEN HOSTS AND USB DEVICES

Quick Solutions to Questions related to LUNA:

  • What is LUNA?
    LUNA is a PCB-based device that serves as a USB protocol analyzer, USB-hacking multi-tool, and USB development platform.
  • What FPGA does LUNA use?
    LUNA uses the Lattice Semiconductor LFE5U-12F ECP5 FPGA.
  • Which open-source FPGA flow supports the LUNA FPGA?
    The yosys+nextpnr open-source FPGA flow supports the LUNA FPGA.
  • Can LUNA capture and analyze USB 2.0 traffic?
    Yes, out of the box LUNA acts as a USB protocol analyzer capable of capturing and analyzing Low-, Full-, and High-Speed USB 2.0 traffic.
  • What software translates captured USB traffic into a human-readable format?
    The open-source ViewSB software translates captured USB traffic into a human-readable format.
  • Which operating systems does ViewSB run on?
    ViewSB runs on Linux, macOS, Windows, and FreeBSD.
  • Can LUNA be used to create or emulate USB devices?
    Yes, using the FaceDancer library you can create and emulate USB devices with LUNA in high-level Python.
  • Does LUNA provide debug I/O for the FPGA?
    Yes, LUNA includes a built-in USB-to-serial communications bridge for FPGA debug I/O and diagnostics.

About The Author

Muhammad Bilal

I am a highly skilled and motivated individual with a Master's degree in Computer Science. I have extensive experience in technical writing and a deep understanding of SEO practices.