1 00:00:00,000 --> 00:00:08,380 This is the DEF CON 30 Hardware Hacking Village, where you can come to solder all these different badges that you get around CON. 2 00:00:08,780 --> 00:00:09,640 What? 3 00:00:09,660 --> 00:00:11,760 This is the Hardware Hacking Village. 4 00:00:11,760 --> 00:00:13,340 That's the Soldering Skills Village. 5 00:00:13,340 --> 00:00:15,820 So what do you do in the Hardware Hacking Village, then? 6 00:00:15,820 --> 00:00:17,380 All sorts of things. 7 00:00:17,380 --> 00:00:18,900 Not soldering. 8 00:00:19,520 --> 00:00:21,300 We do soldering. 9 00:00:21,320 --> 00:00:23,640 I mean, that's an important skill to have. 10 00:00:24,400 --> 00:00:30,680 But we do a lot of other things, too, in terms of taking things apart and making things new. 11 00:00:30,680 --> 00:00:33,360 We have a couple of competitions going on this year. 12 00:00:33,360 --> 00:00:34,780 Make your own use. 13 00:00:35,000 --> 00:00:40,380 Literally, you take a thing and make it do something it was never intended to do. 14 00:00:40,380 --> 00:00:44,920 Which is one of the definitions we've said is a definition of a hacker. 15 00:00:44,920 --> 00:00:47,460 Finding something, using it the way it wasn't intended. 16 00:00:47,460 --> 00:00:48,460 Absolutely. 17 00:00:48,580 --> 00:00:52,420 We also have a make... bring the other half. 18 00:00:52,700 --> 00:00:54,900 And that's... we provide a software blob. 19 00:00:54,900 --> 00:01:00,300 We give you a firmware blob and you build the hardware around it and make it do something with that software. 20 00:01:00,700 --> 00:01:02,640 See, what's amazing to me... hold on. 21 00:01:02,640 --> 00:01:07,960 In my defense, by the way, about the soldering comment, hardware hacking started as hardware hacking. 22 00:01:07,960 --> 00:01:08,380 Yes. 23 00:01:08,380 --> 00:01:13,500 And then it expanded and Badge Life came out and then everyone was assembling those. 24 00:01:13,680 --> 00:01:16,900 And as that grew, it started feeling like it overtook it. 25 00:01:16,900 --> 00:01:19,880 But then all of a sudden, this happened. 26 00:01:19,880 --> 00:01:26,700 There is a huge room of hardware hackers really doing contests and figuring out how electronics work. 27 00:01:26,700 --> 00:01:35,240 And I remember there was just a box of junk where you would grab a piece out and what would end up you do is you go, OK, I'm going to look... I don't know what it is. 28 00:01:35,240 --> 00:01:38,580 You can pull off a piece of the chip and then... 29 00:01:38,580 --> 00:01:39,740 We still have that. 30 00:01:40,040 --> 00:01:43,820 It lives on the soldering side now because a lot of that you got to pull apart. 31 00:01:44,120 --> 00:01:45,440 But we still have a pile. 32 00:01:45,440 --> 00:01:46,780 We call it the source pile. 33 00:01:46,980 --> 00:01:48,420 It's kind of give and take. 34 00:01:48,420 --> 00:01:53,460 I donated a bunch of... not junk, but it's junk. 35 00:01:54,260 --> 00:01:57,860 And so it's got a lot of useful stuff in there still, but it's not useful as it is. 36 00:01:57,860 --> 00:02:00,860 So, yeah, you can grab a part, pull stuff off. 37 00:02:00,860 --> 00:02:02,040 You need a USB connector. 38 00:02:02,040 --> 00:02:03,440 Oh, that one's got a USB connector. 39 00:02:03,520 --> 00:02:04,680 Desolder it, now it's yours. 40 00:02:04,680 --> 00:02:07,300 And then you start building stuff over here. 41 00:02:07,320 --> 00:02:15,740 If you think about it, like one of the things that you told me about was when you're reverse engineering a piece of hardware, it starts with discovery. 42 00:02:15,880 --> 00:02:17,920 First, take a look at what it is. 43 00:02:17,920 --> 00:02:20,560 And then you start building on those concepts. 44 00:02:20,560 --> 00:02:25,740 I remember doing your hardware hacking challenge where I'm following traces and things like that. 45 00:02:25,880 --> 00:02:27,520 You start jumping down the challenges. 46 00:02:27,520 --> 00:02:29,300 What other challenges are there? 47 00:02:29,840 --> 00:02:35,140 Behind me, one of our other volunteers, Rare, he's putting together a CTF. 48 00:02:35,140 --> 00:02:44,460 And the way this one kind of works is we pretend that the HHV became an evil corporation and we're making badges for badge life. 49 00:02:44,460 --> 00:02:45,400 Makes perfect sense. 50 00:02:45,400 --> 00:02:45,900 Yes. 51 00:02:45,900 --> 00:02:48,280 So we've made a chip. 52 00:02:48,280 --> 00:02:49,880 We got a data sheet for it. 53 00:02:49,880 --> 00:02:52,840 You start by looking at the data sheet, figuring out what it does. 54 00:02:52,840 --> 00:02:56,800 And oh, hey, there's a flag there for the CTF hint. 55 00:02:58,380 --> 00:03:02,060 And from there, that's where we add the SAO badges. 56 00:03:02,460 --> 00:03:03,900 So you get one. 57 00:03:03,940 --> 00:03:06,640 And we actually added DRM to our SAO badges this year. 58 00:03:06,640 --> 00:03:07,220 Oh, wow. 59 00:03:07,220 --> 00:03:11,180 So the contest is breaking that DRM. 60 00:03:11,600 --> 00:03:13,960 It's a little contrived, but it works. 61 00:03:13,960 --> 00:03:18,940 It demonstrates what you're supposed to do and how that works and find things out. 62 00:03:19,520 --> 00:03:33,760 So when you're, like, what's crazy to me about the hardware hacking village, it's like I have not gone that deep in hardware hacking, is you have all the tools here and all the knowledge to do it, but then you can advance up where you have a digital logic analyzer, 63 00:03:33,760 --> 00:03:40,440 you're doing what is acid washing on a chip to then attach the context inside the chip to see what's happening. 64 00:03:40,440 --> 00:03:41,520 We don't have acid here. 65 00:03:42,000 --> 00:03:43,140 Never happened. 66 00:03:43,240 --> 00:03:43,900 Continue. 67 00:03:45,600 --> 00:03:55,820 But when you're talking about those different types of challenges here, you have digital logic analyzers, oscilloscopes, all of these different tools. 68 00:03:56,020 --> 00:04:01,000 What are some of the cool projects that you've seen people working on using some of these things? 69 00:04:01,440 --> 00:04:03,040 Oh, boy. 70 00:04:04,000 --> 00:04:13,880 And as one, I remember like Joe Grand did a cool video on grabbing like a crypto wallet, ripping that apart and talking about the process of here's how you dump private keys. 71 00:04:13,880 --> 00:04:16,600 Is that the type of stuff that happens in this village? 72 00:04:16,600 --> 00:04:17,100 It can. 73 00:04:17,100 --> 00:04:18,820 I've seen it happen before. 74 00:04:18,820 --> 00:04:28,340 Actually, one of my favorite memories from long ago in the HHV was someone built a large coil specifically to blow up RFID cards. 75 00:04:29,280 --> 00:04:37,860 You put enough, it was basically a big coil, you put a big capacitor on it, dumped a bunch of voltage into it, and it would just blow up RFID cards. 76 00:04:38,560 --> 00:04:40,540 That's actually pretty incredible. 77 00:04:40,540 --> 00:04:42,380 It made a loud pop. 78 00:04:42,380 --> 00:04:44,900 You knew what was going on. 79 00:04:45,560 --> 00:04:47,440 It's okay though, that happened at the RIV. 80 00:04:47,440 --> 00:04:48,180 It happened at the RIV? 81 00:04:48,180 --> 00:04:48,480 Yeah. 82 00:04:48,480 --> 00:04:50,040 Never, never in Caesars Forum. 83 00:04:50,040 --> 00:04:50,520 Never. 84 00:04:50,620 --> 00:04:57,420 So with some of the other aspects, what else, if I was a noob coming into this area, where would you tell me to start? 85 00:04:57,440 --> 00:05:03,060 Honestly, the front table over there, we've got a couple of simple displays and demos. 86 00:05:04,220 --> 00:05:09,500 I actually put together a set of plates that are delaminated PCBs. 87 00:05:09,500 --> 00:05:18,120 If you ever wondered what different layers of a PCB look like and how they're stacked together, that fully pulls them apart, encases them in resin, so you can get a close-up look and see how it all works. 88 00:05:18,120 --> 00:05:20,980 You can actually see a manufacturing defect on one of the boards. 89 00:05:20,980 --> 00:05:21,280 Really? 90 00:05:21,280 --> 00:05:23,500 So it could be useful for inspection as well. 91 00:05:23,820 --> 00:05:27,880 Next to that, there is a demo on a side channel timing attack. 92 00:05:28,320 --> 00:05:31,720 Also very contrived, but it's still the general concept. 93 00:05:31,720 --> 00:05:36,840 So you're inputting a pin and it's slowly leaking data out from LEDs. 94 00:05:36,840 --> 00:05:47,080 How long it takes between you entering the last digit and it telling you that the pin was incorrect varies based on how many correct digits you have. 95 00:05:48,140 --> 00:05:49,580 That's fascinating. 96 00:05:49,940 --> 00:05:56,840 So we did the NSEC CTF recently, and that had one of those timing attacks where you'd send commands. 97 00:05:56,840 --> 00:05:59,680 It was sort of a specialty way of doing it, where you hit packets. 98 00:05:59,760 --> 00:06:03,100 I didn't even know those things existed within hardware. 99 00:06:03,100 --> 00:06:07,700 And I will also say there's a fantastic tool that exists called the chip whisperer. 100 00:06:08,200 --> 00:06:12,060 It can do all sorts of things related to that, including scripting. 101 00:06:12,060 --> 00:06:21,120 So you can plug all sorts of these wires into a single device and you can script the commands or actions it gives to the device and what it reads back. 102 00:06:21,160 --> 00:06:22,760 And you can have it do different things. 103 00:06:22,760 --> 00:06:26,000 You can scale the power, the voltage. 104 00:06:26,000 --> 00:06:27,500 You can glitch the voltage. 105 00:06:27,720 --> 00:06:31,780 All these little things that cause hardware to give up its secrets. 106 00:06:32,500 --> 00:06:34,560 Put it in modes that it was never supposed to be in. 107 00:06:34,560 --> 00:06:43,740 I think also what's fascinating with the hardware hacking village is what starts here ends up like morphing and sometimes turns into its own village. 108 00:06:43,740 --> 00:06:47,100 Like things like, again, the soldering skills village. 109 00:06:47,100 --> 00:06:56,440 You have like the RFID, the radio frequency village started here and then branched out into the con and now have grown and sprouted wings. 110 00:06:56,660 --> 00:07:01,760 If you were predicting, what do you think is the next thing that might sprout wings and start going? 111 00:07:01,780 --> 00:07:03,720 That's a good one. 112 00:07:03,720 --> 00:07:05,720 I'm stalling for time. 113 00:07:08,340 --> 00:07:18,940 No, if I had to predict what would come next from the HHV, it would probably be maybe more of the very nuanced timing attacks. 114 00:07:18,940 --> 00:07:22,580 You mentioned the cryptocurrency wallet that Joe Grand did. 115 00:07:22,580 --> 00:07:26,440 That was very much a very intricate attack. 116 00:07:26,440 --> 00:07:33,380 And I can see that being more and more mainstream as more tools are available and cost effective for people to use. 117 00:07:33,380 --> 00:07:42,320 You've told me before, there's this pendulum swing that happens where new technology comes out and it's too expensive for a hobbyist. 118 00:07:42,340 --> 00:07:50,620 And then as that becomes less of a cost, there's more innovation that happens, which leads to new technology, which has a similar problem. 119 00:07:50,620 --> 00:07:55,120 That's one of the things I've always loved about the hardware hacking village is there's just so much. 120 00:07:55,120 --> 00:07:59,880 Like for me, who's in software and web, I know how deep that field is. 121 00:07:59,880 --> 00:08:03,100 Hardware is usually kind of like, eh, it's hardware. 122 00:08:03,240 --> 00:08:09,320 But as we've become friends over the years, realizing like, oh my gosh, there really is crazy attacks here. 123 00:08:09,320 --> 00:08:13,560 And even more so where in source code, I can obscure code. 124 00:08:13,560 --> 00:08:15,600 I can put cryptography on it. 125 00:08:15,600 --> 00:08:20,440 At a certain point, there's a trace there that I can read directly from. 126 00:08:20,440 --> 00:08:23,020 And what do you think is running your code? 127 00:08:23,160 --> 00:08:24,660 It's the hardware. 128 00:08:24,660 --> 00:08:26,060 That's a good point. 129 00:08:26,060 --> 00:08:30,320 Your code is actually being run by sand that we heated up and forced to think. 130 00:08:30,320 --> 00:08:32,760 It's cruel to make sand think, but we did. 131 00:08:35,800 --> 00:08:43,220 With that, I mean, there's so much more we can talk about the hardware hacking village, but I know like this place is crazy and you need to get back to helping people. 132 00:08:43,220 --> 00:08:44,080 I appreciate that. 133 00:08:44,080 --> 00:08:46,320 Thanks for, thank you so much for sharing. 134 00:08:46,320 --> 00:08:47,780 Thank you for watching. 135 00:08:47,780 --> 00:08:50,100 And as always, hack on!