← All projects
Project record1 mention
Originally shared on Hacker News

Shimano Di2 firmware downgrade and SDR replay attack

This project reproduces a disclosed replay attack against Shimano Di2 electronic bike groupsets: it downgrades bike firmware that shipped with the vulnerability patched, circumventing the e-Tube app's detection of root, emulators, frida-server, and modified APKs, and uses an SDR to perform the attack that shifts another rider's bicycle gears.

Last shared
01 / The problem

What it addresses

The bike was delivered with updated firmware that is no longer vulnerable to the published replay attack, and the e-Tube app only allows updating the bike while crashing when it detects root, emulators, frida-server, or a changed APK, so a way around these protections was needed to downgrade the firmware and carry out the attack.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Shimano Di2 firmware downgrade and SDR replay attack

    This project reproduces a disclosed replay attack against Shimano Di2 electronic bike groupsets: it downgrades bike firmware that shipped with the vulnerability patched, circumventing the e-Tube app's detection of root, emulators, frida-server, and modified APKs, and uses an SDR to perform the attack that shifts another rider's bicycle gears.

    Problem: The bike was delivered with updated firmware that is no longer vulnerable to the published replay attack, and the e-Tube app only allows updating the bike while crashing when it detects root, emulators, frida-server, or a changed APK, so a way around these protections was needed to downgrade the firmware and carry out the attack.

    Posted by @pentamassiv · Original source ↗

    Source text · @pentamassiv · · Source ↗

    I just finished playing with my Shimano Di2 groupset and the e-tube app. Last year researchers revealed that a simple replay attack was possible to shift someone elses bicycle. My bike was delivered with updated firmware that is no longer vulnerable so I had to find a way to downgrade the bike. The e-Tube app only allows updating the bike, but it detects root, emulators, frida-server or changing the APK and then crashes. I had to find a way to circumvent that and use an SDR to do the actual attack