1 00:00:00,000 --> 00:00:04,560 So got the, got to talk about freaking blinky lights today. 2 00:00:05,620 --> 00:00:10,220 Going to be talking a little bit about how to do something kind of off the wall, 3 00:00:10,300 --> 00:00:11,380 network monitoring with Arduino. 4 00:00:11,760 --> 00:00:14,860 I always want to play with electronics and get some stuff going with blinky lights, 5 00:00:15,020 --> 00:00:16,660 and I've always been just real fascinated. 6 00:00:16,940 --> 00:00:20,440 I'm kind of one of those people that sit there and stare at the switch 7 00:00:20,440 --> 00:00:24,480 and watch the lights kind of turn off and on and just kind of get mesmerized. 8 00:00:24,520 --> 00:00:27,140 I don't know what the deal is with me, but stoplights, whatever, 9 00:00:27,140 --> 00:00:30,840 you can pretty much just get me to stop what I'm doing 10 00:00:30,840 --> 00:00:34,220 if you put something in front of me that's turning on and off. 11 00:00:35,780 --> 00:00:37,360 My name's Steve Osepik. 12 00:00:37,400 --> 00:00:37,720 No Steve. 13 00:00:39,000 --> 00:00:41,620 So this is my talk. 14 00:00:43,480 --> 00:00:47,740 Just a quick note, the quality of some of the images in the presentation 15 00:00:48,380 --> 00:00:55,200 are of the homemade variety because of some legality reasons. 16 00:00:55,320 --> 00:00:56,800 We're not allowed to use the copyright images 17 00:00:56,800 --> 00:01:00,200 and things of that nature, so I do apologize in advance 18 00:01:00,200 --> 00:01:03,000 for some of the quality here. 19 00:01:03,580 --> 00:01:05,560 So just kicking right off. 20 00:01:10,880 --> 00:01:13,300 So this is kind of where I came from, right? 21 00:01:13,420 --> 00:01:18,520 The idea of modeming, and there used to be kind of this concept 22 00:01:18,520 --> 00:01:23,300 that you could kind of see what the heck you were doing while you were online. 23 00:01:23,600 --> 00:01:25,540 You had RD and SD. 24 00:01:26,080 --> 00:01:30,100 My kind of original blinky, my favorite blinky lights in the world, 25 00:01:30,180 --> 00:01:33,680 which meant actually RD was always the best because it meant you were downloading something. 26 00:01:35,720 --> 00:01:40,680 So there was this kind of visual cognition, tactile feedback, 27 00:01:41,000 --> 00:01:43,520 probably tactile is the wrong word because I think it's like physical whatever, 28 00:01:43,720 --> 00:01:47,380 but it's like a feedback kind of, like I do something, 29 00:01:47,500 --> 00:01:50,760 I push something on my keyboard, I see it on the screen, 30 00:01:50,980 --> 00:01:54,700 and then I know what's going over my serial port going off the phone line, 31 00:01:54,700 --> 00:01:58,600 because I see this kind of blinky light thing happening, right? 32 00:02:02,280 --> 00:02:05,680 So then a lot of stuff happened from then. 33 00:02:06,160 --> 00:02:10,700 So progressing through time, I kind of just took arbitrary things 34 00:02:10,700 --> 00:02:12,900 out of the history of networking. 35 00:02:13,280 --> 00:02:20,660 So I think like there was like 56K, and then NetSplosion. 36 00:02:20,800 --> 00:02:21,260 Thank you. 37 00:02:21,320 --> 00:02:24,580 I think there was like an explosion of internet stuff. 38 00:02:24,700 --> 00:02:27,900 And then YouTube was somewhere in there and a bunch of other stuff. 39 00:02:28,100 --> 00:02:30,300 And then mobile, and now there's a cloud. 40 00:02:31,060 --> 00:02:33,240 And I think he's like smoking a cigarette. 41 00:02:33,420 --> 00:02:36,000 I got one of these like disclaimers here about that. 42 00:02:36,060 --> 00:02:36,600 You shouldn't do that. 43 00:02:36,820 --> 00:02:44,140 But it's like a, it's, so it's kind of like this, a lot of stuff's happened, right? 44 00:02:44,200 --> 00:02:47,680 The whole idea of this slide, I think, I think what I was thinking was basically 45 00:02:48,760 --> 00:02:52,220 stuff's a lot faster, TCPIP, protocol diversity. 46 00:02:52,580 --> 00:02:54,680 It's not just as simple as RD and SD. 47 00:02:56,040 --> 00:02:58,720 Because you're talking about a lot of different protocols, a lot of different hosts, 48 00:02:58,840 --> 00:03:01,280 a lot of different stuff going on at the same time. 49 00:03:01,420 --> 00:03:04,280 It's a very, very chatty thing we got going on. 50 00:03:04,400 --> 00:03:06,860 Somewhere along the line we sort of lost track of what our machines are doing. 51 00:03:07,940 --> 00:03:11,720 It's just, and so we've got this, you know, this idea, this link light. 52 00:03:12,000 --> 00:03:15,600 We also have like connection pools, longer sessions, stuff like that. 53 00:03:16,980 --> 00:03:19,240 I don't know what the hell my machine's doing anymore, right? 54 00:03:19,540 --> 00:03:23,320 And yeah, my, you know, like my net stat hurts. 55 00:03:23,500 --> 00:03:24,680 I'm actually thinking about getting up there. 56 00:03:24,700 --> 00:03:25,660 Bumper sticker says that. 57 00:03:26,120 --> 00:03:33,340 But I guess the bad sign is when a two-minute PCAP file is larger than a two-minute MP3. 58 00:03:33,560 --> 00:03:35,840 I think we have some serious stuff going on in the wire. 59 00:03:36,040 --> 00:03:41,340 So it all comes down to the fact that, dude, the activity light is solid, man. 60 00:03:41,420 --> 00:03:45,620 It's just not, basically, we have one LED, right? 61 00:03:45,740 --> 00:03:47,120 It's like a total missed opportunity. 62 00:03:47,340 --> 00:03:51,320 Because you've got like this one LED and it says something's happening. 63 00:03:51,320 --> 00:03:56,660 And so you, anything you do, it's like, is something happening? 64 00:03:56,860 --> 00:03:58,020 It says, yeah, something's happening. 65 00:03:58,240 --> 00:03:59,240 It's like solid. 66 00:03:59,440 --> 00:04:00,660 It's like that's all we can ask. 67 00:04:00,780 --> 00:04:02,520 That's all we can, that's all we really know. 68 00:04:04,560 --> 00:04:09,700 So, again, I really apologize to this, especially, for this, especially like whoever's involved. 69 00:04:11,080 --> 00:04:14,740 Because apparently whoever takes pictures of these guys copyrights their images too. 70 00:04:14,920 --> 00:04:19,020 But the, basically, it comes down to this. 71 00:04:19,760 --> 00:04:29,200 Richard Baitlick and Bruce Schneier, if you want to, you know, if I want to legitimize what I'm doing up here, the industry experts are saying monitoring first. 72 00:04:29,960 --> 00:04:38,340 Monitoring first on the grassroots most lowest level is what we're talking about here, which is the little blinky lights in the front of the modem. 73 00:04:38,680 --> 00:04:43,760 You know, monitoring first, if you take it to its extreme, is kind of knowing what the hell your machine's doing at any time. 74 00:04:44,580 --> 00:04:47,140 The actual quote from Bruce, by the way, those are muscles. 75 00:04:47,460 --> 00:04:49,000 I want to make sure you knew he had a shirt on. 76 00:04:49,020 --> 00:05:04,380 But basically what Bruce Schneier said in cryptogram, actually 2001, about ten years ago, monitoring should be first step in a network security plan, something an administrator can do today to provide immediate value. 77 00:05:04,660 --> 00:05:08,240 So that makes me feel a little more legitimate in this talk. 78 00:05:08,500 --> 00:05:10,840 But basically that's the concept, right? 79 00:05:10,880 --> 00:05:14,040 If you know what the hell's going on, you can do something about it. 80 00:05:14,220 --> 00:05:16,580 And I think we skip monitoring. 81 00:05:16,760 --> 00:05:17,680 We go right to enforcement. 82 00:05:18,000 --> 00:05:19,000 I know that's what happens. 83 00:05:19,020 --> 00:05:25,800 You know, with network access control, I was in that business for a long time, and we would come into networks and say, hey, we're going to kick everyone's ass. 84 00:05:26,700 --> 00:05:28,140 And that's not supposed to be here. 85 00:05:28,220 --> 00:05:28,920 We're going to kick everybody off. 86 00:05:29,120 --> 00:05:41,380 And you get them all fired up, and people would come up with these really cool rules that sounds really nice, like, hey, if they're transferring this much data, this data rate at this time of day, then kick their butt. 87 00:05:41,520 --> 00:05:49,000 And then the CEO would come in, be on his way out of town at 9 p.m., try to copy the presentation down for the boardroom, and get kicked off. 88 00:05:49,000 --> 00:05:51,340 And everybody would get fired, and we'd lose the account. 89 00:05:52,460 --> 00:05:57,000 So the idea is that why is that? 90 00:05:57,180 --> 00:05:58,020 Why did that happen? 91 00:05:58,100 --> 00:06:01,260 Why do people want to enforce before monitoring, right? 92 00:06:01,320 --> 00:06:02,320 That's kind of goofy. 93 00:06:02,540 --> 00:06:06,020 Because if you were monitoring, you'd know that that kind of stuff happens. 94 00:06:06,140 --> 00:06:08,500 You'd know that that rule's crazy, right? 95 00:06:08,680 --> 00:06:16,160 But we try to create this kind of big brain that says, oh, we're going to feed this brain all this data, and then the data, it's going to learn, and it's going to understand your network better than you do. 96 00:06:16,400 --> 00:06:18,800 And then it's going to make these kind of interesting rules. 97 00:06:18,800 --> 00:06:23,800 You know, if you take it a step farther and you're talking about some of this, you know, the learning mode and things like that. 98 00:06:24,140 --> 00:06:24,820 Don't get me wrong. 99 00:06:25,000 --> 00:06:25,920 I mean, we need that stuff. 100 00:06:26,060 --> 00:06:26,760 We need to make it better. 101 00:06:26,860 --> 00:06:29,320 But we need to also understand what the heck's going on. 102 00:06:31,060 --> 00:06:33,680 So you start talking about monitoring, and it's like, well, wait a minute. 103 00:06:33,760 --> 00:06:34,740 We have all this cool stuff. 104 00:06:34,960 --> 00:06:40,820 And I, you know, on the side, I like to write these little miniature screenplays and throw them in the trash so you get to see one. 105 00:06:41,020 --> 00:06:45,860 So basically you mean, like, IPS, IDS, NAX, sniffers, scrapers. 106 00:06:46,920 --> 00:06:47,520 Yeah, okay. 107 00:06:47,680 --> 00:06:48,180 And then. 108 00:06:48,800 --> 00:06:53,380 No, I mean, like, what the, you know, okay, yeah, WTF, the box is doing, right? 109 00:06:53,480 --> 00:06:56,580 And then, yeah, but try Wireshark, newbie. 110 00:06:56,680 --> 00:07:00,460 And then it just kind of devolves from there. 111 00:07:00,560 --> 00:07:02,260 I don't really know what happened after that. 112 00:07:02,420 --> 00:07:07,140 But there's something about the fact that Wireshark is for analysis. 113 00:07:07,420 --> 00:07:11,320 And then I don't think that has any value at all. 114 00:07:13,100 --> 00:07:18,740 But basically, yeah, so the idea is that Wireshark, the takeaway is that Wireshark is for analysis. 115 00:07:18,740 --> 00:07:19,460 Okay? 116 00:07:20,140 --> 00:07:32,220 And not for the kind of thing I'm talking about, which is this real-time kind of tactile, I keep misusing that word, but this sort of real-time feedback that you're getting from the thing. 117 00:07:33,460 --> 00:07:34,860 So like the old days, right? 118 00:07:34,960 --> 00:07:37,400 Something, it's a good excuse for Arduino. 119 00:07:37,960 --> 00:07:39,580 It sounds good on a DEF CON schedule. 120 00:07:41,100 --> 00:07:42,120 Freaking blinky lights. 121 00:07:42,980 --> 00:07:43,420 It's. 122 00:07:44,120 --> 00:07:44,560 . 123 00:07:44,560 --> 00:07:45,300 . 124 00:07:46,300 --> 00:07:46,740 . 125 00:07:47,980 --> 00:07:48,380 . 126 00:07:50,300 --> 00:07:50,700 . 127 00:07:50,700 --> 00:07:52,640 And of course something gives you visibility. 128 00:07:53,100 --> 00:07:55,360 So now I'm going to start butchering some other words, okay? 129 00:07:55,680 --> 00:07:57,140 Visibility versus visualization. 130 00:07:58,880 --> 00:07:59,600 I don't know. 131 00:07:59,780 --> 00:08:04,500 There's no, this is me talking about trying to figure out how to do, like, the differentiation. 132 00:08:04,860 --> 00:08:08,740 It's not that these words totally, you're going to look them in the dictionary and they have this difference. 133 00:08:09,660 --> 00:08:12,140 This is just me kind of trying to express something. 134 00:08:12,880 --> 00:08:14,240 But I'm going for something that's peripheral. 135 00:08:14,540 --> 00:08:14,820 Okay. 136 00:08:14,820 --> 00:08:19,320 I'm talking about something that is going to tap into your cognition, cognition, talk 137 00:08:19,320 --> 00:08:24,340 about that in a little bit here, I'm making up my own distinctions, but visualization 138 00:08:24,340 --> 00:08:28,520 I'm thinking of as like the wire shark, right? 139 00:08:28,600 --> 00:08:34,180 I'm thinking of visualization as maybe even these beautiful graphs that do stuff and they're 140 00:08:34,180 --> 00:08:38,920 like big pie charts and top kind of looking things and all sorts of beautiful things you 141 00:08:38,920 --> 00:08:44,380 do with static data sets because you have a lot of computational time to kick these 142 00:08:44,380 --> 00:08:48,280 things, but you have a big bunch of data and you have all these cycles and you can 143 00:08:48,280 --> 00:08:49,320 visualize something statically. 144 00:08:49,680 --> 00:08:52,520 I'm trying to go for something a little different on the other end of the spectrum which is 145 00:08:52,520 --> 00:08:53,780 like the real time stuff, okay? 146 00:08:53,820 --> 00:09:01,260 So it's more tactical, military term, visibility is thinking about, I used to, I think my closest 147 00:09:01,260 --> 00:09:06,680 stint with the Navy was playing Secret Service on the Converse 64, so it was like, it said 148 00:09:06,680 --> 00:09:10,120 visibility low, visibility poor, and then like battleship would sneak up on you and 149 00:09:10,120 --> 00:09:13,160 kill you and then I'd load the trainer and kill everyone else. 150 00:09:13,240 --> 00:09:14,160 But the ‑‑ 151 00:09:14,160 --> 00:09:19,820 The thing was that there was this idea that you only have a certain amount of visibility, 152 00:09:20,240 --> 00:09:23,860 you only have a certain amount of ability to react to what's happening based on what 153 00:09:23,860 --> 00:09:24,920 you can see, right? 154 00:09:26,400 --> 00:09:31,540 So visualization taps into our ability to reason, right, to figure things out. 155 00:09:31,600 --> 00:09:32,640 It answers questions. 156 00:09:32,840 --> 00:09:38,080 Visibility might ‑‑ or visualization, excuse me, might like cause us to ‑‑ it 157 00:09:38,080 --> 00:09:38,920 might answer questions. 158 00:09:40,140 --> 00:09:43,660 Visibility is more like it taps into our cognition, okay? 159 00:09:44,160 --> 00:09:47,080 And maybe it causes us to ask questions. 160 00:09:47,900 --> 00:09:53,160 I only sort of know what I'm talking about, real time cognition, but examples are driving 161 00:09:53,680 --> 00:09:56,820 like video games and like things like sports. 162 00:09:57,760 --> 00:10:02,200 And I just kind of realized it's probably like a really bad thing to bring up at DEF 163 00:10:02,200 --> 00:10:02,360 CON. 164 00:10:02,580 --> 00:10:10,180 But the ‑‑ but basically, yeah, so it's like the real time kind of like why are you 165 00:10:10,180 --> 00:10:10,800 good at sports? 166 00:10:11,080 --> 00:10:13,580 And it's not because, well, I sit down, I get the basketball. 167 00:10:13,580 --> 00:10:19,800 And I sit down, I project the arc, and I'm going to exert the right amount of force to 168 00:10:19,800 --> 00:10:20,540 get it in the basket. 169 00:10:20,860 --> 00:10:24,360 It's because, I don't know, man, I just ‑‑ that's what I do, right? 170 00:10:24,500 --> 00:10:31,120 I just ‑‑ whatever it is they do in basketball, I just like slam on those guys all day or 171 00:10:31,120 --> 00:10:31,640 something. 172 00:10:33,460 --> 00:10:35,600 It's like the one where they ‑‑ yeah, okay. 173 00:10:35,780 --> 00:10:39,040 So direct connection between the senses, right? 174 00:10:39,100 --> 00:10:42,920 So it's because you're able to like react to something. 175 00:10:42,960 --> 00:10:43,560 You're able to see it. 176 00:10:43,560 --> 00:10:46,120 It's out of the corner of your eye, but you're able to do something about it, right? 177 00:10:46,200 --> 00:10:48,340 It's the same with video game, little sniper, you know, whatever. 178 00:10:48,980 --> 00:10:51,820 You can get really good at that, but you're not thinking about it. 179 00:10:51,880 --> 00:10:52,280 You're just doing it. 180 00:10:52,460 --> 00:10:59,620 It's acute perception of sight variances and stimuli, which sounds like freaking awesome. 181 00:11:01,480 --> 00:11:06,960 Here's the scholarly reference that I think this means what I think I'm talking about, 182 00:11:07,120 --> 00:11:11,940 which is real time cognition is best described not as a sequence of logical operations performed, 183 00:11:11,940 --> 00:11:17,900 discrete symbols kind of hanging in there on that one, but as a continuously changing 184 00:11:17,900 --> 00:11:19,260 pattern of neuronal activity. 185 00:11:19,700 --> 00:11:26,380 So what I take away from that, this poor Michael Spivey who got cited at DEF CON and Rick Dale 186 00:11:26,960 --> 00:11:32,460 of University of Memphis and Cornell University, there you go, what I take away from that is 187 00:11:33,320 --> 00:11:34,060 it's a flow. 188 00:11:34,340 --> 00:11:36,260 It's not so much that you stop doing something. 189 00:11:36,420 --> 00:11:40,320 It's not like chunked up like general analysis is. 190 00:11:40,320 --> 00:11:41,800 It's more like this flow. 191 00:11:42,080 --> 00:11:43,740 It's like this tie in to human stuff. 192 00:11:43,940 --> 00:11:45,580 So with that, that's enough of that crap. 193 00:11:45,700 --> 00:11:46,320 Let's play with electronics. 194 00:11:49,060 --> 00:11:49,740 All right. 195 00:11:53,800 --> 00:11:55,260 So this whole USB thing. 196 00:11:55,400 --> 00:11:57,840 So it's going to light up here in a minute, I'll show you. 197 00:11:59,060 --> 00:12:00,340 The idea of these peripherals. 198 00:12:00,440 --> 00:12:07,100 I thought, well, if you have things like, you know, USB nerf shooters and ninja detectors 199 00:12:07,100 --> 00:12:09,920 and LED Christmas trees, this huge market. 200 00:12:09,920 --> 00:12:12,540 Like, ThinkGeek makes a lot of money on this stuff. 201 00:12:12,700 --> 00:12:16,640 If you have all this stuff that's hanging around your desk, maybe that's the place to 202 00:12:16,640 --> 00:12:17,040 put this. 203 00:12:17,340 --> 00:12:22,000 I started off this idea actually a while ago thinking that I was going to put it in 204 00:12:22,000 --> 00:12:26,880 some little window in the side, like you could put it maybe in a little square or something 205 00:12:26,880 --> 00:12:27,760 somewhere on the screen. 206 00:12:28,580 --> 00:12:35,160 And that's all well and good except every stinking application just is like a ‑‑ it'll 207 00:12:35,160 --> 00:12:36,980 just grab focus from you all day long. 208 00:12:37,100 --> 00:12:38,860 If you ever try to preserve something on the screen. 209 00:12:38,860 --> 00:12:45,040 Unless you tap into some sort of OS call like stay on top or, you know, whatever, you're 210 00:12:45,040 --> 00:12:46,540 not going to be able to do that. 211 00:12:46,720 --> 00:12:49,260 It's going to get thrown away. 212 00:12:49,560 --> 00:12:52,160 There's also like the dashboard icons and stuff. 213 00:12:52,380 --> 00:12:53,420 Like you could flip to dashboard. 214 00:12:53,600 --> 00:12:54,380 But that's not always there. 215 00:12:54,640 --> 00:12:55,020 Right? 216 00:12:55,060 --> 00:12:56,420 You have to hit the dashboard button. 217 00:12:56,660 --> 00:12:57,680 Dashboard pops up. 218 00:12:58,140 --> 00:13:02,140 And I don't want this big flashing thing that says, you know, you got owned like 20 minutes 219 00:13:02,140 --> 00:13:02,380 ago. 220 00:13:02,600 --> 00:13:02,840 You know? 221 00:13:02,960 --> 00:13:07,920 I'd rather have something ‑‑ there's also like little widgets in the system tray where 222 00:13:07,920 --> 00:13:09,500 you have about five pixels to work with. 223 00:13:09,640 --> 00:13:12,400 So I thought, you know, I want something on the desk. 224 00:13:12,600 --> 00:13:16,180 Because look, there's a lot of room around the desk where the laptop sits. 225 00:13:16,440 --> 00:13:16,660 Okay? 226 00:13:16,680 --> 00:13:18,360 There's actually a lot of room there. 227 00:13:18,500 --> 00:13:21,880 So that's a good reason, another good excuse to do something with Arduino. 228 00:13:22,680 --> 00:13:26,380 The crazy idea is I want to render network data on LED matrix in real time. 229 00:13:27,100 --> 00:13:27,520 Okay? 230 00:13:27,600 --> 00:13:31,960 I want to use things like color, motion, stuff that I can do, any creative whatever 231 00:13:31,960 --> 00:13:37,520 thing I can somehow put together to actually show what's happening. 232 00:13:37,520 --> 00:13:38,860 I want to get a feel for it. 233 00:13:39,220 --> 00:13:41,760 I want to tap into this pattern matching. 234 00:13:41,980 --> 00:13:42,920 People are real good at this. 235 00:13:43,020 --> 00:13:46,620 I mean, it's like that thing where something's wrong with the car. 236 00:13:47,680 --> 00:13:48,980 I'm terrible at this stuff. 237 00:13:49,140 --> 00:13:50,760 I'm not a mechanic by any stretch of the imagination. 238 00:13:51,340 --> 00:13:55,260 But I know that, you know, if something's going on and I turn the wheel a certain way 239 00:13:55,260 --> 00:13:59,420 and I get this little bit of vibration, I get this little bit of feedback, I notice 240 00:13:59,420 --> 00:14:00,160 that it's different. 241 00:14:00,340 --> 00:14:00,660 You know? 242 00:14:00,720 --> 00:14:05,520 Maybe there's some cars that move a certain way and you kind of get just ‑‑ you just 243 00:14:05,520 --> 00:14:06,720 naturally sort of take in. 244 00:14:07,980 --> 00:14:12,080 And you start driving around, you know, whatever, and then it starts vibrating, you know, hey, 245 00:14:12,080 --> 00:14:12,520 that's different. 246 00:14:12,660 --> 00:14:13,680 I think it goes back to the cavemen. 247 00:14:13,820 --> 00:14:16,900 It's like they came out and there's like seven buffalo out there. 248 00:14:17,200 --> 00:14:20,600 And then they came out the same time next year and it's like there's two buffalo out 249 00:14:20,600 --> 00:14:20,720 there. 250 00:14:20,820 --> 00:14:22,380 And it's like, dude, it's time to get the hell out of here. 251 00:14:22,560 --> 00:14:22,800 You know? 252 00:14:22,920 --> 00:14:24,020 We got to find more buffalo. 253 00:14:24,240 --> 00:14:25,120 It's like this pattern matching. 254 00:14:25,280 --> 00:14:28,500 It's actually based on our ability to survive. 255 00:14:28,800 --> 00:14:31,140 I think it's a survival mechanism, to be honest with you. 256 00:14:31,240 --> 00:14:34,060 So cereal box is the name of this thing. 257 00:14:34,140 --> 00:14:35,680 No cute name or anything. 258 00:14:35,680 --> 00:14:42,940 The word cereal box, like the cute version with S-E-R-I-A-L was taken by some, I don't 259 00:14:42,940 --> 00:14:45,000 know, something out of the 90s, some other program. 260 00:14:45,700 --> 00:14:47,880 So I was just like, well, hell, I'll just call it cereal box. 261 00:14:48,020 --> 00:14:52,840 And the reason I call it that is because, I don't know, how many people in here, like, 262 00:14:52,840 --> 00:14:54,360 have read the back of cereal boxes? 263 00:14:54,620 --> 00:14:55,780 I mean, do you guys kind of know what I mean? 264 00:14:55,800 --> 00:14:58,420 I see some fans are like nodding, yeah, I know what you mean. 265 00:14:58,540 --> 00:15:02,080 I mean, it's just the most inane bullshit on the back of those things, you know? 266 00:15:02,500 --> 00:15:04,840 It's like, why the hell am I doing the maze? 267 00:15:04,840 --> 00:15:10,360 To get, like, you know, the cocoa bird or whatever to the freaking, you know, so he 268 00:15:10,360 --> 00:15:12,180 can get his hook up at the end of this. 269 00:15:12,820 --> 00:15:14,940 I don't get it, you know, but I do it. 270 00:15:15,000 --> 00:15:15,260 Why? 271 00:15:16,040 --> 00:15:16,440 Why? 272 00:15:16,660 --> 00:15:18,160 Do I do this to myself? 273 00:15:18,340 --> 00:15:23,020 And the reason is, honestly, the reason is because it's there. 274 00:15:24,240 --> 00:15:24,860 That's why. 275 00:15:25,100 --> 00:15:27,740 I wish I could tell you something smarter than that. 276 00:15:27,800 --> 00:15:31,780 I wish it was, I wish I could actually say that it's because, I don't know, something 277 00:15:31,780 --> 00:15:32,660 to do with my childhood. 278 00:15:32,820 --> 00:15:33,460 And, and. 279 00:15:34,840 --> 00:15:37,940 It's not to do with, you know, market analysis, but it's just because it's there, okay? 280 00:15:39,620 --> 00:15:42,560 And the thing is that we're big on that. 281 00:15:42,760 --> 00:15:44,340 If it's there, we'll play with it. 282 00:15:44,460 --> 00:15:45,280 And that's what I want. 283 00:15:45,420 --> 00:15:47,080 I want this thing to be there, right? 284 00:15:48,220 --> 00:15:49,360 I want it to be in the background. 285 00:15:49,620 --> 00:15:52,140 I want it to be something we can kind of see out of the corner of our eye. 286 00:15:52,260 --> 00:15:54,440 That's why I call it, by the way, cereal box, in case, you know. 287 00:15:54,660 --> 00:15:59,440 So pattern detection, it lets us see the variances without digging in. 288 00:15:59,560 --> 00:16:00,300 It's just enough. 289 00:16:00,620 --> 00:16:01,540 It's just enough information. 290 00:16:01,820 --> 00:16:03,400 I can't, I mean, I got, you know. 291 00:16:04,020 --> 00:16:04,820 I'll show this. 292 00:16:04,820 --> 00:16:06,160 I'll show this here in a minute when I get it doing stuff. 293 00:16:06,380 --> 00:16:09,440 But I've got this much space to work with, okay? 294 00:16:09,620 --> 00:16:11,980 I've got a tiny, tiny little bit of space to work with. 295 00:16:12,100 --> 00:16:14,980 So I can't do all the things I would want to do. 296 00:16:15,040 --> 00:16:16,100 I can't see all the things I want to see. 297 00:16:16,180 --> 00:16:16,720 But maybe that's good. 298 00:16:16,820 --> 00:16:19,440 Maybe that's going to force me to think, well, what do I really need to see, right? 299 00:16:20,720 --> 00:16:23,420 So I based it on the Arduino Uno, which is real cool. 300 00:16:23,620 --> 00:16:24,260 It's a little board. 301 00:16:24,620 --> 00:16:27,560 It's based on a chip called the Atmel Atmega 328. 302 00:16:27,800 --> 00:16:28,820 I'm not a hardware hacker. 303 00:16:29,040 --> 00:16:30,300 I have any stretch of imagination. 304 00:16:31,160 --> 00:16:32,260 These tools are really nice. 305 00:16:32,300 --> 00:16:33,580 Makes it really easy to do this stuff. 306 00:16:34,480 --> 00:16:34,800 It's a nice little thing. 307 00:16:34,820 --> 00:16:35,560 It's an 8-bit CPU. 308 00:16:36,000 --> 00:16:37,140 It's 16 megahertz. 309 00:16:37,200 --> 00:16:37,760 So pretty powerful. 310 00:16:37,960 --> 00:16:42,320 But I'll tell you, it's got 32K of flash, which means that's how big your program can 311 00:16:42,320 --> 00:16:43,280 be once it's compiled. 312 00:16:43,700 --> 00:16:45,160 But it's only got 2K. 313 00:16:45,380 --> 00:16:52,120 It's got 2K of SRAM, which is a real, real interesting thing, especially if you're going 314 00:16:52,120 --> 00:16:54,420 to do anything, you know, kind of higher end. 315 00:16:54,620 --> 00:16:58,020 You definitely will push that pretty much with any project you do. 316 00:16:59,540 --> 00:17:03,600 2K SRAM, what that means is, you know, that's how much space you actually have to actually 317 00:17:03,600 --> 00:17:04,800 do your stuff, right? 318 00:17:04,820 --> 00:17:08,400 That's where you store your dynamic data structures. 319 00:17:08,820 --> 00:17:12,980 Your static data structures, those can sit in flash, you can access those at run time. 320 00:17:13,260 --> 00:17:17,980 But your dynamic data structures, which, of course, network data is anything, you know. 321 00:17:18,800 --> 00:17:20,440 If anything, it's dynamic. 322 00:17:20,840 --> 00:17:23,140 You have to store that in your SRAM. 323 00:17:24,500 --> 00:17:25,440 USB powered. 324 00:17:25,720 --> 00:17:28,620 There's serial communication with a chip. 325 00:17:28,980 --> 00:17:30,700 It's the Atmega U2. 326 00:17:30,940 --> 00:17:33,800 The only reason I bring that up is there's no hardware handshaking. 327 00:17:33,800 --> 00:17:36,440 thinking. So those of you who go back to the modem days, it's 328 00:17:36,440 --> 00:17:39,820 like I'm sitting here in 2001 and I'm talking about this 329 00:17:39,820 --> 00:17:45,620 hardware and RTS CTS would be like a feature. I almost had to 330 00:17:45,620 --> 00:17:49,380 write X on X off on this thing. But as you know, you can't ‑‑ I 331 00:17:49,380 --> 00:17:51,440 mean, I would have to flash the thing and I don't know how to do 332 00:17:51,440 --> 00:17:55,380 that. So basically I just made it run kind of slow. I decided 333 00:17:55,380 --> 00:17:59,700 well, at that point I remember 9600 was pretty good. That's 334 00:17:59,700 --> 00:18:02,300 the speed that it's kind of rated at or comes at by default. 335 00:18:02,300 --> 00:18:04,800 So I just figured well, anything I do, I'm going to keep it 336 00:18:04,800 --> 00:18:09,100 inside of this window. One of my limitations is 9600 baud. You 337 00:18:09,100 --> 00:18:11,380 can get that for about 30 bucks. There's also something called a 338 00:18:11,380 --> 00:18:14,440 color shield. This is a really cool little thing. This is 339 00:18:14,440 --> 00:18:17,680 something that ‑‑ the things for Arduino are called shields. 340 00:18:18,100 --> 00:18:20,660 So when you see the word shield, that means that's an add‑on 341 00:18:20,660 --> 00:18:26,300 board for the Arduino. And this one is a shield that has a chip 342 00:18:26,300 --> 00:18:29,580 on it to control LEDs. So it makes it very easy. You'll see a 343 00:18:29,580 --> 00:18:32,280 lot of ‑‑ if you go on to YouTube, I've got a bunch of 344 00:18:32,280 --> 00:18:36,360 YouTube and you type in Arduino, LEDs, you'll see a lot of wire 345 00:18:36,360 --> 00:18:39,840 wrap and bread boards and stuff where people are doing a lot of 346 00:18:39,840 --> 00:18:41,860 cool stuff, but they're having to do it all manually and hook 347 00:18:41,860 --> 00:18:44,140 all this stuff up together. This makes life a lot easier if 348 00:18:44,140 --> 00:18:46,200 you're going to play with LEDs, with blinky lights. 349 00:18:47,400 --> 00:18:55,000 IT Studio sells it for $15. And they also sell a multicolor LED 350 00:18:55,000 --> 00:18:58,440 matrix for about 21. So at the end of the day, we're at about 351 00:18:58,440 --> 00:19:02,260 66 bucks for this. So not too bad. I mean, if someone is going 352 00:19:02,280 --> 00:19:04,740 to pick this up and start making a whole bunch of them, mass 353 00:19:04,740 --> 00:19:07,140 producing will probably get down really cheap, probably produce 354 00:19:07,140 --> 00:19:09,680 something like this for 10 bucks or something. But for hobbyist 355 00:19:09,680 --> 00:19:12,880 electronics, you know, that's not too bad. And you can do a 356 00:19:12,880 --> 00:19:14,740 lot of other stuff with this is the nice thing. You're not just 357 00:19:14,740 --> 00:19:19,340 stuck with whatever this is. So the design goals have to be 358 00:19:19,340 --> 00:19:23,360 simple, have to ‑‑ I'm going to send stuff from the host. The 359 00:19:23,360 --> 00:19:26,520 host, of course, it can't sniff. It's just USB. So I have to have 360 00:19:26,520 --> 00:19:29,120 a sniffer on the box, on my own box. But then the sniffer is 361 00:19:29,120 --> 00:19:32,260 going to send that data, whatever data I'm interested in, 362 00:19:32,280 --> 00:19:36,280 over the serial link, and it's going to render it on the 363 00:19:36,280 --> 00:19:40,020 Arduino. Serial box, the code that's running on the Arduino is 364 00:19:40,020 --> 00:19:43,060 in charge of rendering that to the screen. That's its job. Its 365 00:19:43,060 --> 00:19:46,300 job is to render anything I send it to the screen. I have 366 00:19:46,300 --> 00:19:50,280 2K SRAM, minimal data processing, should be easy. I want 367 00:19:50,280 --> 00:19:52,500 you guys to be able to play with this. The source code, you 368 00:19:52,500 --> 00:19:54,900 already have it. This is kind of fun. I don't know if you know 369 00:19:54,900 --> 00:19:57,680 this. You already have this. It's on the ‑‑ the source 370 00:19:57,680 --> 00:20:02,260 code for it is on the DEF CON DVD. So you actually have it. 371 00:20:02,280 --> 00:20:06,220 You have it right now. So I was hoping ‑‑ I'm kind of glad 372 00:20:06,220 --> 00:20:08,400 that not everybody got up and left. I thought maybe that was 373 00:20:08,400 --> 00:20:11,620 going to do it. So I saved it to the middle, but I think we're 374 00:20:11,620 --> 00:20:16,580 okay. So data points, here's what I'm sending, MAC address, 375 00:20:16,720 --> 00:20:21,100 IP address, TCP or UDP port and country code. Here's what it 376 00:20:21,100 --> 00:20:26,920 looks like. So I can say I wrote my own protocol, but really all 377 00:20:26,920 --> 00:20:31,540 I did was I just took, like, one was open, two was closed, and 378 00:20:31,540 --> 00:20:32,260 then I just put a bunch of stuff in there. And then I just 379 00:20:32,280 --> 00:20:35,400 put a bunch of other stuff in hex, separated by commas. So if 380 00:20:35,400 --> 00:20:38,160 you could call that a protocol, yeah, then ‑‑ so when I'm 381 00:20:38,160 --> 00:20:40,460 trying to show off in front of the girls, I say I wrote my own 382 00:20:40,460 --> 00:20:44,420 protocol. But really, you guys know the truth. It's just ‑‑ 383 00:20:45,100 --> 00:20:48,480 it's just nine ‑‑ it's just that many characters, however 384 00:20:48,480 --> 00:20:53,340 many characters that is across Serialink. All that stuff's 385 00:20:53,340 --> 00:20:56,980 already there. By the way, basic C, good enough. I know you guys 386 00:20:56,980 --> 00:21:01,360 are getting antsy to see some stuff. So by the way, text 387 00:21:01,360 --> 00:21:04,640 processing in C, this is the kind of thing that ‑‑ where I'm 388 00:21:04,640 --> 00:21:08,120 kind of a purist, and I always think, well ‑‑ or I think of 389 00:21:08,120 --> 00:21:11,200 myself as a purist, which is probably completely false. But I 390 00:21:11,200 --> 00:21:14,800 think of, like, man, why do we have all these high‑level 391 00:21:14,800 --> 00:21:17,200 languages like Java and Ruby and all this stuff when I could just 392 00:21:17,200 --> 00:21:19,920 be programming C, and it was like the good old days, and I 393 00:21:19,920 --> 00:21:22,740 really, really want to, like, just take advantage of every 394 00:21:22,740 --> 00:21:25,460 little register on my processor and do everything, like, super 395 00:21:25,460 --> 00:21:30,160 fast. And you kids these days and all that kind of curmudgeoning 396 00:21:30,160 --> 00:21:30,360 stuff. 397 00:21:30,360 --> 00:21:35,580 But then you actually sit down, it's like, okay, rock star, now 398 00:21:35,580 --> 00:21:38,560 you have to process a string in C, right? And it's like, oh, 399 00:21:38,580 --> 00:21:43,260 son of a bitch. So the ‑‑ so this is the thing. I mean, you 400 00:21:43,260 --> 00:21:45,720 just see a lot of this kind of stuff. It's probably full of God 401 00:21:45,720 --> 00:21:48,560 knows what security ‑‑ you know, somebody's going to, like, 402 00:21:48,560 --> 00:21:55,300 totally pwn your cereal box. But it's a ‑‑ yeah, you know, 403 00:21:55,360 --> 00:21:58,600 it's basically just taking one character in at a time, going 404 00:21:58,600 --> 00:22:00,340 through the ASCII table. I have the ASCII table. I have the ASCII 405 00:22:00,360 --> 00:22:03,980 table.com or whatever in my bookmarks now, and just staring 406 00:22:03,980 --> 00:22:09,260 at it. So this is the cool stuff. Coloredunio library. It's 407 00:22:09,260 --> 00:22:13,640 huge help in dealing with the LEDs. Setting an LED. So for 408 00:22:13,640 --> 00:22:15,700 those of you trying to figure out how to do this, it's very 409 00:22:15,700 --> 00:22:19,120 simple. There's some basic code there to do it. If I want to 410 00:22:19,120 --> 00:22:25,020 set coordinate 3, X3, Y8 to blue, I'm going to do set pixel 411 00:22:25,020 --> 00:22:29,080 directly, or I could do it using a pointer and do increment. I 412 00:22:29,080 --> 00:22:30,340 didn't write this. This is by the ‑‑ this is by the 413 00:22:30,360 --> 00:22:35,280 this dude, Linko Matic, and he's awesome. I sent him an e‑mail 414 00:22:35,280 --> 00:22:38,260 and let him know I'm going to be doing this talk, so I sent him 415 00:22:38,260 --> 00:22:41,060 a recording of this. But I was just very impressed with it. It's 416 00:22:41,060 --> 00:22:44,900 a very, very cool library. This is something I did. This was 417 00:22:44,900 --> 00:22:49,880 kind of my contribution, right, where I had this problem where I 418 00:22:49,880 --> 00:22:54,040 couldn't ‑‑ I only have 32K of flash and 2K of RAM. I didn't 419 00:22:54,040 --> 00:22:57,380 want to store a big static table in memory to convert country 420 00:22:57,380 --> 00:23:00,220 code. You're going to see why this is important here in a 421 00:23:00,220 --> 00:23:00,340 minute. But I didn't want to store a big static table in 422 00:23:00,340 --> 00:23:05,420 a minute to RGB values. So what you're going to see is one of 423 00:23:05,420 --> 00:23:08,700 the views. There's two views I'm going to show you. One view is 424 00:23:08,700 --> 00:23:11,300 going to show you all the connections that are on. It's 425 00:23:11,300 --> 00:23:15,920 going to fill up the matrix, the LED matrix with all the 426 00:23:15,920 --> 00:23:19,160 different country ‑‑ all the different sessions that are being 427 00:23:19,160 --> 00:23:22,260 done by the machine, and it's going to color code them 428 00:23:22,880 --> 00:23:27,500 according to what country using GOIP, what country I'm talking 429 00:23:27,500 --> 00:23:30,320 to. Okay? How I did that was I went to the 430 00:23:30,320 --> 00:23:32,740 browser, basically took the country code and using the random 431 00:23:33,240 --> 00:23:38,360 thing that's inside of C, I just kind of made up a color on the 432 00:23:38,360 --> 00:23:41,420 fly. The random is pseudo random. So it's not really random. It's 433 00:23:41,420 --> 00:23:44,160 always going to be the same. So once you learn the color for a 434 00:23:44,160 --> 00:23:48,040 country ‑‑ and oddly enough, U.S. was green. So I thought that 435 00:23:48,040 --> 00:23:52,380 was kind of interesting. But some other countries were red. And 436 00:23:52,380 --> 00:23:55,640 you'll find those out on your own. But it was kind of apt, I'm 437 00:23:55,640 --> 00:24:00,300 just saying. So it just ‑‑ the way I did it, I 438 00:24:00,300 --> 00:24:05,200 mean, the way that it worked, you just sort of realize how ‑‑ 439 00:24:05,200 --> 00:24:08,740 that basically, yes, that's U.S. because I've memorized that. I 440 00:24:08,740 --> 00:24:10,520 don't even have a list. I couldn't give you a list. I 441 00:24:10,520 --> 00:24:13,220 would have to actually send all the country codes to this thing 442 00:24:13,220 --> 00:24:14,980 to give you a list of all the colors. It's going to do it on 443 00:24:14,980 --> 00:24:19,460 the fly. But it's always going to be the same. And then ‑‑ so, 444 00:24:19,560 --> 00:24:22,480 yeah, the first letter turns to green, the result in green, turns 445 00:24:22,480 --> 00:24:25,480 into blue and all that stuff. So now is the part of the talk 446 00:24:25,480 --> 00:24:29,600 where I try to show you how this works. First, what I'm going to 447 00:24:30,300 --> 00:24:30,880 do is I'm going to show you how this works. So here's the 448 00:24:30,880 --> 00:24:34,020 challenge. As you can see, I was wearing a shirt there. Don't 449 00:24:34,020 --> 00:24:41,860 let them fool you, okay? It's just V‑neck or something. It 450 00:24:41,860 --> 00:24:45,480 was ‑‑ it was late at night, you know. But here's my main 451 00:24:45,480 --> 00:24:48,560 problem. You can't tell what the hell is going on there, right? I 452 00:24:48,560 --> 00:24:52,260 mean, the whole thing is that there's ‑‑ it's all blown 453 00:24:52,260 --> 00:24:56,560 out. So this was the challenge. I was like, how am I going to go 454 00:24:56,560 --> 00:24:59,200 from a DEF CON, how am I going to show these guys how this 455 00:24:59,200 --> 00:25:00,280 works? So I'm going to do two things. One is I'm going to do 456 00:25:00,280 --> 00:25:03,380 two ways. I'm going to show it on there and just kind of do the 457 00:25:03,380 --> 00:25:06,380 little hold it up, like show and tell in front of the school thing. 458 00:25:06,840 --> 00:25:10,080 And then I've got a movie that will show up on the big screen 459 00:25:10,540 --> 00:25:13,380 where I had a ‑‑ I found this old camcorder. It's like the only 460 00:25:13,380 --> 00:25:17,040 way I could do this. The old camcorder had like an exposure 461 00:25:17,040 --> 00:25:18,860 switch and I could turn the exposure way down. It actually 462 00:25:18,860 --> 00:25:23,220 looked real good. So let me ‑‑ now this ‑‑ I worked this out 463 00:25:23,220 --> 00:25:29,820 with the AV guy. We'll see if this works here. Okay, cool. So 464 00:25:30,280 --> 00:25:37,560 let me jump over here. Here's what I'm doing. Basically, this 465 00:25:37,560 --> 00:25:42,840 is a Perl script that comes with it. It's also on the DVD. I'm 466 00:25:42,840 --> 00:25:47,640 doing Perl ‑‑ let me make this a little bigger. Perl CB PL. 467 00:25:47,960 --> 00:25:51,080 It gives you usage if you don't know how to do it. The 468 00:25:53,120 --> 00:26:00,080 interface, the IP, the source IP, and the actual serial port 469 00:26:00,280 --> 00:26:03,000 that it's going to talk to. So this is going over serial. It's 470 00:26:03,000 --> 00:26:05,920 actually serial emulation over USB. I guess it's not really 471 00:26:05,920 --> 00:26:11,320 emulation. It's actual serial. So Perl CB PL, blah, blah, blah. 472 00:26:11,980 --> 00:26:18,160 Get that going. And then from there, down here, I'm just ‑‑ 473 00:26:18,160 --> 00:26:21,520 this is ‑‑ I'm doing the TCP replay thing. So what should 474 00:26:21,520 --> 00:26:25,380 happen if we're lucky and the demo gods don't frown on us. 475 00:26:25,440 --> 00:26:29,020 There we go. Okay. So what's happening here is I'm doing a 476 00:26:29,020 --> 00:26:30,160 TCP replay from some ‑‑ 477 00:26:30,160 --> 00:26:34,560 some PCAP stuff I recorded. And what's happening is every time 478 00:26:34,880 --> 00:26:38,220 something comes up, it's going to render it to the screen. 479 00:26:38,360 --> 00:26:40,660 Actually, I think I picked the wrong one. But you can kind of 480 00:26:40,660 --> 00:26:43,720 get an idea of what this looks like. Actually, I think this is 481 00:26:43,720 --> 00:26:46,400 about to freak out. I picked the port scan one. I think I 482 00:26:46,400 --> 00:26:49,140 picked the port scan one. Yeah, I picked the port scan one. So 483 00:26:49,140 --> 00:26:53,280 it just kind of ‑‑ well, okay. Now, so you spend $66 on this 484 00:26:53,280 --> 00:26:55,820 thing and everybody comes by your desk and like, really? 485 00:26:56,180 --> 00:26:56,500 Seriously? 486 00:27:00,200 --> 00:27:04,160 Yeah. So let's try another one that's not quite as crazy as that. 487 00:27:06,120 --> 00:27:12,080 Actually, I stopped the wrong thing. I work through this stuff, like, 20 million 488 00:27:12,080 --> 00:27:15,560 times and then I get up here and crap all over myself. 489 00:27:19,380 --> 00:27:25,140 Let's do browsing. Browsing sounds good. So, let's start ‑‑ start up our 490 00:27:25,140 --> 00:27:29,160 daemon again. It's real simple. It will reset itself if you stop it. It just gives you a 491 00:27:29,160 --> 00:27:32,940 feel for playing around with this stuff and how this works. 492 00:27:33,080 --> 00:27:35,640 So don't worry. Guys in the back, we're going to show it on 493 00:27:35,640 --> 00:27:38,240 the big screen here in a minute. But just to give you sort of a 494 00:27:38,240 --> 00:27:41,360 feel, right? Again, it's going to be much better on the screen 495 00:27:41,360 --> 00:27:43,240 because on the screen you can see what I'm doing and there's 496 00:27:43,240 --> 00:27:45,560 this analog. Remember, this is all about comparing and pattern 497 00:27:45,560 --> 00:27:50,640 matching. But what's happening is as I connect to different 498 00:27:50,640 --> 00:27:53,160 websites, the lights are turning on, lights are turning off, as 499 00:27:53,160 --> 00:27:55,740 connections open and close, they're turning, here we go, 500 00:27:55,900 --> 00:27:58,560 here's some more, some more, and it's just kind of floating 501 00:27:58,560 --> 00:28:01,340 around like that. So that's view number one. This is on your 502 00:28:01,340 --> 00:28:06,440 desk. You have 128, actually. It's two screens out of 64. So 503 00:28:06,440 --> 00:28:10,580 if you go over 64 what will happen is and I hope I'm not 504 00:28:10,580 --> 00:28:13,480 under-cerving anyone here, there's kind of a wide room. But 505 00:28:13,480 --> 00:28:21,900 the lights will, if it goes over 64, it will switch back and 506 00:28:21,900 --> 00:28:25,660 forth using a timer. So I just set that there and let it sort 507 00:28:25,660 --> 00:28:28,180 of just, see, it's kind of active right now like I was 508 00:28:28,180 --> 00:28:28,540 doing a whole webinar raise, and it really just didn't make 509 00:28:28,560 --> 00:28:36,540 bunch of stuff there. There's some blue. There it flipped over to the other screen. Okay. 510 00:28:36,720 --> 00:28:42,560 So you see I get really excited about that. I have a hard time setting it down. So now 511 00:28:43,420 --> 00:28:50,980 we'll show the movie and the movie will help. Let me see here. So first one is the session. 512 00:28:51,160 --> 00:28:56,120 This is we're doing the session view. So again, very similar to what you just saw in real 513 00:28:56,120 --> 00:29:05,600 code in real time. So zooming in here, this is the Arduino IDE. Okay. So this is going to this 514 00:29:05,600 --> 00:29:08,760 is where you type the code if you want to write code. I mean you can type in whatever you want. 515 00:29:08,840 --> 00:29:14,620 But this has the upload button. It's actually handy. You push the upload button, you send it 516 00:29:14,620 --> 00:29:22,200 over to serial and then it flashes the Arduino with the code from the thing. So then coming 517 00:29:22,200 --> 00:29:26,100 over here, there's our Perl script thing. So we're going to go ahead and do that. So we're 518 00:29:26,120 --> 00:29:27,460 going to go ahead and go ahead and set up our Kubernetes. Again you just fire that off. 519 00:29:27,600 --> 00:29:32,580 Really the only argument is just getting it set up. And then from there I'm going to pan 520 00:29:32,580 --> 00:29:38,200 down, and this is much easier on the eyes. You can see the little guy start to fill up 521 00:29:38,200 --> 00:29:45,060 there. So there's some stuff going on. So if your network card was a giant modem 522 00:29:45,060 --> 00:29:49,140 and it had LEDs on it, I think this is something like what it would look like. 523 00:29:49,380 --> 00:29:53,440 And so then I zoom out a little bit and you can start seeing where I'm browsing the Web 524 00:29:53,440 --> 00:29:54,420 I've been doing other stuff. 525 00:29:54,900 --> 00:30:00,720 I'm trying to be cognizant that this is being presented at DEF CON, so I'm going to, like, 526 00:30:00,800 --> 00:30:05,040 kind of unoffensive sites and things that don't have my session key in the URL. 527 00:30:05,520 --> 00:30:08,440 I also cleared out the Google search window ahead of time. 528 00:30:09,700 --> 00:30:12,780 And so, yeah, pretty much pretty boring stuff here. 529 00:30:12,980 --> 00:30:21,140 But there is something coming up that is particularly interesting as far as, like, the country code. 530 00:30:21,240 --> 00:30:22,000 You notice everything is green. 531 00:30:22,000 --> 00:30:24,440 This is all the stuff I've been going to is in the U.S. 532 00:30:25,320 --> 00:30:33,460 So here in a second it's going to go to another country and we'll see how the lights kind 533 00:30:33,460 --> 00:30:33,820 of change. 534 00:30:34,000 --> 00:30:36,040 So you notice that as it's just sitting there, nothing is happening. 535 00:30:36,200 --> 00:30:40,340 This is kind of interesting, interesting to me anyway, that, you know, these connections 536 00:30:40,340 --> 00:30:42,160 stick around as long as they do, oh, they all went away. 537 00:30:42,520 --> 00:30:44,320 That's just the way the web servers work, right? 538 00:30:44,360 --> 00:30:45,540 They have that connection open thing. 539 00:30:45,740 --> 00:30:46,660 You're connecting to Apache. 540 00:30:47,060 --> 00:30:48,620 It's leaving the session open for a while. 541 00:30:48,800 --> 00:30:49,980 It's preserving its connection pools. 542 00:30:50,180 --> 00:30:50,680 Here we go. 543 00:30:50,700 --> 00:30:51,040 Some blue. 544 00:30:51,040 --> 00:30:51,160 Some blue. 545 00:30:53,160 --> 00:30:56,400 You're going to tell other people I was talking to be, like, there was this part and he hit 546 00:30:56,400 --> 00:30:57,120 something and it was blue. 547 00:30:57,380 --> 00:30:58,300 It was awesome. 548 00:31:01,400 --> 00:31:03,880 And so that's because I went to BBC UK. 549 00:31:05,480 --> 00:31:07,920 So you see there's still a smattering of other things. 550 00:31:08,100 --> 00:31:09,960 It was, like, green and blue. 551 00:31:10,520 --> 00:31:11,760 And Tiger Woods on there. 552 00:31:12,400 --> 00:31:15,100 And then there's a guy with a frowny face so I had to click on him. 553 00:31:15,980 --> 00:31:19,360 And so that wasn't at all what I was expecting, by the way. 554 00:31:19,580 --> 00:31:19,940 So. 555 00:31:19,940 --> 00:31:22,120 Basically, this is the thing, right? 556 00:31:22,160 --> 00:31:22,860 This is the session thing. 557 00:31:23,140 --> 00:31:23,320 Okay. 558 00:31:23,960 --> 00:31:24,320 Okay. 559 00:31:24,360 --> 00:31:24,980 So that's cool. 560 00:31:27,560 --> 00:31:27,920 Now. 561 00:31:28,500 --> 00:31:29,160 Back to. 562 00:31:29,440 --> 00:31:30,540 Let's see if I can get back here. 563 00:31:30,600 --> 00:31:31,280 This is going to be the trick. 564 00:31:34,080 --> 00:31:34,720 All right. 565 00:31:38,740 --> 00:31:39,100 Cool. 566 00:31:41,020 --> 00:31:41,380 Good. 567 00:31:41,480 --> 00:31:41,820 Okay. 568 00:31:41,880 --> 00:31:42,620 So data storage. 569 00:31:43,640 --> 00:31:44,800 So how am I doing all that? 570 00:31:45,020 --> 00:31:46,240 Well, I do store it in array. 571 00:31:48,320 --> 00:31:48,840 I do. 572 00:31:48,840 --> 00:31:49,640 It does have to know. 573 00:31:49,820 --> 00:31:51,320 See, I was trying to make it as stupid as possible. 574 00:31:51,420 --> 00:31:53,840 I was trying to make the Arduino as stupid as possible. 575 00:31:53,900 --> 00:31:55,220 I was trying to make Perl script as stupid as possible. 576 00:31:55,300 --> 00:31:56,220 I just want everything to be stupid. 577 00:31:56,460 --> 00:31:56,700 Right? 578 00:31:56,800 --> 00:31:57,680 I was just trying to make everything stupid. 579 00:31:58,280 --> 00:32:02,440 So I couldn't do that because the Arduino had to be smart enough to know when I say 580 00:32:02,440 --> 00:32:04,280 close where it's at. 581 00:32:04,480 --> 00:32:04,620 Right? 582 00:32:04,660 --> 00:32:07,740 I have to be smart enough to know that I'm going to close the session. 583 00:32:08,040 --> 00:32:09,980 So how did I do that? 584 00:32:10,760 --> 00:32:12,140 I store the IP in the port and array. 585 00:32:12,460 --> 00:32:13,720 There's nine bytes per array. 586 00:32:13,880 --> 00:32:14,540 I had to do the math. 587 00:32:14,760 --> 00:32:15,860 It came out to, like, 1.2K. 588 00:32:15,960 --> 00:32:16,800 I was like, oh, my God. 589 00:32:17,540 --> 00:32:18,820 I took up 1.2K. 590 00:32:18,820 --> 00:32:20,060 That's such a beast. 591 00:32:20,400 --> 00:32:22,640 It's like bloated ware, you know? 592 00:32:24,800 --> 00:32:28,200 So there's the array, multidimensional. 593 00:32:28,680 --> 00:32:29,660 Isn't that awesome? 594 00:32:30,140 --> 00:32:31,560 Say multidimensional. 595 00:32:32,680 --> 00:32:38,640 It's different positions of the LED matrix and then I've got a little two hex command 596 00:32:38,640 --> 00:32:42,360 I wrote in there, a function to convert this stuff over. 597 00:32:43,040 --> 00:32:44,660 So that's some code there. 598 00:32:44,860 --> 00:32:45,480 Meter mode. 599 00:32:45,620 --> 00:32:47,300 So I said there's two views. 600 00:32:48,060 --> 00:32:49,660 Meter mode is the next one. 601 00:32:50,500 --> 00:32:51,840 Let me go ahead and show you that. 602 00:32:52,260 --> 00:32:56,860 Think about ‑‑ so this is the other thing I was thinking, and, again, the main thing 603 00:32:56,860 --> 00:32:58,820 here is just try to get you being creative. 604 00:32:59,020 --> 00:33:02,820 The whole idea of this talk is, okay, I did the session view, I did the meter mode. 605 00:33:03,140 --> 00:33:07,620 I want you guys thinking ‑‑ or somebody smarter than me saying, hey, what about this 606 00:33:07,620 --> 00:33:07,880 mode? 607 00:33:08,160 --> 00:33:08,720 What about this view? 608 00:33:08,800 --> 00:33:09,340 What about this view? 609 00:33:09,700 --> 00:33:10,920 It's all kind of stuff we could do. 610 00:33:11,100 --> 00:33:15,680 So this is ‑‑ and this is still on here. 611 00:33:17,120 --> 00:33:20,660 This is ‑‑ you know, I just realized this is still running, right? 612 00:33:20,780 --> 00:33:24,320 So I probably lost most of you probably staring at that thing. 613 00:33:24,580 --> 00:33:26,240 It's just distracting. 614 00:33:27,620 --> 00:33:28,400 Oh, here we go. 615 00:33:28,500 --> 00:33:29,020 So meter mode. 616 00:33:29,260 --> 00:33:29,600 All right. 617 00:33:29,740 --> 00:33:34,880 So now we're going to upload the meter code. 618 00:33:35,160 --> 00:33:36,000 There's two different programs. 619 00:33:36,280 --> 00:33:38,320 I originally had them combined into one program. 620 00:33:38,640 --> 00:33:42,960 One thing was that when I combined them in the same program, I think I ran out of SRAM. 621 00:33:43,040 --> 00:33:43,600 You don't know. 622 00:33:43,820 --> 00:33:44,760 You don't know. 623 00:33:44,760 --> 00:33:50,880 When the blinky lights start doing some kind of strobe-y, nasty thing, I think is the scientific 624 00:33:50,880 --> 00:33:56,300 term, and it just, like, I'll tell you, when this thing freaks out, it freaks out hard. 625 00:33:56,640 --> 00:33:57,520 It's kind of cool. 626 00:33:57,660 --> 00:34:00,040 Because I want to go back and just see all the different ways to freak it out. 627 00:34:00,580 --> 00:34:00,880 Okay. 628 00:34:00,900 --> 00:34:07,140 What this is, what my recording self is trying to show you here is that the different ‑‑ the 629 00:34:07,140 --> 00:34:13,000 different things you're going to see ‑‑ think about an equalizer view, out of like the 630 00:34:13,000 --> 00:34:14,740 ‑‑ out of, like, the‑‑. 631 00:34:14,760 --> 00:34:21,920 the 80s or something like your old stereo system. You know, it was really cool when you got a 632 00:34:21,920 --> 00:34:26,760 stereo system and all of a sudden it shows up and it's like, wow, I can see the notes. I can see 633 00:34:26,760 --> 00:34:29,740 the bass and I can see all the treble and I can see the notes and they're jumping up and down. 634 00:34:29,820 --> 00:34:33,660 Of course, that was a whole other stage of my life, right, where I sat in front of one of those 635 00:34:33,660 --> 00:34:44,240 all day. So this was where I kind of took it, which is this stuff here, we've got eight. So if 636 00:34:44,240 --> 00:34:48,700 we've got an eight by eight matrix, we've got eight lines to work with. So I'm going to define 637 00:34:48,700 --> 00:34:54,920 web, DNS remote, mail file. So these are different things. So web traffic, 80443, DNS traffic, 638 00:34:55,260 --> 00:35:03,760 remote protocols like RDP, SSH, mail stuff, like POP3 and SMTP, file protocols. I also put like 639 00:35:03,760 --> 00:35:08,560 Kerberos and things you would use to get logged into your domain controllers or whatever in 640 00:35:08,560 --> 00:35:14,220 there. So enterprise file sharing, whatever stuff. And then if it doesn't match, you can 641 00:35:14,220 --> 00:35:20,260 match that. It's an under 10. Under 10 is exclusive with those other things. If it's some other 642 00:35:20,260 --> 00:35:27,040 port under 10, thousand, other 10,000, I don't mean under finger or whatever it was, but under 643 00:35:27,040 --> 00:35:33,740 10,000 is, I'm completely wrong. Somebody like, no, it's not 10. Somebody do it. So under 10, 644 00:35:34,820 --> 00:35:41,700 under 10,000 and then over 10,000 is going to be the other one. And then local is the only one 645 00:35:41,700 --> 00:35:44,200 that will pop up in addition to the other ones because it's going to be the other one. So 646 00:35:44,220 --> 00:35:53,560 if it's on local link, then it'll fire up there. So that's that. And actually, you know what I'm 647 00:35:53,560 --> 00:35:57,060 going to do? I'm kind of getting out of my own rule here. What I'm going to do before I do that 648 00:35:57,060 --> 00:36:04,380 is upload the, yeah, I'm going to upload it to the board we're playing with here. So I'm going to 649 00:36:04,380 --> 00:36:13,940 control C that. I got to get off of the serial before I upload the code there. Or bad things 650 00:36:14,220 --> 00:36:19,360 happen. So this is my other program. Originally, I had them both. Like I said, originally I had 651 00:36:19,360 --> 00:36:22,800 them combined. There actually is a way to combine these. You can do that. It's possible. It's 652 00:36:22,800 --> 00:36:30,320 definitely possible. The thing is that the, I didn't like the fact that my session view was 653 00:36:30,320 --> 00:36:35,080 getting clobbered by my meter view. So here's the meter view, okay, to give you an idea. Each of 654 00:36:35,080 --> 00:36:39,360 these being a different color. The colors we just looked at, you can define them however you want 655 00:36:39,360 --> 00:36:44,200 in the code. But basically, those little guys are going to jump up and down based on the 656 00:36:44,220 --> 00:36:52,120 kind of traffic you see. So let me run same, really, it's the same, I could do the same TCP 657 00:36:53,300 --> 00:37:00,860 replay thing. Let's fire this up again. It's going to reset, turn on, load up, and then I'm 658 00:37:00,860 --> 00:37:09,920 going to replay that. Okay. And so what you're going to see is stuff start jumping up and down. 659 00:37:10,180 --> 00:37:13,400 So you notice web is jumping up and down there. Don't worry, I'm going to show this on the big 660 00:37:13,400 --> 00:37:13,840 screen, too. 661 00:37:14,920 --> 00:37:20,400 Web is jumping up and down a lot. You're going to see DNS. A number of things just sort of, 662 00:37:20,440 --> 00:37:25,440 actually, I think I turned off DNS. This is something that's important about this program. I 663 00:37:25,440 --> 00:37:30,340 actually made DNS an option. There is one more little option here because I noticed that if you 664 00:37:30,340 --> 00:37:34,320 put DNS in the session view, you're just going to get flooded with DNS in there because DNS is, 665 00:37:34,420 --> 00:37:39,140 you know, your machine just fires those off like crazy. So actually, I'm going to do a redo here 666 00:37:39,140 --> 00:37:44,200 and add the flag DNS so that you can actually see the DNS. There we go. And you know, 667 00:37:44,220 --> 00:37:49,320 notice that the white thing is jumping up and down, too, as the DNS is jumping up and down. 668 00:37:49,440 --> 00:37:53,540 Well, that's because the DNS server is on my local network. So anything that's a DNS session 669 00:37:53,540 --> 00:37:58,300 is also going to be a local session. Okay. So let's show it on the big screen here. 670 00:38:02,980 --> 00:38:10,160 All right. So let's see. So there. See, my recording self is a lot smarter than DEF CON self 671 00:38:10,160 --> 00:38:14,080 because he remembered to put DNS in there. And actually, he's kind of, he's kind of, 672 00:38:14,220 --> 00:38:20,400 flaunting it because he highlighted it. You see that? That guy's kind of a bastard. So here's 673 00:38:20,400 --> 00:38:27,740 the meter. And there we go. So we're rocking out to DNS. We're rocking out like this. You know, 674 00:38:27,760 --> 00:38:34,340 the bass is hitting and, you know, somebody's just wailing the guitar. So then you hit the 675 00:38:34,340 --> 00:38:42,060 different stuff. Like I'm showing my kind of friendly web browsing here. There we go. So you 676 00:38:42,060 --> 00:38:44,020 notice. Now, remember that this is session based. 677 00:38:44,220 --> 00:38:49,820 If I send every single packet over this link, it would be a fire hazard. Right? So I can't send 678 00:38:49,820 --> 00:38:54,660 every packet. I have to send over 9600 bot. I have to send the link data, the session data. So you 679 00:38:54,660 --> 00:38:59,860 might be browsing and be opening up a bunch of pages on the same site. You'd be stupid. No, 680 00:38:59,880 --> 00:39:03,620 Steve, this shit doesn't work. And it'll be like, no. And then you've got to remember that I said 681 00:39:03,620 --> 00:39:08,500 this, that it's only when you open up a new session. So if you go to another page, then it'll 682 00:39:08,500 --> 00:39:14,200 start working again. And hopefully I'll be off the hook. So there's just, like I said, a lot of 683 00:39:14,200 --> 00:39:19,520 generic browsing going to different sites. So that's kind of fun. And then I think here 684 00:39:19,520 --> 00:39:28,300 somewhere I start to get into another protocol. So, again, now at this point, let's see. So there's 685 00:39:28,300 --> 00:39:32,300 some stuff. You know what that probably is? That's probably Skype. Skype is actually a really 686 00:39:32,300 --> 00:39:37,100 chatty son of a gun. What you'll see, too, this was actually kind of fun while I was working on 687 00:39:37,100 --> 00:39:41,560 this. I actually had it going a lot of times as I was working. I just sort of have it going on the 688 00:39:41,560 --> 00:39:44,180 desk. And actually I got really attached to it. So I'm going to show you a little bit of that. 689 00:39:44,200 --> 00:39:52,540 I go to bed with it at night now. But the thing is that what you'll see is we have a dispersed 690 00:39:52,540 --> 00:39:58,400 team. And somebody over from Sao Paulo, my friend Rodrigo, will send me a message. Oh, there's 691 00:39:58,400 --> 00:40:05,400 me doing ‑‑ there it is. Remote desktop. I know you guys would appreciate this. There's no 692 00:40:05,400 --> 00:40:11,500 CA, right? I thought you guys liked that. So, look, there's some other colors. You know? And 693 00:40:11,500 --> 00:40:14,180 then I think that one was purple. So then you can say then after it was purple, you can say then after 694 00:40:14,200 --> 00:40:21,220 it was blue, it was purple. So then it goes to remote desktop. So you get the picture. You get 695 00:40:21,220 --> 00:40:25,960 different file sharing stuff. You get different colors based on what you're doing. So the whole 696 00:40:25,960 --> 00:40:31,200 thing is it was fun with the session view. What I would see is if Rodrigo was about to send me a 697 00:40:31,200 --> 00:40:37,940 message, it's that thing that says Rodrigo is typing on Skype. And so before I even knew 698 00:40:37,940 --> 00:40:44,080 Rodrigo was sending me anything, I would see the color for Sao Paulo, for Brazil, which is magenta, 699 00:40:44,200 --> 00:40:48,020 it would show up. And I would be like, ah, Rodrigo is going to send me a message. And bam, Rodrigo 700 00:40:48,020 --> 00:40:53,640 sent me a message. It was really cool. And then it was like my other buddy Tom McKenzie over in the 701 00:40:53,640 --> 00:40:57,200 U.K. says he's going to send me a message. And all of a sudden I see blue. I'm like, ah, Tom 702 00:40:57,200 --> 00:41:00,980 McKenzie is going to send me a message. So that was kind of fun. It's kind of cool. You actually 703 00:41:00,980 --> 00:41:06,340 learn a lot about how your different protocols work. Oh, here we go. I didn't show you this. I 704 00:41:06,340 --> 00:41:11,900 should have been talking about this. This is the whole thing, right? This is the whole ‑‑ this is 705 00:41:11,900 --> 00:41:14,180 why this is kind of interesting. Security. This is why this is kind of interesting. Security. This is 706 00:41:14,200 --> 00:41:20,740 the security application. What I'm doing here is I'm going to actually launch a port scan. So it 707 00:41:20,740 --> 00:41:24,840 didn't really zoom in. I probably should have zoomed in there. Maybe I did. No. So I did an 708 00:41:24,840 --> 00:41:30,140 end map. Up there in the corner in the left‑hand corner is an end map. And check it out. Holy 709 00:41:30,140 --> 00:41:35,240 crap, the thing is pegged. This is that part where it's like I turn the car and it makes a 710 00:41:35,240 --> 00:41:38,680 funny noise and I don't know what the hell is going on and something is wrong and you start 711 00:41:38,680 --> 00:41:43,920 talking about warranty and you look at the fine print and you realize you're out $1,000. But this 712 00:41:43,920 --> 00:41:48,340 is that part, right, where you know something is different, the pattern matching thing. It 713 00:41:48,340 --> 00:41:52,080 doesn't usually do that. If I was in a call center and I had no idea about computers, I had no 714 00:41:52,080 --> 00:41:57,340 idea about networks, I could stand up and say something is effed up. Something is wrong. The 715 00:41:57,340 --> 00:42:10,820 blinky lights, they're doing weird shit, man. So now we get to the fun part. Now we get to see ‑‑ 716 00:42:13,300 --> 00:42:18,180 okay. We get to see something cool here in a minute. This was my thing about no handshaking. 717 00:42:19,380 --> 00:42:25,660 Message size 32 bytes, 37 messages per second is probably about the most we can get. There is 718 00:42:25,660 --> 00:42:29,520 another thing. The great thing about embedded, the great, awesome, wonderful thing about 719 00:42:29,520 --> 00:42:33,740 embedded is, you know, any time you have a really, really difficult computer science problem or 720 00:42:33,740 --> 00:42:40,020 whatever, you talk to people and they're like, disks are cheap. Processors are cheap. 721 00:42:40,320 --> 00:42:40,800 Computers are cheap. They're cheap. They're cheap. They're cheap. They're cheap. They're cheap. 722 00:42:40,820 --> 00:42:45,860 Computers are cheap. Let's just solve it by, like, throwing just a whole bunch of really, 723 00:42:45,940 --> 00:42:49,840 really heavy instructions at it and it gives a crap so I can go, you know, make it a happy 724 00:42:49,840 --> 00:42:54,260 hour. So that's not the case here, right? You actually ‑‑ it's almost like playing 725 00:42:54,260 --> 00:42:57,760 Sudoku or something. You actually ‑‑ it's a puzzle. You have to figure out from the 726 00:42:57,760 --> 00:43:02,860 beginning you're screwed, right? You have to ‑‑ you know that you have to be very, very 727 00:43:02,860 --> 00:43:07,160 careful and you have to be performance conscious from day one. So you have to do the math, do 728 00:43:07,160 --> 00:43:10,800 the nice 600 baud, two bytes, and I have nine ‑‑ you know, you have to be very, very 729 00:43:10,800 --> 00:43:14,660 careful. Nine bytes or whatever. I did the math. I could get about top end 37 messages 730 00:43:14,660 --> 00:43:19,260 per second, probably realistically only about 32 messages per second. So the other thing 731 00:43:19,260 --> 00:43:24,700 was in session mode I had this thing that this concept that you're going to hit a ceiling 732 00:43:24,700 --> 00:43:29,900 and the problem is you're going to fill up 128 lights and then you're not going to know 733 00:43:29,900 --> 00:43:33,000 if you're getting port scanned. I really want that whole thing about, oh, man, something 734 00:43:33,000 --> 00:43:37,840 screwed up, right? I want that concept. So I made something called inferno mode. Inferno 735 00:43:37,840 --> 00:43:40,380 mode is this meter ‑‑ 736 00:43:41,040 --> 00:43:44,940 that needs to ‑‑ that basically keeps track of how many connections are coming in and I 737 00:43:44,940 --> 00:43:48,340 preferred ‑‑ you know, I was thinking preferably something kind of psychedelic, you know, 738 00:43:48,340 --> 00:43:53,120 to like ‑‑ at least if you're getting, like, totally owned, you could be like, whoa, cool, 739 00:43:53,300 --> 00:44:02,300 look, man. My blinky lights are like, oh, fucked up. So overload detection, right? Define 740 00:44:02,300 --> 00:44:06,300 overload 90. You can define this whatever you want. That's conservative. This is a very 741 00:44:06,300 --> 00:44:10,360 conservative number. If the number of commands are over overload, mode nine, you can define 742 00:44:10,380 --> 00:44:17,480 is the bad one, right? So ‑‑ so I'm down to ‑‑ I'm down to five here. So I think this is 743 00:44:17,480 --> 00:44:27,820 actually going to work out just about right. Here comes inferno mode. Port scan. Just going to 744 00:44:27,820 --> 00:44:32,460 end map ourselves. You know, it's a good example. It's reconnaissance. Somebody is doing 745 00:44:37,980 --> 00:44:40,760 reconnaissance. Okay. So, yeah, just one, three, six, five, five, three, five. 746 00:45:00,680 --> 00:45:02,440 . So I will let you know, I didn't 747 00:45:02,460 --> 00:45:09,640 do the plasma effect, but I did the frowny face. Okay. Yeah, so that's the whole thing, right? 748 00:45:09,740 --> 00:45:15,200 So I think ‑‑ I think that's kind of the international symbol of you're screwed, right? 749 00:45:17,620 --> 00:45:20,980 Actually I tried to put ‑‑ it's pretty sad because you don't have a lot to work with. 750 00:45:21,080 --> 00:45:32,020 You know you're kind of screwed when you don't even have enough room to write LOL. So that 751 00:45:32,020 --> 00:45:41,300 is the high point. From there, just so you know, the little thing about the Perl script I'm running 752 00:45:41,300 --> 00:45:47,080 on here, it does work on Snow Leopard, which is cool. It does work on off course Linux, BSD, 753 00:45:47,200 --> 00:45:51,400 whatever. It's just Perl. Had a little bit of trouble getting it to work on Windows. I think 754 00:45:51,400 --> 00:45:54,380 I'm going to take another stab at that because I think, you know, to make it universal, we've got 755 00:45:54,380 --> 00:45:58,600 to get Windows in there, too. So I'll probably be putting something on the website about this. 756 00:45:58,660 --> 00:46:02,000 All open source, of course. Fairly good stuff. So I'm going to stop there. We're going to go to the 757 00:46:02,000 --> 00:46:06,620 next one. It's fairly simple. It's using GLIP. I tried to keep it to a minimum on the 758 00:46:06,620 --> 00:46:10,220 requirements of Perl scripts, so hopefully it's not too hard to get going. There's only two 759 00:46:10,220 --> 00:46:15,100 messages, open and close. You can make your own. You don't have to use my Perl script. All 760 00:46:15,100 --> 00:46:19,360 it's doing is it's doing what ‑‑ you know, you can do this in Ruby, Python, you can hook 761 00:46:19,360 --> 00:46:22,800 up SCAPI to this thing, you can do whatever you want as long as you can talk to the serial port 762 00:46:22,800 --> 00:46:26,740 over an i600 bot and send those funny little messages that we were talking about earlier. Heck, 763 00:46:26,800 --> 00:46:31,320 you can take the serial box code, figure out how it works, how a network engineer would approach 764 00:46:31,320 --> 00:46:31,840 this problem. 765 00:46:32,000 --> 00:46:37,500 And change some stuff. The other ideas I had were, like, maybe you could make an Ethernet 766 00:46:37,500 --> 00:46:41,940 version of this. There is such a thing as Ethernet shield. It would eliminate the whole USB thing, 767 00:46:42,080 --> 00:46:46,180 but honestly, I think it would probably be really, really poor performance, so I don't know about 768 00:46:46,180 --> 00:46:51,280 that. Maybe there's better host site programs. Of course, the most important one is bigger LEDs, 769 00:46:51,540 --> 00:47:01,920 right? That would be the big feature add there. And there's some links. So what do you think? 770 00:47:01,920 --> 00:47:03,640 Pretty cool. So that's what we have.