start	end	text
0	3740	We are gathered here today to speak on the BICPIC.
4900	6140	All right, cool.
6140	7480	Oh, hey, a microphone.
7560	8120	Hello, check.
8120	8900	One, two.
9340	10660	My name is Eli McRae.
10660	13260	I am a member of the BIC Village here.
13260	15760	We are going to be doing a BICPIC walkthrough.
15760	17600	Who here is familiar with the BICPIC?
18700	19880	One, two.
19960	21080	You guys have the bags.
21080	22100	You get the BICPIC.
22100	24280	Yeah, round of applause for the BICPIC.
24280	25240	Yay.
27240	28280	Cool.
28280	36940	So I am not an expert at electrical engineering or computer or anything, even though I might have credentials that indicate otherwise.
36940	43980	I come by way of the hacking community first and foremost, but I do things for industry and government.
44580	47800	But hacker at heart forever and always.
49040	52000	So you guys are looking at the BICPIC.
52000	53100	You've seen the BICPIC.
53100	54840	You see me wearing a BICPIC.
55120	58780	It's actually a relic of yesteryear.
58780	67180	So at Alofia State University, we were working on cleaning out the basement, and we discovered these documents.
67480	75760	And there was just like this apocryphal story about these communications devices that were out and about in the community.
75760	84640	They were using for super secret communications, you can think of like Foxy Brown spy stuff of the 70s and 80s.
84720	89300	You can see here, this is one of their promotional materials.
89300	92640	You can see they were already advertising unbreakable encryption.
94520	96260	You guys get that?
96700	102420	It's funny that I picked an Afro pic, given that I have this haircut since the seventh grade.
103160	107320	But at any rate, it was also meant to be like a portable computing gadget.
108080	114060	It's got a bunch of stuff embedded in this what is otherwise a humble Afro pic.
115900	122300	However, given the technology of the 70s, 80s, and into the 90s, you can see here, this is one of the original prototypes.
122300	123860	They had to lift it in with a boom.
124680	125720	It was just too big.
125720	128100	They were limited by the technology of their time.
129820	132520	So fortunately, time progresses on.
132520	137660	We found these designs, and we're hopefully bringing them to you.
138680	151180	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.
151200	156980	What if I were to reimplement a lot of those capabilities and features into a badge for Defcon?
156980	158180	That would be super sick.
158220	160100	We wanted to stay true to the spirit.
160100	162180	That's why it's shaped like an Afro pic.
163100	165800	So keep that in mind.
166140	169000	And we did add some features of our own along the way.
169640	178720	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.
178720	181220	There is a simple, off-the-shelf MCU.
181320	184640	That's the Waveshare ESP32-S3.
184800	187740	You can buy those in bulk, and we did.
187740	190220	That's why we have them as such.
190360	192060	And then there's a PCB.
192060	193920	Everything else is preassembled for you.
193920	198060	So this is an opportunity for you to learn how to solder if you've never done it before.
198060	211720	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.
212840	213900	So the PCB...
214980	218740	Anybody done electrical engineering or PCB design?
219120	219740	Anybody?
219740	220360	Yeah?
220360	222160	Well, don't judge me.
222160	223180	Here we are.
223180	224740	We are doing the thing.
224740	227860	We learn, and we are experiencing trial by fire.
227860	230900	So this is our schematic.
231020	235420	You can use this diagram to map things out if you need to at a later point in time.
235420	237560	You may need to at a later point in time.
238560	246840	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.
246840	248260	That's why it was so large.
248260	252220	This, we were able to use NeoPixels to replicate that functionality.
254220	259460	Because we're at a hacker conference, too, we also wanted to make sure that it was SAO compatible.
259480	265040	So you'll notice that there's a plethora of SAO ports, but the badge itself is an SAO.
265040	268080	So it can be SAO Inception for you.
268080	279240	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.
279240	283580	So the reason we chose to do that is because we did not want you to have to choose which badge you wore.
283580	295360	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.
295360	298340	So that's why we have that.
298340	307460	You can use it to drive other, like I said, power other, oh my gosh, SAOs or badges.
308360	310280	So let's see.
310740	313340	So where you come in, this is a learning utensil.
313340	315980	This is something you can use to teach other people.
315980	317880	It's something you can use to teach yourself.
317880	319580	I mentioned soldering.
319680	320980	It's really easy.
320980	321940	It's really straightforward.
321940	323560	There's a video embedded here in a little bit.
323560	326180	If you've got a copy of the presentation, you'll be able to watch that.
326180	330840	You watch me do it in less than, I don't know, four minutes maybe.
332720	339580	So something to note, though, is that the badges and the CTF challenges embedded within will require collaboration.
339780	345500	So there's stuff that, one of the things I didn't really mention was a whole lot of inter-badge communication.
345640	351480	That was a core feature of the original BigPIC, was that you were able to communicate with those around you.
352460	362200	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.
362660	364780	So not some foreign nation.
365620	366680	There's that.
368380	370100	So, okay, here we are.
370100	371800	We have 18 NeoPixels.
371800	373540	There's wireless inter-badge communication.
373540	379820	The way that you interact with this BigPIC is by way of the serial terminal, and you use AT style commands.
379820	384860	Anyone familiar with old AT haze modems of the 80s, 90s?
384860	385380	Yeah?
385380	391180	So sharpen up those skills, and definitely consult the documentation.
391180	394560	So there's a bunch of different tools that we built in there.
394560	396120	There's Logic Analyzer.
396400	400380	There's generic GPIO control.
400560	405820	If you're familiar, and I mentioned teaching other people, there's DEF CON Next Generation.
405820	408760	That's the young and rising hackers.
409000	418400	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.
419440	422860	And again, I mentioned there's lots of big village CTF points in there.
422860	423700	Thousands.
423880	427660	So that's the back of it.
428740	430620	Yeah, do explore your badge.
430620	432680	Look it over front and back.
433400	436200	Everything that's in there is in there on purpose.
437940	439580	So that's a QR code.
439580	440600	I don't know why.
441020	442060	Oh, it's a YouTube video.
442060	442780	That's it.
442780	444780	Yeah, that's the assembly video.
444800	447020	As I mentioned, pretty straightforward.
447020	448280	It's a minute or so.
449500	453080	Do watch it, and you can see how it goes together.
453080	453720	Pretty straightforward.
453720	456860	Like I mentioned, we have some soldering irons here.
456860	465140	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.
465240	467380	But I promise you, it is not that tricky.
470840	471700	All right.
471700	473340	So how do you get started?
473560	476740	On the badge, you'll notice that there's a QR code and a URL.
477000	482160	You're welcome to access it via either one of those mechanisms, either the QR code or the URL.
482820	488180	And that URL will take you to badge.shift.us, and it will drop you into a web interface.
488180	496740	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.
497040	506900	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.
507840	511240	And you can copy and paste those commands, and it should generally work.
512380	515820	So when you get into your BigPic, what's the first thing you're going to do?
515820	518440	Well, you know, help, right?
518440	519560	What do I do?
519560	533420	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.
533420	535560	So I mentioned Badgenet.
535620	540740	Badgenet is the wireless interbadge communication platform that is taking place.
541820	543200	There's a nickname.
543200	546760	By default, you have a nickname that is dynamically generated for you.
547180	550920	So you can set your own nickname, customize your badge to your liking.
551840	554300	Tanny is to toggle animations.
554480	561420	So when your badge is idling, after you assemble it, you get a reward of sorts, right, by way of flag.
563100	564680	And what am I saying here?
564680	567940	Oh, and then it goes into like a screensaver mode, just like going around the conference.
567940	569940	If that's distracting, you can turn it off.
569940	570620	Go ahead.
574980	578120	That is left as an exercise to the reader.
579200	583060	So yeah, well, you'll be able to find that out as soon as you read it.
583060	587780	So what am I saying here?
587780	593060	Oh, yes, there's also a virtual file system within the BigPic, so you can navigate that file system.
593060	596820	There's other file manipulation commands available to you.
597060	603080	And then the DEF CON next generation game and encryption simulator.
603080	604680	Not simulator, it's actually encryption.
604680	606320	So there's that.
606520	607500	So that's the challenge.
607500	609720	So I would run those commands and explore.
609720	612060	Definitely read through the help document.
612240	614620	It's dense, but it's dense on purpose.
614860	616520	So there's that.
617780	618720	All right.
619400	626580	So when you guys get an opportunity to get the scoreboard up, you'll see all the challenges.
626820	629240	This was kind of, it's kind of like a scavenger hunt.
629240	631420	You're not given a set of objectives to find.
631820	634520	It's like, here, go and find this in location X.
634760	636340	You kind of happen upon them.
636340	638920	So it's kind of, I call it like Oprah style CTF.
638920	640960	It's like you look under your chair and you find a flag.
641640	646460	So that's how you're going to, that's how you're going to find the flags.
646460	651160	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.
651220	652960	Some of them are at firmware level.
653320	656960	Others are at the, I guess the application level.
657600	660240	And some are at the protocol level for the badge net.
661280	662840	Some are just little puzzles.
662840	666080	As long as you're reading and paying attention, you'll figure them out.
666720	673720	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.
674540	685480	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.
686900	693400	So the flag format that you're going to experience within the BIC badge or the BICPIC will be this.
694160	701360	So if you witness a BIC CTF with some witty message or something like that, that is a flag, right?
701360	703080	So be mindful of that.
705300	713540	So those who had the pre-assembled kit or other may have noticed that it doesn't have a battery, right?
713540	716060	So that is also left to you.
716060	718420	So we're going to talk about hacking on a battery.
718680	726560	There's no reason to add yet another piece of lithium ion that'll end up in the landfill.
726800	732460	So there's lots of options to go down to the vendors and get their USB battery banks.
732540	735800	And that's like the simplest thing you can do to make your own battery bank, right?
735820	740260	And because it's also an SAO, you can just siphon someone else's battery power.
740780	749120	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.
750440	756180	But yeah, you can also salvage e-cigarettes or something, there's lots of those floating around Vegas.
757300	765060	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.
766760	775760	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.
776080	777840	Those are all options for you.
779460	781920	So here's a couple of examples.
783460	788980	Here's my flipper acting as a glorified battery, $180 battery.
790000	796480	And then I mentioned my badge is just a USB battery bank from a vendor somewhere.
798780	800920	Oh, wrong keyboard.
801280	804400	So this is, I guess, a PSA.
804400	809880	In case it gets too wild on Badgenet, you can disable it with these two commands.
811840	824280	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.
828160	838720	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.
838780	844540	You probably need to re-solder pin 7, the 3.3 volt line, or the ground line.
844540	848680	That just means you might not have a good, solid connection between one of those three pins.
848680	852080	That's going to be this one, this one, and that one.
852920	857000	So if you are in that situation, same game.
857580	862680	It just means there's a weak connection between the first NeoPixel pin and the MCU.
862780	867880	If that doesn't work, then come find us and we'll talk about fixing it some other way.
870160	873320	And I think finet.
874060	875060	Cool.
878970	881770	I guess I'll ask questions, comments, concerns.
