[00:00.000 --> 00:01.260] Hello, welcome. [00:01.260 --> 00:05.660] I'm Iceman and today we have a little show we call Rip and Tear. [00:06.080 --> 00:11.040] And next to me I have the most famous, fabulous guy in whatever shit. [00:11.040 --> 00:12.560] Are we ready to roll this show? [00:12.760 --> 00:13.820] Yeah, I think we are, babe. [00:13.820 --> 00:14.520] All right. [00:14.520 --> 00:15.420] I'm excited. [00:15.420 --> 00:16.600] I hope you're all excited. [00:16.600 --> 00:17.980] And sorry about the flipper thing. [00:17.980 --> 00:19.760] That's something we do over there. [00:22.240 --> 00:23.340] And presentation text. [00:23.340 --> 00:24.340] Yeah, look at that. [00:24.680 --> 00:25.720] Talk summary. [00:26.500 --> 00:28.480] Oh, God, heavens, this is real awful. [00:28.480 --> 00:30.880] I can't see. [00:32.420 --> 00:33.660] Oh, man. [00:34.340 --> 00:35.700] This is a two-part... [00:36.080 --> 00:37.960] Oh, God, can I get this one? [00:38.340 --> 00:39.680] We can have this one. [00:39.680 --> 00:40.640] I like this one. [00:41.880 --> 00:43.320] All right. [00:43.520 --> 00:44.820] Much better. [00:45.560 --> 00:49.700] So, what we have today is a two-pronged talk. [00:49.700 --> 00:52.940] The first one we call Rip and the other one we call Tear. [00:53.440 --> 00:57.600] And it's not Tear, which is my joke, with Adam Lorry. [00:57.600 --> 00:59.900] But since he's not here, it's okay. [01:00.180 --> 01:01.820] But this is for Rix. [01:03.260 --> 01:04.580] I'm Iceman. [01:09.290 --> 01:10.610] Red team. [01:11.210 --> 01:13.530] We're going to talk about diversification. [01:13.630 --> 01:18.090] Remember today that we are not really bashing on any kind of company or anything like that. [01:18.090 --> 01:22.290] This is our findings that has been going on in the community for years. [01:22.430 --> 01:23.930] So , take it for what it is. [01:23.930 --> 01:27.190] And the Tear of Attack is something new. [01:27.190 --> 01:28.430] Something blue. [01:28.870 --> 01:30.550] And let's go with that. [01:30.550 --> 01:36.430] Together with me on stage is the most fabulous, fantastic man in the world. [01:36.430 --> 01:39.070] This is 0xFF, Kevin Barker from Australia. [01:39.070 --> 01:40.330] Give it up for him. [01:40.330 --> 01:48.850] He is the administrator of the Proxmox forum originally and has helped developing VRD for Proxmox and all that shit. [01:48.850 --> 01:50.370] And we hacked some stuff. [01:52.980 --> 01:54.040] Thank you. [01:54.040 --> 01:57.100] And beside me, everybody knows who he is. [01:57.260 --> 01:57.600] Mr. [01:57.600 --> 01:58.860] Iceman himself. [01:58.900 --> 02:01.680] Met this gentleman quite a few years ago. [02:01.680 --> 02:04.480] Saw somebody that was interested in NFC RFID. [02:04.660 --> 02:06.940] Jumped on to admin role straight away. [02:06.940 --> 02:09.500] And ever since then, he's been building the community ever since. [02:09.500 --> 02:12.980] And thanks to the contributions of everybody around... [02:12.980 --> 02:13.960] Speaking to the microphone. [02:13.960 --> 02:15.540] Speaking to the microphone. [02:17.400 --> 02:21.040] Thanks to everybody's contributions to make what the Proxmox is today. [02:21.040 --> 02:22.440] So, yeah. [02:22.440 --> 02:23.420] Thank you very much. [02:23.420 --> 02:24.720] Everybody, Iceman. [02:27.380 --> 02:28.160] Stop that. [02:28.160 --> 02:28.600] Stop that. [02:28.600 --> 02:29.000] Stop that. [02:29.000 --> 02:29.320] Stop that. [02:29.320 --> 02:30.240] We're not doing it yet. [02:30.240 --> 02:30.940] All right. [02:30.940 --> 02:31.900] Rest in peace. [02:31.900 --> 02:32.840] Why do we say that? [02:32.840 --> 02:34.020] That's a good question. [02:34.620 --> 02:36.820] You know all about this little company. [02:37.100 --> 02:40.320] We're going to focus today and talk about Picopass. [02:40.320 --> 02:44.420] The card technology that is based for these companies. [02:44.560 --> 02:47.020] InsideSecure made the Picopass product. [02:47.020 --> 02:51.580] And HRD is famous in this country for the security tokens that we use upon them. [02:51.580 --> 02:54.970] And it's... yeah. [02:55.100 --> 02:57.480] It's a mess. [02:57.480 --> 03:06.620] What's happening with iClass in the future and in the history is based on some serious academic research. [03:06.740 --> 03:18.600] And this previous talk or previous work has been done by people like Rul, Andrew Garcia, Flavio, Milovic, and all those people. [03:18.600 --> 03:25.780] And they extracted a lot of data and knowledge and what you Red Team has pen-tested or other guys are doing here in this show today. [03:25.860 --> 03:28.220] So this is what it's based upon. [03:29.240 --> 03:31.760] Now, before we get going, I don't know... [03:31.760 --> 03:35.540] How many of you have a Proxmox and have done any kind of RFID hacking? [03:35.540 --> 03:36.760] Up with your hand. [03:37.800 --> 03:38.540] All right. [03:38.540 --> 03:39.300] All right. [03:39.380 --> 03:40.400] That's pretty decent. [03:40.640 --> 03:43.300] How many have hacked and cloned a card? [03:44.880 --> 03:46.140] A little bit better. [03:46.140 --> 03:54.700] How many roads must man walk down before karaoke? [03:54.700 --> 03:56.300] Yeah, that's for you. [03:58.140 --> 04:07.660] Anyway, it's a little bit confusing terminology, so I want to say a little briefly saying that we have something called iClass Legacy, iClass SE, and SEOS. [04:07.660 --> 04:11.440] That's three different security levels that HID presents. [04:11.440 --> 04:20.060] With that comes another word, that protection, that you're using is called standard mode, high or elite mode, or SE, secure edition. [04:20.440 --> 04:25.580] Confusing, but in the end, all it's based upon the Pico Pass. [04:29.180 --> 04:30.840] Look at that little face. [04:30.840 --> 04:32.520] I know that, Babak. [04:34.560 --> 04:36.120] SIO enabled. [04:37.140 --> 04:40.240] Give it up for our J-man number one himself. [04:40.240 --> 04:41.740] He made a little box over there. [04:41.740 --> 04:44.600] That's Babak Yavari, amazing person. [04:46.100 --> 04:48.240] Ah, there you go. [04:50.180 --> 04:52.740] Anyway, back to standard security. [04:54.480 --> 05:05.720] What we have here is the first crypto that came up, the encrypt was then decoded and all that stuff was figured out, the key diversification, and it added support for it in the Proxmox. [05:07.320 --> 05:15.580] The old academic papers that you saw has been doing firmly for going through and presented a lot of attacks into it. [05:15.580 --> 05:24.580] The standard security is probably known, probably properly addressed in the Proxmox clients and other places. [05:25.500 --> 05:38.680] With the high security and elite mode, it became a little bit more difficult, in the sense that they added the complexity in diversifying the keys that was generated. [05:38.680 --> 05:43.540] Do everybody here know what a key is used for in an RFID tag system? [05:44.680 --> 05:47.440] If you don't know, raise a hand, I will take a little bit shortly. [05:50.480 --> 05:55.040] So, you can see an RFID tag as a memory stick, a USB memory stick. [05:55.720 --> 06:01.400] And you want to have some access control to it by saying you are allowed to write to it or you're not allowed to write to it. [06:01.400 --> 06:03.480] And by that, we add some layers of crypto. [06:03.880 --> 06:06.600] With that crypto, we have keys, cryptographic keys. [06:06.600 --> 06:10.120] And how to generate those keys is made in different ways for different systems. [06:10.120 --> 06:12.700] That's the shortest way I can say it. [06:12.800 --> 06:13.920] Right? [06:13.920 --> 06:14.940] Simple. [06:14.940 --> 06:16.740] We're going to get more technical. [06:18.200 --> 06:19.860] We are, actually. [06:20.640 --> 06:24.800] Now, 5-class SIO enabled. [06:25.980 --> 06:28.180] HRD went down a different road. [06:28.260 --> 06:35.720] They made readers and that was a little bit better because their own cryptographic research showed that the old stuff was totally broken. [06:35.720 --> 06:41.380] So, we came up with a little bit improved version of it so this uses CMRKIS diversification system. [06:41.380 --> 06:42.060] It's good. [06:42.060 --> 06:43.820] Better, at least. [06:43.900 --> 06:45.120] Let's see what happens. [06:45.540 --> 06:47.060] And, yeah. [06:47.140 --> 06:48.080] Next generation. [06:48.080 --> 06:49.620] This is still old stuff. [06:51.240 --> 07:02.480] With that said, current status, how we support all of this stuff is actually made and implemented in Proxmox quite well, I would say, by now. [07:02.840 --> 07:03.920] Pretty solid. [07:03.920 --> 07:07.160] And we had implemented in the LibNFC. [07:07.200 --> 07:08.600] Adam Lord did that. [07:08.600 --> 07:13.040] And we had the Proxmox Freehazit where Holman added all the commands for it. [07:13.040 --> 07:17.240] And in the Flipper 0, I don't know if Betts is in the audience here today. [07:17.640 --> 07:18.860] Where's Betts? [07:20.520 --> 07:21.840] Eric Betts! [07:21.840 --> 07:22.740] Man with a hat. [07:22.740 --> 07:23.620] Give up your hand. [07:24.120 --> 07:28.080] So, he's the one who added iClass stuff to Flipper 0. [07:28.340 --> 07:29.820] Give it up to him. [07:34.750 --> 07:39.530] Anyway, Holman implemented all this crypto in the Proxmox, which everybody else is using. [07:39.530 --> 07:42.010] And he got a cease and desist letter as a thank you. [07:42.010 --> 07:43.530] So that was pretty good. [07:49.950 --> 07:55.490] So, when we talk about crypto and we talk about here in this village about how we recover keys. [07:55.490 --> 07:56.930] Do you know what that means? [07:58.410 --> 07:59.290] No! [07:59.290 --> 08:00.590] Or yes? [08:01.150 --> 08:01.990] You know? [08:02.850 --> 08:03.750] No, yes? [08:03.750 --> 08:04.430] Okay. [08:04.450 --> 08:12.470] It means in one way that we want to somehow extract the cryptographic key that is used to read out the memory and manipulate the memory. [08:12.830 --> 08:14.770] And if we do well, we do well. [08:14.890 --> 08:24.930] For this kind of stuff, for the global system that was iClass standard or iClass legacy that we mentioned before the global master key was recovered from firmware hacks. [08:25.250 --> 08:27.130] So you don't have to think so very much about it. [08:27.130 --> 08:28.370] That key is in the repos. [08:28.370 --> 08:31.770] It's very easy to clone it if you do the CTF challenge over there. [08:31.770 --> 08:32.850] It's kind of simple. [08:32.950 --> 08:34.470] Then we have another user. [08:34.470 --> 08:35.470] It's called Carl55. [08:35.470 --> 08:36.670] Amazing guy. [08:36.750 --> 08:42.430] He came up with another idea how to recover the key from systems. [08:42.430 --> 08:45.510] It's called the elite system that I mentioned briefly. [08:45.510 --> 08:47.350] That is called the low class attack. [08:47.430 --> 08:56.190] Basically, you use simulation to extract 9 CSN and that generates the key material that you can use to run a command called low class. [08:56.190 --> 08:59.710] If you heard these words, it's going to sound familiar. [08:59.710 --> 09:03.770] But you will recover the elite key for in about 3 seconds. [09:04.150 --> 09:05.150] Common knowledge. [09:05.910 --> 09:07.170] All basic. [09:07.630 --> 09:08.990] So what is left? [09:08.990 --> 09:11.750] When you look at the iClass legacy world. [09:12.850 --> 09:17.370] What is left is the generation of elite master keys. [09:17.370 --> 09:18.950] The elite master keys is... [09:21.150 --> 09:23.010] Let's begin from the beginning. [09:23.010 --> 09:31.090] The elite system is based on HRD makes its own custom triple desk keys one by one. [09:31.090 --> 09:34.750] And then that is kept secret. [09:35.030 --> 09:38.430] So we can extract all the keys from the firmware. [09:38.430 --> 09:41.050] We have a low class extract the keys from the reader. [09:41.270 --> 09:42.690] It's not an issue. [09:42.950 --> 09:46.150] What's left for the community to understand because this is what it is. [09:46.150 --> 09:49.970] It's a community effort to understand how are these things done. [09:49.970 --> 09:53.970] And this is the focus of what we are doing today. [09:53.970 --> 09:55.650] How is the generated... [09:55.650 --> 09:58.610] How is the elite keys master keys generated? [10:00.990 --> 10:04.050] And thus begins a tale of two. [10:05.190 --> 10:15.150] So for the community side of it, we have known or suspected that this elite and high security triple desk keys was generated by some kind of algo. [10:15.670 --> 10:22.870] Now, today's finding we are going to talk about is based upon two researchers' efforts over the years. [10:24.770 --> 10:27.290] Which leads me to Carl55. [10:27.790 --> 10:29.190] I'm going fast, am I not? [10:29.190 --> 10:29.870] Okay. [10:30.090 --> 10:38.110] So Carl, among others, has been hacking iClass for a long time. [10:38.410 --> 10:41.830] So the key how he does it is that he gets readers from eBay. [10:42.670 --> 10:52.110] And everybody got particularly curious after we figured out the standard iClass key out the Global Mosque. [10:52.110 --> 10:54.790] God, I hate to repeat myself all the time. [10:55.010 --> 10:55.790] Jesus. [10:55.790 --> 10:56.990] With that dude, fine. [10:57.570 --> 10:58.490] They actually took... [10:59.950 --> 11:01.870] He took time to figure things out. [11:01.870 --> 11:04.010] He had a friend in Australia, down under. [11:04.430 --> 11:07.230] And they have a system there called the Gold or whatever. [11:07.230 --> 11:10.070] And they have a lot of elite systems down there. [11:10.070 --> 11:14.230] So his friend and them checked out eBay and bought a whole bunch of them. [11:14.230 --> 11:20.090] Did the low class and he also extracted from the firmware the keys how to look like. [11:20.090 --> 11:27.710] Now for him, when he compiled that list of keys that he figured out, was some kind of pattern emerged. [11:28.690 --> 11:32.710] Now with that said, it comes over to Kevin. [11:34.830 --> 11:39.030] So, up to me, I did my own set of research. [11:39.030 --> 11:46.850] Carl had already well and truly traveled quite a bit of ground before I started acquiring R10 readers for myself. [11:46.990 --> 11:55.350] Once I'd done so, I'd taken them for a bath in some acetone and undercapsulated ICs and had a look at what was underneath the hood. [11:55.450 --> 11:58.970] One of the first things that I found was the PIC18F. [11:58.970 --> 12:07.650] Now, if any of you are familiar with hardware hacking, you would also perhaps be familiar with microchips overvoltage vulnerabilities. [12:08.090 --> 12:17.790] So upon discovering this, within the epoxy resin and seeing that PIC18F, I decided to investigate further. [12:18.150 --> 12:29.230] Now usually information on these microchips are stored at the end, because you've got bootloaders and everything else, that's all the fun stuff at the start, but you know, all the information is usually at the end. [12:29.230 --> 12:35.590] So I thought I'd take a bit of a gamble and I did my HPE attack on the second half of the reader and extracted all the keys. [12:35.590 --> 12:36.410] Great. [12:36.810 --> 12:38.350] That was interesting. [12:38.350 --> 12:40.550] How did the keys get generated? [12:40.550 --> 12:41.510] How did the keys get used? [12:41.510 --> 12:42.670] I wasn't really sure. [12:43.010 --> 12:59.970] So I didn't really know where to go from this point in time, but I knew that there was a simple PRNG that was being used based on the information that I'd obtained through the firmware and I had seen a PRNG in the assembly code that I had decompiled. [13:00.090 --> 13:18.350] So I needed to contact somebody else and start sharing knowledge and start understanding what's going on, because at that point in time after I'd done that much research, I'd found that there were other people around the globe, very intelligent people such as Kyle55 that I could then collaborate with. [13:18.350 --> 13:22.610] So very happy with the results that we got there. [13:23.090 --> 13:27.710] Yeah, so once I got that far, it was off to my mate Chris. [13:27.710 --> 13:28.890] So yeah. [13:31.650 --> 13:33.390] This is yours, you know that. [13:33.990 --> 13:35.290] This is yours. [13:36.130 --> 13:37.470] Back to me. [13:38.070 --> 13:43.990] Okay, so after that, knowing that I had this PRNG, bounce that off Chris. [13:43.990 --> 13:45.590] Chris introduced me to Kyle. [13:45.590 --> 13:47.230] Kyle and I had a bit of a yak. [13:47.710 --> 13:55.930] We had verified that we both had extracted the same keys from that same PIC88F micro and we knew that we were up to something. [13:55.930 --> 14:00.430] It was just that last little while that we had to travel to figure out what was going on with the algos. [14:01.250 --> 14:04.690] So, how did we figure out the PRNG? [14:04.930 --> 14:17.070] What we did was we compiled all of the assembly and ran through various different instructions until eventually we found a subroutine which had a very embarrassing PRNG in there. [14:17.070 --> 14:24.310] Now, I probably shouldn't say embarrassing because it's just PicoPass silicon has been around for quite some time. [14:24.310 --> 14:30.430] So the technology that's there, credit where credit's due, was reasonably good at the time. [14:30.430 --> 14:35.470] So , now we've figured out that we've got the PRNG and we've got the keys. [14:35.810 --> 14:46.670] Now, I verified that just to absolutely make sure of things, I'd found a copy of the PRNG also in software from the same manufacturer. [14:46.770 --> 14:50.410] So that was absolute confirmation that we'd had everything sorted out. [14:51.130 --> 14:56.810] Then, yeah, it was a matter of turning this discovery into an implementation. [14:56.950 --> 14:57.630] Yeah. [14:59.390 --> 15:01.670] Which leads to me again. [15:02.130 --> 15:03.250] Bloody hell. [15:03.250 --> 15:04.830] I thought you were going to speak longer. [15:05.910 --> 15:06.790] You're welcome. [15:06.950 --> 15:08.710] So, what's the problem? [15:08.790 --> 15:10.570] We figured out the keys. [15:10.570 --> 15:12.130] We figured out the PRNG. [15:12.130 --> 15:14.010] We figured out all the stuff that's needed. [15:14.010 --> 15:19.730] If you think we're kind of weak in what we're exactly saying, there's a reason for that. [15:21.030 --> 15:21.510] And... [15:22.530 --> 15:24.970] Yeah, we don't want any trouble in that sense. [15:25.750 --> 15:28.710] But the concept is, we know it. [15:29.050 --> 15:31.490] And you can verify it later if you're a little bit fast. [15:32.130 --> 15:33.770] So what is the problem? [15:33.910 --> 15:43.210] Well, whenever PRNG is a random number generator that you have a seed into it, and then you have to figure out the chain of blocks that repeat themselves 60 million times. [15:43.250 --> 15:50.310] Now the question is, how do you find the seed, and how do you verify the generated keys? [15:52.310 --> 16:02.150] Which is quite simple, because Adam Lohrer did that a couple of years ago, where he had a firmware and he was like, yeah, let's just brute force the firmware file instead. [16:02.270 --> 16:04.590] So I thought, I'm going to do the same thing. [16:05.050 --> 16:17.850] And for verifying the keys, it's even simpler, because call it a compile list, or a long chain of bytes that actually match with that, and it's just brute force the motherfucker out of this. [16:18.510 --> 16:24.670] It's also very sensitive here, what it is, but yeah, it matches. [16:26.170 --> 16:27.750] And it goes quite fast. [16:28.350 --> 16:29.430] Can't say a long time. [16:30.210 --> 16:31.270] The thing is... [16:36.090 --> 16:38.090] Yeah, okay, brute force, fuck it. [16:39.310 --> 16:42.010] The thing is, once you've done it, it's quite simple. [16:42.010 --> 16:54.490] Then you need to have support for it in Proxmox, which was happening, and if you've been around the Proxmox world, there was a time about 2017, 2018, when the check commands and lookup commands existed, or came to be. [16:54.490 --> 17:02.150] The reason was, this is the reason, why do you want to have a dictionary command file, Iceman, when there's only one key? [17:02.150 --> 17:04.770] And I said, are there really? [17:05.610 --> 17:09.010] There are many keys, but they didn't know that. [17:09.330 --> 17:12.450] Regardless of that, that's how it is, it works, so you can do it. [17:12.750 --> 17:20.910] We have not implemented the key generation algorithm for lead keys in Proxmox, and we're not going to release it either, so chill over there. [17:24.280 --> 17:26.600] But I can prove you that it works. [17:27.360 --> 17:30.900] I will do that by trying to please Vedema gods. [17:33.500 --> 17:35.400] They would speak all. [17:39.170 --> 17:41.030] We need to have bigger... [17:41.890 --> 17:42.710] You're good? [17:43.710 --> 17:45.690] I can't see, that's the problem. [17:46.750 --> 17:47.290] Am I in? [17:47.290 --> 17:48.130] Yes, I am. [17:51.960 --> 17:53.280] Oh, we don't have a camera. [17:53.300 --> 17:54.380] Ah, fuck it. [17:55.680 --> 17:59.900] In my hand, I have a bag of lead keys that I don't know the key of. [18:01.580 --> 18:03.300] Because it says so on the label. [18:06.070 --> 18:09.450] I will take one of these keys, and I will prove it. [18:10.610 --> 18:11.310] Stupid. [18:11.310 --> 18:12.910] The camera doesn't work, sorry. [18:12.930 --> 18:17.390] I would have Babak up here, everything would have worked from the beginning, because he's so fucking professional. [18:23.500 --> 18:25.200] Here we go, let's see. [18:26.540 --> 18:33.440] This is a iClass , and it's a legacy, because this is down there. [18:34.860 --> 18:35.580] And it's... [18:35.580 --> 18:40.420] We can verify that we don't know the key to it, because we can do this. [18:41.060 --> 18:42.520] Key index 0. [18:44.320 --> 18:45.260] Is that correct? [18:45.260 --> 18:46.200] Because I can't see. [18:47.180 --> 18:50.340] You have to stand there and tell me if it looks right, because I can't see it. [18:54.240 --> 18:54.780] Can? [18:56.260 --> 18:57.840] I can't see it. [18:58.380 --> 18:59.760] Anywho, it doesn't work. [19:00.180 --> 19:04.400] However, I would need to add actually elite if I don't do that, but that's a different story. [19:04.960 --> 19:05.840] Is that right? [19:05.840 --> 19:07.000] All right, cool. [19:07.100 --> 19:10.980] So what I'm doing now is running the check command list and running it now. [19:11.440 --> 19:19.260] I generated a list of these elite keys, and you're telling the approximate client to run it under the elite algorithm to generate the keys. [19:19.800 --> 19:23.560] And in the end, it finds it quite easily, because it exists there. [19:24.120 --> 19:30.640] That means that now you don't need to do low class or whatever to extract information from an elite key. [19:35.890 --> 19:36.770] Applauds. [19:42.890 --> 19:44.510] Oh my god, we rixed over. [19:45.870 --> 19:53.550] For you who don't understand what the implications of this is, it's a different story, but in our little world, it's kind of fun. [19:55.310 --> 20:01.910] However, we're not going to do very much more about this one, because it's yours for the next one. [20:04.750 --> 20:05.530] All right. [20:05.530 --> 20:09.830] So the question is why are we talking about this? [20:10.150 --> 20:14.870] Part of the reason is that all of this information is already in the public domain. [20:15.230 --> 20:27.050] There's information across forums, there's information in the form of white papers from the legends before us that have done a lot of research and helped us along this journey. [20:27.570 --> 20:37.790] And yeah, there are also products in the market that are commercially available that have not only a list of iClass keys available in them, but have the algos and everything else as well. [20:37.790 --> 20:45.590] So not to mention that this particular product here as an example, has things like DRM built into it. [20:45.590 --> 21:05.110] So what has happened with this particular product is that we've got a good friend, Dogox, that has found, extracted it, extracted all the firmware from it, and published a separate repo to uncover everything that is contained within the iCopyX. [21:05.110 --> 21:09.710] So that link down the bottom there is something worthwhile checking out. [21:12.060 --> 21:17.480] If you bring that little box up there, that orange one, so yeah, that's how it looks like. [21:17.740 --> 21:20.320] And now it sounds like it's a marketing thing, but it's not. [21:20.320 --> 21:24.640] We actually dislike it very, very much because it goes against everything we stand for. [21:25.600 --> 21:29.620] Close source DRM and, you know, fuck the community. [21:29.620 --> 21:36.000] I'm a very strong fan of open source, so this offends me, so you know that. [21:40.160 --> 21:45.720] And, you know, we don't do this shit just because we think we're going to commercialize the fuck out of it. [21:45.840 --> 21:52.540] The thing is, I'm a value person, so I stand for values, and open source is a heart of mine. [21:52.680 --> 21:54.720] So I want to talk about things. [21:54.720 --> 22:03.760] I don't want to give you guys exactly the implications and how to do things, but I will give you the tools how to use this stuff, if that makes sense to you guys. [22:04.440 --> 22:05.440] All right? [22:05.620 --> 22:06.340] Cool. [22:06.360 --> 22:13.760] So this sucks, but if you're a pentester and teamer, I totally understand it because it will do exactly what's promised. [22:13.760 --> 22:16.360] It will clone a card with one button. [22:17.040 --> 22:18.200] You will get it. [22:18.200 --> 22:21.760] So if you're on a mission , you don't need to know all this shit that we know . [22:21.840 --> 22:25.260] You buy one of those motherfuckers and you will have done your stuff. [22:26.300 --> 22:31.860] I'm sorry to say it, you know , if you buy a Proxmog, you will try to do some research, but if you buy that one, it's different. [22:32.340 --> 22:42.940] And with this talk, I'm pretty sure that the FlippaZero guys, like Betz over there, will implement even more stuff, so you guys will have some more fun with it. [22:43.300 --> 22:47.260] FlippaZero is only in the beginning of iteration of what they can do there. [22:47.260 --> 22:52.240] Firmware and all that stuff is just going to build up, even if there's some limitation to the hardware. [22:53.500 --> 22:57.040] One of these days, we'll actually start doing attribution. [22:57.960 --> 23:02.260] So until that day, fuck the Flippa. [23:04.080 --> 23:05.940] I'm a value person, sorry. [23:07.500 --> 23:09.820] Was that interesting enough for you guys? [23:13.740 --> 23:18.080] Because we're stressing our asses off here, because we're kind of nervous, at least I am. [23:18.080 --> 23:21.480] I don't know why, because yeah , that's how I am. [23:22.740 --> 23:25.940] With this said , that was the rest in peace . [23:25.940 --> 23:29.880] There are no more protections for the legacy I-class. [23:29.880 --> 23:32.960] You have to understand the implications of what we have said today. [23:32.960 --> 23:37.940] There are no more secureness in an I-class legacy. [23:39.120 --> 23:46.280] All vendors, whatever you do, upgrade to C-OS or whatever shit you're going to do, that's what you're going to do, because that's the next thing that's coming. [23:46.280 --> 23:47.300] Or Deathfire. [23:47.300 --> 23:48.520] I prefer Deathfire. [23:48.520 --> 23:49.580] I'm European. [23:49.980 --> 23:51.600] So that's how it works. [23:51.680 --> 23:55.420] I want to make sure that this is end-of-the-line stuff. [23:55.420 --> 23:58.920] This doesn't implicate anything with it like that. [23:58.920 --> 24:05.480] It's all if you have customers who are wondering about things and think that they are secure because they have this stuff. [24:05.540 --> 24:06.260] No. [24:06.260 --> 24:07.220] You're not. [24:07.220 --> 24:08.980] And you never will be anymore. [24:08.980 --> 24:10.820] So stop it. [24:11.100 --> 24:12.140] Upgrade. [24:12.760 --> 24:13.880] All right? [24:14.580 --> 24:19.940] For you pentesters or red teamers, you're going to have a good time, though. [24:21.020 --> 24:22.300] It is. [24:22.300 --> 24:26.000] You're going to buy one of those and then extract the default key list that's there. [24:26.000 --> 24:27.520] And then you're happy. [24:27.520 --> 24:30.000] Everybody can use the Proxmog for it. [24:30.000 --> 24:33.120] With that said, it's time to go over to the next part of the talk. [24:34.660 --> 24:35.920] The tear. [24:38.300 --> 24:40.260] Now, the tearing part. [24:40.620 --> 24:41.560] That's a different story. [24:41.560 --> 24:42.460] This is my party. [24:42.460 --> 24:43.080] Oh, totally. [24:43.080 --> 24:44.440] Oh, my fucking god. [24:45.080 --> 24:45.860] Can I move? [24:45.860 --> 24:47.020] I feel like a rockstar. [24:47.020 --> 24:47.620] Wow. [24:48.260 --> 24:50.120] How long do I have? [24:50.640 --> 24:51.480] Wow. [24:52.680 --> 24:54.700] I find it easy to stand like this. [24:54.700 --> 24:57.820] So, tear-off-attacks is something that we imaginary... No, we didn't. [24:57.820 --> 24:58.580] Actually, we... [24:58.580 --> 25:03.440] It was invented a couple of years ago by the researchers of Mobius and Dojox. [25:03.780 --> 25:06.980] If you don't know Philip Turvin, he's an amazing man. [25:06.980 --> 25:11.640] And Mobius, I can tell you, guys, if I said wrong, I'm sorry. [25:12.440 --> 25:13.660] He's also an amazing man. [25:13.660 --> 25:16.460] They came up with a tear-off-attack original one. [25:16.460 --> 25:20.320] I got the Micron card of a Russian subway system with blue cards. [25:20.320 --> 25:25.340] I managed to acquire a bunch of Russian Micron cards, finally. [25:25.340 --> 25:30.680] And to verify his findings, only to find out that I got the red ones. [25:31.500 --> 25:33.420] Which is not the same as the blue ones. [25:33.420 --> 25:35.010] That was the vulnerable ones. [25:35.320 --> 25:49.740] However, we have replicated that things with Dojox and me actually resetting the counter on ultralight EV1s, which, you know, forced NXP to do things. [25:49.880 --> 25:53.020] Now, the tear-off-attack is quite simple. [25:56.220 --> 25:57.760] Do you know what a tear-off-attack is? [25:57.760 --> 26:00.460] A concept of a tear-off-attack in RFID. [26:00.920 --> 26:01.940] Hands-risen. [26:01.940 --> 26:03.080] It's a new concept. [26:03.080 --> 26:05.040] It's not really out on the market. [26:05.300 --> 26:06.240] Trust me. [26:06.600 --> 26:15.440] A tear-off-attack is, if you know how RFID works, you have EM field reflux, and then you cut the power at a very specific timing. [26:15.440 --> 26:16.480] Very precise. [26:17.260 --> 26:29.460] And then you hope that resistors and the memory gaps in the memory gates, will lower enough electrons so you get a bit-flip. [26:29.880 --> 26:31.080] Does that make sense? [26:31.160 --> 26:35.320] It's like a fault-injectory for EM, but not. [26:35.500 --> 26:38.180] Because fault-injectors have a persistent power line. [26:38.180 --> 26:40.320] We fucking cut the power and it's off. [26:40.320 --> 26:41.440] It's nothing there. [26:41.640 --> 26:48.040] And it's a little bit imprecise, because impreciseness is because of the caps or whatever is left of the rest of the energy. [26:48.040 --> 26:49.660] So it takes some timing with it. [26:50.680 --> 26:54.940] Now, prerequisites for a tear-off-attack. [26:55.140 --> 27:04.180] First, you can either tear off memory that goes to zeros, or you tear it off and it goes to FFFFs. [27:04.480 --> 27:06.240] Which is kind of funny. [27:06.860 --> 27:09.920] Because his name is FFFF. [27:10.540 --> 27:17.140] You need also enable to read a command to read the memory that you're trying to tear. [27:17.140 --> 27:18.700] Does that make sense? [27:19.260 --> 27:20.080] Right? [27:20.240 --> 27:25.020] And of course, you need something to write that you're actually tearing. [27:25.020 --> 27:27.660] So in the write process, you're tearing something off. [27:28.000 --> 27:40.520] A normal write process goes on that you send the write command to the reader and it, inside of a chip of RFID tag, inside of that, starts an erase cycle. [27:40.520 --> 27:44.840] And then, a little bit lower on, it does a write cycle, where it does these things. [27:44.840 --> 27:46.580] And it tries to do some checks as well. [27:46.580 --> 27:50.700] It's a little bit guesswork, because we don't have exact insights in how it's done. [27:50.700 --> 27:51.900] But it's quite nice. [27:53.240 --> 27:55.060] So, why are we talking about that? [27:55.060 --> 27:57.020] Yes, we're talking about Picopass. [27:57.020 --> 27:59.880] Of course, because that's the focus of this talk. [28:00.060 --> 28:04.360] Now, last year, another community member, he had a talk together with Mixon. [28:04.360 --> 28:05.860] Is Mixon in the house? [28:07.420 --> 28:08.780] Stand up, brother. [28:10.820 --> 28:11.920] Stand up! [28:11.920 --> 28:13.100] There you go, that's Mixon. [28:13.100 --> 28:13.960] He had a talk. [28:16.500 --> 28:17.700] His first. [28:17.900 --> 28:19.260] So, give it up for him. [28:19.260 --> 28:27.500] The thing is, he and his friend Wendel, told me last year that when the Terrafortechs came out, it was kind of popular, we ripped some shit out of some proxy card. [28:27.900 --> 28:31.480] And he said he can rip a normal block on I-class Picopass. [28:32.160 --> 28:33.420] Which is kind of...