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

Triggering AWDL #30

Open
ghost opened this issue Oct 15, 2019 · 3 comments
Open

Triggering AWDL #30

ghost opened this issue Oct 15, 2019 · 3 comments
Labels
enhancement New feature or request

Comments

@ghost
Copy link

ghost commented Oct 15, 2019

Triggering macOS/iOS receivers via Bluetooth Low Energy. Apple devices start their AWDL interface and AirDrop server only after receiving a custom advertisement via Bluetooth LE (see USENIX paper for details). This means, that Apple AirDrop receivers may not be discovered even if they are discoverable by everyone.

How do you send this custom advertisement?
I know how to receive it, and how to craft one, but EVERY SINGLE BLE api/wrapper seems to expect you're sending an ibeacon or eddystone and refuses to do otherwise.

@schmittner
Copy link
Member

You can use hci or bluez (which appears to have some Python bindings). See, e.g., https://github.com/hexway/apple_bleee/blob/master/adv_wifi.py

@schmittner schmittner added the enhancement New feature or request label May 14, 2020
@TheLastGimbus
Copy link

TheLastGimbus commented Oct 3, 2021

Hey @ghost... oh, he deleted himself... @schmittner do you maybe know what those magic bluetooth bits are? Can I easly send them by modifing apple_bleee/adv_wifi.py a bit ?

@Sn0wfreezeDev
Copy link
Member

Those bits are fairly well documented. The Furios MAC team did a great job gathering all Bluetooth beacons from different sources and adding them to they GitHub: https://github.com/furiousMAC/continuity/blob/master/messages/airdrop.md

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

No branches or pull requests

3 participants