Skip to content

Latest commit

 

History

History
69 lines (61 loc) · 2.83 KB

airdrop.md

File metadata and controls

69 lines (61 loc) · 2.83 KB

AirDrop Message

AirDrop is an Apple technology that allows users to share files with each other via WiFi and Bluetooth, but without the need to both be connected to a WiFi network.

AirDrop itself has been thoroughly reverse engineered by Milan Stute et. al in their work A Billion Open Interfaces for Eve and Mallory: MitM, DoS, and Tracking Attacks on iOS and macOS Through Apple Wireless Direct Link . The AirDrop Message was described first by the Hexway security research group, and by Guillaume Celosia and Mathieu Cunche in Discontinued Privacy: Personal Data Leaks in Apple Bluetooth-Low-Energy Continuity Protocols.

AirDrop Message (btcommon.apple.type == 0x05)

Field Name Info Example Length Type Notes
btcommon.apple.airdrop.prefix Prefix for AirdDrop message 0000000000000000 8 Bytes
btcommon.apple.airdrop.version AirDrop Version 01 1 Bytes Version of AirDrop?
btcommon.apple.airdrop.appleid First 2 bytes SHA256(AppleID) 6e2e 2 Bytes
btcommon.apple.airdrop.phone First 2 bytes SHA256(Phone Number) f7ad 2 Bytes
btcommon.apple.airdrop.email First 2 bytes SHA256(Email) 09b2 2 Bytes
btcommon.apple.airdrop.email2 First 2 bytes SHA256(Email 2) 2080 2 Bytes
btcommon.apple.airdrop.suffix Sufffix of AirDrop message 00 1 Bytes

The message fields, observed values and their meaning:

  • Type: 1 byte, 0x05 -- indicates an AirDrop message
  • Length: 1 byte, 0x12 -- number of bytes in the message payload
  • Zeros: 8 bytes
  • Version: 1 byte
  • Truncated SHA256 Hash of AppleID: 2 bytes
  • Truncated SHA256 Hash of Phone Number: 2 bytes
  • Truncated SHA256 Hash of Email: 2 bytes
  • Truncated SHA256 Hash of Email2: 2 bytes
  • Zero: 1 byte