SlideShare a Scribd company logo
1 of 45
Download to read offline
AirXren’
No one knows how it works
1
AGENDA
• Non tech intro (for non  users)

• How does it work

• Logging

• Privacy

• Vuln?

• PreResult
2
3
AirX****
• Handoff + Continuity

•  Watch

• AirDrop

• AirPlay

• Bonjour

• Password Sharing
4
Handoff + Continuity
• Start on iOS continue on
macOS and vice versa

• Syncronize basic process 

(e.g. common clipboard)
5
6
7
8
 Watch
• Pairing with iOS

• Receive Notifications and etc.

• Unlock macOS devices
9
10
11
AirDrop
• Share files, text and other
between macOS and iOS
12
13
14
15
AirPlay
• Stream content to displays
and audio systems 

• Media Player APIs support
AirPlay
16
17
Bonjour
• Zero-configuration networking,
enables automatic discovery of
devices and services on a local
network using industry
standard IP protocols

• Bonjour makes it easy to
discover, publish, and resolve
network services

• For sharing: Files, Printers, etc.
18
19
NB: removed from last macOS20
21
Password sharing
• Share password from:

• Wi-Fi

• Hotspot

• Between iOS and macOS with
people from contacts nearby

• iOS 11+
22
23
24
25
Intro is over
26
How does it work?
27
How does it work?
I don’t know

rashodimsya
28
AirDrop
• Requirements:

• Turn on Wi-Fi

• Turn on Bluetooth

• macOS / iOS

• Just drag and drop %any% to
nearby contact

• Magic

• Profit !
29
Questions?
• How to discover nearby contacts?

• What interface is used?

• Logging actions?

• Privacy?

• Vuln?
30
Nearby discovering
• Case 1

– Anonymous both

– Privacy: Everyone (Receiver)

• Case 2

– 1 Anonymous

– Privacy: Everyone (Receiver)

• Case 3

– Contact friends

– Privacy: Contacts, Everyone
31
Nearby discovering
• Case X:

– Both owner devices

– Privacy: Contacts or higher

– Sharing without request
32
Nearby discovering
• Contacts only

– Any identity at contact list

(e.g. email, phone, etc..)
33
What interface is used?
• Physical:

– WiFi

– Bluetooth

• Software:

– AWDL 

(Apple Wireless Direct Linking)
awdl0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu
1484
ether 6c:ab:16:21:b2:0a
inet6 fe50::4cfb:22ff:fe34:a1da%awdl0 prefixlen 64 scopeid 0x7
nd6 options=201<PERFORMNUD,DAD>
media: autoselect
status: active
34
AWDL
• IPv6

• mDNS

• Process / Framework: com.apple.sharing (CoreUtils)

/usr/libexec/sharingd 

/System/Library/PrivateFrameworks/CoreUtils.framework/CoreUtils
35
Console.app
• Track iOS, macOS, watchOS
AirDrop activity
/Applications/Utilities/Console.app
36
37
What?
• I can ping AirDrop devices (achievement sound)

ping6 -I awdl0 ee90::c4e2:22ef:ff2e:4cf2
• See discovered devices

OS version, Hardware model, etc..

• AidDrop (sharingd) use Contact.app and fetch data like:

– Emails

– Name

– Phone number

– …
38
Privacy?
• iOS 11 – WiFi/BT 

• WiFried
39
Vulnerabilities
• iOS 8.4.1 and lower

• Directory traversal attack
!
40
Fun
“Sitting in a cafe, air dropping
trollfaces to random people.
That’s how I spent my
Saturdays.”
— NeoGazpatchOS
(@NeoNacho) April 30, 2016
NB: can’t compile at last macOS41
vmesto zaklu4enia
• Too old bug (iOS 8.4 – 2015)

• Not enough research on this topic (only support.apple.com lol)

• iOS 11 Control Center 

• Privacy?
42
Topic links
• WiFried

www.intelliborn.com/wifriedx/WiFriedX_1_2.dmg

• WiFried research 

1. medium.com/@mariociabarra/wifriedx-in-depth-look-at-yosemite-wifi-and-awdl-
airdrop-41a93eb22e48

2. medium.com/@mariociabarra/wifried-ios-8-wifi-performance-issues-3029a164ce94

• AirDrop Vulns

1. arstechnica.com/information-technology/2015/09/apple-mitigates-but-doesnt-fully-fix-
critical-ios-airdrop-vulnerability/

1.2. www.cultofmac.com/389113/airdrop-vulnerability-is-the-best-reason-yet-to-upgrade-to-
ios-9/

• TrollDrop

github.com/neonichu/trolldrop

• AirDrop Verge

www.theverge.com/tldr/2014/11/10/7171345/the-best-use-for-apple-airdrop-is-space-sloths
43
What am I doing?
• Researching this thing

• Trying to figure out how it works (iOS/macOS/watchOS)

• Search for bugs?
44
Thank you
Questions? 



GitHub, Twitter and so on: @ANSJDNAKJDNAJKD
45

More Related Content

Similar to How AirDrop Works Behind the Scenes

Elements of Connected Products
Elements of Connected ProductsElements of Connected Products
Elements of Connected ProductsJordan Husney
 
DOC-20230427-WA0012..pptx
DOC-20230427-WA0012..pptxDOC-20230427-WA0012..pptx
DOC-20230427-WA0012..pptxkumarkaushal17
 
Controlpcviabluetoothenablemobile 091028150632-phpapp01
Controlpcviabluetoothenablemobile 091028150632-phpapp01Controlpcviabluetoothenablemobile 091028150632-phpapp01
Controlpcviabluetoothenablemobile 091028150632-phpapp01nagapriyanka
 
Control Pc Via Bluetooth Enable Mobile
Control Pc Via Bluetooth Enable MobileControl Pc Via Bluetooth Enable Mobile
Control Pc Via Bluetooth Enable MobileSamiul Hoque
 
Controlpcviabluetoothenablemobile 091028150632-phpapp01
Controlpcviabluetoothenablemobile 091028150632-phpapp01Controlpcviabluetoothenablemobile 091028150632-phpapp01
Controlpcviabluetoothenablemobile 091028150632-phpapp01ramaswamireddy challa
 
Using Java Script and COMPOSE to build cool IoT applications, SenZations 2015
Using Java Script and COMPOSE to build cool IoT applications, SenZations 2015Using Java Script and COMPOSE to build cool IoT applications, SenZations 2015
Using Java Script and COMPOSE to build cool IoT applications, SenZations 2015SenZations Summer School
 
Building the Internet of Things with Thingsquare and Contiki - day 1, part 3
Building the Internet of Things with Thingsquare and Contiki - day 1, part 3Building the Internet of Things with Thingsquare and Contiki - day 1, part 3
Building the Internet of Things with Thingsquare and Contiki - day 1, part 3Adam Dunkels
 
How to opt out of NSA
How to opt out of NSAHow to opt out of NSA
How to opt out of NSAHeyday ApS
 
6 Months Industrial Training in Big Data in Chandigarh
6 Months Industrial Training in Big Data in Chandigarh6 Months Industrial Training in Big Data in Chandigarh
6 Months Industrial Training in Big Data in ChandigarhArcadian Learning
 
Synapseindia android apps intro to android and i os
Synapseindia android apps intro to android and i osSynapseindia android apps intro to android and i os
Synapseindia android apps intro to android and i osSynapseindiappsdevelopment
 
This one goes to 11!
This one goes to 11!This one goes to 11!
This one goes to 11!APNIC
 
Android intro
Android introAndroid intro
Android introvjy424
 
Single chip computer for iot application
Single chip computer for iot application Single chip computer for iot application
Single chip computer for iot application iotleague
 
Bluetooth LE & iBeacons by Javier Chávarri (NSBarcelona)
Bluetooth LE & iBeacons by Javier Chávarri (NSBarcelona)Bluetooth LE & iBeacons by Javier Chávarri (NSBarcelona)
Bluetooth LE & iBeacons by Javier Chávarri (NSBarcelona)barcelonaio
 
Synapse india reviews on android and ios
Synapse india reviews on android and iosSynapse india reviews on android and ios
Synapse india reviews on android and iossaritasingh19866
 
6 Months Industrial Training in Android
6 Months Industrial Training in Android6 Months Industrial Training in Android
6 Months Industrial Training in AndroidArcadian Learning
 

Similar to How AirDrop Works Behind the Scenes (20)

Elements of Connected Products
Elements of Connected ProductsElements of Connected Products
Elements of Connected Products
 
Chapter 3 footprinting
Chapter 3 footprintingChapter 3 footprinting
Chapter 3 footprinting
 
Mesh IoT Networks Explained
Mesh IoT Networks ExplainedMesh IoT Networks Explained
Mesh IoT Networks Explained
 
DOC-20230427-WA0012..pptx
DOC-20230427-WA0012..pptxDOC-20230427-WA0012..pptx
DOC-20230427-WA0012..pptx
 
THAT_2023_BLE.pdf
THAT_2023_BLE.pdfTHAT_2023_BLE.pdf
THAT_2023_BLE.pdf
 
Controlpcviabluetoothenablemobile 091028150632-phpapp01
Controlpcviabluetoothenablemobile 091028150632-phpapp01Controlpcviabluetoothenablemobile 091028150632-phpapp01
Controlpcviabluetoothenablemobile 091028150632-phpapp01
 
Control Pc Via Bluetooth Enable Mobile
Control Pc Via Bluetooth Enable MobileControl Pc Via Bluetooth Enable Mobile
Control Pc Via Bluetooth Enable Mobile
 
Controlpcviabluetoothenablemobile 091028150632-phpapp01
Controlpcviabluetoothenablemobile 091028150632-phpapp01Controlpcviabluetoothenablemobile 091028150632-phpapp01
Controlpcviabluetoothenablemobile 091028150632-phpapp01
 
Using Java Script and COMPOSE to build cool IoT applications, SenZations 2015
Using Java Script and COMPOSE to build cool IoT applications, SenZations 2015Using Java Script and COMPOSE to build cool IoT applications, SenZations 2015
Using Java Script and COMPOSE to build cool IoT applications, SenZations 2015
 
Building the Internet of Things with Thingsquare and Contiki - day 1, part 3
Building the Internet of Things with Thingsquare and Contiki - day 1, part 3Building the Internet of Things with Thingsquare and Contiki - day 1, part 3
Building the Internet of Things with Thingsquare and Contiki - day 1, part 3
 
How to opt out of NSA
How to opt out of NSAHow to opt out of NSA
How to opt out of NSA
 
6 Months Industrial Training in Big Data in Chandigarh
6 Months Industrial Training in Big Data in Chandigarh6 Months Industrial Training in Big Data in Chandigarh
6 Months Industrial Training in Big Data in Chandigarh
 
Synapseindia android apps intro to android and i os
Synapseindia android apps intro to android and i osSynapseindia android apps intro to android and i os
Synapseindia android apps intro to android and i os
 
FreeBSD is not Linux
FreeBSD is not LinuxFreeBSD is not Linux
FreeBSD is not Linux
 
This one goes to 11!
This one goes to 11!This one goes to 11!
This one goes to 11!
 
Android intro
Android introAndroid intro
Android intro
 
Single chip computer for iot application
Single chip computer for iot application Single chip computer for iot application
Single chip computer for iot application
 
Bluetooth LE & iBeacons by Javier Chávarri (NSBarcelona)
Bluetooth LE & iBeacons by Javier Chávarri (NSBarcelona)Bluetooth LE & iBeacons by Javier Chávarri (NSBarcelona)
Bluetooth LE & iBeacons by Javier Chávarri (NSBarcelona)
 
Synapse india reviews on android and ios
Synapse india reviews on android and iosSynapse india reviews on android and ios
Synapse india reviews on android and ios
 
6 Months Industrial Training in Android
6 Months Industrial Training in Android6 Months Industrial Training in Android
6 Months Industrial Training in Android
 

Recently uploaded

Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 

Recently uploaded (20)

Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 

How AirDrop Works Behind the Scenes

  • 1. AirXren’ No one knows how it works 1
  • 2. AGENDA • Non tech intro (for non  users) • How does it work • Logging • Privacy • Vuln? • PreResult 2
  • 3. 3
  • 4. AirX**** • Handoff + Continuity •  Watch • AirDrop • AirPlay • Bonjour • Password Sharing 4
  • 5. Handoff + Continuity • Start on iOS continue on macOS and vice versa • Syncronize basic process 
 (e.g. common clipboard) 5
  • 6. 6
  • 7. 7
  • 8. 8
  • 9.  Watch • Pairing with iOS • Receive Notifications and etc. • Unlock macOS devices 9
  • 10. 10
  • 11. 11
  • 12. AirDrop • Share files, text and other between macOS and iOS 12
  • 13. 13
  • 14. 14
  • 15. 15
  • 16. AirPlay • Stream content to displays and audio systems • Media Player APIs support AirPlay 16
  • 17. 17
  • 18. Bonjour • Zero-configuration networking, enables automatic discovery of devices and services on a local network using industry standard IP protocols • Bonjour makes it easy to discover, publish, and resolve network services • For sharing: Files, Printers, etc. 18
  • 19. 19
  • 20. NB: removed from last macOS20
  • 21. 21
  • 22. Password sharing • Share password from: • Wi-Fi • Hotspot • Between iOS and macOS with people from contacts nearby • iOS 11+ 22
  • 23. 23
  • 24. 24
  • 25. 25
  • 27. How does it work? 27
  • 28. How does it work? I don’t know
 rashodimsya 28
  • 29. AirDrop • Requirements: • Turn on Wi-Fi • Turn on Bluetooth • macOS / iOS • Just drag and drop %any% to nearby contact • Magic • Profit ! 29
  • 30. Questions? • How to discover nearby contacts? • What interface is used? • Logging actions? • Privacy? • Vuln? 30
  • 31. Nearby discovering • Case 1
 – Anonymous both
 – Privacy: Everyone (Receiver) • Case 2
 – 1 Anonymous
 – Privacy: Everyone (Receiver) • Case 3
 – Contact friends
 – Privacy: Contacts, Everyone 31
  • 32. Nearby discovering • Case X:
 – Both owner devices
 – Privacy: Contacts or higher
 – Sharing without request 32
  • 33. Nearby discovering • Contacts only
 – Any identity at contact list
 (e.g. email, phone, etc..) 33
  • 34. What interface is used? • Physical:
 – WiFi
 – Bluetooth • Software:
 – AWDL 
 (Apple Wireless Direct Linking) awdl0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1484 ether 6c:ab:16:21:b2:0a inet6 fe50::4cfb:22ff:fe34:a1da%awdl0 prefixlen 64 scopeid 0x7 nd6 options=201<PERFORMNUD,DAD> media: autoselect status: active 34
  • 35. AWDL • IPv6 • mDNS • Process / Framework: com.apple.sharing (CoreUtils)
 /usr/libexec/sharingd 
 /System/Library/PrivateFrameworks/CoreUtils.framework/CoreUtils 35
  • 36. Console.app • Track iOS, macOS, watchOS AirDrop activity /Applications/Utilities/Console.app 36
  • 37. 37
  • 38. What? • I can ping AirDrop devices (achievement sound)
 ping6 -I awdl0 ee90::c4e2:22ef:ff2e:4cf2 • See discovered devices
 OS version, Hardware model, etc.. • AidDrop (sharingd) use Contact.app and fetch data like:
 – Emails
 – Name
 – Phone number
 – … 38
  • 39. Privacy? • iOS 11 – WiFi/BT • WiFried 39
  • 40. Vulnerabilities • iOS 8.4.1 and lower • Directory traversal attack ! 40
  • 41. Fun “Sitting in a cafe, air dropping trollfaces to random people. That’s how I spent my Saturdays.” — NeoGazpatchOS (@NeoNacho) April 30, 2016 NB: can’t compile at last macOS41
  • 42. vmesto zaklu4enia • Too old bug (iOS 8.4 – 2015) • Not enough research on this topic (only support.apple.com lol) • iOS 11 Control Center • Privacy? 42
  • 43. Topic links • WiFried
 www.intelliborn.com/wifriedx/WiFriedX_1_2.dmg • WiFried research 
 1. medium.com/@mariociabarra/wifriedx-in-depth-look-at-yosemite-wifi-and-awdl- airdrop-41a93eb22e48
 2. medium.com/@mariociabarra/wifried-ios-8-wifi-performance-issues-3029a164ce94 • AirDrop Vulns
 1. arstechnica.com/information-technology/2015/09/apple-mitigates-but-doesnt-fully-fix- critical-ios-airdrop-vulnerability/
 1.2. www.cultofmac.com/389113/airdrop-vulnerability-is-the-best-reason-yet-to-upgrade-to- ios-9/ • TrollDrop
 github.com/neonichu/trolldrop • AirDrop Verge
 www.theverge.com/tldr/2014/11/10/7171345/the-best-use-for-apple-airdrop-is-space-sloths 43
  • 44. What am I doing? • Researching this thing • Trying to figure out how it works (iOS/macOS/watchOS) • Search for bugs? 44
  • 45. Thank you Questions? 
 
 GitHub, Twitter and so on: @ANSJDNAKJDNAJKD 45