The Bus Pirate 5 Sure Can Glitch

Own a Bus Pirate 5? Now, it can do power glitching, thanks to [Matt Brugman’s] demo and contributions to the stock code. This is also a great demo of Bus Pirate’s capabilities and programmability! All you need is the Bus Pirate and a generic Arduino – load a glitch-vulnerable code example into the Arduino, get yourself a generic FET-based glitching setup, and you too can play.

The Arduino board outputs data over UART, and that’s used as a trigger for the Bus Pirate’s new glitch feature – now mainline, thanks to [Matt]’s pull request. It’s pretty feature-complete, too — all parameters are configurable, it can vary the glitching interval, as one would want, and the code checks for success conditions so that it can retry glitching automatically.

In this demo, it only took six consecutive attempts to successfully glitch the ATMega328P – wouldn’t you know it, the code that got glitched was pulled almost wholesale from an IoT device. Glitching remains an underappreciated vector for reverse-engineering, and there’s really no shortage of hacks it allows you to do – get yourself a FET, a Bus Pirate, or maybe just an ESP8266, and join the glitching-aware hackers club!

Want to know more about the Bus Pirate 5? Check out our hands-on review of the hacker multi-tool from last year.

One thought on “The Bus Pirate 5 Sure Can Glitch

  1. ESP32 c compiler and hardware platforms issues with Arduino Board Manage caused esp32 board driver urLS reporting bad links.

    Latest attempt to get a esp32 platform working resulted in Arduino crashing
    the gcc c compiler trying to compile 64 bit multiply.

    Uninstall of Arduino required to fix gcc c compiler issue.

    ATMega328 UNO R3 hardware install with 64 bit multiply seemed to indicate
    Arduino c compiler supports gcc c with the exception of printf.

    We have many esp32 platforms we will try to get working without Arduino IDE.

Leave a Reply

Please be kind and respectful to help make the comments section excellent. (Comment Policy)

This site uses Akismet to reduce spam. Learn how your comment data is processed.