Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding support for sniffing and reactive jamming of advertisements. #47

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

RCayre
Copy link

@RCayre RCayre commented Jul 10, 2019

Adding advertisements-related features, such as sniffing or reactive jamming.

Multiple options have been added to the UI in order to communicate with the firmware version supporting advertisements sniffing and reactive jamming (btlejack-firmware PR #10). It allows to configure a filtering policy in order to accept or drop specific frames, and provide a pattern to reactively jam some specific frames.

It includes a simple advertisements dissector (dissect/advertisements.py).
The usage is described in the code itself.

@francozappa
Copy link

@RCayre

What is the status of this PR? It looks that sniffing and jamming advs is not supported by btlejack v2.0

@RCayre
Copy link
Author

RCayre commented Jul 25, 2020

As far as I know, virtualabs has made signifiant modifications in the code of btlejack in order to support BLE 5.0 sniffing, ans doesn't plan to include advertisements sniffing. This PR should be consequently adapted anyway. However, the forked version is still available and support 4.x advertisements sniffing/reactive jamming. I guess it may be closed.

@jeanmi151
Copy link

Hey @RCayre ,
Did you modify the firmware for your patch ? if yes did you publish somewhere the sources ?

@RCayre
Copy link
Author

RCayre commented Aug 11, 2020

Yes, the forked firmware is available here:
https://github.com/RCayre/btlejack-firmware

It is compatible with Mirage (module ble_sniff or ble_jam, interface microbit, examples are available in the documentation) and this modified version of btlejack:
https://github.com/RCayre/btlejack

edit: please note that it doesn't support advertising features introduced in the 5.0 spec (extended advertising, periodic advertising) (nRF51 is not able to use LE 2M and LE Coded PHYs anyway).

@jeanmi151
Copy link

@RCayre In case you are interested i forked the project and added your PR to the version 2.0, here https://github.com/HexHive/btlejack

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants