Skip to content

microbit key cracking reliably unreliable #39

Description

@jsmif

This could be a btlejack issue rather than a Mirage issue, but when I run

sudo btlejack -c any -d /dev/ttyACM0 -d /dev/ttyACM1 -d /dev/ttyACM2

I can successfully see a known JustWorks pairing attempt about 50% of the time (if I use 3 sniffers. Less reliable with only 1 of course.)

When I try to do the same thing from within Mirage, issuing:

sudo mirage ble_sniff SNIFFING_MODE=newConnections CRACK_KEY=yes INTERFACE=microbit0 INTERFACEA=microbit1 INTERFACEB=microbit2

I've so far only had one success (out of perhaps 20 attempts. Coincidentally(?) it was the first attempt, with a single microbit rather than the 3 which I tried to improve reliability.)

The failure is that it just prints

[INFO] Mirage process terminated !

sometimes even before I have a chance to hit the "pair" button on the Android phone.

This might be another reason to update Sniffle support, since Sniffle is pretty reliable now, whereas btlejack isn't being updated anymore AFAIK.

p.s. I notice in the example documentation it says firmware version : 3.14 for microbit. The latest released version is 2.1.1, so do I need to use this firmware to be more reliable?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions