WEBVTT

00:00.000 --> 00:03.740
We are gathered here today to speak on the BICPIC.

00:04.900 --> 00:06.140
All right, cool.

00:06.140 --> 00:07.480
Oh, hey, a microphone.

00:07.560 --> 00:08.120
Hello, check.

00:08.120 --> 00:08.900
One, two.

00:09.340 --> 00:10.660
My name is Eli McRae.

00:10.660 --> 00:13.260
I am a member of the BIC Village here.

00:13.260 --> 00:15.760
We are going to be doing a BICPIC walkthrough.

00:15.760 --> 00:17.600
Who here is familiar with the BICPIC?

00:18.700 --> 00:19.880
One, two.

00:19.960 --> 00:21.080
You guys have the bags.

00:21.080 --> 00:22.100
You get the BICPIC.

00:22.100 --> 00:24.280
Yeah, round of applause for the BICPIC.

00:24.280 --> 00:25.240
Yay.

00:27.240 --> 00:28.280
Cool.

00:28.280 --> 00:36.940
So I am not an expert at electrical engineering or computer or anything, even though I might have credentials that indicate otherwise.

00:36.940 --> 00:43.980
I come by way of the hacking community first and foremost, but I do things for industry and government.

00:44.580 --> 00:47.800
But hacker at heart forever and always.

00:49.040 --> 00:52.000
So you guys are looking at the BICPIC.

00:52.000 --> 00:53.100
You've seen the BICPIC.

00:53.100 --> 00:54.840
You see me wearing a BICPIC.

00:55.120 --> 00:58.780
It's actually a relic of yesteryear.

00:58.780 --> 01:07.180
So at Alofia State University, we were working on cleaning out the basement, and we discovered these documents.

01:07.480 --> 01:15.760
And there was just like this apocryphal story about these communications devices that were out and about in the community.

01:15.760 --> 01:24.640
They were using for super secret communications, you can think of like Foxy Brown spy stuff of the 70s and 80s.

01:24.720 --> 01:29.300
You can see here, this is one of their promotional materials.

01:29.300 --> 01:32.640
You can see they were already advertising unbreakable encryption.

01:34.520 --> 01:36.260
You guys get that?

01:36.700 --> 01:42.420
It's funny that I picked an Afro pic, given that I have this haircut since the seventh grade.

01:43.160 --> 01:47.320
But at any rate, it was also meant to be like a portable computing gadget.

01:48.080 --> 01:54.060
It's got a bunch of stuff embedded in this what is otherwise a humble Afro pic.

01:55.900 --> 02:02.300
However, given the technology of the 70s, 80s, and into the 90s, you can see here, this is one of the original prototypes.

02:02.300 --> 02:03.860
They had to lift it in with a boom.

02:04.680 --> 02:05.720
It was just too big.

02:05.720 --> 02:08.100
They were limited by the technology of their time.

02:09.820 --> 02:12.520
So fortunately, time progresses on.

02:12.520 --> 02:17.660
We found these designs, and we're hopefully bringing them to you.

02:18.680 --> 02:31.180
So as I mentioned, at a Lafayette State University, we were working on cleaning out one of the basements in one of the labs, and we found some documents that described it, and I said, wow, what a cool idea.

02:31.200 --> 02:36.980
What if I were to reimplement a lot of those capabilities and features into a badge for Defcon?

02:36.980 --> 02:38.180
That would be super sick.

02:38.220 --> 02:40.100
We wanted to stay true to the spirit.

02:40.100 --> 02:42.180
That's why it's shaped like an Afro pic.

02:43.100 --> 02:45.800
So keep that in mind.

02:46.140 --> 02:49.000
And we did add some features of our own along the way.

02:49.640 --> 02:58.720
So you might notice that if you have the kit or if you purchased one of the preassembled badges, it looks like a pretty simple affair.

02:58.720 --> 03:01.220
There is a simple, off-the-shelf MCU.

03:01.320 --> 03:04.640
That's the Waveshare ESP32-S3.

03:04.800 --> 03:07.740
You can buy those in bulk, and we did.

03:07.740 --> 03:10.220
That's why we have them as such.

03:10.360 --> 03:12.060
And then there's a PCB.

03:12.060 --> 03:13.920
Everything else is preassembled for you.

03:13.920 --> 03:18.060
So this is an opportunity for you to learn how to solder if you've never done it before.

03:18.060 --> 03:31.720
We chose this MCU because it was the finest that the year 2020 had to offer, and it's got lots of horsepower for us, got Wi-Fi, and it would serve as a good platform for us to build upon.

03:32.840 --> 03:33.900
So the PCB...

03:34.980 --> 03:38.740
Anybody done electrical engineering or PCB design?

03:39.120 --> 03:39.740
Anybody?

03:39.740 --> 03:40.360
Yeah?

03:40.360 --> 03:42.160
Well, don't judge me.

03:42.160 --> 03:43.180
Here we are.

03:43.180 --> 03:44.740
We are doing the thing.

03:44.740 --> 03:47.860
We learn, and we are experiencing trial by fire.

03:47.860 --> 03:50.900
So this is our schematic.

03:51.020 --> 03:55.420
You can use this diagram to map things out if you need to at a later point in time.

03:55.420 --> 03:57.560
You may need to at a later point in time.

03:58.560 --> 04:06.840
So we know that the original BigPIC actually had a bunch of LEDs and things, but they were those old amber ones, and they had some tubes and stuff.

04:06.840 --> 04:08.260
That's why it was so large.

04:08.260 --> 04:12.220
This, we were able to use NeoPixels to replicate that functionality.

04:14.220 --> 04:19.460
Because we're at a hacker conference, too, we also wanted to make sure that it was SAO compatible.

04:19.480 --> 04:25.040
So you'll notice that there's a plethora of SAO ports, but the badge itself is an SAO.

04:25.040 --> 04:28.080
So it can be SAO Inception for you.

04:28.080 --> 04:39.240
I happen to have that situation going right now where I have a board behind the BigPIC and the BigPIC is riding on it, and then there's several SAOs on top of my BigPIC.

04:39.240 --> 04:43.580
So the reason we chose to do that is because we did not want you to have to choose which badge you wore.

04:43.580 --> 04:55.360
We wanted you to always have the option of wearing your BigPIC, as every good cybersecurity hacker person should have some electronic gadgetry on them at all times.

04:55.360 --> 04:58.340
So that's why we have that.

04:58.340 --> 05:07.460
You can use it to drive other, like I said, power other, oh my gosh, SAOs or badges.

05:08.360 --> 05:10.280
So let's see.

05:10.740 --> 05:13.340
So where you come in, this is a learning utensil.

05:13.340 --> 05:15.980
This is something you can use to teach other people.

05:15.980 --> 05:17.880
It's something you can use to teach yourself.

05:17.880 --> 05:19.580
I mentioned soldering.

05:19.680 --> 05:20.980
It's really easy.

05:20.980 --> 05:21.940
It's really straightforward.

05:21.940 --> 05:23.560
There's a video embedded here in a little bit.

05:23.560 --> 05:26.180
If you've got a copy of the presentation, you'll be able to watch that.

05:26.180 --> 05:30.840
You watch me do it in less than, I don't know, four minutes maybe.

05:32.720 --> 05:39.580
So something to note, though, is that the badges and the CTF challenges embedded within will require collaboration.

05:39.780 --> 05:45.500
So there's stuff that, one of the things I didn't really mention was a whole lot of inter-badge communication.

05:45.640 --> 05:51.480
That was a core feature of the original BigPIC, was that you were able to communicate with those around you.

05:52.460 --> 06:02.200
So , oh, when it comes to producing them, just in case anyone was unclear, that's my credit card paying those tariffs, and that's why we purchased in bulk back in December.

06:02.660 --> 06:04.780
So not some foreign nation.

06:05.620 --> 06:06.680
There's that.

06:08.380 --> 06:10.100
So, okay, here we are.

06:10.100 --> 06:11.800
We have 18 NeoPixels.

06:11.800 --> 06:13.540
There's wireless inter-badge communication.

06:13.540 --> 06:19.820
The way that you interact with this BigPIC is by way of the serial terminal, and you use AT style commands.

06:19.820 --> 06:24.860
Anyone familiar with old AT haze modems of the 80s, 90s?

06:24.860 --> 06:25.380
Yeah?

06:25.380 --> 06:31.180
So sharpen up those skills, and definitely consult the documentation.

06:31.180 --> 06:34.560
So there's a bunch of different tools that we built in there.

06:34.560 --> 06:36.120
There's Logic Analyzer.

06:36.400 --> 06:40.380
There's generic GPIO control.

06:40.560 --> 06:45.820
If you're familiar, and I mentioned teaching other people, there's DEF CON Next Generation.

06:45.820 --> 06:48.760
That's the young and rising hackers.

06:49.000 --> 06:58.400
There's a DC Next Gen integration as well, where they'll teach you about a cipher system that they have, and you can go solve the challenge, and then we can award you points with this.

06:59.440 --> 07:02.860
And again, I mentioned there's lots of big village CTF points in there.

07:02.860 --> 07:03.700
Thousands.

07:03.880 --> 07:07.660
So that's the back of it.

07:08.740 --> 07:10.620
Yeah, do explore your badge.

07:10.620 --> 07:12.680
Look it over front and back.

07:13.400 --> 07:16.200
Everything that's in there is in there on purpose.

07:17.940 --> 07:19.580
So that's a QR code.

07:19.580 --> 07:20.600
I don't know why.

07:21.020 --> 07:22.060
Oh, it's a YouTube video.

07:22.060 --> 07:22.780
That's it.

07:22.780 --> 07:24.780
Yeah, that's the assembly video.

07:24.800 --> 07:27.020
As I mentioned, pretty straightforward.

07:27.020 --> 07:28.280
It's a minute or so.

07:29.500 --> 07:33.080
Do watch it, and you can see how it goes together.

07:33.080 --> 07:33.720
Pretty straightforward.

07:33.720 --> 07:36.860
Like I mentioned, we have some soldering irons here.

07:36.860 --> 07:45.140
You're also welcome to go down to the hardware hacking village and use their utensils, or if you need someone who can give maybe a little more expertise than I have with regards to soldering.

07:45.240 --> 07:47.380
But I promise you, it is not that tricky.

07:50.840 --> 07:51.700
All right.

07:51.700 --> 07:53.340
So how do you get started?

07:53.560 --> 07:56.740
On the badge, you'll notice that there's a QR code and a URL.

07:57.000 --> 08:02.160
You're welcome to access it via either one of those mechanisms, either the QR code or the URL.

08:02.820 --> 08:08.180
And that URL will take you to badge.shift.us, and it will drop you into a web interface.

08:08.180 --> 08:16.740
So as long as you're using a Chrome-ish web browser, you'll have access to the web serial API, and it will allow you to connect to your BigPic.

08:17.040 --> 08:26.900
If you want to stay in the command line, you can use one of those two commands in the bottom or any terminal emulator of your choice, screen or minicom or two examples.

08:27.840 --> 08:31.240
And you can copy and paste those commands, and it should generally work.

08:32.380 --> 08:35.820
So when you get into your BigPic, what's the first thing you're going to do?

08:35.820 --> 08:38.440
Well, you know, help, right?

08:38.440 --> 08:39.560
What do I do?

08:39.560 --> 08:53.420
So these will be among the first commands that you can run or you should run when you get into the system, and it will give you all the information you need to complete the CTF challenges, discover other things, and whatnot.

08:53.420 --> 08:55.560
So I mentioned Badgenet.

08:55.620 --> 09:00.740
Badgenet is the wireless interbadge communication platform that is taking place.

09:01.820 --> 09:03.200
There's a nickname.

09:03.200 --> 09:06.760
By default, you have a nickname that is dynamically generated for you.

09:07.180 --> 09:10.920
So you can set your own nickname, customize your badge to your liking.

09:11.840 --> 09:14.300
Tanny is to toggle animations.

09:14.480 --> 09:21.420
So when your badge is idling, after you assemble it, you get a reward of sorts, right, by way of flag.

09:23.100 --> 09:24.680
And what am I saying here?

09:24.680 --> 09:27.940
Oh, and then it goes into like a screensaver mode, just like going around the conference.

09:27.940 --> 09:29.940
If that's distracting, you can turn it off.

09:29.940 --> 09:30.620
Go ahead.

09:34.980 --> 09:38.120
That is left as an exercise to the reader.

09:39.200 --> 09:43.060
So yeah, well, you'll be able to find that out as soon as you read it.

09:43.060 --> 09:47.780
So what am I saying here?

09:47.780 --> 09:53.060
Oh, yes, there's also a virtual file system within the BigPic, so you can navigate that file system.

09:53.060 --> 09:56.820
There's other file manipulation commands available to you.

09:57.060 --> 10:03.080
And then the DEF CON next generation game and encryption simulator.

10:03.080 --> 10:04.680
Not simulator, it's actually encryption.

10:04.680 --> 10:06.320
So there's that.

10:06.520 --> 10:07.500
So that's the challenge.

10:07.500 --> 10:09.720
So I would run those commands and explore.

10:09.720 --> 10:12.060
Definitely read through the help document.

10:12.240 --> 10:14.620
It's dense, but it's dense on purpose.

10:14.860 --> 10:16.520
So there's that.

10:17.780 --> 10:18.720
All right.

10:19.400 --> 10:26.580
So when you guys get an opportunity to get the scoreboard up, you'll see all the challenges.

10:26.820 --> 10:29.240
This was kind of, it's kind of like a scavenger hunt.

10:29.240 --> 10:31.420
You're not given a set of objectives to find.

10:31.820 --> 10:34.520
It's like, here, go and find this in location X.

10:34.760 --> 10:36.340
You kind of happen upon them.

10:36.340 --> 10:38.920
So it's kind of, I call it like Oprah style CTF.

10:38.920 --> 10:40.960
It's like you look under your chair and you find a flag.

10:41.640 --> 10:46.460
So that's how you're going to, that's how you're going to find the flags.

10:46.460 --> 10:51.160
As long as it's in the format, which we'll go over here in a second, you'll know you're on the right track.

10:51.220 --> 10:52.960
Some of them are at firmware level.

10:53.320 --> 10:56.960
Others are at the, I guess the application level.

10:57.600 --> 11:00.240
And some are at the protocol level for the badge net.

11:01.280 --> 11:02.840
Some are just little puzzles.

11:02.840 --> 11:06.080
As long as you're reading and paying attention, you'll figure them out.

11:06.720 --> 11:13.720
So anyone of all skill level is going to be able to participate and learn something or enjoy some aspect of this badge, I think.

11:14.540 --> 11:25.480
So yes, and also there will be reference, there may be references, there will be references to other CTF challenges for other aspects of the BIC CTF embedded in the badge.

11:26.900 --> 11:33.400
So the flag format that you're going to experience within the BIC badge or the BICPIC will be this.

11:34.160 --> 11:41.360
So if you witness a BIC CTF with some witty message or something like that, that is a flag, right?

11:41.360 --> 11:43.080
So be mindful of that.

11:45.300 --> 11:53.540
So those who had the pre-assembled kit or other may have noticed that it doesn't have a battery, right?

11:53.540 --> 11:56.060
So that is also left to you.

11:56.060 --> 11:58.420
So we're going to talk about hacking on a battery.

11:58.680 --> 12:06.560
There's no reason to add yet another piece of lithium ion that'll end up in the landfill.

12:06.800 --> 12:12.460
So there's lots of options to go down to the vendors and get their USB battery banks.

12:12.540 --> 12:15.800
And that's like the simplest thing you can do to make your own battery bank, right?

12:15.820 --> 12:20.260
And because it's also an SAO, you can just siphon someone else's battery power.

12:20.780 --> 12:29.120
So they already did that hard work for us, they already paid them tariffs, so let's capitalize and stand on the shoulders of giants, that's what I'll say.

12:30.440 --> 12:36.180
But yeah, you can also salvage e-cigarettes or something, there's lots of those floating around Vegas.

12:37.300 --> 12:45.060
And if you have an interesting battery mod, come through and I've got gadgets to trade or give away, so we'll see that.

12:46.760 --> 12:55.760
We did break out, you can either solder in, like if you wanted to on there, or you can drive through the SAO ports, or you can power through the USB.

12:56.080 --> 12:57.840
Those are all options for you.

12:59.460 --> 13:01.920
So here's a couple of examples.

13:03.460 --> 13:08.980
Here's my flipper acting as a glorified battery, $180 battery.

13:10.000 --> 13:16.480
And then I mentioned my badge is just a USB battery bank from a vendor somewhere.

13:18.780 --> 13:20.920
Oh, wrong keyboard.

13:21.280 --> 13:24.400
So this is, I guess, a PSA.

13:24.400 --> 13:29.880
In case it gets too wild on Badgenet, you can disable it with these two commands.

13:31.840 --> 13:44.280
AT FWR disablebadgenet.txt, and then the base64 blob, and then enable it there, if you need to re-enable it or if it's interrupting your flow in some way.

13:48.160 --> 13:58.720
If you are assembling your badge, you end up in a situation where your BigPic is doing this, where this NeoPixel is blinking in a weird state.

13:58.780 --> 14:04.540
You probably need to re-solder pin 7, the 3.3 volt line, or the ground line.

14:04.540 --> 14:08.680
That just means you might not have a good, solid connection between one of those three pins.

14:08.680 --> 14:12.080
That's going to be this one, this one, and that one.

14:12.920 --> 14:17.000
So if you are in that situation, same game.

14:17.580 --> 14:22.680
It just means there's a weak connection between the first NeoPixel pin and the MCU.

14:22.780 --> 14:27.880
If that doesn't work, then come find us and we'll talk about fixing it some other way.

14:30.160 --> 14:33.320
And I think finet.

14:34.060 --> 14:35.060
Cool.

14:38.970 --> 14:41.770
I guess I'll ask questions, comments, concerns.

