Building An Evil Phone Charging Station
Where
Talks
hack.lu 2023
Duration
24 min
Shows how a rigged charging port can mirror a phone's screen over USB-C and recover typed passwords with OCR.
Summary
The talk starts from public charging points in airports, hotels and lounges, where a phone plugged into a port may send more than power. USB-C alternative modes can carry a display signal, and some phones also accept keyboard and Ethernet input over the same connection. The speaker, a red team member at a telecom operator, explains how a phone, a capture adapter and a laptop can be combined into a working setup that shows a phone's screen while it charges.
The team then tested many phone models bought in stores to see what appears on the mirrored display. Most showed notifications, two-factor codes, and PIN or password entry in plain view, with only small warnings. iPhones hid some input and used smaller notices, while Android devices showed keystrokes. A prototype split the captured video into frames, detected changes that matched typing, and ran Tesseract OCR on keyword-defined regions to rebuild passwords letter by letter. The speaker acknowledged OCR mistakes and the heavy processing needed for real-time use across several devices.
The main takeaway is that phone makers and app developers should warn users when screen mirroring starts during charging and protect sensitive fields. The speaker also suggested workplace docking stations as a possible target and noted that the code is publicly available. The question round covered iOS keyboard hiding and whether app window flags stop capture.
Related talks
Talks·37 min
Wesley Appler
Follows one hobbyist's effort to design an open source phone with privacy and intentional disconnection in mind.
Talks·18 min
w1nd_w4lk3r
Shows how an older UFED Touch forensic unit can still recover phone data, and what to check before buying one.
Talks·34 min
Edouard D'hoedt · Hayk Gevorgyan
Surveys physical attacks that recover BitLocker keys, from DMA and boot tampering to sniffing the TPM bus, with mitigations.


