1 00:00:01,280 --> 00:00:06,860 Greetings and salutations and finally now good afternoon, the RF village. 2 00:00:08,240 --> 00:00:14,340 Our next speaker is going to bring to you a wonderful presentation on some iClass information. 3 00:00:17,940 --> 00:00:23,820 This might actually be slightly helpful for some stuff in the village, competitors. 4 00:00:24,540 --> 00:00:29,340 So, without further ado, I will turn it over to our speaker and he will take things from there. 5 00:00:35,490 --> 00:00:37,190 Hello, DEF CON. 6 00:00:39,760 --> 00:00:42,740 So, I've got to talk to you guys today. 7 00:00:43,280 --> 00:00:47,800 Is this set up so I can talk hands-free? 8 00:00:50,480 --> 00:00:53,140 So, I'm going to be talking about iClass today. 9 00:00:53,940 --> 00:00:58,500 And as the title might give away, throwing away the keys. 10 00:00:58,500 --> 00:01:04,340 Because we all know that for authenticated systems, you only need keys to talk to them. 11 00:01:04,340 --> 00:01:08,480 And sometimes you can get those keys easily, like iClass Legacy. 12 00:01:09,340 --> 00:01:11,040 And sometimes you can't. 13 00:01:12,420 --> 00:01:15,900 And this talk will be about what you do when you can't. 14 00:01:15,900 --> 00:01:19,680 And some of the interesting options that you have available to you. 15 00:01:19,940 --> 00:01:28,260 Because you think that normally you don't have keys, you can't do much. 16 00:01:28,260 --> 00:01:31,480 But that might not always be the case. 17 00:01:39,870 --> 00:01:42,450 All right, can you guys still hear me? 18 00:01:42,550 --> 00:01:43,490 Excellent. 19 00:01:45,110 --> 00:01:46,910 Mic a bit closer. 20 00:01:48,730 --> 00:01:49,850 That's a bit... 21 00:01:49,850 --> 00:01:50,970 What about now? 22 00:01:51,870 --> 00:01:52,670 Good? 23 00:01:52,830 --> 00:01:53,510 More? 24 00:01:53,510 --> 00:01:54,370 More! 25 00:01:54,990 --> 00:01:56,270 All right. 26 00:01:56,810 --> 00:02:01,590 So, what I'm going to talk to you about today, I'm going to give an introduction to who I am. 27 00:02:01,590 --> 00:02:04,110 Current state in iClass. 28 00:02:04,170 --> 00:02:07,230 My adventure is writing an iClass emulator, twice. 29 00:02:08,770 --> 00:02:12,230 The interesting authentication bypass I found. 30 00:02:12,250 --> 00:02:15,390 A bit of version analysis of what is and isn't affected. 31 00:02:15,630 --> 00:02:19,050 And then the adventure doing responsible disclosure. 32 00:02:19,410 --> 00:02:21,010 And where to from here. 33 00:02:22,830 --> 00:02:23,690 So, who am I? 34 00:02:23,690 --> 00:02:24,830 I'm Tianan. 35 00:02:24,830 --> 00:02:27,450 Or nvx on a lot of social things. 36 00:02:27,450 --> 00:02:28,350 GitHub. 37 00:02:28,630 --> 00:02:29,710 Discord. 38 00:02:30,190 --> 00:02:32,070 I'm just some guy that likes breaking things. 39 00:02:32,070 --> 00:02:33,690 I don't do this for a living. 40 00:02:33,870 --> 00:02:36,010 But I find it fun. 41 00:02:36,010 --> 00:02:39,570 So, I get home from being a software engineer. 42 00:02:39,670 --> 00:02:41,190 And break things. 43 00:02:41,190 --> 00:02:42,790 And sit in front of a computer more. 44 00:02:42,850 --> 00:02:44,650 Go from the bad screen to the good screen. 45 00:02:45,330 --> 00:02:51,590 I wrote the iClass, which is Picopass emulation code for the Chameleon Mini and Tiny platforms. 46 00:02:51,610 --> 00:02:54,030 And then later also for the Flipper Zero. 47 00:02:54,030 --> 00:02:55,010 Everyone's favorite. 48 00:02:55,630 --> 00:03:00,070 I also occasionally contribute to the Proxmark 3, Iceman 4 code base. 49 00:03:00,070 --> 00:03:02,310 And sometimes what I contribute even works. 50 00:03:04,010 --> 00:03:05,370 Sometimes not on the first attempt. 51 00:03:05,370 --> 00:03:06,870 But we get there in the end. 52 00:03:08,010 --> 00:03:10,930 And what I'm going to talk to you today is about iClass. 53 00:03:10,930 --> 00:03:13,570 Why you should stop using it in any forms. 54 00:03:13,850 --> 00:03:15,530 And dropping a new vulnerability. 55 00:03:15,530 --> 00:03:22,950 And the fun of responsibly disclosing vulnerabilities to vendors in this security space. 56 00:03:23,770 --> 00:03:29,490 So, I'm going to go through a brief current state of iClass. 57 00:03:29,490 --> 00:03:35,350 I'm going to assume a little bit of prior knowledge about RFID and packs in general. 58 00:03:35,950 --> 00:03:40,290 So, apologies if some of it, if you're brand new to RFID. 59 00:03:40,290 --> 00:03:43,730 I just don't think I've got the time to go super in-depth. 60 00:03:43,990 --> 00:03:49,030 Hopefully a lot of you came from the awesome talk that Babak, Nick and Aaron just did in the main stage. 61 00:03:49,030 --> 00:03:51,110 That would have covered quite a lot of it. 62 00:03:51,110 --> 00:03:51,950 That was a great talk. 63 00:03:51,950 --> 00:03:53,490 If you haven't, check the recording. 64 00:03:53,490 --> 00:03:54,470 It was great. 65 00:03:55,050 --> 00:03:56,990 So, what the fuck is iClass? 66 00:03:56,990 --> 00:04:00,850 So, it's RFID technology from HID Global. 67 00:04:00,910 --> 00:04:03,050 And it's mostly using corporate environments. 68 00:04:03,050 --> 00:04:05,830 It's fairly rare that you're going to see that at a hotel. 69 00:04:05,830 --> 00:04:09,770 It's for business, corporate, sort of where it's aimed at. 70 00:04:10,350 --> 00:04:12,430 And the chance that you've seen these in the wild. 71 00:04:12,430 --> 00:04:15,670 If it's not at your work, you've probably walked through an airport and seen them. 72 00:04:15,670 --> 00:04:25,810 Or walked through the Las Vegas Convention Center West Hall and seen these little black squares on the wall with a little red line at the top. 73 00:04:25,950 --> 00:04:27,170 I've got one here. 74 00:04:27,730 --> 00:04:29,130 They're super common. 75 00:04:29,130 --> 00:04:34,130 And to the right are those newer, sleeker looking ones. 76 00:04:34,130 --> 00:04:38,350 They're a newer version of those readers called Signo. 77 00:04:38,430 --> 00:04:40,670 But same sort of thing. 78 00:04:41,630 --> 00:04:46,190 And they talk to lots of different cards. 79 00:04:46,190 --> 00:04:48,170 What we're focusing on today is iClass. 80 00:04:48,170 --> 00:04:54,630 That can be a little white card like this that may or may not be printed with your employee badge on it. 81 00:04:54,630 --> 00:04:57,250 It could be a little key fob that you've got on your key chain. 82 00:04:57,250 --> 00:05:00,250 Sometimes they're used in apartment buildings for like the front door. 83 00:05:00,250 --> 00:05:04,570 You might have a key to your apartment, but the front door might be a little tappy tap thing. 84 00:05:04,870 --> 00:05:06,310 There's also like a sticker thing. 85 00:05:06,310 --> 00:05:08,570 That's that little black one at the top in the middle there. 86 00:05:09,350 --> 00:05:12,430 Haven't really seen those in the wild as much, but they exist. 87 00:05:12,430 --> 00:05:14,010 So chances are you've seen these. 88 00:05:14,090 --> 00:05:16,670 If not, actually use them. 89 00:05:17,330 --> 00:05:19,250 iClass is made by a company called Hid Global. 90 00:05:19,250 --> 00:05:21,310 They're a subsidiary of Assa Abloy. 91 00:05:21,550 --> 00:05:27,230 And one of the sort of original guys in the PAX world. 92 00:05:27,250 --> 00:05:33,230 They've got a pretty big market share, especially in US, Australia, and Singapore. 93 00:05:33,650 --> 00:05:36,090 But they're probably elsewhere too. 94 00:05:36,590 --> 00:05:38,470 And they've been around for ages. 95 00:05:38,510 --> 00:05:44,150 They started off with Hid Procs type stuff, just completely unsecured. 96 00:05:44,270 --> 00:05:47,490 And then went from there, I think that was in the 90s. 97 00:05:47,490 --> 00:05:51,130 So they're not one of these companies that have just sprung up. 98 00:05:52,470 --> 00:05:54,510 So a brief history of iClass. 99 00:05:54,510 --> 00:06:00,190 So in 2002, Hid iClass Legacy was released. 100 00:06:00,190 --> 00:06:03,530 And that was as a secure alternative to the 125 kHz Procs. 101 00:06:03,530 --> 00:06:08,050 That was just basically, you put the card in the field and it just starts shitting out some data. 102 00:06:08,450 --> 00:06:10,610 And that data is what let you into the building. 103 00:06:10,610 --> 00:06:17,070 So as you can imagine, not a super secure model where any reader could just put a 125 kHz field. 104 00:06:17,070 --> 00:06:18,810 And it'll start modulating it back. 105 00:06:20,350 --> 00:06:23,770 So they used a chip from Inside Contactless. 106 00:06:23,770 --> 00:06:26,530 I think they're Inside Secure now, or maybe it was the other way around. 107 00:06:26,730 --> 00:06:29,890 And they had a line of cards called Picopass. 108 00:06:29,990 --> 00:06:35,950 And they were based on 15693, ISO 15693 that is. 109 00:06:36,150 --> 00:06:40,850 And they had some proprietary command set, including anti-collision. 110 00:06:40,850 --> 00:06:45,310 So you can't just read it with your phone, even though your phone can read 15693 tags. 111 00:06:45,310 --> 00:06:48,190 Just because it's that proprietary command set. 112 00:06:48,390 --> 00:06:53,370 But it has some features that the 125 kHz Procs doesn't have. 113 00:06:53,770 --> 00:06:57,030 It's a bi-directional, so the reader actually talks first to the card. 114 00:06:57,030 --> 00:07:00,590 And back and forth, and part of that back and forth is a mutual authentication. 115 00:07:01,170 --> 00:07:05,030 To make sure that both the reader and the card are using the same keys. 116 00:07:05,050 --> 00:07:08,510 And if either doesn't match, it'll bomb out and, hey, you can't read the card. 117 00:07:08,510 --> 00:07:10,890 So, you know, your credential is a bit more secure. 118 00:07:12,010 --> 00:07:18,070 To make it even more secure again, and this is generally best practice, rather than just having like one key on every card. 119 00:07:18,070 --> 00:07:21,290 Like if I broke this one card, hey, I've got everyone's key, right? 120 00:07:21,290 --> 00:07:29,510 They'll have like a master key and then take like the serial number of the card and use that key to actually talk to the individual cards. 121 00:07:29,510 --> 00:07:31,650 And that's what's called key diversification. 122 00:07:32,190 --> 00:07:36,970 And following best practice, people add key diversification function. 123 00:07:37,170 --> 00:07:39,470 In fact, they implemented two for some reason. 124 00:07:39,470 --> 00:07:41,750 One for their what's called standard key. 125 00:07:42,690 --> 00:07:45,610 Standard keys is basically everyone's using the same key. 126 00:07:45,610 --> 00:07:47,250 Sounds like a bad idea, doesn't it? 127 00:07:47,250 --> 00:08:06,790 And their elite program was where you could have your own customer-specific key, fully managed by HID, so you sign up for their elite program and then you could get cards from them or later encode your own cards with your key and that meant that no one else's cards would work on your system at all because the keys were different. 128 00:08:07,850 --> 00:08:15,970 Fast forward to 2010, there was a really, really interesting bit of research published called The Heart of Darkness, Exploring the Uncharted Backwaters of HID iClass. 129 00:08:16,730 --> 00:08:26,530 They basically found that if you got one of the original readers, ripped it apart, you could dump the firmware off it through some very clever tricks that they did. 130 00:08:27,150 --> 00:08:30,770 And suddenly, anyone using standard keys, rip. 131 00:08:30,810 --> 00:08:35,510 Your keys are now known, anyone can read your cards, anyone can write new cards, game over. 132 00:08:35,830 --> 00:08:38,450 So the recommendation was move to elite. 133 00:08:40,010 --> 00:08:43,950 Just after that, the iClass SE platform was released. 134 00:08:43,950 --> 00:08:50,930 It may have actually been 2010, not 2011, but I was googling about that era. 135 00:08:51,430 --> 00:08:59,930 And they had moved on the newer reader platforms to what's called a secure element or a SAM. 136 00:08:59,930 --> 00:09:12,670 And that SAM has... it's basically a really small microcontroller that can do cryptographic operations and store keys to do those cryptographic operations that really harden them. 137 00:09:12,670 --> 00:09:16,750 So they're fairly resource limited, so you don't want to use it just for everything, because you can't. 138 00:09:16,750 --> 00:09:23,230 But they're designed with one job, and one job that it does really well is protecting those keys so you can't get those keys out. 139 00:09:23,410 --> 00:09:28,330 And with that, they launched a few new technologies. 140 00:09:28,330 --> 00:09:35,030 But iClass SE is basically... confusing, because they called the readers that and a whole bunch of stuff. 141 00:09:35,030 --> 00:09:37,510 But what we're focusing on is the iClass SE cards. 142 00:09:37,510 --> 00:09:45,270 And they're the same silicon as the original iClass legacy cards, but they changed the data on it. 143 00:09:45,270 --> 00:09:58,390 So rather than just being a optionally desk-based encrypted payload that was not diversified at all, it's now got a payload that's diversified on the card serial number as well. 144 00:09:58,390 --> 00:10:06,670 So rather than just the card keys to talk to the card being diversified, the actual encrypted data is now diversified based on the card as well, which is a good move. 145 00:10:06,670 --> 00:10:11,110 Because you can't just copy the data from one card to another even if you knew the card keys. 146 00:10:11,110 --> 00:10:12,170 A lot more secure. 147 00:10:12,370 --> 00:10:17,490 They also changed the keys from DES to AS. 148 00:10:18,790 --> 00:10:25,770 And with that, used NIST standard KDF function to make those diversified keys. 149 00:10:25,770 --> 00:10:45,290 So one of the next problems with iClass, especially Elite, the standard KDF wasn't as bad, but the Elite KDF in 2012, Flavio Garcia, who's done quite a lot of research in the RFID space, released the dismantling iClass and iClass Elite paper. 150 00:10:45,510 --> 00:11:02,430 And the big ticket takeaway from that one was that if you talk to a reader with certain card serial numbers, you could get the responses back from the reader, like you're doing sort of the first half of the authentication, and then just dropping out and swapping to the next one, 151 00:11:02,430 --> 00:11:11,410 and exploiting some cryptographic weaknesses in the KDF function that Elite keys used, you could actually recover the original Elite master key. 152 00:11:11,470 --> 00:11:16,910 So that meant that all legacy Elite systems game over just the same as legacy iClass. 153 00:11:18,030 --> 00:11:21,750 But the good news is, iClass SE, they use AS. 154 00:11:21,750 --> 00:11:23,090 You're not breaking AS. 155 00:11:23,090 --> 00:11:27,330 And you're definitely not breaking KDF that has been endorsed by NIST. 156 00:11:28,090 --> 00:11:29,030 It's pretty good. 157 00:11:29,030 --> 00:11:30,870 They did the right things with SE. 158 00:11:30,870 --> 00:11:36,670 So even though the cards have some issues, which we'll go into later, it was a pretty good secure alternative. 159 00:11:37,090 --> 00:11:48,830 And although they released support for SIOs on their SE platform with DSFIRE cards and also SEOS, the real advantages with the PicoPass cards are they were dirt cheap. 160 00:11:48,830 --> 00:11:50,390 You can get them cheaper than a DSFIRE. 161 00:11:50,390 --> 00:11:52,690 You can get them cheaper than a SEOS by far. 162 00:11:53,710 --> 00:11:59,610 Like, we're talking an order of magnitude difference in cost compared to SEOS. 163 00:12:00,130 --> 00:12:02,690 And, you know, maybe half the price of a DSFIRE. 164 00:12:02,690 --> 00:12:04,070 So, like, pretty attractive. 165 00:12:04,210 --> 00:12:13,110 The other nice thing is it's a very simple card that didn't draw much power from the reader, which meant that you could read it from the reader at a fair distance. 166 00:12:13,110 --> 00:12:15,830 Whereas, like, a SEOS and a DSFIRE, it's going to be pretty close. 167 00:12:16,110 --> 00:12:19,990 PROX and iClass could both be read from a further distance. 168 00:12:19,990 --> 00:12:24,130 So some people, you know, if they've got a card in their wallet and they don't want to take it out every day, they just, boop, against the reader. 169 00:12:24,330 --> 00:12:25,530 You know, we're not talking metres. 170 00:12:25,530 --> 00:12:27,250 We're talking a difference of centimetres. 171 00:12:29,730 --> 00:12:34,410 So there are definitely some PROs with the PicoPass technology. 172 00:12:35,270 --> 00:12:38,210 Roll forward to a bit further in 2021. 173 00:12:38,770 --> 00:12:40,550 Obviously, this is in the bridge history. 174 00:12:40,550 --> 00:12:43,430 There was definitely some more cool shit happening in between. 175 00:12:43,890 --> 00:12:53,710 But 2021, the Rev-E readers, which are these very square-looking ones, they're announced end of life and end of sale. 176 00:12:53,830 --> 00:13:00,490 That thing got extended the next year to the next month, end of life. 177 00:13:00,510 --> 00:13:04,590 I'm guessing the supply chain shortages hurt everyone. 178 00:13:05,150 --> 00:13:08,470 Because, yeah, I'm sure they would have loved to just sell you the new Signo readers. 179 00:13:08,470 --> 00:13:09,590 But , yeah. 180 00:13:10,010 --> 00:13:14,810 And in 2023, there was a really sweet app for everyone's favourite dolphin. 181 00:13:14,910 --> 00:13:16,910 It got released by Eric Betz. 182 00:13:17,230 --> 00:13:18,970 Betsy, with the propeller hat. 183 00:13:18,970 --> 00:13:19,950 Go hit him up. 184 00:13:20,030 --> 00:13:28,070 Called Cedar, which let you basically get one of those hid SAMs and act like a full reader like this, except, hey, it's your dolphin. 185 00:13:28,070 --> 00:13:35,930 And because the flipper was actually doing all of that, you could sniff the data going back and forth, which becomes important too. 186 00:13:35,930 --> 00:13:41,470 Like, you could still do it with a reader, but you'd have to have a reader and then a Proxmark attached to it and then put a card on front. 187 00:13:41,910 --> 00:13:43,190 It's a lot more hassle. 188 00:13:43,490 --> 00:13:49,170 So this streamlined that whole operation of doing downgrade attacks and sniffing that I'll go into a bit later. 189 00:13:51,370 --> 00:13:52,870 So, the new readers. 190 00:13:52,870 --> 00:13:53,870 iClass SE. 191 00:13:53,990 --> 00:13:55,730 I sort of went over this a bit before. 192 00:13:56,850 --> 00:14:03,590 The important bit is the SIOs are encrypted, signed, and cryptographically bound to the card serial number. 193 00:14:03,850 --> 00:14:05,970 So, with legacy, you could easily just grab the data. 194 00:14:05,970 --> 00:14:11,650 Like, even if you didn't have the encryption key to decrypt and mint your own Pax data. 195 00:14:11,650 --> 00:14:14,150 So, like, think the Wigan data that comes out, right? 196 00:14:14,150 --> 00:14:15,830 Your facility code card number. 197 00:14:16,310 --> 00:14:20,110 Even if you couldn't mint your own of those, you could just copy it from one card to another. 198 00:14:20,130 --> 00:14:21,310 Like, who cares? 199 00:14:21,770 --> 00:14:30,930 It wasn't like a session encryption where, like, the data going from the card back and forth was encrypted with the keys that you used to authenticate the card. 200 00:14:30,930 --> 00:14:33,510 These cards aren't that complex. 201 00:14:33,830 --> 00:14:35,470 So, it's just like a USB stick. 202 00:14:35,470 --> 00:14:38,430 You know, you can copy the data from one USB stick to another. 203 00:14:38,830 --> 00:14:41,170 Encrypted, unencrypted, who cares? 204 00:14:41,750 --> 00:14:49,370 Which is very different to, like, a secure channel with, you know, a SIOs or even DES fire if you're doing it right. 205 00:14:50,250 --> 00:14:52,190 So, that was a big step up from legacy. 206 00:14:52,190 --> 00:14:55,730 HID really do prioritize backwards compatibility, though. 207 00:14:55,730 --> 00:15:01,810 So, they also released what's called iClass SR, which is basically an iClass legacy card. 208 00:15:01,810 --> 00:15:05,010 Then they also tack on an SIO at the end. 209 00:15:05,070 --> 00:15:10,330 What that does mean, though, is that the actual card keys are the same as legacy. 210 00:15:10,950 --> 00:15:14,670 But you do get the advantage of the SIO and being pound to that CSN. 211 00:15:14,670 --> 00:15:19,490 So, even though you could copy the data to another card, the SIO isn't going to work anymore. 212 00:15:19,490 --> 00:15:21,650 But there's some problems with that. 213 00:15:22,890 --> 00:15:30,850 And they still offer the standard key set, also the elite, which is the HID managed custom keys per customer. 214 00:15:30,950 --> 00:15:33,730 And there is also a custom keying option. 215 00:15:34,330 --> 00:15:37,870 But that's not super common. 216 00:15:38,410 --> 00:15:41,750 And that's where basically the customer manages their own custom keys. 217 00:15:41,750 --> 00:15:44,710 But we're throwing away the keys, so who cares? 218 00:15:46,370 --> 00:15:48,610 So, this is the Cedar. 219 00:15:50,130 --> 00:15:51,330 That's what it looks like. 220 00:15:51,330 --> 00:15:52,290 It's pretty cool. 221 00:15:52,710 --> 00:15:54,790 And see that little blue board on the top? 222 00:15:54,790 --> 00:15:56,190 That's actually the SAM. 223 00:15:56,230 --> 00:15:58,830 And just a lot more convenient. 224 00:15:59,790 --> 00:16:03,210 So, iClass SE, like, we can do downgrades with Cedar. 225 00:16:03,210 --> 00:16:06,490 So, we can read the PACS data, and we can encode that to a legacy card. 226 00:16:06,590 --> 00:16:19,030 Or, if it's an SR card, you don't even really need Cedar, because you can just read the data directly off the card and just read the legacy PACS data, which is almost always the same as the SIO data, and then just downgrade it to a legacy card. 227 00:16:19,030 --> 00:16:19,990 It's like, meh. 228 00:16:21,450 --> 00:16:27,450 Unfortunately, lots of installations have legacy technology still enabled. 229 00:16:27,450 --> 00:16:36,910 At the beginning of this year, he'd made a push to disable legacy technologies, which was great, but I can guarantee that no one's really hitting their readers. 230 00:16:37,130 --> 00:16:39,350 It's going to be up to the integrators. 231 00:16:39,350 --> 00:16:41,810 No one likes to call out the integrators, just the funsies. 232 00:16:41,810 --> 00:16:42,590 It's working. 233 00:16:42,590 --> 00:16:43,530 It's fine. 234 00:16:44,370 --> 00:16:46,030 But let's ignore all that. 235 00:16:46,030 --> 00:16:51,770 Let's just assume that we've disabled legacy iClass, including SR, and now we've got this. 236 00:16:51,770 --> 00:17:00,210 Now, ideally, you're using elite keys, so they're just yours, but even if you're standard, standard keys aren't public. 237 00:17:00,210 --> 00:17:00,910 They're in the SAM. 238 00:17:00,910 --> 00:17:02,090 It should be secure, right? 239 00:17:02,690 --> 00:17:08,410 You can't just copy one of these cards and, you know, dip it on your reader. 240 00:17:08,510 --> 00:17:09,510 Right? 241 00:17:09,690 --> 00:17:10,450 Right? 242 00:17:10,810 --> 00:17:12,630 Ish, kind of. 243 00:17:13,450 --> 00:17:16,210 So, Pickup has got a few features. 244 00:17:16,570 --> 00:17:19,990 So, it's old. 245 00:17:21,490 --> 00:17:23,870 It's similar to areas like MyFairClassic. 246 00:17:23,870 --> 00:17:27,630 You know, it's definitely not as new as Desfire or Seoss. 247 00:17:29,110 --> 00:17:33,090 It's a lot better than 125 kilohertz procs, so, you know, for the day, that's great. 248 00:17:33,630 --> 00:17:35,590 But there's some limitations of that silicon. 249 00:17:35,590 --> 00:17:40,310 So, most things, when it's doing a mutual authentication, you want to have, like, a random number that you encrypt with a key. 250 00:17:40,310 --> 00:17:47,630 You send that, the other side decrypts it, changes it a little bit, encrypts it again, sends it back, you decrypt that, you check that it's legit. 251 00:17:48,050 --> 00:17:53,970 But that relies on random numbers, because you can't just replay the same authentication every time, right? 252 00:17:55,330 --> 00:17:59,130 And these cards don't have a random number generator on them. 253 00:17:59,170 --> 00:18:04,430 It's not like MyFairClassic, where the original ones had one, but it just wasn't great, and you could predict it. 254 00:18:04,430 --> 00:18:06,110 These just don't have one. 255 00:18:06,870 --> 00:18:17,150 So, instead, they've got what's called an e-purse value, which is designed for, like, a stored value type thing, where you're like, I'm going to load $10 on my card, and then, bip, and now it's $9. 256 00:18:17,850 --> 00:18:19,710 Hit obviously don't use it for that. 257 00:18:21,330 --> 00:18:30,270 What the e-purse gets used for, as well, is also is the nonce, or card challenge part, during that mutual authentication. 258 00:18:30,270 --> 00:18:34,930 And it relies on the fact that you can't change the value to what it was before. 259 00:18:35,050 --> 00:18:40,750 But it does rely on the reader updating that e-purse value every time it's read. 260 00:18:40,750 --> 00:18:46,270 Because if it doesn't get changed, you're back to the problem before. 261 00:18:46,270 --> 00:18:47,690 You can just do a replay. 262 00:18:48,970 --> 00:18:53,950 One of the other limitations is that there's no encryption between the card and the reader. 263 00:18:53,990 --> 00:18:58,870 Now, that, like, USB stick analogy before, like, the data that's on it may be encrypted, right? 264 00:18:59,190 --> 00:19:05,490 But there's no intrinsic encryption between when you're reading or writing data from this card. 265 00:19:05,490 --> 00:19:06,930 It's all plain text. 266 00:19:07,270 --> 00:19:12,550 There is a MAC used during mutual authentication, so you can ensure that both sides have got the same key. 267 00:19:12,850 --> 00:19:15,530 Also, when you're doing a write operation, there's a MAC. 268 00:19:15,530 --> 00:19:18,370 But other than that, there's no cryptography. 269 00:19:18,370 --> 00:19:23,330 So you can just sniff that data in the clear text as I get it to a reader with a Proxmark. 270 00:19:23,330 --> 00:19:24,570 I can just sniff it. 271 00:19:25,030 --> 00:19:27,550 So it's not great. 272 00:19:27,570 --> 00:19:30,770 But, you know, at least SIOs are encrypted, authenticated. 273 00:19:30,770 --> 00:19:32,370 It's hard to tamper with those. 274 00:19:35,490 --> 00:19:37,010 So Proxmark go better. 275 00:19:37,010 --> 00:19:37,950 We can sniff. 276 00:19:38,450 --> 00:19:42,770 One of the bigger problems is that, like, sniffing's... 277 00:19:42,770 --> 00:19:43,850 it's a bit of an art, right? 278 00:19:45,530 --> 00:19:48,170 Sniff and, hey, look, I saw half the conversation. 279 00:19:48,170 --> 00:19:48,950 I saw what the reader said. 280 00:19:48,950 --> 00:19:51,150 I didn't see what the card said, or vice versa. 281 00:19:51,190 --> 00:19:52,990 Like, it can be a bit finicky. 282 00:19:54,050 --> 00:19:56,070 But what you can do is... 283 00:19:56,070 --> 00:20:07,990 and I believe the first attack was when you're sniffing with a Proxmark, when it sends the ePurse write command, you can just jam it by, like, just putting out noise. 284 00:20:07,990 --> 00:20:11,890 And that will stop the card from hearing that, hey, update ePurse. 285 00:20:12,070 --> 00:20:23,390 And now you have a card that the Macs were used for to authenticate to the card, and the ePurse value hasn't changed. 286 00:20:23,390 --> 00:20:24,730 You can just replay that. 287 00:20:25,310 --> 00:20:36,670 The other way that you can do it, and this was sort of weaponized a bit on the Flipper Zero, but you could do it on Proxmark before that, but you had to know what you were doing a bit more, is what's called an NR Mac replay. 288 00:20:36,670 --> 00:20:39,370 So NR is the nonce, and Mac is the Mac of that nonce. 289 00:20:39,470 --> 00:20:56,950 So you can basically talk to the card, get its ePurse and card serial number value, go back to your reader, authenticate to that reader, or start the authentication process, and you presented the card challenge and card serial number from that card, collect the Macs from that reader, 290 00:20:56,950 --> 00:20:59,690 and then you take those Macs, and you go back to your card. 291 00:20:59,930 --> 00:21:02,590 And the ePurse value, nothing's changed on the card. 292 00:21:02,670 --> 00:21:06,650 So you can then just replay those Macs to the card, and now you're authenticated to the card. 293 00:21:06,890 --> 00:21:14,470 Now, you can't do writes to the card, because those still have a cryptographic Mac to authenticate the writes. 294 00:21:14,470 --> 00:21:17,950 But for any read operations, there's no more cryptography after you've authenticated. 295 00:21:17,950 --> 00:21:19,550 So you can just read the contents of the card. 296 00:21:19,550 --> 00:21:25,190 And that often ends up being a bit more reliable, because you're not trying to sniff another reader's field, which is kind of magic. 297 00:21:26,090 --> 00:21:27,710 You're just now talking to a card normally. 298 00:21:27,710 --> 00:21:30,130 And you can do it multiple times, and read different blocks. 299 00:21:30,130 --> 00:21:31,750 If you get an error, hey, you can try again. 300 00:21:31,750 --> 00:21:33,930 You don't have to redo your whole sniff. 301 00:21:37,270 --> 00:21:44,250 What that means is, even if you get that SIO, you can't then read it easily, because it's encrypted. 302 00:21:44,470 --> 00:21:52,190 But if that SIO is standard keyed, and even in a lot of leak keyed systems, it sometimes is. 303 00:21:52,190 --> 00:21:55,630 I don't know why it's not always elite keyed. 304 00:21:55,630 --> 00:21:56,930 It should be. 305 00:21:57,390 --> 00:22:03,190 But sometimes you'll find an elite keyed SE card with standard keyed SIO data on it. 306 00:22:03,290 --> 00:22:10,510 So you can take that, and you can present it to a HID SAM, and get it to decrypt it. 307 00:22:10,510 --> 00:22:11,650 Now you think, hang on a minute. 308 00:22:11,650 --> 00:22:12,270 How do you do that? 309 00:22:14,470 --> 00:22:19,870 But remember that SR mode, where it was legacy keys, but with an SIO. 310 00:22:19,870 --> 00:22:23,050 So you can take, we already know the legacy key. 311 00:22:23,050 --> 00:22:44,030 We can take that, make a fake legacy card that has an SIO and the legacy data on it, punch in that SIO into the SR card, present it to a reader, like this, where you just read it as the PAX data, or you can present it to Cedar, and then decrypt that SIO data. 312 00:22:44,470 --> 00:22:48,430 And you've got the plain text PAX data again. 313 00:22:49,050 --> 00:22:53,050 And again though, you've disabled SR and legacy on your readers, right? 314 00:22:53,050 --> 00:22:56,390 So hopefully that's not a problem. 315 00:22:56,390 --> 00:23:01,010 Yeah, you know the card number, the facility number, the format, but yes, you still haven't copied the card. 316 00:23:01,010 --> 00:23:05,390 It'll let you do a downgrade, which ain't great, but it's not too bad. 317 00:23:07,130 --> 00:23:27,370 And you can't get the, if SR wasn't enabled, or legacy, with Elite, thanks to the research, with the demystifying iClass and iClass Elite, you could recover the Elite key, but you can't recover the SE Elite key, because that's AS-based, good security. 318 00:23:28,230 --> 00:23:29,510 So you're fine, right? 319 00:23:29,510 --> 00:23:32,570 Just really make sure you've got SR and SE disabled. 320 00:23:32,570 --> 00:23:35,130 Yeah, you can read the data, but you can't present it back to the reader. 321 00:23:35,130 --> 00:23:35,670 Right? 322 00:23:35,810 --> 00:23:36,910 We're fine? 323 00:23:38,710 --> 00:23:40,890 So let's change tack a little bit. 324 00:23:40,890 --> 00:23:45,730 So I find that if I want to truly understand something, I need to write an implementation of it. 325 00:23:45,730 --> 00:23:54,650 I can read the data sheet, but there's lots of little edge cases that, until you write code, you might not necessarily think to ask that question. 326 00:23:56,090 --> 00:24:04,610 So I was like, hey, this chameleon tiny, I saw one on AliExpress, I'm like, that's cool, that's so small, that's sweet. 327 00:24:04,950 --> 00:24:06,230 I want one. 328 00:24:06,230 --> 00:24:12,530 Because iClass cards, they're cheap if you buy them in bulk, because I'm just doing this for a hobby. 329 00:24:13,190 --> 00:24:15,230 10, 15 bucks for a card. 330 00:24:15,330 --> 00:24:17,130 I'm in Australia, things are expensive. 331 00:24:17,130 --> 00:24:18,330 There's Australia tax. 332 00:24:18,330 --> 00:24:24,790 So like an emulator, I don't have to worry about trying to get these cards and burning them because I did dumb things. 333 00:24:24,790 --> 00:24:26,050 I'll just emulate it. 334 00:24:27,090 --> 00:24:29,470 Proxmark, you get attached to a computer, it's painful. 335 00:24:29,470 --> 00:24:30,810 This thing, hey, it's cool. 336 00:24:32,170 --> 00:24:34,910 Now, don't confuse this with the newer chameleon ultra. 337 00:24:35,090 --> 00:24:38,230 So the chameleon ultra looks exactly like this, but says ultra. 338 00:24:38,230 --> 00:24:44,890 It unfortunately doesn't support 15693, so you can't do iClass things on it. 339 00:24:44,890 --> 00:24:48,370 This is the older one that is hard to get these days, but yeah. 340 00:24:48,970 --> 00:24:50,190 So the hardware on it. 341 00:24:50,590 --> 00:24:56,770 The chameleon originally was designed ages ago, much older than the tiny. 342 00:24:56,770 --> 00:24:59,290 The tiny was just sort of like the very latest version of it. 343 00:24:59,530 --> 00:25:04,210 And it was based around this ATX mega 12884U chip, which is old. 344 00:25:04,270 --> 00:25:05,950 It's an 8-bit AVR. 345 00:25:05,950 --> 00:25:19,770 They clocked it at 27.12 megahertz, which isn't the fastest that you can clock this chip at, but it is a nice multiple of the 1356 megahertz carrier frequency that RF, that high-frequency RF runs at. 346 00:25:19,770 --> 00:25:21,430 So two times. 347 00:25:21,970 --> 00:25:28,890 Very convenient for doing this sort of stuff, because it was basically just bit banging the modulation. 348 00:25:28,910 --> 00:25:32,030 Like there was no NFC front end. 349 00:25:32,030 --> 00:25:36,290 There wasn't even like any proper DAC or FPGA. 350 00:25:36,290 --> 00:25:38,050 Like the Proxmark's got an FPGA. 351 00:25:38,050 --> 00:25:39,290 It's got an ADC. 352 00:25:39,290 --> 00:25:47,450 It's got a bunch of resistor ladder type stuff and drivers to drive the field on a much faster MCU as well. 353 00:25:47,450 --> 00:25:54,270 This thing's just an 8-bit AVR using interrupts to modulate the field high and low as needed. 354 00:25:54,270 --> 00:25:56,890 Like I'm impressed that they got this working. 355 00:25:56,890 --> 00:25:58,130 Like it was good. 356 00:25:59,370 --> 00:26:08,990 But it did provide some challenges, because doing cryptography in software is slow at the best of times. 357 00:26:08,990 --> 00:26:12,370 And I'm now doing it on this really slow chip. 358 00:26:13,690 --> 00:26:25,470 And it's not like it was a standard-based thing where the Macs were just like, oh, I can just throw it into like the DES accelerator and hey, I've got my Macs back. 359 00:26:25,730 --> 00:26:33,590 It's fully proprietary from Encrypt32, I think is the name of the cipher from inside Contactless, hence the in in front of it. 360 00:26:33,590 --> 00:26:36,010 And it was basically like a 32-bit Mac. 361 00:26:36,510 --> 00:26:38,070 Fully proprietary. 362 00:26:38,710 --> 00:26:40,730 Yeah, it was a bad time. 363 00:26:41,430 --> 00:26:46,270 So what I discovered is readers for iClass have got a really short timeout. 364 00:26:46,270 --> 00:26:48,550 Something like 300 microseconds. 365 00:26:48,570 --> 00:26:57,090 And that's between you sending, like the reader sending the authenticate command and the card starting to transmit its reply with the Macs. 366 00:26:57,130 --> 00:26:59,490 And 300 microseconds really isn't much. 367 00:27:00,050 --> 00:27:02,310 On such a slow microcontroller. 368 00:27:02,930 --> 00:27:04,370 I spent ages optimizing it. 369 00:27:04,370 --> 00:27:07,950 I think I got up to like 350 microseconds or something. 370 00:27:07,950 --> 00:27:11,050 And it was just kind of on the edge, but not really. 371 00:27:11,050 --> 00:27:12,430 And it's still too slow. 372 00:27:12,670 --> 00:27:14,410 And then I realized, I was like, hang on. 373 00:27:15,110 --> 00:27:18,330 What if I just start transmitting before I know the Mac yet? 374 00:27:18,450 --> 00:27:23,190 Because there's like a preamble, and then there's some other data, and then there's the Mac. 375 00:27:23,310 --> 00:27:27,830 So it's like, what if I just start transmitting what I can and hopefully by the time... 376 00:27:27,830 --> 00:27:30,270 Because that transmission is happening in interrupts. 377 00:27:30,270 --> 00:27:43,610 So while my code's calculating the crypto, the interrupts are firing, interrupting my code, doing the modulation of the first half of this packet that I haven't even fully assembled yet while my slow-ass crypto is running to finish the rest of the packet. 378 00:27:43,830 --> 00:27:45,610 And it worked. 379 00:27:46,410 --> 00:27:47,650 It was great. 380 00:27:48,150 --> 00:27:50,050 I honestly didn't think it would work. 381 00:27:50,050 --> 00:27:51,490 I was thinking, surely not. 382 00:27:51,490 --> 00:27:53,630 This is like the dirtiest hack known to mankind. 383 00:27:53,630 --> 00:27:54,610 But it worked. 384 00:27:54,610 --> 00:27:55,230 I was happy. 385 00:27:55,230 --> 00:27:58,810 And then I was like, I'm just not going to look at this terrible sin that I ever did again. 386 00:28:00,270 --> 00:28:01,630 And so I'm like, yeah, this is great. 387 00:28:01,630 --> 00:28:02,810 Tapping on one reader works. 388 00:28:02,810 --> 00:28:04,050 Tapping on another reader, it works. 389 00:28:04,070 --> 00:28:07,070 Oh, why didn't it work? 390 00:28:07,510 --> 00:28:10,390 And so I'm thinking, all right, maybe it wasn't fast enough. 391 00:28:10,390 --> 00:28:13,330 Does this reader have an even quicker timeout? 392 00:28:13,330 --> 00:28:17,870 Because depending on the cards, some cards are slightly faster than others. 393 00:28:18,050 --> 00:28:22,010 And I noticed that there was a trend that any old readers didn't work. 394 00:28:22,010 --> 00:28:23,850 So REV-A, REV-B, REV-C. 395 00:28:24,970 --> 00:28:26,410 REV-E readers worked. 396 00:28:26,410 --> 00:28:28,350 And I'm like, oh, that's weird. 397 00:28:29,110 --> 00:28:31,210 And so I went digging. 398 00:28:31,210 --> 00:28:32,090 I'm trying to do a sniff. 399 00:28:32,090 --> 00:28:35,250 I'm like sniffing sometimes hard. 400 00:28:35,630 --> 00:28:36,350 And I was sniffing. 401 00:28:36,350 --> 00:28:38,070 And there just wasn't any data on the sniff. 402 00:28:38,070 --> 00:28:38,910 I'm like, this is weird. 403 00:28:38,910 --> 00:28:41,570 And the reader wasn't responding at all. 404 00:28:41,570 --> 00:28:44,670 It wasn't like it said bad, you know, did the sad fourth. 405 00:28:44,670 --> 00:28:46,190 It was just like nothing. 406 00:28:46,930 --> 00:28:48,330 I'm like, that's weird. 407 00:28:48,430 --> 00:28:53,930 And so I'm going through a fine-toothed comb and end up getting a real card against a reader that worked and did a full sniff. 408 00:28:53,930 --> 00:28:57,970 And then my authenticated, my emulated card did a sniff. 409 00:28:57,970 --> 00:29:02,270 And like with the same e-purse data, same card serial number. 410 00:29:02,270 --> 00:29:04,910 Now the reader does have a random number generator in it. 411 00:29:04,930 --> 00:29:07,350 So it's not going to be exactly the same each time. 412 00:29:07,350 --> 00:29:08,270 But I thought, hang on. 413 00:29:08,270 --> 00:29:11,650 What if instead of using a real reader, I use a Proxmark? 414 00:29:11,650 --> 00:29:12,710 So you use a Proxmark. 415 00:29:12,710 --> 00:29:15,810 And the Proxmark, it just uses zeros, I think. 416 00:29:16,650 --> 00:29:18,210 It's not designed to be a secure reader. 417 00:29:18,210 --> 00:29:19,670 It's designed to break things. 418 00:29:19,670 --> 00:29:20,390 So I'm like, this is great. 419 00:29:22,530 --> 00:29:23,070 I'm going to use this card. 420 00:29:23,210 --> 00:29:25,410 And I'll go through line by line and check. 421 00:29:25,410 --> 00:29:28,890 Make sure that I'm doing everything fine and compare the timings. 422 00:29:29,270 --> 00:29:32,970 I think I ended up finding a bug in the Proxmark code with the timings. 423 00:29:33,250 --> 00:29:36,490 With 15.693 stuff where it was doing some weird things. 424 00:29:36,490 --> 00:29:39,550 That was one of the things I think I broke before fixing properly. 425 00:29:41,070 --> 00:29:43,430 And in the end, it turned out it wasn't timing. 426 00:29:43,530 --> 00:29:44,750 I had a bug in my code. 427 00:29:44,970 --> 00:29:49,530 I literally just forgot to call a function during the crypto initialization. 428 00:29:49,530 --> 00:29:51,870 So it wasn't initializing the cipher state properly. 429 00:29:52,970 --> 00:29:54,830 And then I fixed that bug. 430 00:29:55,630 --> 00:29:57,410 And, all right, it now matches. 431 00:29:57,410 --> 00:29:59,630 And I de-bipped it on the old reader again. 432 00:29:59,630 --> 00:30:00,710 And it still didn't work. 433 00:30:00,850 --> 00:30:01,710 I'm like, what the... 434 00:30:01,710 --> 00:30:13,630 Anyway, so after digging through a bunch of papers and all that sort of stuff, I discovered that 15.693 as a standard actually supports two different ways of modulating the data from the reader to the tag. 435 00:30:13,850 --> 00:30:19,270 One is on-off key modulation where, like, it'll... here's the carrier and then it stops the carrier entirely. 436 00:30:19,270 --> 00:30:20,210 And then here's the carrier again. 437 00:30:20,210 --> 00:30:21,790 And that's how you get the ones and zeros. 438 00:30:22,770 --> 00:30:33,230 But it also supports what's called ASK or amplitude shift keying which is where instead of, like, turning the field off entirely, it'll just, like, turn it off a bit. 439 00:30:33,910 --> 00:30:43,770 And that's actually handy for some use cases where you want the card to work at a longer distance because you're still providing some power to the card when you're doing that ASK modulation. 440 00:30:43,990 --> 00:30:51,930 And 14443B uses that modulation by default and whereas 14443A uses on-off keying. 441 00:30:51,930 --> 00:30:58,110 And that's why the sort of smart card type things would normally be before they were A because you get that higher power transfer. 442 00:30:58,110 --> 00:31:01,590 And for some reason, 15.693, it's like, yeah, you can support both. 443 00:31:02,030 --> 00:31:06,790 But, like, it's weird because they mandate that cards actually have to support both. 444 00:31:06,830 --> 00:31:07,810 There's no choice. 445 00:31:07,930 --> 00:31:09,930 Whereas readers are free to choose whichever they please. 446 00:31:09,930 --> 00:31:14,710 So it's like, you can't really make use of the extra power, but, like, maybe you get slightly better read range? 447 00:31:14,710 --> 00:31:15,370 I don't know. 448 00:31:15,830 --> 00:31:20,810 Anyway, after a bunch of stuffing around, it turns out those older readers were using ASK modulation. 449 00:31:20,990 --> 00:31:23,270 And the newer readers were using on-off key modulation. 450 00:31:23,310 --> 00:31:30,510 And due to some weirdness with the chameleon tiny's analog front end, it just couldn't hear that ASK modulation. 451 00:31:30,510 --> 00:31:34,770 It was originally designed just for 14443A, which is on-off key modulation. 452 00:31:34,990 --> 00:31:40,050 15.693 got added afterwards, and the hardware just wasn't designed to detect that. 453 00:31:40,090 --> 00:31:41,670 So it just couldn't hear the reader. 454 00:31:42,110 --> 00:31:43,710 And it's like, oh, okay. 455 00:31:44,430 --> 00:31:46,250 Flip a zero can, which is nice. 456 00:31:46,470 --> 00:31:48,270 That's a story for a bit later. 457 00:31:48,870 --> 00:31:49,950 It's like, hang on a minute. 458 00:31:50,890 --> 00:31:56,670 The real reason it wasn't working was because, like, you know, I had a stuffed-up crypto and wrong modulation. 459 00:31:56,670 --> 00:32:04,610 But, like, if I had the crypto wrong, why did it work at all on Rev-E readers? 460 00:32:05,210 --> 00:32:09,090 They were all playing and tried Signo readers. 461 00:32:09,090 --> 00:32:09,810 They worked, too. 462 00:32:09,810 --> 00:32:11,730 And I'm like, hang on. 463 00:32:11,870 --> 00:32:13,690 Surely I'm imagining this. 464 00:32:13,710 --> 00:32:20,190 So just quickly go into the Proxmark code, comment out the bits where it calculates the MACs. 465 00:32:20,190 --> 00:32:22,030 Go to the reader. 466 00:32:22,030 --> 00:32:22,810 Tap. 467 00:32:22,810 --> 00:32:23,710 It worked. 468 00:32:23,710 --> 00:32:26,550 Sending just zeros as the card MAC. 469 00:32:27,090 --> 00:32:31,870 And I'm like, why does sending zeros work? 470 00:32:32,090 --> 00:32:49,170 The whole point is that the reader sends a MAC, the card decrypts that MAC, generates its own MAC based on the decrypted data that was in the reader's MAC and then sends it and then the reader checks the card MAC and then it all works well. 471 00:32:49,470 --> 00:32:51,350 And after the reader verifies it. 472 00:32:51,350 --> 00:32:54,690 And if any of that doesn't match, the MACs don't match and it's not going to work. 473 00:32:54,690 --> 00:32:55,370 And I thought, well, hang on. 474 00:32:55,370 --> 00:33:01,330 But if I tap an elite-keyed card to a reader, it doesn't read, you know, if the reader is standard-keyed or vice versa. 475 00:33:01,670 --> 00:33:04,170 And I'm like, hang on, but the card checks the MAC. 476 00:33:04,170 --> 00:33:05,770 So when the reader sends its MAC, 477 00:33:12,310 --> 00:33:16,410 when the card generates the MAC and sends it to the reader, the reader needs to check that too. 478 00:33:16,810 --> 00:33:25,630 So any real card, like you're not going to notice this problem with, when you're emulating and you're lazy or maybe it's not that you're lazy and maybe it's just that, hey, it works. 479 00:33:25,630 --> 00:33:26,150 It's good enough. 480 00:33:26,150 --> 00:33:38,670 Or maybe it's that you only just managed to be fast enough to make the crypto work in the first place and you just really didn't even have time to calculate what the correct MAC that the reader should be sending was. 481 00:33:43,010 --> 00:33:49,650 Yeah, so it turns out Rev-E readers and Signo were not checking the MAC. 482 00:33:49,930 --> 00:33:53,390 So now you've got an iClass card, iClass SE, 483 00:33:58,370 --> 00:34:04,810 and I did a bunch of testing and even with ASK modulation, legacy readers weren't affected. 484 00:34:04,810 --> 00:34:08,210 So Rev-A, Rev-B, Rev-C, they were checking the MAC properly. 485 00:34:08,230 --> 00:34:14,110 And in fact, even when you're using an OEM reader, those were also fine. 486 00:34:14,990 --> 00:34:17,010 But it's like that's the same secure element. 487 00:34:17,010 --> 00:34:17,610 But it turns out 488 00:34:20,790 --> 00:34:21,390 when... 489 00:34:21,390 --> 00:34:24,010 So you'll see here, most OEM readers are unaffected. 490 00:34:24,010 --> 00:34:27,890 It turns out that R7 and newer SAMs are fine. 491 00:34:28,490 --> 00:34:36,270 R8 and above, and pretty much every Rev-E reader is R8, and above, so that includes Signo, is affected. 492 00:34:36,270 --> 00:34:51,590 And what happened between R7 and R8 is they changed their SAM firmware from being a native code running on the chip, so probably written in C, hopefully not assembly, and they changed it so that what runs on the firmware is actually 493 00:34:54,770 --> 00:34:56,910 a .NET interpreter, just like a Java card, right? 494 00:34:56,910 --> 00:35:02,870 You've got some JVM effectively running on the silicon, then you load Java applets in that you wrote in Java. 495 00:35:02,970 --> 00:35:04,130 Makes it a lot easier. 496 00:35:04,130 --> 00:35:06,270 You're dealing in a memory-safe language. 497 00:35:06,290 --> 00:35:08,770 Great idea to write secure code in, right? 498 00:35:08,770 --> 00:35:13,450 Rather than C where you can quite easily have lots of problems. 499 00:35:14,510 --> 00:35:16,290 Here we're a .NET shop, not a Java shop. 500 00:35:16,290 --> 00:35:22,510 So they bought out a company that were developing .NET card technology to compete with Java cards, and they used it internally. 501 00:35:22,530 --> 00:35:28,070 And R8 is when they switched from native firmware to .NET assemblies to do all the real work. 502 00:35:28,070 --> 00:35:38,750 So at some point, someone rewrote the iClass code to do those MACs in .NET to run on the SAM, and it works. 503 00:35:39,110 --> 00:35:42,730 But they forgot to check the reader MAC. 504 00:35:43,350 --> 00:35:54,550 It just reminds me of that go-to-fail Apple bug that came out five, ten years ago where checking TLS certificates, they just forgot to check. 505 00:35:54,950 --> 00:35:58,830 So you could present an invalid certificate and it would accept it as if it worked. 506 00:35:58,830 --> 00:36:02,630 But for any real server, it works fine. 507 00:36:03,530 --> 00:36:11,690 And this is why when you're testing most code, you test it, you make sure it works, you're happy, cool, unit test passed, send it. 508 00:36:11,930 --> 00:36:16,610 But when you're working, especially with security, that's not good enough. 509 00:36:16,610 --> 00:36:19,770 You need to test the things that shouldn't work. 510 00:36:19,910 --> 00:36:23,450 Like when a door, you test it and the door opens when it's expected, that's great. 511 00:36:23,550 --> 00:36:28,850 But part of the job of that reader and door is to make sure it doesn't open for people it shouldn't open for. 512 00:36:28,850 --> 00:36:32,950 So you need to test it like, hey, if the card sends a bad MAC, 513 00:36:36,930 --> 00:36:39,550 if the key is wrong on the real card, it doesn't work. 514 00:36:39,550 --> 00:36:43,150 But that's the card enforcing the security at that point, not the reader. 515 00:36:44,950 --> 00:36:50,130 There was a little bit controversial, maybe, if people are English. 516 00:36:50,670 --> 00:36:55,670 But there was an attempt at the IRA to bomb the hotel where Margaret Thatcher was. 517 00:36:55,770 --> 00:36:58,970 And they didn't succeed. 518 00:36:59,190 --> 00:37:00,050 She wasn't in there. 519 00:37:00,050 --> 00:37:01,370 They missed her by two minutes. 520 00:37:01,430 --> 00:37:05,310 And there was a comment of, oh , they didn't get lucky this time. 521 00:37:06,790 --> 00:37:11,290 For that kind of adversarial thing, you only need to get lucky once. 522 00:37:11,750 --> 00:37:12,770 Your adversary. 523 00:37:12,790 --> 00:37:16,470 Whereas your defender needs to be lucky every single time. 524 00:37:16,470 --> 00:37:18,030 It only takes one mistake. 525 00:37:18,290 --> 00:37:21,010 And you've compromised the security. 526 00:37:21,110 --> 00:37:25,610 And that's something that, obviously, that's a fairly grim, where that quote's come from. 527 00:37:25,610 --> 00:37:30,130 But it's something to think about in the digital security world as well. 528 00:37:30,130 --> 00:37:31,570 It's the same sort of principle. 529 00:37:31,570 --> 00:37:34,830 I only need to get lucky once to find the vulnerability. 530 00:37:36,790 --> 00:37:38,050 Lots of things. 531 00:37:39,210 --> 00:37:43,690 Now, if this was any other card technology, it wouldn't be as bad. 532 00:37:43,690 --> 00:37:59,070 If you were using a SEOS card, for example, and they forgot to check a MAC, it actually wouldn't matter too much because that same mutual authentication is then used to drive keys that are then used to encrypt and MAC all of the comms back and forward. 533 00:37:59,070 --> 00:38:02,170 And you really want to be checking the MACs of your data. 534 00:38:02,230 --> 00:38:12,050 But even if you were checking no MACs, and you decrypt the data with the wrong key, the data's just gibberish at that point. 535 00:38:12,050 --> 00:38:17,790 There's some attacks that you can do if you're not checking MACs, but it's not as bad as just, hey, I can send everything. 536 00:38:18,170 --> 00:38:28,210 And that's one of the problems with these cards, is that they're really old, and they don't support best practice of actually encrypting that data. 537 00:38:28,210 --> 00:38:33,250 The data on it's encrypted, but there's no session security. 538 00:38:33,490 --> 00:38:43,850 If you go to a HTTPS website or something like this, the data on it is encrypted, but it's not encrypted once and then the same data sent every time. 539 00:38:43,850 --> 00:38:45,990 Because you can just go, oh, that's google.com. 540 00:38:45,990 --> 00:38:49,590 I know because that's the same encrypted data as when I go to google.com. 541 00:38:49,590 --> 00:38:55,890 Every time you go to google.com, it encrypts that with new data, new keys. 542 00:38:55,950 --> 00:39:02,230 So the data's different every time until you decrypt it, and then you go, oh, it's the same plain text, but the ciphertext is different. 543 00:39:02,230 --> 00:39:06,470 And that's the difference between that sort of session security versus data security. 544 00:39:06,490 --> 00:39:08,170 And you do both, right? 545 00:39:08,170 --> 00:39:10,930 That's the best practice. 546 00:39:10,930 --> 00:39:13,650 And that's what, you know, SEOS cards do, for example. 547 00:39:14,290 --> 00:39:20,690 So while in theory, iClass SE was secure, it meant that one mistake meant that you got problems. 548 00:39:20,690 --> 00:39:34,350 Now, you can't easily just clone this iClass SE card to another card because those SIOs are cryptographically bound and we don't have magic PicoPass cards today. 549 00:39:34,610 --> 00:39:36,050 We might in the future. 550 00:39:36,410 --> 00:39:39,590 We might maybe have one in the future that also don't check card backs. 551 00:39:39,590 --> 00:39:40,370 That'd be neat. 552 00:39:40,770 --> 00:39:42,470 But today, we don't. 553 00:39:42,490 --> 00:39:50,610 So it's not a full plastic-to-plastic clone, but you can definitely emulate it with a flipper. 554 00:39:50,610 --> 00:39:51,910 You can emulate it with a Proxmark. 555 00:39:51,910 --> 00:39:54,130 You can emulate it with a Chameleon Tiny. 556 00:39:55,590 --> 00:40:08,950 So in addition to writing the Chameleon Tiny, Mini PicoPass code, by the time I got a flipper a couple of years later, I was also like, hey, let's write it for that too. 557 00:40:09,010 --> 00:40:10,370 Someone gave me the idea. 558 00:40:11,030 --> 00:40:21,130 It was funny because it was like the official flipper zero documentation were like, yeah, we can read iClass, but you can't emulate iClass. 559 00:40:21,130 --> 00:40:24,050 The NFC chip we use doesn't support that. 560 00:40:24,050 --> 00:40:25,750 It's just physically not possible. 561 00:40:25,750 --> 00:40:27,190 And I took that personally. 562 00:40:30,430 --> 00:40:32,510 So I did the impossible because it could. 563 00:40:32,690 --> 00:40:39,490 And because I was playing with the same chip before I got a flipper anyway and was like, yeah, I'm pretty sure there's some sweet transparent modes that you can do some cool shit with. 564 00:40:41,710 --> 00:40:48,950 So when I wrote it, I knew about this vulnerability and I was much faster and more modern chip in the flipper zero. 565 00:40:48,950 --> 00:40:59,150 So I did some optimization, but I checked the max by default on that one from the reader because I knew that the flipper zero is pretty popular. 566 00:40:59,150 --> 00:41:06,050 So I didn't want to just like hand like an armed weapon to every person. 567 00:41:06,430 --> 00:41:11,730 But there's this really suspicious debug flag if you have a look in the flipper zero PicoPASS code. 568 00:41:11,730 --> 00:41:14,170 And that flag's going to disappear soon. 569 00:41:14,750 --> 00:41:18,290 But PicoPASS debug ignore bad RMAC. 570 00:41:18,290 --> 00:41:19,370 I wonder what an RMAC is. 571 00:41:19,370 --> 00:41:24,190 Is that maybe a reader MAC to ignore the reader MAC if it's bad? 572 00:41:24,190 --> 00:41:24,990 Oh, yeah. 573 00:41:24,990 --> 00:41:26,690 That's actually exactly what it's doing. 574 00:41:26,930 --> 00:41:29,510 It'll even do a log if I got a bad MAC from the reader. 575 00:41:31,530 --> 00:41:31,970 And... 576 00:41:31,970 --> 00:41:33,410 bail out. 577 00:41:34,290 --> 00:41:36,990 But if you do... 578 00:41:36,990 --> 00:41:48,790 if you compile the flipper zero code with that flag defined or you just delete those lines out, all of a sudden you can do some naughty things. 579 00:41:49,950 --> 00:41:55,370 And now let's on the topic of naughty things, let's see if I can do a demo. 580 00:41:55,370 --> 00:41:57,590 Now, we don't have a down camera, unfortunately. 581 00:41:57,590 --> 00:42:10,890 So I'm going to just do something super, super dodgy and just open up my webcam and hopefully I can do a live demo for you that won't be too bad. 582 00:42:12,090 --> 00:42:13,190 If I can... 583 00:42:15,590 --> 00:42:17,070 Yeah, that'll probably do. 584 00:42:19,130 --> 00:42:20,670 Just ignore the microphone. 585 00:42:22,410 --> 00:42:24,790 So, we got a flipper zero. 586 00:42:26,510 --> 00:42:28,750 You probably can't read any of that, can you? 587 00:42:31,670 --> 00:42:32,550 Yeah. 588 00:42:32,790 --> 00:42:33,190 All right. 589 00:42:33,310 --> 00:42:35,010 This is going to be kind of moot. 590 00:42:35,610 --> 00:42:40,570 Basically, you can do an NRMAC replay to read the card data from this without keys. 591 00:42:41,050 --> 00:42:47,530 You can then compile a picker pass app with that flag and then tap it to a reader. 592 00:42:47,630 --> 00:42:50,210 If you want, I'll be at that first table there. 593 00:42:50,210 --> 00:42:53,650 I can give you a little showcase, but just trust me. 594 00:42:53,650 --> 00:42:54,450 It works. 595 00:42:55,710 --> 00:43:04,030 And in fact, you'll be able to try it for yourself because we'll probably do a pull request and just now that that's public, just release it. 596 00:43:05,630 --> 00:43:09,050 So, on the next bit, a vulnerability disclosure. 597 00:43:10,370 --> 00:43:17,850 So, this timeline, implementing this simulation, discovering the bug, fixing the bug, pull requesting it. 598 00:43:18,390 --> 00:43:25,170 And I was a little bit torn when I discovered this because I go to an airport to go on a plane as you do. 599 00:43:25,170 --> 00:43:30,190 And I walk around, I see these I-class readers on the walls and I'm just like, shit, I know some problems with those. 600 00:43:30,510 --> 00:43:34,190 And I'm like, I like going on planes. 601 00:43:34,490 --> 00:43:37,010 I like my planes being secure. 602 00:43:37,970 --> 00:43:42,090 And I know that there's some problems with the readers securing these facilities. 603 00:43:42,090 --> 00:43:43,570 I don't like this. 604 00:43:44,790 --> 00:43:47,870 I want to arrive at my destination safely. 605 00:43:47,870 --> 00:43:58,450 But then I also reflect and go, I remember when the MyFairClassic vulnerabilities were first released and I tried to disclose to the vendor that was met with lawsuits. 606 00:43:59,270 --> 00:44:03,190 I know there's Boston Public Transport met with lawyers. 607 00:44:03,810 --> 00:44:11,530 I know Assa Abloy in only the last couple of years, which is the parent company of HID, has gone after people with lawyers. 608 00:44:12,270 --> 00:44:16,090 I'm like, I'm just doing this for fun. 609 00:44:17,650 --> 00:44:19,610 I can't afford lawyers. 610 00:44:19,950 --> 00:44:20,750 So I was torn. 611 00:44:20,750 --> 00:44:25,170 I'm like, do I drop this as a zero-day anonymously so it can't be tied back to me? 612 00:44:25,550 --> 00:44:27,230 That's harmful. 613 00:44:27,290 --> 00:44:30,590 I'm also like, any idiot can stumble across this. 614 00:44:31,730 --> 00:44:34,910 It's not a complicated exploit . 615 00:44:35,930 --> 00:44:46,610 And then it's like , well, I was talking to some members of the RFID community and they put me in contact with some people at HID. 616 00:44:46,610 --> 00:44:52,590 And I managed to have a disclose to them in February 2023 . 617 00:44:53,190 --> 00:45:00,670 And in July , August 2023 , I can't remember the exact date, we got a fix for signal readers. 618 00:45:00,910 --> 00:45:06,030 So 10.0 .5.7 and above is not affected by this vulnerability . 619 00:45:06,730 --> 00:45:11,830 I finally got a CVE number reserved like three days ago. 620 00:45:11,830 --> 00:45:12,870 Maybe two days ago . 621 00:45:12,870 --> 00:45:14,310 So I've got a number . 622 00:45:14,310 --> 00:45:15,050 Great . 623 00:45:15,270 --> 00:45:19,610 Unfortunately , we don't have a REVI patch yet. 624 00:45:19,610 --> 00:45:23,150 And as a result, we don't have an official PSA from HID . 625 00:45:23,270 --> 00:45:27,050 If you look up that CV, you'll find it's reserved. 626 00:45:27,050 --> 00:45:28,550 There's no detail on it yet . 627 00:45:29,010 --> 00:45:34,250 This is the first public announcement for it. 628 00:45:34,370 --> 00:45:36,950 But it's been a year and a half . 629 00:45:36,950 --> 00:45:37,690 Yeah. 630 00:45:37,690 --> 00:45:40,490 And it has been rediscovered since then. 631 00:45:41,490 --> 00:45:42,290 Yeah. 632 00:45:42,890 --> 00:45:44,530 And, like, I can understand why. 633 00:45:44,530 --> 00:45:47,690 Like, REVI, more than a decade old at this point. 634 00:45:47,850 --> 00:45:49,730 It's basically end of life. 635 00:45:50,290 --> 00:45:52,930 It had already been announced end of life and they extended it . 636 00:45:52,930 --> 00:45:55,910 If it wasn't extended, it would have been end of life as well. 637 00:45:56,150 --> 00:45:58,350 It was already hard to upgrade. 638 00:45:58,490 --> 00:45:59,870 At least it could be upgraded. 639 00:46:01,950 --> 00:46:04,270 It was easy to brick. 640 00:46:04,510 --> 00:46:06,190 And it involves going to each reader. 641 00:46:08,810 --> 00:46:12,650 If it supports reader manager, there's some older versions. 642 00:46:15,730 --> 00:46:17,670 That's even more brittle. 643 00:46:18,650 --> 00:46:26,590 And obviously they didn't know 644 00:46:30,970 --> 00:46:37,570 what sure people have moved on in the time period that those readers have been around. 645 00:46:38,090 --> 00:46:41,290 Dealing with old stuff is hard. 646 00:46:41,390 --> 00:46:42,650 I'm a software engineer by day job. 647 00:46:42,650 --> 00:46:45,010 I can fully empathise with that . 648 00:46:47,370 --> 00:46:51,510 If I've got hit readers , what's the mitigation? 649 00:46:53,010 --> 00:46:56,270 If you've got signal, upgrade the latest version. 650 00:46:56,270 --> 00:46:58,650 Always update the latest version. 651 00:46:58,850 --> 00:47:03,310 There are bugs that get fixed with security implications. 652 00:47:03,310 --> 00:47:04,470 Keep up to date. 653 00:47:05,090 --> 00:47:11,070 The other thing you should do is disable I class. 654 00:47:12,110 --> 00:47:15,050 I'm talking legacy SE, SR. 655 00:47:15,650 --> 00:47:18,050 Even if you've got the fix, there are other problems. 656 00:47:18,210 --> 00:47:23,390 You really want to be moving to a more secure technology. 657 00:47:26,710 --> 00:47:33,190 While it can have that session security by default, it doesn't. 658 00:47:33,190 --> 00:47:34,350 It's configurable. 659 00:47:34,350 --> 00:47:36,110 I don't know why they didn't configure it. 660 00:47:37,790 --> 00:47:45,330 What it can mean is you can still put that onto a magic classic card . 661 00:47:45,330 --> 00:47:47,970 Those can have SIOs on them as well. 662 00:47:48,330 --> 00:47:53,910 It doesn't bind to the card technology . 663 00:47:54,290 --> 00:47:57,130 You can change the serial number on a different technology. 664 00:47:57,550 --> 00:48:00,170 It would be great if it was fixed. 665 00:48:00,170 --> 00:48:07,110 It would be great if it could signal the technology type back to the controller. 666 00:48:07,510 --> 00:48:09,290 That's probably a bigger change. 667 00:48:11,230 --> 00:48:15,310 Also, disable technologies you're not using as well. 668 00:48:15,550 --> 00:48:22,150 Even if you're using iClass, unless you're thinking of moving to my fair classic. 669 00:48:22,350 --> 00:48:26,570 You can't disable signal. 670 00:48:27,930 --> 00:48:30,290 Leave signal on. 671 00:48:30,650 --> 00:48:32,930 Disable everything else. 672 00:48:33,690 --> 00:48:35,950 There might be downgrade attacks. 673 00:48:35,950 --> 00:48:38,170 You can't defeat the whole system. 674 00:48:39,890 --> 00:48:43,430 Stop using standard keys. 675 00:48:44,150 --> 00:48:45,390 This wouldn't fix you. 676 00:48:45,390 --> 00:48:54,510 If the keys aren't being checked, it's bypassed. 677 00:48:54,510 --> 00:48:56,910 But it's still an issue. 678 00:48:56,910 --> 00:49:13,190 If I can go to eBay and rip the Sam out of it or buy a Sam on a PCB and start doing dirty things to it , Sam is great at securing things . 679 00:49:13,190 --> 00:49:15,290 The ecosystem is complex. 680 00:49:16,090 --> 00:49:22,850 It only takes one vulnerability to get keys and if everyone has the same keys, 681 00:49:25,870 --> 00:49:29,790 step one, I need to get a Sam that's yours . 682 00:49:30,170 --> 00:49:36,550 I need to go to your facility , rip a reader off the wall and now I have one chance of getting this right . 683 00:49:36,570 --> 00:49:44,410 If I brick a Sam while mucking with it , that's okay. 684 00:49:46,170 --> 00:49:48,410 If I nick a reader once, 685 00:49:51,790 --> 00:49:52,590 I'm done. 686 00:49:52,590 --> 00:49:56,090 You'll notice, right, the reader is just gone. 687 00:49:56,670 --> 00:49:59,910 You want to be using your own keys, not the same. 688 00:50:00,050 --> 00:50:01,730 There's other problems too. 689 00:50:07,850 --> 00:50:13,230 I've been in this game long enough to know nothing is certain. 690 00:50:14,750 --> 00:50:17,630 Back in the day they were $15 a pop . 691 00:50:17,630 --> 00:50:18,470 that's expensive. 692 00:50:18,470 --> 00:50:19,990 These days I believe they're cheaper. 693 00:50:20,250 --> 00:50:30,830 I believe HID is doing that not because they're cost less to them but because they realise so many people pick the cheapest option. 694 00:50:32,610 --> 00:50:44,450 I've seen news articles in the last few years rolling out HID readers and finding out they're using legacy standard key credentials on a new install . 695 00:50:44,850 --> 00:50:49,670 I'm sure it was the cheapest option at the time. 696 00:50:50,430 --> 00:51:02,550 I think HID would have done the right thing by changing the pricing model because people will buy the cheapest and that needs to be the secure option. 697 00:51:03,170 --> 00:51:07,970 It makes everyone have a bad time, including HID. 698 00:51:08,390 --> 00:51:10,970 You've seen the IPVM articles. 699 00:51:13,890 --> 00:51:15,230 Use elite keys 700 00:51:21,350 --> 00:51:23,510 not just snippet. 701 00:51:24,870 --> 00:51:30,470 You want to be using your own keys to read the card, encrypt the data on the card. 702 00:51:31,930 --> 00:51:35,150 Other vendors have problems too. 703 00:51:37,170 --> 00:51:41,790 Principles apply across the whole ecosystem. 704 00:51:42,330 --> 00:51:44,570 HID are not the only ones to use standard keys. 705 00:51:45,830 --> 00:51:48,670 I believe getting elite keys from HID now is free. 706 00:51:51,750 --> 00:51:54,810 If you want a custom key , that's extra. 707 00:51:54,810 --> 00:51:55,870 That's shit. 708 00:51:56,330 --> 00:51:59,770 Per customer keys should be the standard . 709 00:52:00,470 --> 00:52:01,710 I understand why . 710 00:52:01,710 --> 00:52:02,330 It's convenient. 711 00:52:02,330 --> 00:52:03,090 It's easy. 712 00:52:03,090 --> 00:52:05,910 We want security . 713 00:52:07,310 --> 00:52:15,650 I want to acknowledge the research, especially that of Milos and Flavio. 714 00:52:16,410 --> 00:52:17,930 It's amazing. 715 00:52:17,930 --> 00:52:21,510 If you do nothing else, just Google those names. 716 00:52:24,990 --> 00:52:27,650 It's like an old web server. 717 00:52:29,790 --> 00:52:33,130 There's some really great stuff in there. 718 00:52:33,550 --> 00:52:34,870 Good bedtime reading. 719 00:52:37,170 --> 00:52:49,590 I want to thank Jonathan who made the original Proxmark 3 and the Iceman who took over many years now. 720 00:52:50,010 --> 00:52:54,290 While implementing emulators, it was a beautiful tool . 721 00:52:55,270 --> 00:52:58,170 You don't know why it didn't work. 722 00:52:58,170 --> 00:53:05,810 Proxmark, you can sniff it, increase time-outs so your code doesn't have to run fast enough. 723 00:53:08,550 --> 00:53:12,850 It's definitely just a timing issue, not something else . 724 00:53:13,170 --> 00:53:16,430 Best tool for RFID research. 725 00:53:16,790 --> 00:53:20,230 I want to give a shout out to the RFID community. 726 00:53:20,810 --> 00:53:22,210 You're all great. 727 00:53:22,270 --> 00:53:31,490 But some special mention to Nick who is doing the RFID stuff. 728 00:53:31,490 --> 00:53:33,550 He had an awesome talk. 729 00:53:35,130 --> 00:53:38,330 If you missed it, check the recording. 730 00:53:38,330 --> 00:53:39,650 It was great. 731 00:53:39,730 --> 00:53:42,370 Shout out to Eric Betsy. 732 00:53:42,730 --> 00:53:51,870 He wrote the framework for me. 733 00:53:52,730 --> 00:53:55,970 I didn't have to do everything from scratch. 734 00:53:56,790 --> 00:53:59,890 And also generally great guy, Pat. 735 00:54:00,130 --> 00:54:04,490 He couldn't be here today but he's awesome. 736 00:54:07,090 --> 00:54:09,210 Equipped as well. 737 00:54:09,570 --> 00:54:10,530 Awesome bloke. 738 00:54:10,530 --> 00:54:14,250 He made the add-on that CD uses. 739 00:54:16,410 --> 00:54:21,330 Whereas Eric did the software side. 740 00:54:21,710 --> 00:54:24,550 And finally give a massive shout out to Kate . 741 00:54:25,150 --> 00:54:30,030 Also does a lot in the RFID research. 742 00:54:31,710 --> 00:54:34,830 Nick and Aaron's talk . 743 00:54:35,470 --> 00:54:37,430 Like sometimes just being able to... 744 00:54:39,270 --> 00:54:42,970 If you don't know the term rubber ducking, Google it. 745 00:54:42,970 --> 00:54:43,730 It's great. 746 00:54:43,790 --> 00:54:48,910 Sometimes you don't know who to talk to. 747 00:54:50,190 --> 00:54:56,190 Having someone you can get advice from and help you. 748 00:54:59,450 --> 00:55:00,750 Massive shout out. 749 00:55:00,750 --> 00:55:02,210 All awesome people. 750 00:55:02,210 --> 00:55:05,050 The final thing is to hit. 751 00:55:05,170 --> 00:55:09,130 I think they've changed over the last few years. 752 00:55:09,130 --> 00:55:17,830 I think they're starting to do the right thing with improving their product. 753 00:55:17,830 --> 00:55:20,170 I didn't get a single legal threat . 754 00:55:20,690 --> 00:55:22,330 I'm pleased with that . 755 00:55:25,170 --> 00:55:32,110 It's a long hard road, especially when you've got legacy technical debt. 756 00:55:33,670 --> 00:55:35,070 They're trying. 757 00:55:35,230 --> 00:55:36,670 That's all you can ask for. 758 00:55:36,890 --> 00:55:39,410 As long as it's in the right direction. 759 00:55:39,650 --> 00:55:40,030 Definitely 760 00:55:44,530 --> 00:55:45,930 huge props to HID. 761 00:55:45,930 --> 00:55:50,750 If you do find something in HID, it's worth approaching them. 762 00:55:51,710 --> 00:55:56,390 They're not going to lawyer up and try and silence you. 763 00:55:57,590 --> 00:55:59,190 Any questions? 764 00:55:59,710 --> 00:56:01,210 I don't know how much time I've got left. 765 00:56:01,210 --> 00:56:03,070 I think negative maybe. 766 00:56:03,350 --> 00:56:06,830 If you do have any, I'll be on the table over there. 767 00:56:06,830 --> 00:56:08,750 You can hit me up afterwards. 768 00:56:08,750 --> 00:56:09,210 Thanks , everyone. 769 00:56:09,350 --> 00:56:10,290 Thanks for Yeah ! 770 00:56:10,370 --> 00:56:10,950 This is all