WEBVTT

00:00.000 --> 00:03.280
Hey, thank you for coming to the badge talk this year.

00:04.560 --> 00:13.680
We've got the designers and the creators and somebody who's leaving who was also somewhat tangentially involved.

00:14.960 --> 00:26.900
And so it's my privilege to introduce Mar Williams, the principal conceptualist designer and the team she assembled to make this happen.

00:26.900 --> 00:35.880
We've got all these incredible slides and some stories to tell you about the thinking behind the badge, how we try to involve community in it, the outcome.

00:36.660 --> 00:44.540
We have one of our partners, you might have noticed in the program, Raspberry Pi has launched and announced a new chip that was involved.

00:44.540 --> 00:47.480
So we get to hear from them and their new hardware.

00:48.080 --> 00:50.840
And so I hope you enjoy it.

00:50.920 --> 00:51.820
Thank you very much.

00:51.820 --> 00:52.700
Take it away, Mar.

01:00.010 --> 01:01.130
All right.

01:01.130 --> 01:02.230
Hi, guys.

01:04.650 --> 01:05.370
All right.

01:05.370 --> 01:06.890
How do I go forward here?

01:07.270 --> 01:08.310
There we go.

01:08.310 --> 01:08.630
Okay.

01:08.630 --> 01:08.890
Hi.

01:08.890 --> 01:09.990
I'm Mar Williams.

01:09.990 --> 01:15.250
I did the concept design and coordination of the badge project this year.

01:15.550 --> 01:17.490
You can see my art around con.

01:17.490 --> 01:21.170
My first art for DEF CON was DC 17.

01:21.470 --> 01:27.520
I've shared two hacker spaces and run a collective art space in Denver called Cabal Gallery.

01:27.980 --> 01:33.280
Last year's badges, the DC 31 badges, were a non-electronic year.

01:33.680 --> 01:44.380
We had some manufacturing issues and I just wanted you guys to know that if you have your last year's paper badge, replacement badge, you can go trade it in at one of the info booths.

01:44.380 --> 01:49.460
There's the big one under the main screen and get the ones that came in after the con.

01:50.220 --> 01:50.900
Okay.

01:50.900 --> 01:53.300
And you can find me in the vendor area afterwards.

01:53.560 --> 01:58.040
I want to introduce the team Cat Ball is what we're calling ourselves.

01:58.580 --> 02:01.060
Bonnie Finley up here on stage.

02:01.360 --> 02:11.620
She did the 3D modeling for the case and did all the heavy lifting on creating the game in GB studio.

02:13.720 --> 02:17.080
In, like, a crazy short amount of time, by the way.

02:17.560 --> 02:18.060
And I'm going to show you the artwork .

02:18.540 --> 02:21.500
All the art in the game is also hers.

02:23.460 --> 02:28.680
Dimitri, who was on the stage just a moment ago, did the firmware and emulator.

02:28.720 --> 02:31.180
And we have some slides for him that we'll show in a minute.

02:31.700 --> 02:41.240
Chris who actually created GB studio, which is completely open source drag and drop environment for creating your own Game Boy games.

02:41.520 --> 02:46.680
He helped us with some plug-ins that are badge specific that work with, like, the IR.

02:47.960 --> 02:52.220
And he also created, like, the character creator that you see on your game.

02:53.120 --> 03:04.140
Will Tuttle, who is out there in the audience somewhere, helped a ton back and forth with concept and narrative collab so that we had a really cool story to tell on the badge.

03:05.540 --> 03:09.900
Ada, who is right here, made a super cool dragon.

03:10.760 --> 03:11.440
Yeah.

03:11.440 --> 03:15.540
So if you choose the dragon, you are playing Ada's art.

03:17.220 --> 03:18.000
Okay.

03:18.000 --> 03:24.860
And then Raspberry Pi is Raspberry Pi and we love them and they're going to talk here in a minute.

03:28.160 --> 03:34.160
And Tropic Engineering was the hardware contractor and you can see their logo on the back of the badge here.

03:34.560 --> 03:40.980
Joe Grand, who came in sort of last minute and then did his magic ninja work.

03:41.320 --> 03:43.820
So he'll talk more later.

03:43.920 --> 03:45.340
Legion 303.

03:45.340 --> 03:49.180
So he put together music and sounds for the badge.

03:49.180 --> 03:53.880
They don't play within the game, unfortunately, but I've included them on the SD cards.

03:53.880 --> 04:03.440
So if you want to hear the bleeps and bloops and renditions of MC Frontalot and Dual Core, you can check those out later.

04:04.100 --> 04:04.480
Okay.

04:04.480 --> 04:06.800
And ICSN as our manufacturing partner.

04:10.020 --> 04:11.280
All right.

04:11.440 --> 04:11.880
Okay.

04:11.880 --> 04:16.980
So this is just an early concept on the left here of what I wanted to do.

04:16.980 --> 04:24.680
I wanted to use an orientation sensor so that when you're wearing the badge, your little character is representative of you.

04:24.680 --> 04:35.860
And we didn't get quite that far, but you can choose one of the characters in the game and if you flip it, after like a minute, it will pop up on your screen and you can have your little dragon or cat or whatever.

04:36.640 --> 04:50.060
There's LEDs that you can change the color of in the game and I see a ton of you out there wearing your expression on your badge and I love that and that was kind of part of the concept is to let you guys be as expressive as you could.

04:51.980 --> 04:52.780
Okay.

04:54.960 --> 04:58.940
So you have your wearable character and your color changes.

04:59.540 --> 05:20.000
Accessibility was a huge deal for me because when I got involved with all this with like the rise of hacker spaces like 2008, something like that, that's when things like this started coming on the scene where it was like people like me who I'm an artist and not like a hardcore hardware engineer or anything could get involved and create something.

05:20.380 --> 05:24.360
And so I wanted other people to be able to take this home and do something really rad.

05:24.360 --> 05:31.220
So I went and tried to find Raspberry Pi and luckily they wanted to work with us so here's where we are.

05:32.380 --> 05:39.060
SAOs are supported and I noticed that a bunch of you are wearing your SAOs and they're super cool and I hope to see more of them.

05:40.240 --> 05:46.780
You can load up your own ROMs onto the game so you can play whatever game you want on here if you really want.

05:47.660 --> 05:52.680
And if you want to make your own game, you can go use GBStudio and make one in a hurry.

05:53.380 --> 05:58.160
If you want to create your own firmware, you can use the RP 2350 SDK.

06:07.930 --> 06:13.210
So we ran into some challenges as you saw at the beginning of the talk here.

06:14.410 --> 06:23.130
Our hardware contractor left us out of some crucial and standard processes which eventually led for us to part ways and call in the help of Joe Grant.

06:23.850 --> 06:30.870
So you can see by this little Easter egg that was brought to our attention earlier today that they weren't very happy about that.

06:32.790 --> 06:39.530
So you can also see that Entropic is credited on the back of the badge and the firmware on my blog earlier today.

06:41.650 --> 06:44.350
I just want to do hacker stuff with my friends.

06:47.570 --> 06:51.450
So without further ado, I

06:57.710 --> 07:05.230
will give you some microcontrollers at Raspberry Pi and I worked on the chip that's on everyone's badges today.

07:05.830 --> 07:07.250
I'd like to talk about three things.

07:07.250 --> 07:09.150
The first one is the chip on the badge.

07:09.150 --> 07:13.150
The second one is one of the processor architectures on that chip.

07:13.370 --> 07:18.150
And the third one is our hacking challenge for everyone here and everyone who has GitHub.

07:19.310 --> 07:24.930
So RP 2040 was our first microcontroller, took our team from zero to microcontroller.

07:25.250 --> 07:27.910
This is a similar increment.

07:28.510 --> 07:29.890
So we have some low power states.

07:29.890 --> 07:32.550
The whole system can power itself up and down.

07:33.050 --> 07:34.310
We doubled the RAM.

07:34.410 --> 07:37.310
You can attach more RAM over QSPI up to 8 megabytes.

07:38.150 --> 07:47.710
Security extension is what's also called trust zone M and we extend those security boundaries out through the system with some system level hardware.

07:48.970 --> 07:55.750
It's pretty beefy processor wise and we also offer more GPIOs up to 48 and larger package.

07:55.770 --> 08:00.330
Flash in package if you want it so you can have 2 megs of flash on device.

08:01.130 --> 08:09.210
There's a lot of security stuff hardware wise I won't cover here but we do have on device storage and that's used for your boot signing keys.

08:09.270 --> 08:12.450
You can use it for symmetric and private keys for decryption as well.

08:12.530 --> 08:17.750
You can lock things down page by page either hardware or soft locks to revoke things after boot.

08:18.910 --> 08:20.510
We have a secure implementation.

08:20.710 --> 08:22.250
I'm not going to speak much about it here.

08:22.250 --> 08:23.990
It's in chapter 5 of the data sheet.

08:24.390 --> 08:30.670
The last thing to mention on that is all of the source code for the ROM including the secure boot is open source.

08:30.690 --> 08:33.950
It's on GitHub and it's BSD3 licensed so everyone can use it.

08:40.990 --> 08:43.210
So I said there are 2 processors.

08:43.210 --> 08:44.890
We have 2 codex M33s.

08:44.890 --> 08:46.110
It's a dual core system.

08:46.370 --> 08:49.150
We use codex M because we think they're the best in class.

08:50.090 --> 08:52.690
But one of my little hobby projects made it in as well.

08:52.890 --> 08:55.410
So RISC 5 is an open instruction set.

08:55.410 --> 08:56.430
Anyone can implement it.

08:58.030 --> 09:03.590
It's actually quite hard to find a real commercial bit of silicon with an open source processor on it.

09:03.590 --> 09:08.850
So if you read the data sheet there is a link in the data sheet to the source code.

09:08.870 --> 09:09.710
You can download it.

09:09.710 --> 09:10.790
It's Apache 2 licensed.

09:10.790 --> 09:12.190
You can modify the processor.

09:12.310 --> 09:13.470
Put it on FPGA.

09:13.470 --> 09:14.510
Tape it out yourself.

09:15.790 --> 09:17.530
It started out as a hobby project.

09:17.530 --> 09:21.170
It's forked from hazard 5, one of my earlier projects.

09:21.170 --> 09:24.350
The initial rework to a 3 stage pipeline took a few days.

09:24.430 --> 09:26.550
At that point it was about 90% done.

09:27.090 --> 09:29.590
The remaining 10% of the project took 3 years.

09:29.950 --> 09:33.390
So it was finished on Wednesday night before DEF CON.

09:33.390 --> 09:35.230
They had to launch it before we launched the chip.

09:36.770 --> 09:42.290
We want to build the best

09:46.930 --> 09:58.330
education platform we can for embedded systems and I'm picturing people doing university labs where they work with the processor on MCU, go home, read the source code, modify the processor, put it on FPGA dev board.

09:58.430 --> 10:04.250
As well as the source, the entire commit history for the project is open source which means, sorry, is public.

10:04.270 --> 10:09.470
So every mistake I made during development is documented as well as the resolutions.

10:10.110 --> 10:22.090
If you are a security researcher working in embedded systems, I think it's interesting to see the types of mistakes that hardware designers make because there might be similar hardware bugs in the systems you work on and they might be exploitable.

10:23.350 --> 10:26.390
The theme of this year's DEF CON is engage.

10:26.830 --> 10:29.870
And for better or for worse there are computers all around us.

10:29.890 --> 10:34.510
I think RISC-V is a chance to have some control over the compute substrate of our world.

10:34.950 --> 10:41.090
And that means both contributing directly to the ISA, the base architecture, and designing your own custom things on top.

10:41.090 --> 10:45.910
There's some really exciting stuff out there like Sherry which is a capability architecture on top of RISC-V.

10:46.730 --> 10:53.070
Last note on this, we had to fit two architectures into a 32K boot ROM and there are some fun tricks to do that.

10:53.070 --> 10:55.570
So definitely read the boot ROM source code and see what we had to do.

10:58.620 --> 10:59.600
Hacking challenge.

11:00.360 --> 11:03.440
We learned a lot working on the implementation of this chip.

11:03.760 --> 11:06.640
We tried to find all the standard tricks to make it a fun challenge.

11:06.740 --> 11:10.360
We expect to learn more things and we'd like to learn them sooner rather than later.

11:10.860 --> 11:12.460
So we're holding a challenge.

11:12.660 --> 11:15.980
It started yesterday, it continues for 30 days.

11:16.320 --> 11:21.200
We wanted to call it CTF, but we couldn't actually call it CTF.

11:21.200 --> 11:22.460
It's just a side quest.

11:23.080 --> 11:27.080
Hextree, stack smashing, worked with us on the firmware for this challenge.

11:27.120 --> 11:32.600
They also worked on the security evaluation of 2350 as well as new AE, a company.

11:33.080 --> 11:39.520
If you go to the URL here, so on our GitHub, 2350 hacking challenge, there are instructions.

11:39.760 --> 11:45.400
You can lock down your conference badge with a known boot signing key, a known secret, and you can try and hack it.

11:45.660 --> 11:51.360
If you think you've got through, we'll give you a Pico 2 with a random key and a random secret.

11:51.960 --> 11:54.900
And if you tell us the secret, you get $10,000.

11:54.900 --> 11:55.920
It's a very clear cut.

12:03.530 --> 12:08.230
One final request, we released a 1300 page data sheet for the chip.

12:08.370 --> 12:09.730
There will be mistakes in it.

12:09.730 --> 12:12.930
I'm hanging out at the ESV for the whole of DEF CON.

12:12.950 --> 12:15.690
If you tell me about a mistake, I will fix it or I'll get it fixed.

12:15.690 --> 12:17.070
We're doing daily releases.

12:17.250 --> 12:20.570
Improving the data sheet helps everyone at DEF CON who is working on the chip.

12:20.950 --> 12:21.170
Okay.

12:21.170 --> 12:21.810
Thank you.

12:30.950 --> 12:31.910
All right.

12:33.470 --> 12:33.930
Okay.

12:33.930 --> 12:35.330
Next up we have Joe Grand.

12:36.490 --> 12:37.790
Please, no applause.

12:39.250 --> 12:44.130
Those of you who know me know that I can't stand still while I'm talking so I'm going to kind of roam around.

12:44.510 --> 12:45.890
Yeah, my name is Joe Grand.

12:46.210 --> 12:47.870
Thank you for coming and watching.

12:47.870 --> 12:50.710
I'm going to talk about the hardware and then I'm going to talk about the firmware.

12:50.950 --> 12:56.870
And I'll tell some stories also because we had a lot of fun in the last couple weeks of trying to get this thing here.

12:56.870 --> 13:03.710
And if you've been at DEF CON before, you know there's always challenges with the badge at some point logistically or design wise or something.

13:03.710 --> 13:09.550
And I would say this surprisingly went pretty smoothly from a technical perspective.

13:09.550 --> 13:11.210
And that's like pretty amazing.

13:11.210 --> 13:21.330
So from the hardware side, kind of the block diagram of this, of course, the Raspberry Pi, the RP2350, and that uses as the microprocessor external SPI flash.

13:21.490 --> 13:22.750
What do I have on there?

13:22.750 --> 13:24.550
Is it a 32 megabit?

13:24.550 --> 13:25.030
Is that right?

13:25.030 --> 13:28.470
32 megabit flash for the code is on there.

13:28.570 --> 13:30.650
And kind of working outwards, of course we have the display.

13:30.730 --> 13:33.250
That has a touch screen as well.

13:33.430 --> 13:38.090
So when we talk about the firmware, there's actually some capability that you can use in that also.

13:38.090 --> 13:39.370
You can build it into stuff.

13:39.370 --> 13:44.390
I'm not sure if it's built into the game but you can at least use that hardware after the event which is pretty cool.

13:44.930 --> 13:46.090
A lot of blinky lights.

13:46.090 --> 13:47.850
Everybody likes blinky lights.

13:48.250 --> 13:49.690
Standard types of LEDs for that.

13:49.690 --> 13:52.070
A lot of push buttons for the different things as you've seen.

13:52.290 --> 13:53.470
Power control circuitry.

13:53.470 --> 13:56.990
So you can actually have USB charging as you've probably all noticed.

13:57.110 --> 14:09.630
When the batteries came in, so the batteries from a logistic perspective, those came in early and they sat and usually when you're ordering lithium ion batteries, they are not fully charged when they're shipping because if there's damage and they catch on fire,

14:09.630 --> 14:15.830
so charging those, you've probably since you've been here already for a couple hours probably already charged those and I see most of them on.

14:15.830 --> 14:24.050
So the power control circuitry can either charge a lithium ion battery that's internal or just power from the USB also.

14:24.230 --> 14:32.810
So if you don't have a battery in it, you can still have it powered like indefinitely if you're doing something with it after the con that you want to like, you know, do some Raspberry Pi magic with.

14:33.250 --> 14:36.970
The SAO, there's micro SD card.

14:36.970 --> 14:43.230
That's what you use to load new firmware in and there's also a bunch of DEF CON information on it, right?

14:43.230 --> 14:44.570
There's like stuff.

14:44.570 --> 14:44.830
Right.

14:44.830 --> 14:49.750
So the official DEF CON sound track is on the SD card so you can pop it out and check that out later.

14:50.250 --> 14:53.010
And then, yeah, I don't remember what else we put on it.

14:53.010 --> 14:54.410
Yeah, some secret.

14:54.410 --> 15:02.990
So if you look in your badge, that's not required for actual operation and it's even a branded DEF CON micro SD card, which is pretty cool.

15:02.990 --> 15:04.210
So yeah, that's not required.

15:04.210 --> 15:10.410
If you want to load new firmware in, you could load code in that way and I think there's actually a way to do it USB based as well.

15:11.470 --> 15:12.710
So it's a nice added feature.

15:12.710 --> 15:16.310
But yeah, take that out, check it out and see what's on it and insert it into your friend's computer.

15:16.870 --> 15:17.910
Yeah, see what happens.

15:18.430 --> 15:21.010
We have an infrared speaker, of course.

15:21.010 --> 15:29.590
Infrared transceiver is connected over UART and that's not implemented in the game code but kind of left as a challenge if you want to implement it.

15:29.590 --> 15:31.050
What was the original intent for that?

15:31.050 --> 15:32.150
We made an attempt.

15:32.370 --> 15:36.030
The idea was that we want people to interact with each other at the CON.

15:36.030 --> 15:45.450
And so if you go into your inventory and go to trade an item with someone else, it sort of hangs and you can go like IR to IR.

15:46.390 --> 15:48.950
And I mean, now it's a challenge.

15:48.950 --> 15:51.090
So if somebody wants to make that work, go for it.

15:51.210 --> 15:54.090
And there is some support and some of the firmware stuff we'll talk about.

15:54.090 --> 15:57.170
So hardware works and then you can implement it.

15:57.250 --> 16:02.350
There are three things attached on the I squared C bus which is a very common interchip communication bus.

16:02.350 --> 16:04.710
You can add additional stuff on there too if you want to.

16:04.710 --> 16:06.330
You just need a clock and data line.

16:06.530 --> 16:11.050
But here we have the accelerometer for the detection of your position.

16:11.050 --> 16:16.490
Analog to digital converter that's used for the battery kind of power gas gauge.

16:16.610 --> 16:18.810
And I think it's all it's used for right now.

16:18.810 --> 16:22.450
But there is analog to digital converter if you want to add additional sensors or whatever.

16:22.790 --> 16:24.590
Feeding in analog to that.

16:24.590 --> 16:27.170
The real time clock also has a purpose.

16:27.290 --> 16:33.730
Yeah, if you check out the track rooms like right now on your badge, it will say that we're giving a badge talk right now.

16:33.730 --> 16:38.930
If you set your time correctly when you started up your badge, you can do that for any of the rooms in the game.

16:38.950 --> 16:41.470
Thanks for putting those in.

16:42.190 --> 16:45.210
So you can check out the con that way which is also pretty cool.

16:45.210 --> 16:45.570
Yeah.

16:45.570 --> 16:48.990
And then the touch screen controller of course controls the touch.

16:48.990 --> 16:50.370
So right.

16:50.370 --> 16:51.890
Some of you might be wondering why am I up here.

16:51.890 --> 16:53.350
I didn't do the hardware design.

16:53.350 --> 16:54.370
I didn't do the firmware design.

16:54.370 --> 17:03.510
Because of the challenges, Mar ended up calling me a couple weeks before production manufacturing started and said, hey, we need some extra help.

17:03.810 --> 17:12.870
The boards were designed but the ones that were going to be used for production hadn't been tested yet and we were about to make 29,770 or something.

17:12.890 --> 17:16.010
And we needed to go to the factory and help them get ramped up.

17:16.010 --> 17:17.430
Because that's the critical part.

17:17.430 --> 17:24.230
We were using ICSN, an amazing company, Korean company based with a facility in Vietnam.

17:24.430 --> 17:26.970
And it's always much better to do things in person.

17:26.970 --> 17:30.590
Like a lot of times people like to just send emails or a Zoom call or something.

17:30.590 --> 17:37.290
But when you're building physical things, being in person, having that relationship and solving problems and everything on site is the best.

17:37.290 --> 17:38.250
Totally worth it.

17:38.250 --> 17:45.330
So we decided, hey, let's go and monitor the first boards off of the line to make sure that they're working.

17:45.330 --> 17:46.370
Let's get everything ramped up.

17:46.370 --> 17:51.750
Let's solve whatever problems we can within the 48 hours that we were on the ground in Vietnam.

17:51.750 --> 17:52.910
So super fun.

17:52.910 --> 17:57.950
This is a view of what the manufacturing, part of what the manufacturing facility looks like.

17:57.950 --> 18:00.670
Very clean, non-hackerish looking.

18:00.670 --> 18:03.710
It's a professional facility.

18:03.710 --> 18:08.350
And 30,000 pieces for them was like, okay, side quest.

18:08.510 --> 18:09.850
Which is pretty cool.

18:09.850 --> 18:19.750
So that shows the line going from initial put the board in, put the solder mask on, sorry, put the solder paste on.

18:19.750 --> 18:22.170
There's automated optical inspection for each stage.

18:22.170 --> 18:27.650
Components go on, pick and place, machine goes through the reflow oven, ends up at the end.

18:27.650 --> 18:37.810
And what we're seeing here and why I love this picture is the first boards that are for production are about to come off the line and the whole engineering team from the company is there.

18:37.810 --> 18:42.290
Like top level executives down to the managers that are on the floor working with people.

18:42.290 --> 18:46.810
The excitement of stuff and Mar and I were just completely giddy.

18:47.330 --> 18:50.570
To see this is such a cool part that you don't normally get to see, right?

18:50.570 --> 18:52.430
You make products or whatever.

18:52.470 --> 18:54.890
This is so cool that everybody was there.

18:55.130 --> 18:57.110
And so it comes out of the oven.

18:57.210 --> 18:58.890
And then what do we have next?

18:58.890 --> 18:59.510
Oh, yeah.

18:59.510 --> 19:00.030
The picture.

19:00.030 --> 19:04.190
Those are the first two coming out of the oven of actual production manufacturing units.

19:04.190 --> 19:06.210
And we were very happy with those.

19:06.510 --> 19:10.990
But then we had to say, okay, we have the hardware assembled onto the board.

19:11.510 --> 19:18.590
We need to make sure that this factory can assemble them and test them so when they arrive at DEF CON, most of them work.

19:18.590 --> 19:22.310
There's always going to be some amount, some percentage of things that fail with hardware.

19:22.430 --> 19:23.890
But we want to make sure everything works.

19:23.890 --> 19:36.510
So what was missing was this test procedure of let's make sure we have a way that the factory can test all the critical components, program the SD cards, package it, all of these things that really had to be done in person.

19:36.510 --> 19:45.330
So this was our war room and they had food coming in and we were there cranking, I don't know, eight hours or so and people coming in and out and trying different things.

19:45.330 --> 19:52.250
And actually one of the first badges that came back, one of the chips was flipped on the I squared C bus.

19:52.290 --> 19:57.950
So basically that chip was preventing other devices from working and so the power on self test that was happening was failing.

19:57.950 --> 20:00.730
Test procedure was failing and we're like, what is going on?

20:00.810 --> 20:06.230
And somebody at the facility figured it out while we were actually visiting a different facility, which we'll talk about.

20:06.250 --> 20:11.270
And we came back and they're like, oh, yeah, so that part, just a part position broke everything.

20:11.550 --> 20:13.310
So luckily that was something that got fixed.

20:13.310 --> 20:16.490
But a lot of little challenges like that throughout the day.

20:16.610 --> 20:18.250
Those snacks were the best part.

20:19.430 --> 20:20.890
Are they cheering for the badge?

20:20.890 --> 20:21.710
Maybe they are.

20:21.930 --> 20:26.810
Yeah, so this is the team and we're very, very happy we have the first units.

20:26.990 --> 20:32.850
And what we also did, which I think is next, is visit, oh, maybe it's not in there.

20:33.670 --> 20:34.550
It's gone.

20:34.550 --> 20:37.050
We went to go visit the injection molding facility.

20:37.050 --> 20:39.650
So those plastics are freaking awesome.

20:40.030 --> 20:40.430
Right?

20:40.430 --> 20:45.810
I mean, it's like, do you see, have you seen a badge with fully injection molded plastic around electronics?

20:46.230 --> 20:47.170
I don't think so.

20:47.170 --> 20:52.190
And I experimented with this last year and we ended up hitting a lot of issues because we'd never done it before.

20:52.190 --> 20:53.270
But no electronics in it.

20:53.270 --> 20:53.830
No electronics.

20:53.830 --> 20:55.590
So just the plastic injection molding.

20:55.590 --> 20:57.090
And that was polycarbonate last year.

20:57.090 --> 21:00.850
This one's ABS, which is a great material, but it was so fun to do.

21:00.850 --> 21:05.490
And yeah, so we got to get these samples right off the line, like hot out of the thing.

21:05.490 --> 21:06.490
Like here you go.

21:06.490 --> 21:06.670
Yeah.

21:06.670 --> 21:07.430
Hot out of the oven.

21:07.430 --> 21:08.490
They were still melted plastic.

21:08.490 --> 21:16.970
They basically take a mold that's made out of like steel and squirt it full of hot plastic and you get these pieces out and they were all clear.

21:17.030 --> 21:20.510
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.050
It was going to take too much time to actually go between the colors and clean the machine.

21:29.050 --> 21:31.330
So I was like, well, what if we just don't clean the machines?

21:31.350 --> 21:36.690
And it's like, you know, the Jolly Ranchers or no, Dum Dums that are like the mystery flavor Dum Dums.

21:36.690 --> 21:40.710
And they just like keep running it through to the next flavor.

21:40.730 --> 21:41.810
So yeah, it's like different colors.

21:41.810 --> 21:44.530
We ended up getting some in-between flavors, which is pretty cool.

21:44.590 --> 21:47.790
And instead of you having to do them at home, the facility did it.

21:47.790 --> 21:49.670
And yeah, it was like vinyl records and all the different colors.

21:49.670 --> 21:50.770
That was going to be crazy.

21:50.770 --> 21:51.830
I was willing, but I didn't want to.

21:51.830 --> 21:52.150
Really?

21:52.150 --> 21:53.250
I mean, they turned out really cool.

21:53.250 --> 21:55.090
So yeah, that was another step.

21:55.350 --> 21:56.190
So onto the firmware.

21:56.190 --> 22:02.010
So Dimitri Greenberg, who's done some really wild hardware hacking and firmware development and everything, did the firmware.

22:02.010 --> 22:06.730
And what's running on these badges is, I guess it's called a micro Game Boy, but it's a Game Boy emulator.

22:07.410 --> 22:09.010
And this is pretty cool.

22:09.270 --> 22:16.030
I think he started it, wrote it all from scratch, but I think started it within a tent of the RP2040 and then went to the 2350.

22:17.730 --> 22:19.290
And a lot of really cool stuff.

22:19.310 --> 22:20.990
You know, people have loaded Game Boy games.

22:21.630 --> 22:31.210
Jaku, I don't know if he's in here, but I don't even know the link, but he made a already has like hacked some of the code and done some other Game Boy related stuff.

22:32.010 --> 22:32.730
Jaku.

22:32.930 --> 22:36.790
I don't know his Twitter, but he has some links to some firmware hacking stuff already.

22:37.270 --> 22:44.730
So yeah, lots of custom APIs and there's some documentation on that, I believe, on a website that hopefully will remain there.

22:44.970 --> 22:48.810
There is, so you can save games and I think there's a current bug.

22:48.810 --> 22:50.510
Is that still being worked on, do you know?

22:52.490 --> 22:53.210
Fixed?

22:54.110 --> 22:54.690
Okay.

22:54.690 --> 22:59.010
So some of you may have noticed if you try to save the game, there's a little bug there.

22:59.010 --> 23:00.170
So that's being fixed.

23:00.470 --> 23:02.010
Still plenty of time for that.

23:02.150 --> 23:04.490
Or if you fix it first, let us know and then that's cool.

23:04.490 --> 23:05.330
Yeah, definitely.

23:05.910 --> 23:06.630
Okay.

23:08.410 --> 23:09.230
Yeah.

23:09.270 --> 23:09.810
Right.

23:09.810 --> 23:10.630
Written in ARM.

23:10.630 --> 23:15.770
So full on assembler and full on emulator here for Game Boy stuff.

23:17.350 --> 23:19.950
Yeah, so Dimitri also wrote this thing called Repalm.

23:19.950 --> 23:21.830
So who remembers Palm OS?

23:22.010 --> 23:23.170
Palm pilots.

23:23.450 --> 23:28.050
Yeah, that kind of shows the age of maybe half the people at DEF CON.

23:28.550 --> 23:29.950
There's some really cool stuff.

23:29.950 --> 23:35.770
Palm OS was one of the first early mobile platforms that actually worked as opposed to like the Apple Newton.

23:35.910 --> 23:39.410
But there's a lot of really cool apps that you can run on Palm OS.

23:39.410 --> 23:44.530
So this is not only Game Boy, it's Palm OS, it's new Raspberry Pi for whatever you want to do and totally wild.

23:45.750 --> 23:46.550
Oops.

23:46.870 --> 23:47.750
We missed a slide.

23:47.750 --> 23:48.250
How do I go back?

23:48.250 --> 23:48.290
Oh , yeah .

23:48.290 --> 23:49.570
I think it's just the left.

23:50.890 --> 23:51.430
Yes.

23:51.430 --> 24:02.450
So this factory, as soon as we left Vietnam, they started manufacturing all of the boards and then a couple weeks later, the firmware was done.

24:02.450 --> 24:06.510
They started loading those basically with gold standard SD cards.

24:06.510 --> 24:17.230
They put those into every badge after doing the test procedure, load the game code onto there and then insert the DEF CON one that goes to you, wrap those all up, put them in these massive pallets.

24:17.230 --> 24:18.130
How many pallets were there?

24:18.130 --> 24:18.830
Do you know?

24:19.010 --> 24:20.230
19 pallets.

24:20.230 --> 24:24.730
19 pallets of this and went along air or ship?

24:24.730 --> 24:25.530
Air.

24:25.530 --> 24:26.410
Went air.

24:26.410 --> 24:29.830
Flew all the way here and now you are all wearing them.

24:29.830 --> 24:32.510
So that is the story of the DEF CON badge.

24:32.710 --> 24:33.270
Great.

24:40.750 --> 24:41.510
All right.

24:41.610 --> 24:43.650
I'm going to open it up to Q&A.

24:44.370 --> 24:51.210
If anybody has questions for our crew up here, I'll just let you guys take it if you want to call on people.

24:54.770 --> 25:03.710
Are there microphones at ‑‑ actually, this might be the microphone for the questions or is there ‑‑ oh, there's a Raspberry Pi chip.

25:03.710 --> 25:09.450
Did you mention this is the first product that's actually using ‑‑ the first 30,000 off the line.

25:09.450 --> 25:09.610
Yeah.

25:09.650 --> 25:25.630
Talking about risk, that actually was ‑‑ when we were testing these, we had one revision earlier of the chip and then we had to put the final ‑‑ the chips are the version 8 rev A2 or whatever it's called, showed up at the factory right before we were leaving from Korea ‑‑ sorry,

25:25.630 --> 25:29.550
from Vietnam and they slapped a chip on there, did the testing, it was okay.

25:30.630 --> 25:34.750
That's a big risk and it worked out because the support from Raspberry Pi was ridiculous also.

25:34.750 --> 25:36.330
There's a ton of questions now.

25:46.130 --> 25:47.050
Yes.

25:48.210 --> 25:55.010
So the cat came all the way from Denver on top of my car and I don't want it to come home.

25:55.470 --> 25:58.490
Somebody wants to make me an offer or steal it at the end of the con.

25:58.490 --> 25:59.390
It's fair game.

26:13.050 --> 26:21.470
So we are working on that and we'll put some releases out on DEF CON.org so keep an eye out and we'll make a post about it.

26:24.490 --> 26:25.930
Is that our feedback?

26:25.930 --> 26:26.710
Where's the AV?

26:26.710 --> 26:27.690
Was that us?

26:27.730 --> 26:28.310
No.

26:28.910 --> 26:30.030
Not us.

26:30.790 --> 26:31.310
Right.

26:31.310 --> 26:36.930
And on the hardware, the schematics, all of that stuff also all going to be in the same location on the DEF CON server.

26:36.930 --> 26:38.790
Yeah, so we'll release everything.

26:39.070 --> 26:40.870
Sources and all that stuff.

26:40.870 --> 26:43.390
So probably stay tuned to the DEF CON Twitter, probably.

26:43.870 --> 26:47.450
I think it's like DEF CON.org slash badge slash 32.

26:47.450 --> 26:50.710
It's in the program as well if you forget what the link is.

26:51.010 --> 26:56.010
So sometime later today we will release something, some instructions, yeah.

27:03.030 --> 27:04.470
Oh, yeah, sure.

27:04.530 --> 27:08.330
There's also a discord if you guys want to hop on and talk to folks.

27:08.470 --> 27:09.190
Cool.

27:25.980 --> 27:29.300
If you can, you can continually get QR codes?

27:33.050 --> 27:35.410
Oh, I don't, you want to take it, Bonnie?

27:36.130 --> 27:40.990
I believe there's only a set number of QR codes, right?

27:41.090 --> 27:41.810
12.

27:42.550 --> 27:48.010
12 QR codes, 12 photos, and yeah, that's about it on the collectible.

27:48.010 --> 27:48.390
That's all.

27:48.390 --> 27:50.870
And then it will fill up that deal.

27:50.870 --> 27:51.210
Yeah.

27:51.210 --> 27:53.250
So it's not QR codes forever.

27:53.250 --> 27:55.030
If there's some kind of bug, I'm not sure.

27:55.270 --> 28:01.890
The cool thing about it is that we wrote it really fast and it's like, let's just see what this thing can do and then people tell us later.

28:02.830 --> 28:03.550
Yeah.

28:03.690 --> 28:04.690
Thank you.

28:09.610 --> 28:10.910
Oh, hi.

28:12.730 --> 28:13.690
Wow.

28:14.170 --> 28:15.030
How are you?

28:15.030 --> 28:15.770
Yes.

28:15.770 --> 28:16.670
Thank you.

28:20.010 --> 28:21.850
Thank you, yes, DEF CON 14.

28:21.850 --> 28:28.730
Don't get any expectations about future badges, but yeah, good seeing you.

28:38.330 --> 28:40.490
So we are still ramping up production.

28:40.490 --> 28:42.690
We have a few hundred thousand going through tests right now.

28:42.690 --> 28:44.070
They will be available soon.

28:50.130 --> 28:53.070
But there are some development boards available now, right?

28:53.070 --> 28:54.870
From other places you can buy right now.

28:54.870 --> 28:57.790
Also, if you come find us in the ESV, I can give you some sample chips.

29:13.520 --> 29:15.140
I can't compare the size.

29:15.140 --> 29:18.980
I can say that taking them out would not make the chip die smaller.

29:27.700 --> 29:31.700
Well, I knew exactly what shape hole the core was going to fit into and I designed it to fit.

29:31.840 --> 29:35.700
So the engineer who put that in the system had them running in about two hours.

30:01.680 --> 30:06.140
I see Will down here nodding yes and he's probably the one to know, so.

30:11.110 --> 30:11.830
Sure.

30:21.290 --> 30:25.410
So it's on the Pico 2, which we announced yesterday, and you can also buy chips.

30:25.410 --> 30:26.350
You can buy the boards.

30:38.270 --> 30:39.070
Yes.

30:43.070 --> 30:46.310
No, so the game doesn't use it, but it's on there.

30:46.310 --> 30:47.450
You can play with it.

30:48.330 --> 30:49.470
It's a thing.

30:58.510 --> 30:59.730
I can't hear.

30:59.970 --> 31:01.410
Sorry, can you repeat that?

31:06.610 --> 31:07.510
Oh, yeah, that's my bad.

31:07.510 --> 31:07.510
I can't hear you.

31:07.510 --> 31:08.390
Oh, yeah, that's my fault.

31:10.650 --> 31:15.690
But the DEF CON site will actually have stuff on it.

31:46.530 --> 31:56.690
So there was some misunderstanding with kind of vendor relationships and as you saw from that photo, that was sort of unauthorized code put into the DEF CON badge.

31:57.130 --> 31:58.950
Sometimes Easter eggs are fun.

31:58.950 --> 32:13.510
Other times, if somebody is making it look like they're getting the short end of the stick when they're not, there's just a lot of engineering processes and a lot of vendor kind of things that just didn't feel right for the relationship.

32:14.690 --> 32:22.290
People, I can't speak to the compensation side of things because that's not what we do.

32:22.290 --> 32:38.690
That's a DEF CON group thing, but it just having that in there was just unacceptable from a community perspective where we're all trying to build a badge and build something that people can enjoy and having a dig like that just felt wrong given a lot of the conversation around it.

32:38.690 --> 33:01.890
We wanted to make sure Dimitri in particular would get credit and because the work he did was amazing and the stuff he's done is amazing, but it just as you saw from the situation, the powers that be did not want certain people to have credit for things when it's kind of putting a damper a little bit on all of the hard work that had been done.

33:02.530 --> 33:05.810
I would never make a good politician, but that's just how it is.

33:05.830 --> 33:21.610
Vendor relationships and some kind of mistreatment of people behind the scenes caused the engineering to kind of stop and then the relationship of firmware was between the engineering vendor and Dimitri, not DEF CON and Dimitri, so it's very hairy, but we appreciate the work,

33:21.610 --> 33:27.130
of course, and it's just unfortunate when things like that come up in a public setting.

33:27.130 --> 33:28.490
It was just unnecessary.

33:51.440 --> 34:02.860
Yeah, I believe

34:06.430 --> 34:13.270
we were going to put that up on GitHub, I believe, is what we were doing, so everyone's going to have that really soon.

34:13.330 --> 34:23.050
As you can see, I was extremely busy in the vendor 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:44.050
With the real-time clock issue, it was working correctly within the GB studio itself, but for some reason when it went over to the badge, like you said earlier, it goes a day later is what's actually happening with the real-time clock, so we're going to work on that.

34:44.050 --> 34:56.730
We're going to get the save fix happening, and you specifically told me about a workaround to actually get the save file to load.

34:56.930 --> 34:59.890
If you can explain that.

34:59.890 --> 35:03.010
So basically, the game...

35:43.460 --> 35:45.840
Yeah, so if y'all got that.

35:49.260 --> 36:03.400
Yeah, if y'all got that, I really thank you for finding that, because for now it's a workaround we can use until the save gets actually fixed today, so thank you.

36:03.400 --> 36:05.100
Thank you so much.

36:10.300 --> 36:25.180
I was wondering if it was possible to expound a little further on what some of these ports are, like the port between the gears, or what things can connect to the USB C port.

36:25.520 --> 36:25.980
Sure.

36:25.980 --> 36:29.360
Okay, so I'll answer that one, and I know we'll have time for one more question.

36:29.360 --> 36:39.880
So the port in the middle, that's called SAO, stands for shitty add-on, and that was created by sort of the community, the badge life community of people who wanted to make badges, but not full-on badges.

36:39.880 --> 36:46.980
So it basically, this is actually the, I don't remember the V whatever 69, it's the second generation of the SAO.

36:47.060 --> 37:00.060
The original one was four pins, this is six pins, it's power ground, I squared C, so clock and data, so you can have your microcontroller do other stuff over that bus, and then there's two GPIO pins connected directly to the Raspberry Pi.

37:00.400 --> 37:03.260
So it's just an enhancement port for badge life.

37:03.720 --> 37:10.000
I don't remember what the other question part of that was, but, yeah, lots of other ports on there, and they're telling us, yeah, we have one more question.

37:10.300 --> 37:12.640
Oh, USB-C, what about it?

37:14.000 --> 37:17.080
Oh, well, USB-C doesn't have a DFU.

37:18.460 --> 37:24.280
So you can drag and drop USB program, you can program the OTP, or you can use it for general USB stuff like bulk transfers.

37:25.280 --> 37:25.860
Sweet.

37:25.860 --> 37:26.220
Okay.

37:26.220 --> 37:26.940
One more.

37:37.890 --> 37:40.970
There is not really a badge challenge.

37:41.390 --> 37:55.110
The challenge is, there's a whole lot of stuff to play with on this thing, and I really just want people to be creative and come up with stuff and show me, and that's amazing, but I don't have any official challenge for you this year.

37:58.220 --> 37:58.800
All right.

37:58.800 --> 38:00.100
I think that's it.

38:03.580 --> 38:04.920
Thank you, guys.

38:05.500 --> 38:12.180
I love seeing all your blinking lights and all your SAOs, and thank you so much.

