[00:00.000 --> 00:06.900] Hey, thank you for coming to the badge talk this year. We've got the designers and the [00:06.900 --> 00:15.580] creators and somebody who's leaving who was also somewhat tangentially involved. And so [00:15.580 --> 00:23.820] it's my privilege to introduce Mar Williams, the principal conceptualist designer and the [00:23.820 --> 00:29.120] team she assembled to make this happen. We've got all these incredible slides and some stories [00:29.120 --> 00:33.940] to tell you about the thinking behind the badge, how we try to involve community in [00:33.940 --> 00:40.600] it, the outcome. We have one of our partners, you might have noticed in the program, Raspberry [00:40.600 --> 00:45.500] Pi has launched and announced a new chip that was involved. So we get to hear from them [00:45.500 --> 00:52.500] and their new hardware. And so I hope you enjoy it. Thank you very much. Take it away, [00:52.500 --> 00:52.700] Mar. [01:00.010 --> 01:09.290] All right. Hi, guys. All right. How do I go forward here? There we go. Okay. Hi. I'm Mar [01:09.290 --> 01:16.090] Williams. I did the concept design and coordination of the badge project this year. You can see [01:16.090 --> 01:23.200] my art around con. My first art for DEF CON was DC 17. I've shared two hacker spaces and [01:23.200 --> 01:29.920] run a collective art space in Denver called Cabal Gallery. Last year's badges, the DC 31 [01:29.920 --> 01:36.280] badges, were a non-electronic year. We had some manufacturing issues and I just wanted you [01:36.280 --> 01:42.460] guys to know that if you have your last year's paper badge, replacement badge, you can go [01:42.460 --> 01:47.580] trade it in at one of the info booths. There's the big one under the main screen and get the [01:47.580 --> 01:54.120] ones that came in after the con. Okay. And you can find me in the vendor area afterwards. I [01:54.120 --> 01:59.920] want to introduce the team Cat Ball is what we're calling ourselves. Bonnie Finley up here [01:59.920 --> 02:09.480] on stage. She did the 3D modeling for the case and did all the heavy lifting on creating the [02:09.480 --> 02:17.560] game in GB studio. In, like, a crazy short amount of time, by the way. And I'm going to [02:17.580 --> 02:25.600] show you the artwork. All the art in the game is also hers. Dimitri, who was on the stage [02:25.600 --> 02:30.180] just a moment ago, did the firmware and emulator. And we have some slides for him that we'll [02:30.180 --> 02:36.600] show in a minute. Chris who actually created GB studio, which is completely open source [02:36.600 --> 02:42.740] drag and drop environment for creating your own Game Boy games. He helped us with some [02:42.740 --> 02:50.020] plug-ins that are badge specific that work with, like, the IR. And he also created, like, the [02:50.020 --> 02:55.920] character creator that you see on your game. Will Tuttle, who is out there in the audience [02:55.920 --> 03:02.100] somewhere, helped a ton back and forth with concept and narrative collab so that we had a [03:02.100 --> 03:11.440] really cool story to tell on the badge. Ada, who is right here, made a super cool dragon. Yeah. [03:11.440 --> 03:21.820] So if you choose the dragon, you are playing Ada's art. Okay. And then Raspberry Pi is Raspberry [03:21.820 --> 03:29.660] Pi and we love them and they're going to talk here in a minute. And Tropic Engineering was [03:29.660 --> 03:35.580] the hardware contractor and you can see their logo on the back of the badge here. Joe Grand, [03:35.580 --> 03:43.820] who came in sort of last minute and then did his magic ninja work. So he'll talk more later. [03:43.920 --> 03:50.160] Legion 303. So he put together music and sounds for the badge. They don't play within the [03:50.160 --> 03:55.820] game, unfortunately, but I've included them on the SD cards. So if you want to hear the bleeps [03:55.820 --> 04:04.480] and bloops and renditions of MC Frontalot and Dual Core, you can check those out later. Okay. [04:04.480 --> 04:14.740] And ICSN as our manufacturing partner. All right. Okay. So this is just an early concept on the [04:14.740 --> 04:20.140] left here of what I wanted to do. I wanted to use an orientation sensor so that when you're [04:20.140 --> 04:26.180] wearing the badge, your little character is representative of you. And we didn't get quite that [04:26.180 --> 04:31.260] far, but you can choose one of the characters in the game and if you flip it, after like a [04:31.260 --> 04:35.860] minute, it will pop up on your screen and you can have your little dragon or cat or whatever. [04:36.640 --> 04:42.580] There's LEDs that you can change the color of in the game and I see a ton of you out there wearing [04:42.580 --> 04:47.960] your expression on your badge and I love that and that was kind of part of the concept is to let [04:47.960 --> 04:58.080] you guys be as expressive as you could. Okay. So you have your wearable character and your color [04:58.080 --> 05:03.400] changes. Accessibility was a huge deal for me because when I got involved with all this with [05:03.400 --> 05:11.100] like the rise of hacker spaces like 2008, something like that, that's when things like this [05:11.100 --> 05:15.940] started coming on the scene where it was like people like me who I'm an artist and not like a [05:15.940 --> 05:21.620] hardcore hardware engineer or anything could get involved and create something. And so I wanted [05:21.620 --> 05:26.340] other people to be able to take this home and do something really rad. So I went and tried to [05:26.340 --> 05:32.880] find Raspberry Pi and luckily they wanted to work with us so here's where we are. SAOs are [05:32.880 --> 05:37.760] supported and I noticed that a bunch of you are wearing your SAOs and they're super cool and I [05:37.760 --> 05:44.480] hope to see more of them. You can load up your own ROMs onto the game so you can play whatever [05:44.480 --> 05:50.680] game you want on here if you really want. And if you want to make your own game, you can go use [05:50.680 --> 05:56.500] GBStudio and make one in a hurry. If you want to create your own firmware, you can use the RP [05:56.500 --> 06:14.850] 2350 SDK. So we ran into some challenges as you saw at the beginning of the talk here. Our [06:14.850 --> 06:20.150] hardware contractor left us out of some crucial and standard processes which eventually led for [06:20.150 --> 06:26.030] us to part ways and call in the help of Joe Grant. So you can see by this little Easter egg that [06:26.030 --> 06:33.750] was brought to our attention earlier today that they weren't very happy about that. So you can [06:33.750 --> 06:38.630] also see that Entropic is credited on the back of the badge and the firmware on my blog earlier [06:38.630 --> 07:00.910] today. I just want to do hacker stuff with my friends. So without further ado, I will give you [07:00.910 --> 07:04.390] some microcontrollers at Raspberry Pi and I worked on the chip that's on everyone's badges [07:04.390 --> 07:09.530] today. I'd like to talk about three things. The first one is the chip on the badge. The second [07:09.530 --> 07:14.970] one is one of the processor architectures on that chip. And the third one is our hacking [07:14.970 --> 07:22.770] challenge for everyone here and everyone who has GitHub. So RP 2040 was our first microcontroller, [07:22.770 --> 07:29.170] took our team from zero to microcontroller. This is a similar increment. So we have some low [07:29.170 --> 07:34.690] power states. The whole system can power itself up and down. We doubled the RAM. You can [07:34.690 --> 07:41.710] attach more RAM over QSPI up to 8 megabytes. Security extension is what's also called trust [07:41.710 --> 07:46.910] zone M and we extend those security boundaries out through the system with some system level [07:46.910 --> 07:54.890] hardware. It's pretty beefy processor wise and we also offer more GPIOs up to 48 and larger [07:54.890 --> 08:01.790] package. Flash in package if you want it so you can have 2 megs of flash on device. There's a [08:01.790 --> 08:06.930] lot of security stuff hardware wise I won't cover here but we do have on device storage and [08:06.930 --> 08:11.590] that's used for your boot signing keys. You can use it for symmetric and private keys for [08:11.590 --> 08:16.890] decryption as well. You can lock things down page by page either hardware or soft locks to [08:16.890 --> 08:21.450] revoke things after boot. We have a secure implementation. I'm not going to speak much [08:21.450 --> 08:26.650] about it here. It's in chapter 5 of the data sheet. The last thing to mention on that is all [08:26.650 --> 08:31.910] of the source code for the ROM including the secure boot is open source. It's on GitHub and [08:31.910 --> 08:43.650] it's BSD3 licensed so everyone can use it. So I said there are 2 processors. We have 2 [08:43.650 --> 08:48.450] codex M33s. It's a dual core system. We use codex M because we think they're the best in [08:48.450 --> 08:54.810] class. But one of my little hobby projects made it in as well. So RISC 5 is an open instruction [08:54.810 --> 09:00.990] set. Anyone can implement it. It's actually quite hard to find a real commercial bit of [09:00.990 --> 09:07.170] silicon with an open source processor on it. So if you read the data sheet there is a link in [09:07.170 --> 09:10.930] the data sheet to the source code. You can download it. It's Apache 2 licensed. You can [09:10.930 --> 09:17.530] modify the processor. Put it on FPGA. Tape it out yourself. It started out as a hobby project. [09:17.530 --> 09:22.810] It's forked from hazard 5, one of my earlier projects. The initial rework to a 3 stage [09:22.810 --> 09:28.290] pipeline took a few days. At that point it was about 90% done. The remaining 10% of the [09:28.290 --> 09:33.670] project took 3 years. So it was finished on Wednesday night before DEF CON. They had to [09:33.670 --> 09:48.530] launch it before we launched the chip. We want to build the best education platform we can for [09:48.530 --> 09:52.810] embedded systems and I'm picturing people doing university labs where they work with the [09:52.810 --> 09:57.490] processor on MCU, go home, read the source code, modify the processor, put it on FPGA [09:57.490 --> 10:02.410] dev board. As well as the source, the entire commit history for the project is open source [10:02.410 --> 10:08.210] which means, sorry, is public. So every mistake I made during development is documented as [10:08.210 --> 10:13.410] well as the resolutions. If you are a security researcher working in embedded systems, I [10:13.410 --> 10:17.410] think it's interesting to see the types of mistakes that hardware designers make because there [10:17.410 --> 10:22.090] might be similar hardware bugs in the systems you work on and they might be exploitable. [10:23.350 --> 10:28.990] The theme of this year's DEF CON is engage. And for better or for worse there are computers all [10:28.990 --> 10:33.890] around us. I think RISC-V is a chance to have some control over the compute substrate of our [10:33.890 --> 10:39.650] world. And that means both contributing directly to the ISA, the base architecture, and [10:39.650 --> 10:42.670] designing your own custom things on top. There's some really exciting stuff out there like [10:42.670 --> 10:49.230] Sherry which is a capability architecture on top of RISC-V. Last note on this, we had to fit [10:49.230 --> 10:53.070] two architectures into a 32K boot ROM and there are some fun tricks to do that. So [10:53.070 --> 11:00.720] definitely read the boot ROM source code and see what we had to do. Hacking challenge. We [11:00.720 --> 11:05.000] learned a lot working on the implementation of this chip. We tried to find all the standard [11:05.000 --> 11:09.180] tricks to make it a fun challenge. We expect to learn more things and we'd like to learn them [11:09.180 --> 11:14.960] sooner rather than later. So we're holding a challenge. It started yesterday, it continues for [11:14.960 --> 11:21.680] 30 days. We wanted to call it CTF, but we couldn't actually call it CTF. It's just a side [11:21.680 --> 11:27.560] quest. Hextree, stack smashing, worked with us on the firmware for this challenge. They also [11:27.560 --> 11:34.720] worked on the security evaluation of 2350 as well as new AE, a company. If you go to the URL [11:34.720 --> 11:40.640] here, so on our GitHub, 2350 hacking challenge, there are instructions. You can lock down your [11:40.640 --> 11:44.880] conference badge with a known boot signing key, a known secret, and you can try and hack [11:44.880 --> 11:50.640] it. If you think you've got through, we'll give you a Pico 2 with a random key and a random [11:50.640 --> 12:04.270] secret. And if you tell us the secret, you get $10,000. It's a very clear cut. One final [12:04.270 --> 12:09.990] request, we released a 1300 page data sheet for the chip. There will be mistakes in it. I'm [12:09.990 --> 12:14.930] hanging out at the ESV for the whole of DEF CON. If you tell me about a mistake, I will fix it or [12:14.930 --> 12:18.930] I'll get it fixed. We're doing daily releases. Improving the data sheet helps everyone at [12:18.930 --> 12:21.810] DEF CON who is working on the chip. Okay. Thank you. [12:30.950 --> 12:35.330] All right. Okay. Next up we have Joe Grand. [12:36.490 --> 12:42.130] Please, no applause. Those of you who know me know that I can't stand still while I'm talking [12:42.130 --> 12:47.570] so I'm going to kind of roam around. Yeah, my name is Joe Grand. Thank you for coming and [12:47.570 --> 12:50.710] watching. I'm going to talk about the hardware and then I'm going to talk about the firmware. [12:50.950 --> 12:55.530] And I'll tell some stories also because we had a lot of fun in the last couple weeks of trying [12:55.530 --> 12:58.970] to get this thing here. And if you've been at DEF CON before, you know there's always [12:58.970 --> 13:04.090] challenges with the badge at some point logistically or design wise or something. And I [13:04.090 --> 13:10.030] would say this surprisingly went pretty smoothly from a technical perspective. And that's like [13:10.030 --> 13:15.830] pretty amazing. So from the hardware side, kind of the block diagram of this, of course, the [13:15.830 --> 13:22.210] Raspberry Pi, the RP2350, and that uses as the microprocessor external SPI flash. What do I [13:22.210 --> 13:28.570] have on there? Is it a 32 megabit? Is that right? 32 megabit flash for the code is on there. And [13:28.570 --> 13:33.670] kind of working outwards, of course we have the display. That has a touch screen as well. So [13:33.670 --> 13:37.770] when we talk about the firmware, there's actually some capability that you can use in that [13:37.770 --> 13:41.270] also. You can build it into stuff. I'm not sure if it's built into the game but you can at [13:41.270 --> 13:46.090] least use that hardware after the event which is pretty cool. A lot of blinky lights. [13:46.090 --> 13:50.590] Everybody likes blinky lights. Standard types of LEDs for that. A lot of push buttons for the [13:50.590 --> 13:54.730] different things as you've seen. Power control circuitry. So you can actually have USB [13:54.730 --> 13:59.670] charging as you've probably all noticed. When the batteries came in, so the batteries from a [13:59.670 --> 14:03.810] logistic perspective, those came in early and they sat and usually when you're ordering [14:03.810 --> 14:08.090] lithium ion batteries, they are not fully charged when they're shipping because if there's [14:08.090 --> 14:13.270] damage and they catch on fire, so charging those, you've probably since you've been here [14:13.370 --> 14:16.450] already for a couple hours probably already charged those and I see most of them on. So the [14:16.450 --> 14:22.030] power control circuitry can either charge a lithium ion battery that's internal or just power [14:22.030 --> 14:26.350] from the USB also. So if you don't have a battery in it, you can still have it powered [14:26.350 --> 14:30.270] like indefinitely if you're doing something with it after the con that you want to like, you [14:30.270 --> 14:38.050] know, do some Raspberry Pi magic with. The SAO, there's micro SD card. That's what you use to [14:38.050 --> 14:43.530] load new firmware in and there's also a bunch of DEF CON information on it, right? There's [14:43.530 --> 14:44.570] like stuff. [14:44.570 --> 14:48.870] Right. So the official DEF CON sound track is on the SD card so you can pop it out and check [14:48.870 --> 14:53.010] that out later. And then, yeah, I don't remember what else we put on it. [14:53.010 --> 14:59.490] Yeah, some secret. So if you look in your badge, that's not required for actual operation and [14:59.490 --> 15:03.710] it's even a branded DEF CON micro SD card, which is pretty cool. So yeah, that's not [15:03.710 --> 15:07.870] required. If you want to load new firmware in, you could load code in that way and I think [15:07.870 --> 15:12.890] there's actually a way to do it USB based as well. So it's a nice added feature. But yeah, [15:12.890 --> 15:15.530] take that out, check it out and see what's on it and insert it into your friend's [15:15.530 --> 15:21.370] computer. Yeah, see what happens. We have an infrared speaker, of course. Infrared [15:21.370 --> 15:26.710] transceiver is connected over UART and that's not implemented in the game code but kind [15:26.710 --> 15:31.050] of left as a challenge if you want to implement it. What was the original intent for that? [15:31.050 --> 15:35.630] We made an attempt. The idea was that we want people to interact with each other at the [15:35.630 --> 15:41.630] CON. And so if you go into your inventory and go to trade an item with someone else, it [15:41.630 --> 15:49.350] sort of hangs and you can go like IR to IR. And I mean, now it's a challenge. So if somebody [15:49.350 --> 15:53.370] wants to make that work, go for it. And there is some support and some of the firmware stuff [15:53.370 --> 15:58.310] we'll talk about. So hardware works and then you can implement it. There are three things [15:58.310 --> 16:02.570] attached on the I squared C bus which is a very common interchip communication bus. You can [16:02.570 --> 16:06.670] add additional stuff on there too if you want to. You just need a clock and data line. But [16:06.670 --> 16:11.690] here we have the accelerometer for the detection of your position. Analog to digital [16:11.690 --> 16:18.230] converter that's used for the battery kind of power gas gauge. And I think it's all it's used [16:18.230 --> 16:21.590] for right now. But there is analog to digital converter if you want to add additional sensors [16:21.590 --> 16:27.170] or whatever. Feeding in analog to that. The real time clock also has a purpose. [16:27.290 --> 16:32.430] Yeah, if you check out the track rooms like right now on your badge, it will say that we're [16:32.430 --> 16:36.450] giving a badge talk right now. If you set your time correctly when you started up your badge, [16:36.450 --> 16:42.950] you can do that for any of the rooms in the game. Thanks for putting those in. So you can check [16:42.950 --> 16:47.250] out the con that way which is also pretty cool. Yeah. And then the touch screen controller of [16:47.250 --> 16:52.230] course controls the touch. So right. Some of you might be wondering why am I up here. I didn't do [16:52.230 --> 16:57.730] the hardware design. I didn't do the firmware design. Because of the challenges, Mar ended up [16:57.730 --> 17:02.410] calling me a couple weeks before production manufacturing started and said, hey, we need [17:02.410 --> 17:07.990] some extra help. The boards were designed but the ones that were going to be used for production [17:07.990 --> 17:13.910] hadn't been tested yet and we were about to make 29,770 or something. And we needed to go to the [17:13.910 --> 17:18.770] factory and help them get ramped up. Because that's the critical part. We were using ICSN, an [17:18.770 --> 17:25.790] amazing company, Korean company based with a facility in Vietnam. And it's always much better [17:25.790 --> 17:30.190] to do things in person. Like a lot of times people like to just send emails or a Zoom call or [17:30.190 --> 17:33.990] something. But when you're building physical things, being in person, having that relationship [17:33.990 --> 17:39.830] and solving problems and everything on site is the best. Totally worth it. So we decided, hey, [17:39.830 --> 17:45.570] let's go and monitor the first boards off of the line to make sure that they're working. Let's get [17:45.570 --> 17:49.710] everything ramped up. Let's solve whatever problems we can within the 48 hours that we were [17:49.710 --> 17:56.150] on the ground in Vietnam. So super fun. This is a view of what the manufacturing, part of what the [17:56.150 --> 18:03.010] manufacturing facility looks like. Very clean, non-hackerish looking. It's a professional [18:03.010 --> 18:11.050] facility. And 30,000 pieces for them was like, okay, side quest. Which is pretty cool. So that [18:11.050 --> 18:18.890] shows the line going from initial put the board in, put the solder mask on, sorry, put the solder [18:18.890 --> 18:23.810] paste on. There's automated optical inspection for each stage. Components go on, pick and place, [18:23.810 --> 18:29.270] machine goes through the reflow oven, ends up at the end. And what we're seeing here and why I love [18:29.270 --> 18:35.090] this picture is the first boards that are for production are about to come off the line and the [18:35.090 --> 18:40.550] whole engineering team from the company is there. Like top level executives down to the managers [18:40.550 --> 18:45.610] that are on the floor working with people. The excitement of stuff and Mar and I were just [18:45.610 --> 18:50.670] completely giddy. To see this is such a cool part that you don't normally get to see, right? You [18:50.670 --> 18:56.430] make products or whatever. This is so cool that everybody was there. And so it comes out of the [18:56.430 --> 19:01.430] oven. And then what do we have next? Oh, yeah. The picture. Those are the first two coming out [19:01.430 --> 19:06.650] of the oven of actual production manufacturing units. And we were very happy with those. But [19:06.650 --> 19:12.490] then we had to say, okay, we have the hardware assembled onto the board. We need to make sure [19:12.490 --> 19:18.010] that this factory can assemble them and test them so when they arrive at DEF CON, most of them [19:18.010 --> 19:22.310] work. There's always going to be some amount, some percentage of things that fail with hardware. [19:22.430 --> 19:26.070] But we want to make sure everything works. So what was missing was this test procedure of [19:26.070 --> 19:32.610] let's make sure we have a way that the factory can test all the critical components, [19:32.610 --> 19:36.570] program the SD cards, package it, all of these things that really had to be done in person. So [19:36.570 --> 19:41.350] this was our war room and they had food coming in and we were there cranking, I don't know, [19:41.350 --> 19:45.890] eight hours or so and people coming in and out and trying different things. And actually one of [19:45.890 --> 19:52.390] the first badges that came back, one of the chips was flipped on the I squared C bus. So [19:52.390 --> 19:56.750] basically that chip was preventing other devices from working and so the power on self test that [19:56.750 --> 20:01.090] was happening was failing. Test procedure was failing and we're like, what is going on? And [20:01.790 --> 20:05.350] somebody at the facility figured it out while we were actually visiting a different facility, [20:05.350 --> 20:09.490] which we'll talk about. And we came back and they're like, oh, yeah, so that part, just a [20:09.490 --> 20:13.750] part position broke everything. So luckily that was something that got fixed. But a lot of [20:13.750 --> 20:18.250] little challenges like that throughout the day. Those snacks were the best part. [20:19.430 --> 20:23.830] Are they cheering for the badge? Maybe they are. Yeah, so this is the team and we're very, [20:23.830 --> 20:30.950] very happy we have the first units. And what we also did, which I think is next, is visit, [20:30.950 --> 20:37.130] oh, maybe it's not in there. It's gone. We went to go visit the injection molding facility. So [20:37.130 --> 20:42.690] those plastics are freaking awesome. Right? I mean, it's like, do you see, have you seen a badge [20:42.690 --> 20:48.110] with fully injection molded plastic around electronics? I don't think so. And I experimented [20:48.110 --> 20:52.190] with this last year and we ended up hitting a lot of issues because we'd never done it before. [20:52.190 --> 20:56.050] But no electronics in it. No electronics. So just the plastic injection molding. And that was [20:56.050 --> 21:00.910] polycarbonate last year. This one's ABS, which is a great material, but it was so fun to do. And [21:00.910 --> 21:06.490] yeah, so we got to get these samples right off the line, like hot out of the thing. Like here you go. [21:06.490 --> 21:10.090] Yeah. Hot out of the oven. They were still melted plastic. They basically take a mold that's made [21:10.090 --> 21:15.870] out of like steel and squirt it full of hot plastic and you get these pieces out and they [21:15.870 --> 21:20.510] were all clear. And if you've noticed some of the speaker badges and other badges have colors. [21:20.950 --> 21:24.930] Mar was actually going to take those and dye them at home before bringing them to Defcon. [21:24.930 --> 21:29.290] It was going to take too much time to actually go between the colors and clean the machine. So I was [21:29.290 --> 21:32.410] like, well, what if we just don't clean the machines? And it's like, you know, the Jolly [21:32.410 --> 21:38.010] Ranchers or no, Dum Dums that are like the mystery flavor Dum Dums. And they just like keep running [21:38.010 --> 21:42.530] it through to the next flavor. So yeah, it's like different colors. We ended up getting some [21:42.530 --> 21:46.570] in-between flavors, which is pretty cool. And instead of you having to do them at home, [21:46.570 --> 21:49.670] the facility did it. And yeah, it was like vinyl records and all the different colors. [21:49.670 --> 21:51.830] That was going to be crazy. I was willing, but I didn't want to. [21:51.830 --> 21:55.090] Really? I mean, they turned out really cool. So yeah, that was another step. [21:55.350 --> 21:59.790] So onto the firmware. So Dimitri Greenberg, who's done some really wild hardware hacking [21:59.790 --> 22:03.870] and firmware development and everything, did the firmware. And what's running on these badges is, [22:03.870 --> 22:09.010] I guess it's called a micro Game Boy, but it's a Game Boy emulator. And this is pretty cool. [22:09.270 --> 22:12.710] I think he started it, wrote it all from scratch, but I think started it [22:12.710 --> 22:19.470] within a tent of the RP2040 and then went to the 2350. And a lot of really cool stuff. You know, [22:19.470 --> 22:24.770] people have loaded Game Boy games. Jaku, I don't know if he's in here, but I don't even know the [22:24.770 --> 22:30.470] link, but he made a already has like hacked some of the code and done some other Game Boy related [22:30.470 --> 22:36.130] stuff. Jaku. I don't know his Twitter, but he has some links to some firmware hacking stuff [22:36.130 --> 22:43.030] already. So yeah, lots of custom APIs and there's some documentation on that, I believe, on a [22:43.030 --> 22:48.170] website that hopefully will remain there. There is, so you can save games and I think there's a [22:48.170 --> 22:56.730] current bug. Is that still being worked on, do you know? Fixed? Okay. So some of you may have [22:56.730 --> 23:00.170] noticed if you try to save the game, there's a little bug there. So that's being fixed. [23:00.470 --> 23:04.490] Still plenty of time for that. Or if you fix it first, let us know and then that's cool. [23:04.490 --> 23:14.090] Yeah, definitely. Okay. Yeah. Right. Written in ARM. So full on assembler and full on emulator [23:14.090 --> 23:20.710] here for Game Boy stuff. Yeah, so Dimitri also wrote this thing called Repalm. So who remembers [23:20.710 --> 23:28.050] Palm OS? Palm pilots. Yeah, that kind of shows the age of maybe half the people at DEF CON. [23:28.550 --> 23:33.370] There's some really cool stuff. Palm OS was one of the first early mobile platforms that actually [23:33.370 --> 23:37.790] worked as opposed to like the Apple Newton. But there's a lot of really cool apps that you can [23:37.790 --> 23:42.970] run on Palm OS. So this is not only Game Boy, it's Palm OS, it's new Raspberry Pi for whatever [23:42.970 --> 23:48.250] you want to do and totally wild. Oops. We missed a slide. How do I go back? [23:48.250 --> 23:55.990] Oh, yeah. I think it's just the left. Yes. So this factory, as soon as we left Vietnam, [23:55.990 --> 24:02.450] they started manufacturing all of the boards and then a couple weeks later, the firmware was done. [24:02.450 --> 24:07.490] They started loading those basically with gold standard SD cards. They put those into every [24:07.490 --> 24:12.570] badge after doing the test procedure, load the game code onto there and then insert the DEF CON [24:12.570 --> 24:17.910] one that goes to you, wrap those all up, put them in these massive pallets. How many pallets were [24:17.910 --> 24:25.530] there? Do you know? 19 pallets. 19 pallets of this and went along air or ship? Air. [24:25.530 --> 24:31.470] Went air. Flew all the way here and now you are all wearing them. So that is the story of the [24:31.470 --> 24:47.590] DEF CON badge. Great. All right. I'm going to open it up to Q&A. If anybody has questions for our [24:47.590 --> 24:55.830] crew up here, I'll just let you guys take it if you want to call on people. Are there microphones [24:55.830 --> 25:02.230] at ‑‑ actually, this might be the microphone for the questions or is there ‑‑ oh, there's a [25:02.230 --> 25:08.110] Raspberry Pi chip. Did you mention this is the first product that's actually using ‑‑ the [25:08.110 --> 25:13.610] first 30,000 off the line. Yeah. Talking about risk, that actually was ‑‑ when we were testing [25:13.610 --> 25:18.390] these, we had one revision earlier of the chip and then we had to put the final ‑‑ the chips [25:18.390 --> 25:22.890] are the version 8 rev A2 or whatever it's called, showed up at the factory right before we were [25:22.890 --> 25:28.450] leaving from Korea ‑‑ sorry, from Vietnam and they slapped a chip on there, did the testing, [25:28.450 --> 25:33.710] it was okay. That's a big risk and it worked out because the support from Raspberry Pi was [25:33.710 --> 25:52.030] ridiculous also. There's a ton of questions now. Yes. So the cat came all the way from Denver on [25:52.030 --> 25:57.670] top of my car and I don't want it to come home. Somebody wants to make me an offer or steal it [25:57.670 --> 26:17.070] at the end of the con. It's fair game. So we are working on that and we'll put some releases out [26:17.070 --> 26:25.930] on DEF CON.org so keep an eye out and we'll make a post about it. Is that our feedback? [26:25.930 --> 26:33.950] Where's the AV? Was that us? No. Not us. Right. And on the hardware, the schematics, all of that [26:33.950 --> 26:37.810] stuff also all going to be in the same location on the DEF CON server. Yeah, so we'll release [26:37.810 --> 26:42.630] everything. Sources and all that stuff. So probably stay tuned to the DEF CON Twitter, [26:42.630 --> 26:48.830] probably. I think it's like DEF CON.org slash badge slash 32. It's in the program as well if [26:48.830 --> 26:54.470] you forget what the link is. So sometime later today we will release something, some [26:54.470 --> 27:07.590] instructions, yeah. Oh, yeah, sure. There's also a discord if you guys want to hop on and talk to [27:07.590 --> 27:34.870] folks. Cool. If you can, you can continually get QR codes? Oh, I don't, you want to take it, [27:34.870 --> 27:45.450] Bonnie? I believe there's only a set number of QR codes, right? 12. 12 QR codes, 12 photos, and [27:46.210 --> 27:51.470] yeah, that's about it on the collectible. That's all. And then it will fill up that deal. Yeah. So [27:51.470 --> 27:56.210] it's not QR codes forever. If there's some kind of bug, I'm not sure. The cool thing about it is [27:56.210 --> 28:00.750] that we wrote it really fast and it's like, let's just see what this thing can do and then people [28:00.750 --> 28:20.950] tell us later. Yeah. Thank you. Oh, hi. Wow. How are you? Yes. Thank you. Thank you, yes, [28:20.950 --> 28:28.730] DEF CON 14. Don't get any expectations about future badges, but yeah, good seeing you. [28:38.330 --> 28:42.390] So we are still ramping up production. We have a few hundred thousand going through tests right [28:42.390 --> 28:53.070] now. They will be available soon. But there are some development boards available now, right? [28:53.070 --> 28:56.930] From other places you can buy right now. Also, if you come find us in the ESV, I can give you [28:56.930 --> 29:17.300] some sample chips. I can't compare the size. I can say that taking them out would not make the [29:17.300 --> 29:30.720] chip die smaller. Well, I knew exactly what shape hole the core was going to fit into and I [29:30.720 --> 29:35.060] designed it to fit. So the engineer who put that in the system had them running in about two [29:35.060 --> 30:22.030] hours. I see Will down here nodding yes and he's probably the one to know, so. Sure. So it's on [30:22.030 --> 30:26.350] the Pico 2, which we announced yesterday, and you can also buy chips. You can buy the boards. [30:38.270 --> 30:58.910] Yes. No, so the game doesn't use it, but it's on there. You can play with it. It's a thing. I [30:58.910 --> 31:07.510] can't hear. Sorry, can you repeat that? Oh, yeah, that's my bad. I can't hear you. Oh, yeah, [31:07.530 --> 31:48.070] that's my fault. But the DEF CON site will actually have stuff on it. So there was some [31:48.070 --> 31:53.670] misunderstanding with kind of vendor relationships and as you saw from that photo, that was [31:53.670 --> 31:59.130] sort of unauthorized code put into the DEF CON badge. Sometimes Easter eggs are fun. Other [31:59.130 --> 32:04.090] times, if somebody is making it look like they're getting the short end of the stick when [32:04.090 --> 32:09.490] they're not, there's just a lot of engineering processes and a lot of vendor kind of things that [32:10.210 --> 32:19.790] just didn't feel right for the relationship. People, I can't speak to the compensation side of [32:19.790 --> 32:26.650] things because that's not what we do. That's a DEF CON group thing, but it just having that in [32:26.650 --> 32:31.570] there was just unacceptable from a community perspective where we're all trying to build a [32:31.570 --> 32:37.110] badge and build something that people can enjoy and having a dig like that just felt wrong given [32:37.110 --> 32:42.550] a lot of the conversation around it. We wanted to make sure Dimitri in particular would get [32:42.550 --> 32:46.630] credit and because the work he did was amazing and the stuff he's done is amazing, but it just [32:47.390 --> 32:57.770] as you saw from the situation, the powers that be did not want certain people to have credit for [32:57.770 --> 33:01.250] things when it's kind of putting a damper a little bit on all of the hard work that had been [33:01.250 --> 33:07.550] done. I would never make a good politician, but that's just how it is. Vendor relationships and [33:07.550 --> 33:12.450] some kind of mistreatment of people behind the scenes caused the engineering to kind of stop [33:12.450 --> 33:16.510] and then the relationship of firmware was between the engineering vendor and Dimitri, not [33:16.510 --> 33:23.190] DEF CON and Dimitri, so it's very hairy, but we appreciate the work, of course, and it's just [33:23.190 --> 33:28.490] unfortunate when things like that come up in a public setting. It was just unnecessary. [33:51.440 --> 34:11.330] Yeah, I believe we were going to put that up on GitHub, I believe, is what we were doing, so [34:11.330 --> 34:16.090] everyone's going to have that really soon. As you can see, I was extremely busy in the vendor [34:16.090 --> 34:23.050] area, four more, but as soon as we're done with this, I'm working on that to get that to y'all. [34:23.490 --> 34:33.190] With the real-time clock issue, it was working correctly within the GB studio itself, but for [34:33.190 --> 34:40.110] some reason when it went over to the badge, like you said earlier, it goes a day later is what's [34:40.110 --> 34:45.610] actually happening with the real-time clock, so we're going to work on that. We're going to get [34:45.610 --> 34:55.030] the save fix happening, and you specifically told me about a workaround to actually get the save [34:55.030 --> 34:59.890] file to load. If you can explain that. [34:59.890 --> 35:03.010] So basically, the game... [35:43.460 --> 35:54.900] Yeah, so if y'all got that. Yeah, if y'all got that, I really thank you for finding that, because [35:54.900 --> 36:03.940] for now it's a workaround we can use until the save gets actually fixed today, so thank you. Thank [36:03.940 --> 36:05.100] you so much. [36:10.300 --> 36:17.340] I was wondering if it was possible to expound a little further on what some of these ports are, [36:17.340 --> 36:25.180] like the port between the gears, or what things can connect to the USB C port. [36:25.520 --> 36:29.580] Sure. Okay, so I'll answer that one, and I know we'll have time for one more question. So the [36:29.580 --> 36:33.880] port in the middle, that's called SAO, stands for shitty add-on, and that was created by sort of [36:33.880 --> 36:39.220] the community, the badge life community of people who wanted to make badges, but not full-on [36:39.220 --> 36:44.660] badges. So it basically, this is actually the, I don't remember the V whatever 69, it's the [36:44.660 --> 36:49.240] second generation of the SAO. The original one was four pins, this is six pins, it's power [36:49.240 --> 36:55.520] ground, I squared C, so clock and data, so you can have your microcontroller do other stuff [36:55.520 --> 37:00.640] over that bus, and then there's two GPIO pins connected directly to the Raspberry Pi. So it's [37:00.640 --> 37:05.560] just an enhancement port for badge life. I don't remember what the other question part of that [37:05.560 --> 37:09.280] was, but, yeah, lots of other ports on there, and they're telling us, yeah, we have one more [37:09.280 --> 37:19.500] question. Oh, USB-C, what about it? Oh, well, USB-C doesn't have a DFU. So you can drag and [37:19.500 --> 37:23.600] drop USB program, you can program the OTP, or you can use it for general USB stuff like bulk [37:23.600 --> 37:42.410] transfers. Sweet. Okay. One more. There is not really a badge challenge. The challenge is, [37:42.430 --> 37:47.370] there's a whole lot of stuff to play with on this thing, and I really just want people to be [37:47.370 --> 37:53.490] creative and come up with stuff and show me, and that's amazing, but I don't have any official [37:53.490 --> 38:06.600] challenge for you this year. All right. I think that's it. Thank you, guys. I love seeing all [38:06.600 --> 38:12.180] your blinking lights and all your SAOs, and thank you so much.