Unsaflok: Hacking Millions of Hotel Locks
Cryptographic and implementation vulnerabilities in Saflok RFID hotel lock systems affecting millions of doors worldwide.
Summary
Ubiquity of RFID Electronic Hotel Locks
Electronic hotel locks have been in use for over three decades, and have become an integral part of the hospitality sector. Las Vegas has over 150.000 hotel rooms, many of which use an RFID based electronic lock for access control. Most hotel guests rely on these locks to safeguard personal belongings and to protect their personal safety. However, some of these long-deployed locks have never been publicly scrutinized by the research community.
Reverse Engineering the Saflok Ecosystem
This presentation covers the discovery of vulnerabilities affecting three million dormakaba Saflok locks. The Saflok system relied on a proprietary key derivation function for its MIFARE Classic cards and a proprietary encryption algorithm for the card contents. Reverse engineering the Saflok system allowed us to forge valid keycards. After reading a single, low privilege, guest card we are able to create a pair of forged key cards that allow us to deactivate the deadbolt and open any room at the property.
Cryptographic Flaws and Key Derivation Attacks
We reported these vulnerabilities to dormakaba in September of 2022, as part of this presentation we will discuss the responsible disclosure and mitigation processes. Additionally, we will demonstrate how you can determine if your own hotel room has been patched to help ensure your personal safety.
Global Impact and Responsible Disclosure Process
My Arduino can beat up your hotel room lock - Onity locks - Cody Brocious - Blackhat 2012 Ghost In The Locks: Owning Electronic Locks Without Leaving A Trace - Vingcard locks - Tomi Tuominen and Timo Hirvonen - HITBGSEC 2018
Related talks
Main Stage·43 min
Yaniv Balmas · Lior Oppenheim
Yaniv Balmas and Lior Oppenheim demonstrate reverse engineering KVM switch firmware, subverting the 8051 microcontroller to install an undetectable, persistent hardware keylogger.
Creator Stage·38 min
Noah Holland · Josh Stiebel
Expands on Saflok hotel electronic lock vulnerabilities, detailing weaknesses in the handheld programmer interface, bit fields, and unencrypted credential data.
Creator Stage·53 min
Chad Shortman
Examines how physical access control systems and smartcard readers operate, detailing high-profile flaws and fundamental design vulnerabilities.


