Skip to content

Tugraz masterthesis with the title "Analysis of low-level iOS lightning protocols"

License

Notifications You must be signed in to change notification settings

whati001/tuwire

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tuwire

General

This repository consolidates all the relevant documents and code from my master thesis with the title "Analysis of low-level iOS lightning protocols" passed at the Technical University of Graz.

Topic

The thesis is structured into three parts:

Analysis

At first, we investigated into Apple's proprietary low level iOS lightning protocols and how we can abuse these to attack an iPhone during the charging process. These class of attacks are called "Juice Jacking Attacks" by the academic research.

Attack

After identifying potential weaknesses in these proprietary protocols, we assembled a malicious charging cable called TuWire. This cable allows an attack to control the device’s user interface, extract the access credentials for the WiFi network the iPhone is currently connected to, enroll an external Mobile Device Management (MDM) profile, and stream the device screen content to a storage device.

Mitigation

To mitigate Juice Jacking attacks such as TuWire the thesis also provides a Lightning-to-Lightning adapter called Lightning Condom, which forces any malicious charging cable to act as a charging-only cable. Therefore, it mitigates attacks such as TuWire and delivers a secure charging interface to users.

Thesis publication

Please find the final thesis publication within the universities repository; direct link

Demonstration

Please find here some demonstration videos uploaded to YouTube.

TuWire

YouTubeLink

Lightning Condom

YouTubeLink

Code

  • IDBUS implementation for the Raspberry Pi Pico (POC for Zephyr RTOS)
  • iAP implementation for the Raspberry Pi Pico (POC for Zephyr RTOS)
  • MFI chip communication for the Raspberry Pi Pico (POC for Zephyr RTOS)
  • Nero (USB Protocol) implementation for Zephyr RTOS (stm32)

About

Tugraz masterthesis with the title "Analysis of low-level iOS lightning protocols"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published