[00:00.000 --> 00:03.980] This is the DEF CON 30 Hardware Hacking Village, [00:03.980 --> 00:08.380] where you can come to solder all these different badges that you get around CON. [00:08.780 --> 00:09.640] What? [00:09.660 --> 00:13.340] This is the Hardware Hacking Village. That's the Soldering Skills Village. [00:13.340 --> 00:15.820] So what do you do in the Hardware Hacking Village, then? [00:15.820 --> 00:18.900] All sorts of things. Not soldering. [00:19.520 --> 00:23.640] We do soldering. I mean, that's an important skill to have. [00:24.400 --> 00:27.640] But we do a lot of other things, too, in terms of [00:28.200 --> 00:30.680] taking things apart and making things new. [00:30.680 --> 00:33.360] We have a couple of competitions going on this year. [00:33.360 --> 00:36.560] Make your own use. Literally, you take a thing [00:36.560 --> 00:40.380] and make it do something it was never intended to do. [00:40.380 --> 00:44.920] Which is one of the definitions we've said is a definition of a hacker. [00:44.920 --> 00:47.460] Finding something, using it the way it wasn't intended. [00:47.460 --> 00:52.420] Absolutely. We also have a make... bring the other half. [00:52.700 --> 00:54.900] And that's... we provide a software blob. [00:54.900 --> 00:58.180] We give you a firmware blob and you build the hardware around it [00:58.180 --> 01:00.300] and make it do something with that software. [01:00.700 --> 01:02.640] See, what's amazing to me... hold on. [01:02.640 --> 01:05.020] In my defense, by the way, about the soldering comment, [01:05.020 --> 01:07.960] hardware hacking started as hardware hacking. [01:07.960 --> 01:08.380] Yes. [01:08.380 --> 01:13.500] And then it expanded and Badge Life came out and then everyone was assembling those. [01:13.680 --> 01:16.900] And as that grew, it started feeling like it overtook it. [01:16.900 --> 01:19.880] But then all of a sudden, this happened. [01:19.880 --> 01:25.260] There is a huge room of hardware hackers really doing contests [01:25.260 --> 01:26.700] and figuring out how electronics work. [01:26.700 --> 01:31.400] And I remember there was just a box of junk where you would grab a piece out [01:31.400 --> 01:33.580] and what would end up you do is you go, [01:33.580 --> 01:35.240] OK, I'm going to look... I don't know what it is. [01:35.240 --> 01:38.580] You can pull off a piece of the chip and then... [01:38.580 --> 01:39.740] We still have that. [01:40.040 --> 01:43.820] It lives on the soldering side now because a lot of that you got to pull apart. [01:44.120 --> 01:45.440] But we still have a pile. [01:45.440 --> 01:46.780] We call it the source pile. [01:46.980 --> 01:48.420] It's kind of give and take. [01:48.420 --> 01:53.460] I donated a bunch of... not junk, but it's junk. [01:54.260 --> 01:57.860] And so it's got a lot of useful stuff in there still, but it's not useful as it is. [01:57.860 --> 02:00.860] So, yeah, you can grab a part, pull stuff off. [02:00.860 --> 02:02.040] You need a USB connector. [02:02.040 --> 02:03.440] Oh, that one's got a USB connector. [02:03.520 --> 02:04.680] Desolder it, now it's yours. [02:04.680 --> 02:07.300] And then you start building stuff over here. [02:07.320 --> 02:09.700] If you think about it, like one of the things that you told me about [02:09.700 --> 02:15.740] was when you're reverse engineering a piece of hardware, it starts with discovery. [02:15.880 --> 02:17.920] First, take a look at what it is. [02:17.920 --> 02:20.560] And then you start building on those concepts. [02:20.560 --> 02:25.740] I remember doing your hardware hacking challenge where I'm following traces and things like that. [02:25.880 --> 02:27.520] You start jumping down the challenges. [02:27.520 --> 02:29.300] What other challenges are there? [02:29.840 --> 02:35.140] Behind me, one of our other volunteers, Rare, he's putting together a CTF. [02:35.140 --> 02:42.300] And the way this one kind of works is we pretend that the HHV became an evil corporation [02:42.300 --> 02:44.460] and we're making badges for badge life. [02:44.460 --> 02:45.400] Makes perfect sense. [02:45.400 --> 02:45.900] Yes. [02:45.900 --> 02:48.280] So we've made a chip. [02:48.280 --> 02:49.880] We got a data sheet for it. [02:49.880 --> 02:52.840] You start by looking at the data sheet, figuring out what it does. [02:52.840 --> 02:56.800] And oh, hey, there's a flag there for the CTF hint. [02:58.380 --> 03:02.060] And from there, that's where we add the SAO badges. [03:02.460 --> 03:03.900] So you get one. [03:03.940 --> 03:06.640] And we actually added DRM to our SAO badges this year. [03:06.640 --> 03:07.220] Oh, wow. [03:07.220 --> 03:11.180] So the contest is breaking that DRM. [03:11.600 --> 03:13.960] It's a little contrived, but it works. [03:13.960 --> 03:18.940] It demonstrates what you're supposed to do and how that works and find things out. [03:19.520 --> 03:23.460] So when you're, like, what's crazy to me about the hardware hacking village, [03:23.460 --> 03:26.660] it's like I have not gone that deep in hardware hacking, [03:26.660 --> 03:30.140] is you have all the tools here and all the knowledge to do it, [03:30.140 --> 03:33.760] but then you can advance up where you have a digital logic analyzer, [03:33.760 --> 03:39.460] you're doing what is acid washing on a chip to then attach the context inside the chip [03:39.460 --> 03:40.440] to see what's happening. [03:40.440 --> 03:41.520] We don't have acid here. [03:42.000 --> 03:43.140] Never happened. [03:43.240 --> 03:43.900] Continue. [03:45.600 --> 03:51.100] But when you're talking about those different types of challenges here, [03:51.100 --> 03:55.820] you have digital logic analyzers, oscilloscopes, all of these different tools. [03:56.020 --> 04:01.000] What are some of the cool projects that you've seen people working on using some of these things? [04:01.440 --> 04:03.040] Oh, boy. [04:04.000 --> 04:07.880] And as one, I remember like Joe Grand did a cool video on [04:07.880 --> 04:12.180] grabbing like a crypto wallet, ripping that apart and talking about the process of [04:12.180 --> 04:13.880] here's how you dump private keys. [04:13.880 --> 04:16.600] Is that the type of stuff that happens in this village? [04:16.600 --> 04:18.820] It can. I've seen it happen before. [04:18.820 --> 04:21.680] Actually, one of my favorite memories from long ago in the HHV [04:21.680 --> 04:28.340] was someone built a large coil specifically to blow up RFID cards. [04:29.280 --> 04:34.040] You put enough, it was basically a big coil, you put a big capacitor on it, [04:34.040 --> 04:37.860] dumped a bunch of voltage into it, and it would just blow up RFID cards. [04:38.560 --> 04:40.540] That's actually pretty incredible. [04:40.540 --> 04:42.380] It made a loud pop. [04:42.380 --> 04:44.900] You knew what was going on. [04:45.560 --> 04:47.440] It's okay though, that happened at the RIV. [04:47.440 --> 04:48.180] It happened at the RIV? [04:48.180 --> 04:48.480] Yeah. [04:48.480 --> 04:50.040] Never, never in Caesars Forum. [04:50.040 --> 04:50.520] Never. [04:50.620 --> 04:55.820] So with some of the other aspects, what else, if I was a noob coming into this area, [04:55.820 --> 04:57.420] where would you tell me to start? [04:57.440 --> 05:03.060] Honestly, the front table over there, we've got a couple of simple displays and demos. [05:04.220 --> 05:09.500] I actually put together a set of plates that are delaminated PCBs. [05:09.500 --> 05:13.460] If you ever wondered what different layers of a PCB look like and how they're stacked together, [05:13.460 --> 05:17.080] that fully pulls them apart, encases them in resin, so you can get a close-up look and see [05:17.080 --> 05:20.980] how it all works. You can actually see a manufacturing defect on one of the boards. [05:20.980 --> 05:21.280] Really? [05:21.280 --> 05:23.500] So it could be useful for inspection as well. [05:23.820 --> 05:27.880] Next to that, there is a demo on a side channel timing attack. [05:28.320 --> 05:31.720] Also very contrived, but it's still the general concept. [05:31.720 --> 05:36.840] So you're inputting a pin and it's slowly leaking data out from LEDs. [05:36.840 --> 05:41.700] How long it takes between you entering the last digit and it telling you [05:41.700 --> 05:47.080] that the pin was incorrect varies based on how many correct digits you have. [05:48.140 --> 05:49.580] That's fascinating. [05:49.940 --> 05:56.280] So we did the NSEC CTF recently, and that had one of those timing attacks where you'd send [05:56.280 --> 05:59.680] commands. It was sort of a specialty way of doing it, where you hit packets. [05:59.760 --> 06:03.100] I didn't even know those things existed within hardware. [06:03.100 --> 06:07.700] And I will also say there's a fantastic tool that exists called the chip whisperer. [06:08.200 --> 06:12.060] It can do all sorts of things related to that, including scripting. [06:12.060 --> 06:16.480] So you can plug all sorts of these wires into a single device and you can script [06:17.060 --> 06:21.120] the commands or actions it gives to the device and what it reads back. [06:21.160 --> 06:22.760] And you can have it do different things. [06:22.760 --> 06:26.000] You can scale the power, the voltage. [06:26.000 --> 06:27.500] You can glitch the voltage. [06:27.720 --> 06:31.780] All these little things that cause hardware to give up its secrets. [06:32.500 --> 06:34.560] Put it in modes that it was never supposed to be in. [06:34.560 --> 06:37.300] I think also what's fascinating with the hardware hacking village is [06:37.860 --> 06:43.740] what starts here ends up like morphing and sometimes turns into its own village. [06:43.740 --> 06:47.100] Like things like, again, the soldering skills village. [06:47.100 --> 06:53.860] You have like the RFID, the radio frequency village started here and then branched out [06:53.860 --> 06:56.440] into the con and now have grown and sprouted wings. [06:56.660 --> 07:01.760] If you were predicting, what do you think is the next thing that might sprout wings and start going? [07:01.780 --> 07:03.720] That's a good one. [07:03.720 --> 07:05.720] I'm stalling for time. [07:08.340 --> 07:14.420] No, if I had to predict what would come next from the HHV, it would probably be [07:15.240 --> 07:18.940] maybe more of the very nuanced timing attacks. [07:18.940 --> 07:22.580] You mentioned the cryptocurrency wallet that Joe Grand did. [07:22.580 --> 07:26.440] That was very much a very intricate attack. [07:26.440 --> 07:30.980] And I can see that being more and more mainstream as more tools are available [07:30.980 --> 07:33.380] and cost effective for people to use. [07:33.380 --> 07:36.660] You've told me before, there's this pendulum swing that happens [07:36.660 --> 07:42.320] where new technology comes out and it's too expensive for a hobbyist. [07:42.340 --> 07:46.520] And then as that becomes less of a cost, there's more innovation that happens, [07:46.520 --> 07:50.620] which leads to new technology, which has a similar problem. [07:50.620 --> 07:53.080] That's one of the things I've always loved about the hardware hacking village is [07:53.080 --> 07:55.120] there's just so much. [07:55.120 --> 07:59.880] Like for me, who's in software and web, I know how deep that field is. [07:59.880 --> 08:03.100] Hardware is usually kind of like, eh, it's hardware. [08:03.240 --> 08:06.000] But as we've become friends over the years, realizing like, [08:06.000 --> 08:09.320] oh my gosh, there really is crazy attacks here. [08:09.320 --> 08:13.560] And even more so where in source code, I can obscure code. [08:13.560 --> 08:15.600] I can put cryptography on it. [08:15.600 --> 08:20.440] At a certain point, there's a trace there that I can read directly from. [08:20.440 --> 08:23.020] And what do you think is running your code? [08:23.160 --> 08:24.660] It's the hardware. [08:24.660 --> 08:26.060] That's a good point. [08:26.060 --> 08:30.320] Your code is actually being run by sand that we heated up and forced to think. [08:30.320 --> 08:32.760] It's cruel to make sand think, but we did. [08:35.800 --> 08:39.580] With that, I mean, there's so much more we can talk about the hardware hacking village, [08:39.580 --> 08:43.220] but I know like this place is crazy and you need to get back to helping people. [08:43.220 --> 08:44.080] I appreciate that. [08:44.080 --> 08:46.320] Thanks for, thank you so much for sharing. [08:46.320 --> 08:47.780] Thank you for watching. [08:47.780 --> 08:50.100] And as always, hack on!