Without further ado, I give you Kingpin and Zoss. What is up? You guys ready to get besotomized? Alright, so my name is Kingpin. I'm Joe Grand. I'm one of the guys that worked on this thing. I designed the badge for those of you who don't know. And I'm an electronics guy. I like electronics, and I like messing with people, and that's why we did this. Yeah, I'm Zoss. I also like to fuck with people, and I do code mostly, but also a little bit of hardware stuff, and I did the firmware for this. So what we're going to do, this besotomizer device is something that Zoss and I came up with while we were doing a brainstorming session for something completely different. And I think he has a good story to tell about that. Yeah, this is one of the things about working with Joe. It's like, you know, we work opposite a desk most of the day, and I said to him one day, Hey, you know, I've got this idea for something that would throw up a blue screen of death that lives in a VGA dongle, and you wouldn't know where it was. Like, what do you think would be a good micro to use for that? And Joe's like, oh, you know, I think you could use a propeller for that. And he came in the very next day with a propeller board built and throwing up a blue screen. I was like, shit, you know, you better leave something for me to do. But fortunately... It ended up being a lot more to it than I thought, to miniaturize all this stuff and get it into a package that could actually be a VGA dongle. So, yeah, and if you guys haven't actually read the abstract, what this thing is is a tiny little board that sits in line with your computer monitor and a PC. Well, not yours, but the Target's computer monitor and the PC. Every once in a while it will throw up a B-SOD or some other things customizable by dip switch settings. It is also enabled by your... It's an Icon badge. And, yeah, we'll get into the details of it right now. So we're gonna go through, like, designing the hardware, designing the firmware, and then we have some video of a poor friend of ours that got totally B-SOD-omized. Yeah, you know, a technical person, you know, familiar with computers and stuff, so not just some ordinary sap. But, you know, a guy with a PhD even got totally B-SOD-omized. So this thing really works on people. Yeah. So everything that we're talking about here, all the schematics, the build materials, the firmware, the Gerber plots for the PC board layout, everything is available on the DEF CON CD. I'll also have this final presentation up online. And you can build all of this yourself. We are gonna have... We have, like, a few PC boards available, but we might assemble some kits and the stuff, as you'll see, are really small surface mount parts. But if you have the skills, you can build it yourself. And that's the intent. Yeah, and if people are interested in this and they don't want to build it themselves... We're thinking about doing a run that's fully assembled, so definitely let us know, because we'll do that, if there's interest for it. Yeah. And we'll actually end up selling those through Kingpin Empire, which is a new thing that I've just started up, a new kind of hacker-inspired apparel line. But donating a percentage of proceeds back to various, like, hacker-related charities. So EFF, ACLU, health-related charities. So if you buy a B-SOD-omizer, money goes to a good cause. All right. So the core of this... This device is the propeller. And this thing is a new microprocessor from the guys at Parallax. And they make the basic stamp and a lot of hobbyist electronics and robotics things. Up in the hardware hacking village, we had a bunch of basic stamp twos, little microprocessor modules that run basic. So Parallax is kind of doing some really cool stuff. And this part was designed completely from the ground up, from the chip level, from the gate level, all by hand by Chip Gracie. Who's the guy that started Parallax. And he's just an insane engineer and just wanted complete control of the whole project. So he just started from scratch. Eight years it took him to build this thing. Yeah, go to the next one. It's a really interesting hardware design. As far as a small microcontroller goes, it's basically designed for multi-threaded operations. So it has a whole bunch of these little cogs inside that are like independent processors. But they have a shared memory and they can communicate with each other. And so what you can do is... You can put out areas of code to an individual cog and the scheduler runs around and it gives time to each cog in turn. Even if the cog's not active, it gives the time so you can do time prediction. And so it means that you can really write close to like multi-threaded code on this little micro. Yeah, and this thing, there's a lot of kind of community development around it. Something that Parallax likes to do a lot of. So they have discussion forums and object exchange. So you can write little modules for this thing called objects. Put them up on the site and sort of trade with people. And yeah, you can write it in Spin, which is their own sort of language that they developed for the propeller or assembly RC. We did ours in Spin. Requirements for this thing, the propeller runs on 3.3 volts, so we needed a linear regulator for that. But it can run up to 80 megahertz and lots of IO pins. Oh, and the interesting thing is, as opposed to most microprocessors these days that have their flash or their ROM internal for program storage... Um... This thing uses an external WEPROM, which I'm not exactly sure why. It's totally insecure, so people won't be able to use this for any security types of applications. But I don't know. That was just something Chip wanted to do. This was our first sketch, and this set it off. We were sitting around and sketched this thing out, and it was very simple. DB15 in from VGA, some sort of switch, DB15 out, and then we had our little feature set. And this design note thing was actually useful, because the night before we were ready to ship off for DEF CON, I was going back through the slides, and I noticed that it said that there was a Mac or a PC version on this first scrolled note. I'd forgotten to do that, so shit, I quickly coded up the Mac kernel panic version. So this is the initial block diagram of the hardware. Basically, I have a propeller doing the VGA drawing to the screen, and that's controlling an analog video switch. So essentially, we're just passing through the VGA signals from the target computer to the monitor, but then every once in a while, the propeller will take control, switch over to its own VGA output, and then dump that to the target. So conceptually, very simple. And the VGA output that's being done from the prop is a text display, because the B-slot is just text. So it's not having to store any kind of internal image and render that out, but it's drawing at 1024x768, and I'm sure you could get it to output. I'm sure you could get various kinds of images if you wanted to. Yeah, and the schematic is just a cleaner version of the block diagram. If you look closely, which is very hard on this screen, there's two linear regulators. So we have two CR2032 lithium coin cell batteries stacked in series on the board. So we have six volts total coming in. We step that down to five volts for the video switcher, and then step it down again to 3.3 for the propeller. And then we have infrared receiver, standard, and then we have the battery. Different stuff, the WEPROM, the memory switch, or the video switch, and some switches. Originally, I wanted to power it off the VGA power signal, because the VGA spec does include power on one pin. But unfortunately, most video cards don't bother to support it, so we had to include the batteries. Yeah, the VCC line on there is, I don't know if it used to be supported or if it's starting to be supported, but I have a feeling it's not. I mean, now with DVI, it's sort of becoming obsolete anyway. Yeah, so one thing we figured out. The night before we were leaving for DEF CON, like actually right before we were going to hose our friend, is that one key feature to the B-SODomizer is once you plug it in, and it flashes up the B-SOD or whatever image you want, we wanted a way for it to know if the person had turned off their computer, right? Because you get a B-SOD, and the person's like, shit, they turned off their computer. We wanted it that the monitor wouldn't still be displaying the B-SOD image from our circuitry. I mean, this device can be an extremely sadistic piece of equipment, because it knows when you reboot, and it has a timer, so it'll throw up another B-SOD. So if you have a really unsuspecting individual, they could spend hours rebooting their computer, crashing, reformatting their drive, whatever. So if you do get a circuit board from us, from the few that we have left, you need to add your own line in, which is just monitoring the horizontal sync, and that way ZAWS, in its firm, can detect if the monitor's plugged in or not. Yeah, we originally intended to make a bunch of these and take them to a Best Buy in Circuit City and so on, and install them on the demo computers. But as you know, if you came to Joe's badge talk, getting hardware made can often take longer than you think, and this was no exception. We had this one that we put together made about a day or two before we had to leave for DEF CON, so we didn't have time to do that. But maybe you guys can follow on up. Yeah, we sort of expect that you guys would do that, and then film it, and put it online. What's that? Next year's CES show. Next year's CES show, yeah. Not us, but maybe one of you guys. So the bill of materials is here, and it's also on the CD. Pretty basic, mostly discreet parts, and then you just have the core big features, the microprocessor and the video switch and stuff like that, which are all pretty cheap. The propeller's the most expensive, which I think was like $7 or $10 in quantity, but given what it can do, it's pretty good. This is the PC board layout. This thing was a complete pain in the ass to route, because we wanted it very small. We basically wanted to get the unit as small as we could to fit just the VGA connectors and the battery holder, and then all of the parts would be mounted on the backside. So I had to hand route this whole thing. A four-layer board, only used three layers of it, but hand routed completely. It probably took, I don't know, like 10 hours, 20 hours to do. And it's as small as possible, so it's a lot smaller. Almost like two inches by one inch. Yeah, the amount of swearing that I heard coming from over at Joe's desk while he was routing this in Altium, I felt like he was getting besotomized by it as well. Yeah, it really sucked. And then, of course, doing a board like that that's very complicated, and we have a bunch of small surface-mount parts on there, I had no idea if this was going to work before we did it. Because typically, you build a prototype first, test that out with all of the functionality before you build the board, and we spent a few hundred dollars on getting these boards done. But I didn't have time to test it. We had to test the video switcher before we did this final board. So Zaz had been developing on just a straight drawing stuff directly to the screen with the propeller. So this was the first time we tested it with the board, and it was a little nerve-wracking. But it worked, minus that one blue wire we had to add on. Assembly drawings, you can hardly see, but they're going to be useful if you want to assemble your own. We do have, it's a black board with red silkscreen, and the red silkscreen is dark and covert, so it doesn't stand out too much when you plant this on someone's desk. But it's also hard to see if you're assembling your own. But you can see all the parts are on the back side pretty much. Yeah, we were also planning to put it in an enclosure that made it look just like some kind of VGA to VGA dongle, but of course that was another thing we didn't have time to do. And it looks better this way. Here are just some steps of assembling the board, and what it looks like at the end, the two images on the right are the completed versions. You can come up and ooh and aah at it later. And then there's a little programming header on the lower left picture, it's something called the prop clip. And there's a four pin header on the board, you just slide this prop clip on top and that's how you can program the propeller. So if you want to make firmware updates, which we did up to the last possible minute, that's how you do it. And here is firmware. Yeah, so a lot of the stuff that I used was just stuff from the parallax object exchange, so that saved a lot of time. I didn't have to write the VGA driver or the infrared decoder, which is good because we added the infrared functionality right at the last minute. We thought it would be a nice tie-in to the DEF CON badge. And it's a lot of fun when you can really mess with people in real time too. So the VGA driver is 1024 by 768. The infrared decoder fills a FIFO, so you don't have to be watching it all the time. You can come to it every so often and see if you've received an infrared off code. The main goal of the firmware and the main thing that really took some time was power saving, because those two little coin cells don't really like driving the propeller at the full 80 MHz, but you have to fire it up to 80 MHz to drive the VGA driver. So the 43 mA that it pulls will pull down those cells really quickly. It won't last very long, but you want to have this thing sitting on someone's desk for at least a day or two to really mess with them. So what I did was slow down the main loop to just 2 Hz, so you might notice a little bit of delay on a reboot or something like that, but chances are the target's not going to notice. The rest of the video pass-through mode operates at 5 MHz, and I wanted to slow it down even further. The propeller has an RC slow mode, which is actually something like 12 kHz, and it consumes almost no power at all. But I had some problems waking it up from sleep, so I bumped it up to 5 MHz, but if people wanted to screw around with that, I think you could probably get it to work. So the average current while it's passing through video is 3.5 mA, so you can get about 78 hours of runtime with it off the two cells, and that's including throwing up the occasional B-SOD. Anything with the CR2032 cells, if you guys had the DEF CON badge from last year, they don't like having to provide more than 10 mA of peak current, so we definitely had to get the power down. And we didn't want you to have to run up and change the batteries very often. The other thing is, it has these two internal oscillators in the propeller, and it has a phase-locked loop multiplier, so you can actually go through a lot of different speeds on the fly, and it doesn't take long to switch. Just 10 milliseconds plus 75 microseconds, I think. So there's no onboard timer that can last longer than the 32-bit counter, so that wraps in about 53 seconds. So I had to write a separate timer, so that it could throw up B-SODs, anything up to like a half an hour after someone uses it. With the reboot behavior, we just looked at the video H-sync, and that's a normally high signal, but you get a low pulse every 20 microseconds, so you have to just sample that a few times to make sure that you're really getting a reboot, and not just synchronizing to that low sync pulse. We have a bank of DIP switches on there, so you can set various different modes. So you can set Windows versus Mac, crash modes, the two middle switches let you set timeouts. So you can have one where it'll never timeout, and you can just use the remote. They go all the way up to 30 minutes, just to be really sadistic, to give people a chance to really get back to work and start doing something before you make them have to reboot. And then the switch floor is kind of like a kindness mode. After it throws up the B-SOD, it waits 10 seconds, and then throws up the GOATC of death to tell them that they've been B-SOD-omized. So if you don't want them to have to reboot, you can do that one. And of course, you can make all those changes yourself in the firmware. And with the remote control, you can throw a B-SOD just with the power switch, so that's what lets the DEF CON badge trigger this thing. And then I added a couple of other things just for testing, so that you can actually go back from the B-SOD to the video screen if you want to have mercy on someone, or really make them confused. And then you can also overlay the blue GOATC of death by doing a channel down. And yeah. So the tie-in that we wanted with the badge, when you apply power to the badge for this year, when you take out the battery and put it back in, the red LEDs down at the bottom go, or all the LEDs turn on, and the infrared LED up in the ninja's eye transmits the Sony power-off code like five or six times, so that's a good way to do it. And also when you enter the TV BEGONE mode, it sends the Sony power-off command like towards the beginning of the table, so you can just enter that mode and trigger it that way. And that was actually really helpful for development. Because, you know, we got to the point the night before I'm testing everything and we didn't have a Sony remote control, but fortunately we did have a stuffed DEF CON badge, so we could actually use that for testing. Alright, so here's an example of, I guess, the Mac B-SOD. Yeah, so this is kind of a cheat. People who use Macs will notice that this is an old-school Mac kernel panic screen from Darwin 10.1, but I've just changed some of the numbers to make it look a bit more modern. So the Mac mode won't really fool anyone. It's used to getting kernel panics on their Mac, but hopefully that's not too many people. I think a lot of people that get this would still be fooled. And there's the GOATC overlay. I'm just going to leave that up for a second, so you can admire it. Alright, so we put together a video. We filmed our poor friend getting totally hosed, and we hope you like it. It's like five or six minutes long, so we're going to stand here, and you guys are going to watch it. Alright, so we're going to go set this thing up on our first victim. Alright, the B-SODomizer is done, and we're going to go set this thing up on our first victim. That's right. Alright. Oh, we've got to move quick. They're coming back. Let's go. We're just filming something in here. Hold on. We want sex. Yeah, we kicked someone out of the lab for us to go plant this thing. Tiny little B-SODomizer. Awesome. Awesome. They'll never suspect a thing. And there you have it, our first B-SODomizer suspect set up for B-Sodomy. He's going to be fucked. So I'm hiding outside the door, and Zaz is going to launch this thing with the remote control. He doesn't even see him. Right now, listen. Oh, shit. Hey, Todd. JT's trying to text me. Fuck. Look at this. Fucking domestic. Our first victim. Wait. Do you have any comments? Like, oh, shit, it's a blue screen of death. No. Fucking, that's serious ASCII art there. Yeah. Wait, I think we have to tell him something. What the fuck, guys? You've just been B-SODomized. I'm not leaving this shit around you guys anymore. Oh, you fuck it. I think... High five. Yeah. Mike North. Perfect crime. Mike North has been B-SODomized. Fuck you guys. Another friend of ours we're showing it to. Is he going to squirt some bad smell at me or something? Oh, shit. My computer crashed. Oh, shit. Fuck. Oh, no. Oh, my God. Yeah. No. Then watch. What the fuck happened here? Some kind of weird ASCII art asshole. You have been B-SODomized. Say that again? I got... I got B-SODomized. I'm glad you don't remember. That's it. That's it. That's it. All right, Mike. So tell me your reaction. I'm just sitting there. I'm working on my computer. It's an important email. My roommates are getting evicted from our old house. And next thing I know, right in the middle of this email, my computer crashes. Like blue screen of death. And I'm just sitting there, no. I got a virus. I got a virus. And next thing I know, I'm getting brown-holed by ASCII art on my computer. Unbelievable. Who would do this? I'm thinking the deviant minds on the internet have infiltrated me. Right there, taking away everything I know. At first, I was thinking what scoundrels would do this? What internet hackery is at play here? And then I heard laughing from the hallway. And then I knew the deviants behind this. Fucking you guys, get next time. Wasn't me. Well, fortunately, it wasn't me either because I found it on the internet. So yeah, poor Mike North. We feel really bad. All right, so here's some things that we're expecting to see in the future. Yeah. I really like the idea of these sort of parasites. You know, these little parasitic modules that you can attach to things. You know, malicious hardware is going to get better and better as things get small. And the B-Sodomizer, in just a couple of years, I think, will be able to have a lot more functionality. We ought to store screenshots of what's going on by actually decoding the VGA signal that's coming through the switcher. And it can transmit those. So instead of just turning it off with a remote control, you could use the remote control to trigger a wireless transmission so that you could grab screen captures from the internet. It's going to be a lot easier for different people. And power requirements are going down, too. So eventually, you'll be able to have these little parasites that can survive on microamps drawn off the signal lines on monitors or network cables and be smaller. I wanted to get it down to be as small as a VGA connector, which it's not quite that small. But a lot of that's due to the batteries. And once that sort of power requirement drops down, you'll be able to get this inside a connector. And so, yeah, maybe we'll go with DVI next. You know, try to monitor stuff, even overlay on top of existing video instead of just switching back and forth. There's all sorts of stuff we can do. And, yeah, we'll see what we can come up with next. Yeah, the bright future that everyone has to expect is that, you know, formally passive elements like cables will not be able to be trusted. You just won't be able to trust anything to plug into your computer. Yeah. So, yeah, that's our talk. If there is enough interest, we'll create an assembled run of these things. I don't know, a few hundred of them or whatever. Just email us or go to the – just email me or go to the website and, like, submit a form and say I want to be sodomized or whatever. And we'll just keep track or just come up and tell us and we'll do that. So that is it. We have enough time in here to answer questions. So if you guys have anything to ask, we can answer them. And you can come up and use the mic if – oh, there's not really one. We'll repeat the question. . If the batteries do go down, does the entire thing fail even passing VGA? Yes. Oh, here's another question. . . Right, yeah. Make it look like a security dongle so no one touches it and they think it's something really important. Yeah, that's a good idea. You guys in the back. . . . Yeah, we thought about a form factor of a VGA to DVI adapter like these little white ones that you can't see but it's connected to my Mac. And, yes, we did. We were limited by a lot of things. Primarily I had to hand solder this thing and the connectors are still big. But that's the next step is integrating this thing, molding it into something that actually looks like a real product that people won't suspect. So definitely. Yeah, that's basically what I wanted it to look like. And when it's plugged in and if it had a box around it, it would look like some kind of converter that if you were technically unskilled and especially, you know, some kind of office worker that doesn't screw around at the back of their computer, I think that you would – it would be one of the later things that you'd suspect if you weren't a hacker. And one of the things I was worried about when we were setting this thing up on Mike's desk is, I mean, you saw, we just laid this thing out on the back of his desk. And he didn't even see it. And he's staring at the computer and this thing is right behind the monitor. I was worried all day because, you know, we were going to set it up earlier. And I'm like, well, he's totally going to see it. And Zas is like, no, you know, people don't really pay attention that much. So I was really worried about it. But, yeah, I mean, even something as blatant as this, he didn't see. So if you make it anywhere close to being believable as a real cable, then they'll be totally fooled. Okay. The bandwidth of the video signal I don't remember offhand. The data sheet is, I believe, on the CD. It's a Maxim, I forget, 3655 or something. I don't know. My mind is gone. I don't know. It's in the schematic. It's fast enough to support very high resolutions because it's designed for use in laptops for docking stations and things like that to switch between the, like, the internal video generation and going external. So it's a fast part off the shelf made by Maxim. Yeah. We tried it on Mike's computer up to 1600 by 1200. And it definitely works up that far. Any other questions? Yep. Who uses the model for your ASCII art? Who uses the model for the ASCII art? I just searched, did a Google search for ASCII goatsy, and it came right up. That's . Yeah. So, actually, that probably means that Google's now storing ASCII goatsy in my profile for all time. Someday I'll get, like, things in the mail that, you know, offer to sell me things related to goatsies. Yeah. Healing the problem. Any other questions? No. All right. Oh, there's another one. Where can you get the kits? Right now there's no kit. We do have a bunch of parts. But unless you really want to spend the time soldering everything on, which some people do, but it's a pain in the ass to distribute the parts right now because they're all tiny surface mount. So we have a few boards that we can sell, just bare boards. And then we'll make a run of the assembled ones. But just making kits for something like this is too hard. And then, of course, we'd have to support everybody that shorts together their TQFP 64 and their QFN 32 and their 0603 parts. So we don't like customer support. So we don't want to have to do that. Yeah. If anyone is really super psyched to do it, we do have like a few sets of parts. And I'll, you know, cut them all off the reel and give them to you. But only if you're super psyched to build this surface mount thing. I certainly wouldn't build it after seeing what Joe had to go through to do it. And I wouldn't really do it again either. All right. Well, thank you, guys.