Thanks everyone. Welcome to our talk titled Unsafe Lock, Unlocking Millions of Hotel Locks. I'm Lennart, I'm a hardware security researcher at the KU Leuven University in Belgium. I typically do research related to voltage glitching and other hardware attacks. I'm Ian, I'm an application security researcher. I was formerly at the red team at Robin Hood. And now I run a point search engine called Cicero. We got sued by Air Canada. So as you can probably tell from the first slide, neither of us is really working on locks or RFID stuff all of the time. So when we started working on this, it was all relatively new to us. And the reason we started looking at these locks is that a group of us got invited to hack some Las Vegas hotels back in 2022. And they were running a bug bounty program. And one of the elements of the hotel room that was in scope were the hotel locks. And that's how we got nerd sniped and started looking at these hotel locks. Now it wasn't just Ian and me, there were more people involved. And some of them are sitting here on the first row. So thanks everyone. So here's some related research of other researchers. So back in 2012, Sarah looked at the Onity locks. And she found that there is a programming part on the outside of the door. And if you plug into this, you can actually start reading memory of the lock itself. And if you analyze this memory, you can extract a side code. And this side code is enough to send an unlock command to the door and then open it up. Back then, Sarah immediately published all of the details of the attack. And this resulted in some people making their own devices, going to hotels, opening all of the doors, stealing TVs, and so on. There's a very nice Wired article about this hacking spree that some people went on. It's well worth the read, I would say. Then six years later, in 2018, there was an attack on the VIN card system by Essa Abloy. This was an attack by researchers from F-Secure. And they figured out that if you can read one card from the hotel, that they can make a master key and then open every door in the hotel, essentially. In this case, F-Secure worked with Essa Abloy on a fix. And this also meant that the talk didn't include a lot of technical details. And this is something where we want to strike a balance. So instead of publishing all of the details immediately, we went to a long, responsible disclosure process. And now we are sharing some of the details of what we found. So, this talk is about Dormakabos Saflock. It was introduced in 1988 by Computerized Security Systems. Back then, it was a mag stripe lock, and then they became RFID locks. It has kind of a weird corporate history. Computerized Security Systems was acquired by Kava in 2006. And then in 2015, two companies called Dorma and Kava merged, and now it's called Dormakaba. Saflock is used on 3 million doors in 13,000 hotels in 131 countries. So, this is one of the biggest brands of hotel locks. It's important to talk about the architecture before we start. So, these locks are usually entirely offline. So, there's the front desk server, and the front desk computers have a connection. But, they're not connected to the actual hotel locks. And so, the front desk will write the key card that contains the information of what doors it should open. And then, the locks make the decisions entirely themselves. They don't contact any server or anything. But, in the case of when the lock needs to be upgraded, or if you need to see the access history, there's this unit called the HH6. And you can plug into a USB port on the bottom of the lock to use this. So, generally, that's the only connection these locks have. In some places, especially in large Vegas hotels, they use kind of a semi-online architecture. So, in this case, the hallways have Zigbee coordinators in them. And this allows the front desk to kind of see the audit log. It still doesn't make it an online system. The key cards are still read by the lock, and the lock determines if it opens or not. But, afterwards, it tells the front desk, hey, this key opened this lock. This might be beneficial for hotels, because you can kind of detect what keys are being used. So, when we were starting out, we needed a hotel to do our research on. We don't own a hotel, so we had to build one ourselves. And that first meant acquiring the System 6000 software. As with any software, this is software you can find on some places on the internet. The other thing you need is an RFID encoder. So, this is the device that the front desk will use to encode a new key card. Back in 2022, these were very expensive on eBay. $600 to just get one. Now, thanks to our research, these have really come down in price. So, now you can find them for $45 online. So, the reason they are much cheaper these days is they all have to be replaced. So, all of the hotels are essentially selling their old encoders online. So, another thing you need are MiFair Classic 1K cards. These are very common, very cheap. You can find them everywhere. And optionally, if you want to actually open some doors, you can also buy on eBay some door locks. Or an HH6 programmer if you want to play with one of those. So, now that we have all of the elements for our hotel, we have to set it up. So, we start by installing the software. If you open the manual, the installation manual, the first step it tells you is to disable all of the Windows security features. And then you're good to start running the installer. Once you've installed the software, you copy over a GDB database file to the installation directory. And then you can start the software. This database file is very useful to us. It's a Firebird database file. It has a default username and password on there. And so you can start reading all of the elements in the database. So, this contains configuration data for your specific hotel. But also all of the cards that were created by the hotel software. So, this means that if you create a card, you can go look in the database and look at all of the different fields that are encoded on the card. Now, as I said, back in 2022, real encoders were very expensive. But we figured out that this system used to support just commercial RFID reader writers at some point. So, that means that you can go into the Firebird database and you can set the hide legacy encoders flag to zero. And now you can use a cheap off-the-shelf encoder essentially. So, this is what we used back in 2012. Yeah. So, about the handheld programmer. So, as I mentioned before, all of these locks have a mini USB port on the bottom of it. And obviously, that struck our interest pretty quickly because it's, you know, behind... it's in the hallway. So, we bought the H86 off of eBay. And we tried to use it in a lock at first. And we hit an issue where it detected it was being used at the wrong property. And so, we were like, okay, there's some kind of authentication here. But then we quickly realized that if we just changed the property ID in our database to the property we were staying at, it would start working. And so, there's a lot of interesting features in here. And we didn't use it too much in our attack. But the main interesting thing is you can actually interrogate these locks. And you can view every entry and every exit to the room. So, for example, you can even see, you know, when housekeeping entered your room, you can see when they left. You can see the previous guest. You can see when they were coming and going. And if you know the property ID, you can actually do this to any door on any hotel. It was also useful for our purposes. It will tell you why it refused to open the door. So, for a long time, we were making fake keycards and we couldn't figure out why it wasn't opening. But the HH6 will actually tell you, hey, this is why your keycard didn't work. So, it was very useful for our purposes. So, the next step was to reverse engineer the System 6000 software. The software consists out of some Delphi executables, which are very annoying to reverse engineer. But luckily, there are also some .NET binaries in there. And those are very easy to reverse engineer. We can simply decompile them and look at the code in .wik. Now, we had a few goals for reverse engineering the system. We wanted to understand how the MIFARE sector keys are derived, how the data stored on the card is encrypted. And then, once the data is decrypted, what is actually the meaning of the different fields of this data. So, first, a quick introduction to MIFARE Classic. Most of the CephLog deployments use MIFARE Classic 1K cards. These 1K cards have 16 sectors, each containing four 16-byte blocks. So, they are essentially just storing data. Block 0 is special. It's the manufacturer block. It contains the UID and the manufacturer data. And then, the last block of every sector contains the keys. So, the keys that you need to authenticate and to read the data on the card. Every sector has two keys associated to it. Key A and key B. And then, essentially, the access conditions indicate what actions you are allowed to perform with either of these keys. Now, if you look specifically at the CephLog cards, in the case of the CephLog system, all of the interesting data is stored in sector 0. And the key to read that sector is derived from the UID. So, all of the keys marked in orange on the slide are unique for every key card, so they always change. But they are derived from the UID, which is not a very secure way of implementing this. The key for sector 1 is the same on every CephLog card across all of the deployments. And that means that if you read one of these cards and you see this key, then you immediately know it's a CephLog system. So, the key derivation function. To read the data from the card, we need the keys to authenticate to this sector. There's a few ways you can get those keys. You can use a Proxmark3, run hfmfautopwn, and it will immediately spit out all of the keys for you. The other way to do it is to actually reverse-engineer the key derivation function. And it turns out that back in 2022, multiple people had already done this. They had reverse-engineered the KDF, but they hadn't published it. So, at the time, we had to reverse-engineer it ourselves. In the meantime, someone has published the KDF. And now it's also implemented in the Proxmark3 project and in the Flipper0. It's maybe interesting to know that knowing the KDF is not strictly necessary for our attack. And that's because there are cryptographic attacks on the MyFairClassic cards. So, reverse-engineering the KDF. We figured out that the CephLog card encoder DLL contains a kaba.getSecuredKeys function, which implements this KDF. Initially, we weren't 100% sure that this is the correct function we wanted to reverse-engineer. So, we made a simple Python wrapper that uses the DLL. And then we could feed in some UIDs and check if the response was the same key as what we were seeing in the Proxmark project, essentially. And then later on, when we were sure this was the correct function, we translated it to Python so that we had our own library for it. So, now we have a pretty good way of reading the data on the MyFair card. But, of course, our goal is not just to clone it. We want to modify what rooms the key can open. And so, we learned that really the only data that matters is the 16 bytes on block 1, which kind of tells the lock which doors the lock can open. And then the first byte on block 2 is a checksum of the first block. And so, we wanted to figure out... it looked like the data was encrypted on the sector because we didn't really see anything meaningful in it. And we found this encryptCard and decryptCard function in the Firebird services DLL. And so, using that, we discovered that the data on the card was actually encrypted using just a substitution table. And we unfortunately also learned that that substitution table is the same for every SAFLOC hotel. So, every SAFLOC installation has the keys to decrypt and encrypt every SAFLOC card. And so, now we know how to decrypt it. And now we want to start changing what the fields are. But, we had to decrypt the data, but we still didn't really know what the 16 bytes represented. Luckily, in the same DLL, we found a function that we didn't think was actually being used. But, it basically assembled the 16 bytes for an emergency card. And so, we kind of took a look at this function and saw, you know, what fields is it writing to on sector 1. And we were able to kind of work from there, work backwards and say, okay, these bytes are the expiration, these bytes are the room number, stuff like that. And being able to create cards was also very useful. We had our fake hotel, so we created some cards and we were able to decrypt that data and see, you know, do these fields align with what we expected. And so, slowly, byte by byte, we figured out what the data was starting to mean. So, this is the full card data format for the Cephalog systems. It is in alphabetical order, so if you want to reproduce it, you will have to figure out the correct order of the fields. There's a few logical fields in here. There's the card creation date. So, this is, like, up to the second when the card was created at the front desk. There are card levels, indicating if this is a guest key, a master key, or an emergency key. There's quite a few of these levels. There's a few different types of cards, but we'll get into those later on. There's a deadbolt override bit, which sounds very interesting, obviously. And then, there's a few more fields. So, the lock ID is an interesting one. This is just a numerical indicator in a database linking to a specific lock. So, you can't simply figure out what the lock ID is for a specific room number. But if you know the lock ID for your room number, you can sort of guess what the room next door has as a lock ID. The other thing that we need to know to make cards for every deployment is the property ID. So, this is a 12-bit number that is supposed to be different for every hotel. And to make a card for a hotel, you need to know this property ID. And finally, there's a sequence and combination field. And this was by far the most annoying field in this entire data format. And it took us quite a while to figure out how to work around this. So, as I mentioned before, multiple card levels and card types. Most of the keys you will get when you check into a hotel will have lower levels. So, guest keys, connector keys, suite keys, and so on. And they typically only open a single room in the property. There are more special cards, like housekeeping keys, that typically open a range of rooms. So, maybe a floor or a specific tower in the hotel. And then finally, we get to the interesting ones, like the emergency key. And the emergency key is interesting, because since it's used for emergencies, it also overrides the deadbolt. So, if someone inside of the room flips the deadbolt, and someone taps an emergency key on the card, it will allow them to override this deadbolt. I think it's important to realize if you're staying in a hotel, the deadbolt is just software. It's not software controlled. Two more interesting key levels are the primary programming key and secondary programming key. And we think the idea here is that you would tap one of these cards to a lock, before you can actually reprogram the lock with an H86 programmer. So, as Leonard said, we spent quite a lot of time on the sequence and combination. Because we knew what every field meant, but we couldn't figure out the valid sequence and combination for a lock. So, each lock has its own combination value between 0 and 4095. And, as Leonard said, you can kind of guess what lock IDs are, but guessing the combination is very painful. And there's also a sequence number, and so this is used just as you check in and check out, each guest gets their own sequence number. So, for example, if someone checks in after you, they'll tap their sequence number, and that will invalidate all the previous ones. So, that prevents, you know, two people from having a valid key to the same room, as that would be pretty bad. And the field is just the sequence encrypted and combined with a combination. And, as I said, this is really the only field that gave us any trouble in making a valid guest key. At first, we tried to brute force the field. Leonard tapped the Proxmark about 4,000 times, trying to guess what the valid sequence number was. This doesn't work. I don't suggest it. The lock does detect that you're trying to just guess key cards, and it kind of shuts itself down. It's also very physically strenuous and annoying. Later, kind of the crux of our discovery was that we found that, because these locks are offline, they sometimes have to be re-sequenced if they become desynchronized with the front desk. And what a re-sequencing card does is it just simply tells the lock, hey, this is your new sequence, and this is your new combination. And that's perfect for us, because those were the only two fields we didn't know. So, we were able to create a key card that simply re-sequenced this lock and tells it, hey, this is your new secret value, and that's the only one you need to create a forged key card. So, now we have all the elements to make a full attack. So, the idea is that you would start by obtaining any card from the hotel, just to get the property ID. This can be your own card. This can be an expired card. It can be a card you found on the floor, from the express checkout box, or simply one you bought from eBay. So, once you have the property ID, we can start forging keys. So, we forge a re-sequencing key card for a privileged level, so emergency or grandmaster. And the reason for picking emergency is that it works on all of the doors. So, you don't have to guess a lock ID anymore. Then, you walk up to a door, you tap your re-sequencing key card, it re-sequences the lock, and then you have your second key card that has an opening key for the same level, and it will open the door. And the nice thing is, you make this pair of cards once for every property, and you can now walk around and open every single door in the hotel. So, of course, we also implemented this as a full proof of concept attack. At this point, we had already written a PySafelock module. So, it's a Python module that supports doing the key derivation function, decrypting the card data, deserializing it into the different fields. Then, we can change fields, re-encrypt it, or re-serialize it, re-encrypt it, and then write it back to a card. And instead of implementing all of this within the Proxmark codebase, since we already had the Python script, we sort of made simple wrapper functions that call Proxmark code to read and write stuff to a card. Then, obviously, these days we have to implement the same thing on a Flipper 0. This was relatively straightforward. You can make an NFC-supported card plugin, and that essentially has to implement three functions. So, the first function is verify, and that's essentially a function that tries to verify if the card you tapped is a Safelock card. As I mentioned earlier, Sector 1 has a default key, and you can use that default key to detect if the card is a Safelock card. Now that you should have a Safelock card, you go to the read function. The read function derives the key, so implements the KDF, and then reads the relevant data blocks. Now that you have those data blocks, you can decrypt them, parse out the data, and then from there generate, re-sequence an emergency card that gets stored on the Flipper's file system. Before anyone asks, we are not releasing this plugin. But there is a KDF plugin available on GitHub that someone else made, and you can actually use that plugin to check if you're staying at a Safelock hotel. So, as I mentioned previously, we actually found this at DEF CON two years ago, and it was a very long disclosure process. So, in August, we kind of found the decryption key, and we were able to read and write to the card, but we didn't actually figure out the re-sequencing thing until a month later. Finally, we were able to figure that out, and we created a complete proof of concept. Unfortunately, Dorma Kava didn't have any disclosure process, and so I had to message their CSO on LinkedIn. Luckily, he actually took it seriously and responded quickly. And they actually have a VDP now, I think, which is great. We had our first meeting with them in October, and from there, I think we had at least 13 meetings with Dorma Kava talking about the vulnerability and how they were going to fix it. As I mentioned, it's three million hotel locks, and I don't think they were fully ready to do that upgrade for a while, and it was quite a painful change. But in November of 2023, they upgraded the first hotels to resolve the vulnerability, which was great. And then, as you may have seen, in March of 2024, we did a limited disclosure of saying, you know, these hotel locks have a vulnerability, but, you know, we're not going to say exactly what it is. At the time we published it, 36% of the locks have been upgraded. Today is our DEF CON talk. They only told us the majority of the locks have been updated. We don't have a specific percentage anymore. And they said nearly all Las Vegas properties are in the process of being mitigated or have been mitigated, more or less. Remediation, they added a new enhanced security mode, and this is to their Ambion software. So we mostly looked at System 6000. That's kind of deprecated now. There is a fix for it, but it's not as good as the enhanced security mode. The enhanced security mode has a new KDF. It encrypts the card data using AES, which is much better than a hard-coded substitution cipher. And it also uses MyFair Ultralight C, so even if you're able to decrypt the card data, it's still hard to actually write it to the card because you don't know the card keys. And as I mentioned previously, they also replaced all of the encoders. And so there's a new encoder for making the keys that also has a secure element inside of it. So a lot of people ask us, why did it take so long to fix these hotel locks? Why did it take two years? And it turns out that the main issue are the integrations. So of course, first, Tomacabra had to come up with a fix for their own hotel locks. But then if you start thinking about especially big Las Vegas properties, they have so many integrations with the hotel locks. So maybe you use the kiosk to check in. You've used the elevators. There's payment solutions in some hotels. And some hotels even have towel machines. And so when a hotel decides to upgrade their hotel locks, all of these systems have to be upgraded as well. And that typically means that they have to contact the manufacturers of these systems. And so you can imagine this takes a long time. Most of the locks have to be updated manually. That means that someone has to walk up to the door and hold the programmer in front of the lock for two minutes. Three million locks times two minutes is a lot of minutes. So it takes a long time. Then additionally, you have to convince property owners to perform this update. And that's also one of the reasons we had this limited disclosure initially. To make hotel owners aware of the vulnerability and give them some extra time to implement the fix. We were told that at the peak of deploying this fix, Tomacabo was resolving 500 properties per week. Another thing that has changed now in the new update is that the standard guest cards will be using Ultralight-C. And one of the reasons people are making the switch over to Ultralight-C now is that the cost of Ultralight-C cards has come down a lot over the last few years. So if we talk about card cost, we found a few statistics online. So on average, a hotel is occupied 65%. An average stay at a hotel takes 1.8 nights. The average number of cards that gets made per stay is two. And only 25% of all cards are returned when you check out. Now if we think about big Las Vegas properties that have between 3,000 and 7,000 rooms, then you can imagine they make a lot of cards. So if we do a bit of simple math, then we end up with a hotel with 5,000 rooms having roughly 660,000 stays per year. That means that around 1.3 million cards are made at one of these big properties, of which only 300,000 are being returned after stays. So that means that a hotel needs to buy roughly 1 million cards per year. If you assume $0.10 per card, that's $100,000 just in RFID cards. Now if you think about a MyFair Classic card, which is very cheap, and maybe those were $0.10, if an Ultralight C card a few years back was $0.20, then that would mean $200,000 in cards. And that's the reason you still find a lot of MyFair Classic cards around. But luckily, prices have been coming down, also because there's more of these systems asking for Ultralight C cards. So they've become cheap enough to the point where hotels are now using Ultralight C. So I guess most of the people in this room are staying at a hotel this week. So how can you tell if the hotel you're staying at is using CephLock and if it's fixed or not? It's relatively easy to see if a hotel is using CephLock. Typically, you can only tell when you're checking in. If you look over the counter, you can see the encoders. So we have two pictures of encoders on the slide here. The leftmost one is an old encoder. It's thicker, it's bigger. And the one on the right is a new one. Now, if you see the old one, you know it's a vulnerable system. If you see the new one, it could be a fixed system or it can be a system that is in the progress of being mitigated to the new solution. You can also quickly recognize the locks that are used in these systems. So the small black puck-type lock with the S going to it is very common here. And those are CephLock locks. So if you see those, you know it's a CephLock system. Then the next thing you can do is you get a card from when checking in. You can tell if it's a Mifac Classic or an Ultralight C card. So then you use your favorite RFID tool, which we all know is the Flipper Zero with Iceman firmware. Or you use an Android phone with the NFC Tag Info app, and that allows you to tell what type of card it is. So if it's a Mifac Classic card, then you know that the system is still vulnerable to this attack. Or it's not a CephLock deployment, so you have to really do all three of the steps. So how to protect yourself in a hotel? You see it's CephLock, you see it's Mifac Classic, well you're probably screwed. But there's some things you can buy. There's a door bolt deadbolt Velcro strap, and that kind of holds the deadbolt closed. And so that kind of prevents it from opening externally. You can also get under door wedges, which kind of drill themselves into the carpet and prevent the door from opening. Obviously these are kind of hacks, but they could be good if you travel a lot. And Deviant has some great videos about hotel security as well. And just in general, even if you're not staying in a CephLock hotel, maybe next year there will be more vulnerabilities. So that's it. Summary, reading a single card at a hotel allows us to open any door at the property if it's vulnerable. This system has been in use since 1988. You'd say, hey, they didn't have Mifac Classic back then, and it's true, but they did the same thing for MagStripe cards. So unfortunately the system has been vulnerable since before Leonard and I were even born. And many aspects of these systems still haven't been looked at. Once we found a way to make these master keys, we didn't really care about the rest of it. But there's a wide scope. The locks have USB ports. There's many, many aspects to these systems, and more vulnerabilities likely exist somewhere. Luckily, the cost of the secure cards have come down a lot. Ultralight C, Deathfire, stuff like that. Obviously it's a lot better than using Mifac Classic, which has been broken forever. And overall, even though we had to message them on LinkedIn at first that we did have a positive experience working with Dorma Kava, they didn't take it seriously, and they didn't sue me, so that's always great. It's time for a demo. Okay, we have two demos. We're going to attempt to show two demos. So for the first demo, we'll be using the Proxmark 3. I have a few RFID cards here. One of them says valid. As you can tell, it opens the lock. Now, if someone is staying inside of the room and they have the deadbolt on, then this card no longer works. So that's the normal behavior of regular guest cards. The second card I have says expired or invalid. And that card obviously doesn't work. So let's assume that this is the card the attacker finds in the hallway, or it's maybe the card to their room. And finally, I have the two attacker cards labeled 1 and 2. And just to show you that I'm not cheating for the demo, I'll tap these to the lock and show that the lock doesn't open. Okay, so now we'll start by reading the expired or the invalid card with the Proxmark. So what we do here is we take the UID that we read from the card, we derive the key for the sectors, we read the data from the card, we decrypt it, we deserialize it, and here we're printing a few of the fields that are stored on the card. So you can see this is a level 1 card, so it's a regular guest key. It was made for the lead room. And you can also see that the card was created in 1990. And that means the card is expired, and that's why it no longer works on this lock. Now, what we really need from this card is the property ID. And using this property ID, we can now start making new cards. So I'll first reprogram the first card. So what we're making now is an emergency level re-sequence card. So that's the re-sequencing key. And the next key we make is an opening key. And now we're ready to break into hotel rooms. I'm going to assume the person that's staying in this room has the deadbolt turned on, and then we'll start carrying out the attack. So the first key re-sequences the lock, and essentially enables the second card. And like I mentioned before, you can use these two cards over and over again in the same property and open all of the doors. Now the second demo is essentially the same thing, but using the flipper 0. I hope it's visible on the screen. But the idea is that whatever I'm doing here on the flipper is the same thing as you see on the screen over there. So essentially we just go into the NFC menu. I'm using the expired card again. So I'll read the expired card. It tells us it's a Zephyr card, we can again see the card level, the property ID, the lock ID, and that this card was created in the 1990s. And in the background, what this flipper app has done is it has automatically created two extra cards. So this first entry is a copy of the card we just read. And then the second one is the re-sequencing key. So we can start emulating this one. So now... Now the lock has been re-sequenced. We go back into the menu, we take our opening key, we emulate it. And it opens the lock. So thanks everyone for coming to the talk. If anyone has questions, we'll try to answer them. I'm too short for this, hello. Is that the Iceman firmware up there? Yeah, it's a special beta release. Alright. Okay, actual question. Considering what you said about the software from Dormakaba, do you think the responsibility lies on Dormakaba or the hotels for how long it's taking them to upgrade their systems? Thinking about the logging and even the encryption method used for their cards. That's a good question. We also don't know entirely how Dormakaba is handling the... resolving or doing the updates. How much hotels have to pay, how much Dormakaba pays and so on. I think the logging stuff is more an idea we came up with ourselves. Our idea was if the front desk can see logs of who is entering the rooms and so on, then in theory it shouldn't be too difficult to check if someone is using a re-sequencing card, for example. And you could have some alerts triggered when something like that happens. And then Ian, I heard you were a degenerate gambler. Are you up or down? I think I'm even now. What's going on? Thank you so much for talking about the disclosure process and explaining all the other factors that weigh on timelines and things like that. It's really important for all the researchers to understand that and I think it's wonderful. Did you find the process of working with them to be smooth the whole time? Or was it like smooth with an executive and then like lawyers? How did that go? They did ask us to sign an NDA at first, but we said no. And from there it was pretty good. I think obviously it was one of their first times going through this process. And so we just had to set our expectations of like we're eventually going to disclose this and it needs to be fixed. And I think once we all understood that it was okay. They never threatened to sue us or anything. So it was never hostile at all. Cool. We're really proud of you. Thank you guys. I'll just add that I think for them it was very new. Thanks. And like the picture you see in this slide is actually a video set that they had at their facilities. And on the website, on unsafelock.com, we have a small video showing the attack. And that video was actually shot at a facility from Dormakado. Thank you to them for that. Did you say that the substitution table was the same for every property? So you said they replaced that with AES? In the enhanced mode it uses AES. I think they made, if you're still using the old system 6000, my understanding is it's no longer a substitution table. I don't know if it uses AES. But it's something that's specific to each hotel at least, which is better than what they had before. That was my question. Are the keys now specific to each property? Or do you know one way or the other? That's our understanding. Fingers crossed. All right. Thank you. Hi. So you mentioned when you re-sequence a lock, it invalidates all of the existing cards with, I'm assuming, lower sequence numbers. Does that also happen with the emergency card that you re-sequenced the lock with? So I think you were asking about invalidating older cards and sequence numbers, right? Yeah. So the idea, or at least the way we think it works, is if you check in at the hotel, the sequence gets incremented. And once a lock sees a higher sequence number, it stops accepting older sequence numbers. And the same thing is probably true for emergency cards. But since our first card re-sequences the lock and tells it, this is now your sequence number, we can then use our lock. So the re-sequencing card can have any sequence number you want. So then the older cards that worked on the lock before that will get invalidated as a result? I couldn't get it. So I think you're asking if we do our attack, do the guest key cards get invalidated? So the sequence is specific to each level. So in our attack, we're doing the emergency key cards. So it would break the emergency key cards for the hotel, but the guest keys would be unaffected. Gotcha. Thank you. Thank you. Is it possible to brute force the property ID so then you wouldn't need another key from the same hotel? We could speculate that there's a way to do it. I don't know if I would do it via brute forcing because it is pretty painful. You have to physically move the device across the lock each time. But as I said, the USB port seemed pretty interesting to us and there may be a way to get that info from it. We just didn't look at that surface at all really. Thanks. Two questions. One, are you staying at Resort World? Two, is Resort World a Safelock hotel? I'm sorry, I couldn't hear the question. The second one was, is Resort World a Safelock hotel? Yeah, we've both stayed at Resort World and we believe it's been fixed there. I believe all the cards are ultra latency there. So for the legacy encoder that Dorma Kaba is replacing, it appears that that can also write ultralight C. So do you know why they replaced that encoder? I'm sorry, I think the mic is a little low, so I'm having trouble hearing the question. Sorry. Sorry. I was saying, so for the legacy encoder that Dorma Kaba is replacing, it appears that with the System 6000 software, it can also read and write the ultralight C cards. So do you know what additional security they got by replacing it? They told us that they added a secure element to the new encoder. We didn't look and they didn't tell us exactly how that's used. But I think that was part of the reason. I'm not sure if the old encoder supported ultralight C or not as well. I'm not sure. I think the older system supported other cards, not just MyFair Classic. I think they had even support for ultralight for a while. It's just no one really seemed to use it. Like all of the SAF log deployments we've seen were MyFair Classic. Thank you. Awesome talk. Hi, I read my photos card and it's not MyFair, but it's ST-CHIP. Do you know if it's vulnerable or not? ST-CHIP? It's quite difficult to understand the questions up here. I have a card with ST-CHIP, not MyFair. Did you look at those? I haven't looked at any hotels that had ST-CHIPs in them, but maybe Iceman knows about this specific card for a moment. I don't know, sorry. Okay, thank you. Hi, I'm Iceman. I have a question to you. No, the SD card is not vulnerable in that sense. Yes, it's true. But Benjamin Dipli did some work with it. Awesome fucking research. I'm in awe by it. It's amazing. I bow to the gods of 3D hacking. But to be honest, it was MyFair Classic and it did have .NET. So I think that's cheating. I thought you would have done more hardware. With that said, give them a well-rounded applause for us. They are fucking amazing. I guess that's it. Alright, thank you so much. Appreciate it.