RCayre / mirage

Mirage is a powerful and modular framework dedicated to the security analysis of wireless communications.
https://homepages.laas.fr/rcayre/mirage-documentation
MIT License
261 stars 48 forks source link

Mirage firmware seems not to work with Microbit #2

Closed whoot closed 4 years ago

whoot commented 4 years ago

Hey,

after successfully flashing the firmware, it is not possible for mirage to start scanning.

The device is recognized correctly:

$ mirage ble_info INTERFACE=microbit0

[INFO] Module ble_info loaded !
[SUCCESS] BTLEJack device #0 successfully instantiated (firmware version : 3.14)
[INFO] Custom Mirage Firmware used ! Advertisements sniffing and jamming will be supported.
┌───────────┬──────────────┬─────────┬─────────────────┐
│ Interface │ Device Index │ Version │ Custom Firmware │
├───────────┼──────────────┼─────────┼─────────────────┤
│ microbit0 │ #0           │ 3.14    │ yes             │
└───────────┴──────────────┴─────────┴─────────────────┘
[INFO] Mirage process terminated !

But scanning just hangs at "Module ble_scan loaded !" and you have to abort it:

$ mirage ble_scan INTERFACE=microbit0

[INFO] Module ble_scan loaded !
^C[FAIL] An error occured during device initialization (interface : microbit0)
[INFO] Mirage process terminated !

Also the Micro:Bit seems to not work with btlejack anymore with this firmware.

whoot commented 4 years ago

Issue solved... had to open the microbit folders on the desktop first to enable the devices. Sorry!

RCayre commented 4 years ago

Hi, no problem. Don't hesitate to open a new issue if you have some troubles using Mirage.