1 00:00:00,000 --> 00:00:03,740 We are gathered here today to speak on the BICPIC. 2 00:00:04,900 --> 00:00:06,140 All right, cool. 3 00:00:06,140 --> 00:00:07,480 Oh, hey, a microphone. 4 00:00:07,560 --> 00:00:08,120 Hello, check. 5 00:00:08,120 --> 00:00:08,900 One, two. 6 00:00:09,340 --> 00:00:10,660 My name is Eli McRae. 7 00:00:10,660 --> 00:00:13,260 I am a member of the BIC Village here. 8 00:00:13,260 --> 00:00:15,760 We are going to be doing a BICPIC walkthrough. 9 00:00:15,760 --> 00:00:17,600 Who here is familiar with the BICPIC? 10 00:00:18,700 --> 00:00:19,880 One, two. 11 00:00:19,960 --> 00:00:21,080 You guys have the bags. 12 00:00:21,080 --> 00:00:22,100 You get the BICPIC. 13 00:00:22,100 --> 00:00:24,280 Yeah, round of applause for the BICPIC. 14 00:00:24,280 --> 00:00:25,240 Yay. 15 00:00:27,240 --> 00:00:28,280 Cool. 16 00:00:28,280 --> 00: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. 17 00:00:36,940 --> 00:00:43,980 I come by way of the hacking community first and foremost, but I do things for industry and government. 18 00:00:44,580 --> 00:00:47,800 But hacker at heart forever and always. 19 00:00:49,040 --> 00:00:52,000 So you guys are looking at the BICPIC. 20 00:00:52,000 --> 00:00:53,100 You've seen the BICPIC. 21 00:00:53,100 --> 00:00:54,840 You see me wearing a BICPIC. 22 00:00:55,120 --> 00:00:58,780 It's actually a relic of yesteryear. 23 00:00:58,780 --> 00:01:07,180 So at Alofia State University, we were working on cleaning out the basement, and we discovered these documents. 24 00:01:07,480 --> 00:01:15,760 And there was just like this apocryphal story about these communications devices that were out and about in the community. 25 00:01:15,760 --> 00:01:24,640 They were using for super secret communications, you can think of like Foxy Brown spy stuff of the 70s and 80s. 26 00:01:24,720 --> 00:01:29,300 You can see here, this is one of their promotional materials. 27 00:01:29,300 --> 00:01:32,640 You can see they were already advertising unbreakable encryption. 28 00:01:34,520 --> 00:01:36,260 You guys get that? 29 00:01:36,700 --> 00:01:42,420 It's funny that I picked an Afro pic, given that I have this haircut since the seventh grade. 30 00:01:43,160 --> 00:01:47,320 But at any rate, it was also meant to be like a portable computing gadget. 31 00:01:48,080 --> 00:01:54,060 It's got a bunch of stuff embedded in this what is otherwise a humble Afro pic. 32 00:01:55,900 --> 00: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. 33 00:02:02,300 --> 00:02:03,860 They had to lift it in with a boom. 34 00:02:04,680 --> 00:02:05,720 It was just too big. 35 00:02:05,720 --> 00:02:08,100 They were limited by the technology of their time. 36 00:02:09,820 --> 00:02:12,520 So fortunately, time progresses on. 37 00:02:12,520 --> 00:02:17,660 We found these designs, and we're hopefully bringing them to you. 38 00:02:18,680 --> 00: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. 39 00:02:31,200 --> 00:02:36,980 What if I were to reimplement a lot of those capabilities and features into a badge for Defcon? 40 00:02:36,980 --> 00:02:38,180 That would be super sick. 41 00:02:38,220 --> 00:02:40,100 We wanted to stay true to the spirit. 42 00:02:40,100 --> 00:02:42,180 That's why it's shaped like an Afro pic. 43 00:02:43,100 --> 00:02:45,800 So keep that in mind. 44 00:02:46,140 --> 00:02:49,000 And we did add some features of our own along the way. 45 00:02:49,640 --> 00: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. 46 00:02:58,720 --> 00:03:01,220 There is a simple, off-the-shelf MCU. 47 00:03:01,320 --> 00:03:04,640 That's the Waveshare ESP32-S3. 48 00:03:04,800 --> 00:03:07,740 You can buy those in bulk, and we did. 49 00:03:07,740 --> 00:03:10,220 That's why we have them as such. 50 00:03:10,360 --> 00:03:12,060 And then there's a PCB. 51 00:03:12,060 --> 00:03:13,920 Everything else is preassembled for you. 52 00:03:13,920 --> 00:03:18,060 So this is an opportunity for you to learn how to solder if you've never done it before. 53 00:03:18,060 --> 00: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. 54 00:03:32,840 --> 00:03:33,900 So the PCB... 55 00:03:34,980 --> 00:03:38,740 Anybody done electrical engineering or PCB design? 56 00:03:39,120 --> 00:03:39,740 Anybody? 57 00:03:39,740 --> 00:03:40,360 Yeah? 58 00:03:40,360 --> 00:03:42,160 Well, don't judge me. 59 00:03:42,160 --> 00:03:43,180 Here we are. 60 00:03:43,180 --> 00:03:44,740 We are doing the thing. 61 00:03:44,740 --> 00:03:47,860 We learn, and we are experiencing trial by fire. 62 00:03:47,860 --> 00:03:50,900 So this is our schematic. 63 00:03:51,020 --> 00:03:55,420 You can use this diagram to map things out if you need to at a later point in time. 64 00:03:55,420 --> 00:03:57,560 You may need to at a later point in time. 65 00:03:58,560 --> 00: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. 66 00:04:06,840 --> 00:04:08,260 That's why it was so large. 67 00:04:08,260 --> 00:04:12,220 This, we were able to use NeoPixels to replicate that functionality. 68 00:04:14,220 --> 00:04:19,460 Because we're at a hacker conference, too, we also wanted to make sure that it was SAO compatible. 69 00:04:19,480 --> 00:04:25,040 So you'll notice that there's a plethora of SAO ports, but the badge itself is an SAO. 70 00:04:25,040 --> 00:04:28,080 So it can be SAO Inception for you. 71 00:04:28,080 --> 00: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. 72 00:04:39,240 --> 00: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. 73 00:04:43,580 --> 00: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. 74 00:04:55,360 --> 00:04:58,340 So that's why we have that. 75 00:04:58,340 --> 00:05:07,460 You can use it to drive other, like I said, power other, oh my gosh, SAOs or badges. 76 00:05:08,360 --> 00:05:10,280 So let's see. 77 00:05:10,740 --> 00:05:13,340 So where you come in, this is a learning utensil. 78 00:05:13,340 --> 00:05:15,980 This is something you can use to teach other people. 79 00:05:15,980 --> 00:05:17,880 It's something you can use to teach yourself. 80 00:05:17,880 --> 00:05:19,580 I mentioned soldering. 81 00:05:19,680 --> 00:05:20,980 It's really easy. 82 00:05:20,980 --> 00:05:21,940 It's really straightforward. 83 00:05:21,940 --> 00:05:23,560 There's a video embedded here in a little bit. 84 00:05:23,560 --> 00:05:26,180 If you've got a copy of the presentation, you'll be able to watch that. 85 00:05:26,180 --> 00:05:30,840 You watch me do it in less than, I don't know, four minutes maybe. 86 00:05:32,720 --> 00:05:39,580 So something to note, though, is that the badges and the CTF challenges embedded within will require collaboration. 87 00:05:39,780 --> 00: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. 88 00:05:45,640 --> 00:05:51,480 That was a core feature of the original BigPIC, was that you were able to communicate with those around you. 89 00:05:52,460 --> 00: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. 90 00:06:02,660 --> 00:06:04,780 So not some foreign nation. 91 00:06:05,620 --> 00:06:06,680 There's that. 92 00:06:08,380 --> 00:06:10,100 So, okay, here we are. 93 00:06:10,100 --> 00:06:11,800 We have 18 NeoPixels. 94 00:06:11,800 --> 00:06:13,540 There's wireless inter-badge communication. 95 00:06:13,540 --> 00:06:19,820 The way that you interact with this BigPIC is by way of the serial terminal, and you use AT style commands. 96 00:06:19,820 --> 00:06:24,860 Anyone familiar with old AT haze modems of the 80s, 90s? 97 00:06:24,860 --> 00:06:25,380 Yeah? 98 00:06:25,380 --> 00:06:31,180 So sharpen up those skills, and definitely consult the documentation. 99 00:06:31,180 --> 00:06:34,560 So there's a bunch of different tools that we built in there. 100 00:06:34,560 --> 00:06:36,120 There's Logic Analyzer. 101 00:06:36,400 --> 00:06:40,380 There's generic GPIO control. 102 00:06:40,560 --> 00:06:45,820 If you're familiar, and I mentioned teaching other people, there's DEF CON Next Generation. 103 00:06:45,820 --> 00:06:48,760 That's the young and rising hackers. 104 00:06:49,000 --> 00: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. 105 00:06:59,440 --> 00:07:02,860 And again, I mentioned there's lots of big village CTF points in there. 106 00:07:02,860 --> 00:07:03,700 Thousands. 107 00:07:03,880 --> 00:07:07,660 So that's the back of it. 108 00:07:08,740 --> 00:07:10,620 Yeah, do explore your badge. 109 00:07:10,620 --> 00:07:12,680 Look it over front and back. 110 00:07:13,400 --> 00:07:16,200 Everything that's in there is in there on purpose. 111 00:07:17,940 --> 00:07:19,580 So that's a QR code. 112 00:07:19,580 --> 00:07:20,600 I don't know why. 113 00:07:21,020 --> 00:07:22,060 Oh, it's a YouTube video. 114 00:07:22,060 --> 00:07:22,780 That's it. 115 00:07:22,780 --> 00:07:24,780 Yeah, that's the assembly video. 116 00:07:24,800 --> 00:07:27,020 As I mentioned, pretty straightforward. 117 00:07:27,020 --> 00:07:28,280 It's a minute or so. 118 00:07:29,500 --> 00:07:33,080 Do watch it, and you can see how it goes together. 119 00:07:33,080 --> 00:07:33,720 Pretty straightforward. 120 00:07:33,720 --> 00:07:36,860 Like I mentioned, we have some soldering irons here. 121 00:07:36,860 --> 00: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. 122 00:07:45,240 --> 00:07:47,380 But I promise you, it is not that tricky. 123 00:07:50,840 --> 00:07:51,700 All right. 124 00:07:51,700 --> 00:07:53,340 So how do you get started? 125 00:07:53,560 --> 00:07:56,740 On the badge, you'll notice that there's a QR code and a URL. 126 00:07:57,000 --> 00:08:02,160 You're welcome to access it via either one of those mechanisms, either the QR code or the URL. 127 00:08:02,820 --> 00:08:08,180 And that URL will take you to badge.shift.us, and it will drop you into a web interface. 128 00:08:08,180 --> 00: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. 129 00:08:17,040 --> 00: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. 130 00:08:27,840 --> 00:08:31,240 And you can copy and paste those commands, and it should generally work. 131 00:08:32,380 --> 00:08:35,820 So when you get into your BigPic, what's the first thing you're going to do? 132 00:08:35,820 --> 00:08:38,440 Well, you know, help, right? 133 00:08:38,440 --> 00:08:39,560 What do I do? 134 00:08:39,560 --> 00: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. 135 00:08:53,420 --> 00:08:55,560 So I mentioned Badgenet. 136 00:08:55,620 --> 00:09:00,740 Badgenet is the wireless interbadge communication platform that is taking place. 137 00:09:01,820 --> 00:09:03,200 There's a nickname. 138 00:09:03,200 --> 00:09:06,760 By default, you have a nickname that is dynamically generated for you. 139 00:09:07,180 --> 00:09:10,920 So you can set your own nickname, customize your badge to your liking. 140 00:09:11,840 --> 00:09:14,300 Tanny is to toggle animations. 141 00:09:14,480 --> 00:09:21,420 So when your badge is idling, after you assemble it, you get a reward of sorts, right, by way of flag. 142 00:09:23,100 --> 00:09:24,680 And what am I saying here? 143 00:09:24,680 --> 00:09:27,940 Oh, and then it goes into like a screensaver mode, just like going around the conference. 144 00:09:27,940 --> 00:09:29,940 If that's distracting, you can turn it off. 145 00:09:29,940 --> 00:09:30,620 Go ahead. 146 00:09:34,980 --> 00:09:38,120 That is left as an exercise to the reader. 147 00:09:39,200 --> 00:09:43,060 So yeah, well, you'll be able to find that out as soon as you read it. 148 00:09:43,060 --> 00:09:47,780 So what am I saying here? 149 00:09:47,780 --> 00:09:53,060 Oh, yes, there's also a virtual file system within the BigPic, so you can navigate that file system. 150 00:09:53,060 --> 00:09:56,820 There's other file manipulation commands available to you. 151 00:09:57,060 --> 00:10:03,080 And then the DEF CON next generation game and encryption simulator. 152 00:10:03,080 --> 00:10:04,680 Not simulator, it's actually encryption. 153 00:10:04,680 --> 00:10:06,320 So there's that. 154 00:10:06,520 --> 00:10:07,500 So that's the challenge. 155 00:10:07,500 --> 00:10:09,720 So I would run those commands and explore. 156 00:10:09,720 --> 00:10:12,060 Definitely read through the help document. 157 00:10:12,240 --> 00:10:14,620 It's dense, but it's dense on purpose. 158 00:10:14,860 --> 00:10:16,520 So there's that. 159 00:10:17,780 --> 00:10:18,720 All right. 160 00:10:19,400 --> 00:10:26,580 So when you guys get an opportunity to get the scoreboard up, you'll see all the challenges. 161 00:10:26,820 --> 00:10:29,240 This was kind of, it's kind of like a scavenger hunt. 162 00:10:29,240 --> 00:10:31,420 You're not given a set of objectives to find. 163 00:10:31,820 --> 00:10:34,520 It's like, here, go and find this in location X. 164 00:10:34,760 --> 00:10:36,340 You kind of happen upon them. 165 00:10:36,340 --> 00:10:38,920 So it's kind of, I call it like Oprah style CTF. 166 00:10:38,920 --> 00:10:40,960 It's like you look under your chair and you find a flag. 167 00:10:41,640 --> 00:10:46,460 So that's how you're going to, that's how you're going to find the flags. 168 00:10:46,460 --> 00: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. 169 00:10:51,220 --> 00:10:52,960 Some of them are at firmware level. 170 00:10:53,320 --> 00:10:56,960 Others are at the, I guess the application level. 171 00:10:57,600 --> 00:11:00,240 And some are at the protocol level for the badge net. 172 00:11:01,280 --> 00:11:02,840 Some are just little puzzles. 173 00:11:02,840 --> 00:11:06,080 As long as you're reading and paying attention, you'll figure them out. 174 00:11:06,720 --> 00: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. 175 00:11:14,540 --> 00: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. 176 00:11:26,900 --> 00:11:33,400 So the flag format that you're going to experience within the BIC badge or the BICPIC will be this. 177 00:11:34,160 --> 00:11:41,360 So if you witness a BIC CTF with some witty message or something like that, that is a flag, right? 178 00:11:41,360 --> 00:11:43,080 So be mindful of that. 179 00:11:45,300 --> 00:11:53,540 So those who had the pre-assembled kit or other may have noticed that it doesn't have a battery, right? 180 00:11:53,540 --> 00:11:56,060 So that is also left to you. 181 00:11:56,060 --> 00:11:58,420 So we're going to talk about hacking on a battery. 182 00:11:58,680 --> 00:12:06,560 There's no reason to add yet another piece of lithium ion that'll end up in the landfill. 183 00:12:06,800 --> 00:12:12,460 So there's lots of options to go down to the vendors and get their USB battery banks. 184 00:12:12,540 --> 00:12:15,800 And that's like the simplest thing you can do to make your own battery bank, right? 185 00:12:15,820 --> 00:12:20,260 And because it's also an SAO, you can just siphon someone else's battery power. 186 00:12:20,780 --> 00: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. 187 00:12:30,440 --> 00:12:36,180 But yeah, you can also salvage e-cigarettes or something, there's lots of those floating around Vegas. 188 00:12:37,300 --> 00: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. 189 00:12:46,760 --> 00: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. 190 00:12:56,080 --> 00:12:57,840 Those are all options for you. 191 00:12:59,460 --> 00:13:01,920 So here's a couple of examples. 192 00:13:03,460 --> 00:13:08,980 Here's my flipper acting as a glorified battery, $180 battery. 193 00:13:10,000 --> 00:13:16,480 And then I mentioned my badge is just a USB battery bank from a vendor somewhere. 194 00:13:18,780 --> 00:13:20,920 Oh, wrong keyboard. 195 00:13:21,280 --> 00:13:24,400 So this is, I guess, a PSA. 196 00:13:24,400 --> 00:13:29,880 In case it gets too wild on Badgenet, you can disable it with these two commands. 197 00:13:31,840 --> 00: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. 198 00:13:48,160 --> 00: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. 199 00:13:58,780 --> 00:14:04,540 You probably need to re-solder pin 7, the 3.3 volt line, or the ground line. 200 00:14:04,540 --> 00:14:08,680 That just means you might not have a good, solid connection between one of those three pins. 201 00:14:08,680 --> 00:14:12,080 That's going to be this one, this one, and that one. 202 00:14:12,920 --> 00:14:17,000 So if you are in that situation, same game. 203 00:14:17,580 --> 00:14:22,680 It just means there's a weak connection between the first NeoPixel pin and the MCU. 204 00:14:22,780 --> 00:14:27,880 If that doesn't work, then come find us and we'll talk about fixing it some other way. 205 00:14:30,160 --> 00:14:33,320 And I think finet. 206 00:14:34,060 --> 00:14:35,060 Cool. 207 00:14:38,970 --> 00:14:41,770 I guess I'll ask questions, comments, concerns.