The Ghost Key - Illusions of 'Time Management' in TTLock Smart Locks
Where
Main Stage
DEF CON 34
Duration
43 min
Shows how TTLock's offline time checks in white-label smart locks can be bypassed, letting expired electronic keys open doors again.
Summary
The talk examines TTLock, a white-label smart lock platform used in rentals, hotels and homes. Its design relies on the lock's clock and on keys issued in advance by the companion app, so the lock trusts a signed packet rather than checking whether that packet is still valid. The presenters began with a lock they owned and an unexpected double unlock, then captured Bluetooth traffic and hooked the Android app to map the command structure.
They found that a single AES key, derived from a default key hardcoded in the app, protects the authorization data, and that the app uploads this key in plaintext to the vendor's cloud. Their scripts, built without the official app, showed that deleting a key on the admin side did not stop it working, that the lock never checked the user ID, and that only the end date was enforced. Clock calibration could move the lock's time backward or forward, reviving an expired keypad code or writing false entries into the unlock log. They also described a cheap Bluetooth connection hold that kept the legitimate owner out.
The takeaway is that offline access control needs a trustworthy clock and server-side key verification. The speakers reported the flaws to the vendor, got no substantive reply within a 90-day window, and published their findings after finding them still present in newer app and firmware versions. Practical advice includes preferring gateway-based revocation, rekeying locks after tenants leave, and never hardcoding keys.
Materials
Related talks
Main Stage·36 min
Aaron Schulman · Jerry Yu · Yibo Wei
Shows how an aftermarket dealer-installed car alarm shipped one shared key across its units, letting a smartphone unlock and immobilize vehicles.
Car Hacking Village·27 min
Danilo Erazo
Shows how a popular aftermarket rolling code key fob system can be reverse engineered, rolled back and brute forced to clone a vehicle key.
BioHacking Village·32 min
Marie Mo · Cheyenne · Christian
Follows a pacemaker patient and two students as they reverse engineer a clinic programmer and an implant's firmware, exposing its weaknesses.


