1 00:00:00,000 --> 00:00:02,780 So, wow, this is like my sixth year doing this stuff. 2 00:00:03,260 --> 00:00:04,860 We got more toys to show off. 3 00:00:05,460 --> 00:00:09,360 All right, who here did it the first time to one of my talks? 4 00:00:11,660 --> 00:00:13,360 Awesome. Thanks for coming, guys. 5 00:00:14,180 --> 00:00:17,540 So, I don't know if anyone else does this. I sure do. 6 00:00:17,800 --> 00:00:20,660 I like good questions. I like insightful thoughts. 7 00:00:20,840 --> 00:00:26,320 I like people who mess with my head, and I reward such behavior with cool alcoholic beverage. 8 00:00:29,260 --> 00:00:34,880 So, if you've got an idea of something going on, think of it after the talk. 9 00:00:35,020 --> 00:00:38,680 There's a mic. Come up. Ask a question if it's good. Good things will happen. 10 00:00:40,000 --> 00:00:42,180 For now, let's talk about some pattern recognition. 11 00:00:43,540 --> 00:00:44,960 So, who am I? Some guy. 12 00:00:45,380 --> 00:00:46,620 What are we here to do today? 13 00:00:50,900 --> 00:00:55,820 Oh, there are talks where I talk about one thing and just go really in-depth. 14 00:00:55,820 --> 00:00:57,040 This isn't that talk. 15 00:00:57,820 --> 00:01:01,360 We're going to do like six or seven things, and we're going to go pretty quick because, you know, 16 00:01:01,460 --> 00:01:04,540 there's just not enough time to do everything, but that's never stopped me before. 17 00:01:05,440 --> 00:01:09,640 So, we are going to show off some mechanisms that enforce network neutrality. 18 00:01:09,840 --> 00:01:13,620 The telcos are up to some damn creepy stuff, and, well, what can I say? 19 00:01:13,820 --> 00:01:15,140 I like messing with them. 20 00:01:15,960 --> 00:01:21,300 We are going to, you know, I have me a nice little box that I can send packets faster. 21 00:01:21,580 --> 00:01:24,160 I cannot send packets faster than this network can route them. 22 00:01:24,920 --> 00:01:25,800 So, let's go. 23 00:01:25,820 --> 00:01:28,000 I can send lots of traffic, and I do on a regular basis. 24 00:01:28,260 --> 00:01:29,560 So, I looked at some SSL servers. 25 00:01:30,340 --> 00:01:31,900 I also looked at online banking. 26 00:01:32,100 --> 00:01:36,380 This is so embarrassing that someone has to do this work, but, oh, well, I'll fix it too. 27 00:01:37,580 --> 00:01:40,240 I kind of put a bug in OpenSSH a few years ago. 28 00:01:40,880 --> 00:01:41,600 Let's fix it. 29 00:01:42,340 --> 00:01:44,440 I'll do it with pattern recognition and just entropy. 30 00:01:45,080 --> 00:01:47,060 And, of course, pretty, pretty pictures. 31 00:01:47,700 --> 00:01:54,580 Now, I have a habit of showing off really cool, pretty pictures that, well, aren't necessarily useful. 32 00:01:55,820 --> 00:02:00,640 This time around, we are going to do, wow, that needs a little bit more light, but whatever. 33 00:02:01,340 --> 00:02:08,380 We are going to compare two files visually at a size of 16,000 pixels by 13,000 pixels. 34 00:02:08,600 --> 00:02:11,300 And the similarities will be completely visually identifiable. 35 00:02:12,260 --> 00:02:15,320 But, first off, let's talk about network neutrality. 36 00:02:16,820 --> 00:02:17,300 Telcos. 37 00:02:17,940 --> 00:02:22,100 Telcos have basically said, you know, we've been looking at this network traffic. 38 00:02:22,340 --> 00:02:24,940 There's some pretty cool stuff you're saying on our networks. 39 00:02:24,940 --> 00:02:26,940 We should charge you more for that. 40 00:02:28,440 --> 00:02:29,980 It gets a little creepy. 41 00:02:30,520 --> 00:02:35,880 When you actually filter it all down, it devolves down to an old thing that we have in the crypto world. 42 00:02:36,180 --> 00:02:40,220 Alice and Bob are in prison and are attempting to communicate without the warden interfering. 43 00:02:40,620 --> 00:02:41,540 How do they do that? 44 00:02:42,100 --> 00:02:49,380 Now, I never actually looked at my ISP as my prison warden, but, hey, it's an interesting thought experiment. 45 00:02:51,520 --> 00:02:52,340 Don't believe me? 46 00:02:52,760 --> 00:02:54,460 Check out this quote from Comcast. 47 00:02:54,460 --> 00:02:55,020 This is great. 48 00:02:55,120 --> 00:03:02,220 To accommodate the needs of our customers who do choose to operate VPN, Comcast offers the Comcast at-home professional product. 49 00:03:02,500 --> 00:03:10,000 At-home pro is designed to meet the needs of the ever-growing population, the small office, blah, blah, $95 a month if you want to check your email from home. 50 00:03:12,380 --> 00:03:16,660 No one actually thought, like, who here has had a minimum wage job? 51 00:03:19,820 --> 00:03:20,840 Funny thing, guys. 52 00:03:21,700 --> 00:03:23,900 So, you guys are making a couple bucks an hour. 53 00:03:24,560 --> 00:03:26,080 YouTube's losing a million bucks a month. 54 00:03:26,260 --> 00:03:27,580 You guys made more than YouTube. 55 00:03:30,420 --> 00:03:32,380 Network neutrality has nothing to do with YouTube. 56 00:03:32,520 --> 00:03:35,060 Those guys just shovel cash into a firing hole. 57 00:03:35,380 --> 00:03:36,280 No, no, no, no, no. 58 00:03:36,300 --> 00:03:38,020 It's all about freaking VPNs. 59 00:03:38,120 --> 00:03:40,880 It's all about $1,100 a year per telecommuter. 60 00:03:41,000 --> 00:03:42,920 Yeah, I'm a geek, but you know what? 61 00:03:43,000 --> 00:03:44,460 The price of oil has tripled. 62 00:03:44,580 --> 00:03:46,840 Pretty soon we're going to see a heck of a lot more telecommuting. 63 00:03:47,000 --> 00:03:52,400 They want their $45 billion a year, and they're going to break my network to do it. 64 00:03:52,860 --> 00:03:53,920 I don't like that. 65 00:03:55,080 --> 00:03:56,840 So, what am I going to do about it? 66 00:03:58,800 --> 00:04:00,300 TCP bandwidth estimation. 67 00:04:00,420 --> 00:04:04,180 You guys didn't actually think I was done with crazy little TCP hacks. 68 00:04:04,420 --> 00:04:05,600 Oh, no, no, no, no. 69 00:04:05,620 --> 00:04:07,120 I just get to keep playing with this stuff forever. 70 00:04:07,860 --> 00:04:11,640 So, TCP bandwidth estimation, an elegant weapon for a more civilized age. 71 00:04:11,920 --> 00:04:15,720 TCP, standard protocol for doing communication between points on the Internet, 72 00:04:15,980 --> 00:04:20,700 is very flexible, very well-tuned, very auto-tuning to the capabilities of a network. 73 00:04:20,880 --> 00:04:24,200 It is able to automatically determine the amount of available bandwidth, 74 00:04:24,460 --> 00:04:25,900 between any two points. 75 00:04:26,220 --> 00:04:30,320 Now, if you have two different clients that are using the exact same network, 76 00:04:30,540 --> 00:04:33,800 they actually do manage to figure out how much traffic they can split. 77 00:04:34,020 --> 00:04:37,260 But these boxes do not talk directly to one another. 78 00:04:37,480 --> 00:04:41,620 The entire process of figuring out how much speed to put on the wire, 79 00:04:41,680 --> 00:04:44,960 how many packets, is done by just looking for dropped packets. 80 00:04:45,300 --> 00:04:47,860 Oh, wow, a packet dropped. I better slow the hell down. 81 00:04:48,180 --> 00:04:49,800 That's pretty much how TCP works. 82 00:04:50,160 --> 00:04:54,380 Now, what this means is that dropped packets are an information channel 83 00:04:54,460 --> 00:04:57,960 They're a source of useful entropy on the net. 84 00:04:59,100 --> 00:05:04,000 Well, we're trying to figure out, TCP traditionally figures out that packets have dropped. 85 00:05:04,400 --> 00:05:06,720 Can we figure out why? 86 00:05:09,060 --> 00:05:10,660 So, here's what we're gonna do. 87 00:05:11,140 --> 00:05:15,460 TCP has told us that you can only send packets at 5k a second. 88 00:05:15,640 --> 00:05:19,060 And if you send them faster than 5k a second, something bad's gonna happen. 89 00:05:19,160 --> 00:05:20,000 You're gonna drop traffic. 90 00:05:20,200 --> 00:05:23,660 So, what do you do? You send packets faster than 5k a second. 91 00:05:24,700 --> 00:05:25,900 You send it one hop. 92 00:05:27,020 --> 00:05:28,480 So, you have your stream going. 93 00:05:29,100 --> 00:05:31,280 It's 5k a second. It's working. It's going. 94 00:05:31,580 --> 00:05:34,920 And you start putting on more traffic than the network has told you it can do. 95 00:05:35,080 --> 00:05:37,340 But you only let it go one hop in the network. 96 00:05:37,660 --> 00:05:39,200 What happens? Most likely nothing. 97 00:05:39,780 --> 00:05:42,200 It's only gone one hop. It's probably just on your local LAN. 98 00:05:42,380 --> 00:05:44,320 You let it go two hops. You let it go three hops. 99 00:05:44,400 --> 00:05:49,640 Oh, now you have gotten a total of 10k a second onto a router 100 00:05:49,640 --> 00:05:52,600 that has basically been dropping packets down on you until 5. 101 00:05:53,060 --> 00:05:54,440 Now, you go ahead and get it. 102 00:05:54,460 --> 00:05:55,080 You get packets dropping. 103 00:05:55,440 --> 00:05:57,800 Now, you're able to identify the specific hop 104 00:05:57,800 --> 00:06:03,420 and thus the specific internet service provider that has its limitations. 105 00:06:04,020 --> 00:06:06,360 Now, you say, that's kind of a neat little trick. 106 00:06:06,560 --> 00:06:08,880 And of course, it's not difficult. You can do this with HPing. 107 00:06:08,940 --> 00:06:10,920 I didn't even need to write any code to do this. 108 00:06:10,980 --> 00:06:14,260 You like run HPing with a couple of straight up obvious commands and it goes. 109 00:06:16,240 --> 00:06:19,100 As long as we're injecting interference, you know, 110 00:06:19,140 --> 00:06:21,720 we can control exactly what that interference is. 111 00:06:22,560 --> 00:06:23,380 So, you say, huh. 112 00:06:24,460 --> 00:06:24,920 More traffic. 113 00:06:25,380 --> 00:06:26,240 Packets get dropped. 114 00:06:26,440 --> 00:06:28,000 What if Viacom sent that traffic? 115 00:06:28,740 --> 00:06:30,560 What if NBC sent that traffic? 116 00:06:31,080 --> 00:06:32,840 What if my workplace sent that traffic? 117 00:06:32,980 --> 00:06:34,100 You can change the source IP. 118 00:06:34,380 --> 00:06:37,400 Now, you go, oh, but Dan, how will you ever see any replies? 119 00:06:37,620 --> 00:06:39,740 Well, you're not looking for replies from your spoofed source IP. 120 00:06:39,940 --> 00:06:41,860 You don't care about the actual interference. 121 00:06:42,140 --> 00:06:43,420 You're just injecting interference. 122 00:06:43,780 --> 00:06:47,660 And the back channel is in the TCP session that's been going at 5k a second 123 00:06:47,660 --> 00:06:49,800 and suddenly dropped down to zero. 124 00:06:50,800 --> 00:06:53,760 So, you go ahead. You drop it. You change the source IP. 125 00:06:53,760 --> 00:06:55,920 You can also go ahead and mess with the content. 126 00:06:56,140 --> 00:06:58,280 Say, oh, I'm going to put in some encrypted packets 127 00:06:58,280 --> 00:07:01,540 and see if this causes any particular deviation of behavior. 128 00:07:01,920 --> 00:07:08,020 Now, you say, well, why would an ISP ever do anything to affect encrypted traffic? 129 00:07:09,220 --> 00:07:10,600 Well, they did it, right? 130 00:07:10,800 --> 00:07:13,860 I mean, Comcast a couple of years back actually did go ahead 131 00:07:13,860 --> 00:07:15,760 and start blocking VPN in Washington State. 132 00:07:16,020 --> 00:07:18,900 Washington needed to go ahead and actually buy DSL connections 133 00:07:18,900 --> 00:07:22,580 for some ungodly number of users because the cable modem stopped working. 134 00:07:22,760 --> 00:07:23,240 Great. 135 00:07:25,080 --> 00:07:27,180 We know that they want to make a lot of money doing this. 136 00:07:27,240 --> 00:07:29,300 We know whenever you put firewalls in front of a lot of people, 137 00:07:29,420 --> 00:07:32,660 for some strange reason, they start running tunnels, possibly over DNS. 138 00:07:35,960 --> 00:07:38,520 But you see now, that's theft of service. 139 00:07:41,220 --> 00:07:42,240 And profit capture. 140 00:07:42,660 --> 00:07:46,980 Let's look at who actually legitimately uses encryption from their perspective. 141 00:07:47,240 --> 00:07:50,100 A, workplaces who have people who are checking their email from home. 142 00:07:50,160 --> 00:07:53,140 And B, e-commerce sites that make money from consumers at home. 143 00:07:53,140 --> 00:07:56,560 In both of these scenarios, there is a direct profit motive 144 00:07:56,560 --> 00:07:58,420 in keeping the encrypted link alive. 145 00:07:58,960 --> 00:08:05,160 The telcos really can take a look at encryption as, hey, if we shut that down, 146 00:08:05,280 --> 00:08:08,180 we can go ahead and get people to pay a lot of money to bring it back. 147 00:08:08,620 --> 00:08:10,920 And I really do not want to see that happen. 148 00:08:11,040 --> 00:08:15,580 As security professionals, as hackers, guys, it's a pain in the ass 149 00:08:15,580 --> 00:08:17,020 getting people to deploy things securely. 150 00:08:17,380 --> 00:08:20,460 I don't need to hear, yeah, but the telco is going to block us. 151 00:08:21,460 --> 00:08:22,780 So, let's mess with them. 152 00:08:23,240 --> 00:08:23,900 What's up, Toby? 153 00:08:28,580 --> 00:08:34,000 Ah, so what Toby was asking me is if I'm expecting to see silent dropping versus getting an alert. 154 00:08:34,660 --> 00:08:39,320 The problem with an out-and-out ban is that it's really obvious that your cable modem is broken. 155 00:08:39,740 --> 00:08:43,000 What they would rather do is they would rather make the traffic really bad. 156 00:08:43,260 --> 00:08:46,320 That way, instead of blaming the cable modem, you blame your provider. 157 00:08:46,460 --> 00:08:47,900 And you blame your company. 158 00:08:48,020 --> 00:08:51,260 And you say, you know, my company should be spending more on giving me a high-speed link, 159 00:08:51,260 --> 00:08:53,680 with more being defined as giving my telco money. 160 00:08:54,240 --> 00:08:55,800 Telcos like things that give them money. 161 00:09:03,460 --> 00:09:06,000 So, what I was asked is if I'd seen any redirection. 162 00:09:06,220 --> 00:09:09,340 I don't really have time to tell this story, but I'm totally going to do it anyway. 163 00:09:10,160 --> 00:09:11,360 Check this out. 164 00:09:11,500 --> 00:09:15,480 So, the porn world has weird issues like you would not believe. 165 00:09:16,940 --> 00:09:21,140 It's almost like there's not much legal enforcement in that land. 166 00:09:22,760 --> 00:09:26,320 So, there's this spyware that the porn guys have that hits them. 167 00:09:26,560 --> 00:09:27,960 And it's got a EULA. 168 00:09:28,060 --> 00:09:29,820 Who here loves EULAs, eh? 169 00:09:29,900 --> 00:09:31,140 Oh, they're just wonderful things. 170 00:09:32,460 --> 00:09:32,940 Yeah. 171 00:09:33,020 --> 00:09:35,900 So, the EULA actually said, somehow the spyware had a EULA. 172 00:09:35,900 --> 00:09:39,980 And the EULA said, we reserve the right to deem certain sites as unsafe. 173 00:09:40,220 --> 00:09:43,100 And to silently redirect you to sites we consider safe. 174 00:09:43,640 --> 00:09:47,460 So, what was happening is that people would spend 30 bucks a month on a porn site. 175 00:09:47,500 --> 00:09:49,040 It would move their money to a different site. 176 00:09:49,360 --> 00:09:49,620 Ha. 177 00:09:49,620 --> 00:09:52,860 Then they'd just silently go, oh, you're trying to go to that porn site? 178 00:09:52,920 --> 00:09:53,400 Well, here's porn. 179 00:09:53,840 --> 00:09:55,040 And there's your money. 180 00:09:55,160 --> 00:09:57,320 And it just kind of went somewhere else. 181 00:09:57,800 --> 00:09:59,940 So, that's the most I've seen in terms of a redirection. 182 00:10:01,760 --> 00:10:05,200 Speaking of secure solutions, let's talk a little bit of SSL for a moment. 183 00:10:06,620 --> 00:10:10,120 SSL, probably the standard way to do secure communication on networks. 184 00:10:10,680 --> 00:10:13,080 It's got a couple of basic rules for deployment. 185 00:10:13,740 --> 00:10:16,100 Don't put anything secret into an SSL cert. 186 00:10:16,220 --> 00:10:18,020 It's called a public key for a reason. 187 00:10:18,080 --> 00:10:19,320 You'll see in a future slide. 188 00:10:19,320 --> 00:10:20,720 Just how embarrassing this can be. 189 00:10:22,100 --> 00:10:25,440 And for the love of God, do not put the same key on two different boxes. 190 00:10:25,720 --> 00:10:29,260 Because if you do an SSL, each box can read each other box's traffic. 191 00:10:29,840 --> 00:10:32,620 So, I went ahead and scanned the world for SSL servers. 192 00:10:32,700 --> 00:10:34,420 Found lots and lots and lots of certs. 193 00:10:34,420 --> 00:10:35,960 And what kind of stuff did I find? 194 00:10:36,540 --> 00:10:36,940 Okay. 195 00:10:38,560 --> 00:10:44,260 If you are the sort of site, and you know who you are, that does not want people knowing all your internal DNS names, 196 00:10:44,460 --> 00:10:47,520 be very careful what SSL certs you let the public scan for. 197 00:10:47,520 --> 00:10:51,800 And quite specifically, if you have a honeypot, 198 00:10:52,520 --> 00:10:57,500 and the purpose of this honeypot is to trick people into attacking, 199 00:10:57,840 --> 00:11:01,320 you might not want to call it honeypot.yourcompany.com. 200 00:11:04,800 --> 00:11:09,400 And if you do, you might not want to get an SSL cert for it. 201 00:11:10,740 --> 00:11:13,860 Because you go to the site, it's like, hi, I'm the honeypot. 202 00:11:21,780 --> 00:11:23,420 Puts the pot in honeypot. 203 00:11:27,680 --> 00:11:30,040 So, what did I actually see when I did this scan? 204 00:11:30,340 --> 00:11:33,580 Good times. 90% of keys are actually deployed correctly. 205 00:11:33,860 --> 00:11:35,060 We're only seeing on one box. 206 00:11:36,120 --> 00:11:39,840 About 10% of keys were seen on multiple boxes. 207 00:11:40,300 --> 00:11:42,280 A lot. A hell of a lot. 208 00:11:42,500 --> 00:11:46,840 Only about one in three SSL servers I saw actually had a unique key because of this. 209 00:11:47,480 --> 00:11:50,780 You know, wouldn't it be depressing if there were a couple companies 210 00:11:50,780 --> 00:11:55,820 that put in, you know, made an SSL cert, put it in the device, 211 00:11:56,000 --> 00:11:57,160 shipped it to 10,000 people? 212 00:11:58,020 --> 00:12:00,180 That'd be just horribly depressing. Yeah, it's everywhere. 213 00:12:01,840 --> 00:12:06,840 Wouldn't it be even more depressing if a group that really should know better 214 00:12:06,840 --> 00:12:11,900 and has people in this room said, you know, we need to monitor SSL on our network. 215 00:12:12,500 --> 00:12:16,820 We better go ahead and take all 61,580 servers. 216 00:12:16,820 --> 00:12:19,840 And give them the same SSL cert. 217 00:12:23,120 --> 00:12:27,440 Yeah, any of those boxes can read the traffic from any other of those boxes. 218 00:12:27,600 --> 00:12:29,340 I'm sure that's going to be real secure. 219 00:12:31,160 --> 00:12:36,060 So, but there is actually a bigger SSL flaw that we have to deal with in everyday behavior. 220 00:12:36,420 --> 00:12:39,860 And that is the world's most depressing Google search. 221 00:12:40,520 --> 00:12:43,100 If you search for the phrase, why is this secure? 222 00:12:43,420 --> 00:12:45,640 You will get a lot of online banks 223 00:12:45,640 --> 00:12:49,360 that are very happy to say they take security seriously. 224 00:12:50,180 --> 00:12:52,240 They're very worried about phishing. 225 00:12:53,100 --> 00:12:54,460 They want to protect your money. 226 00:12:55,780 --> 00:12:59,420 Yeah, so they give you this form over HTTP, which is totally hackable. 227 00:13:00,460 --> 00:13:01,480 That's real nice. 228 00:13:01,940 --> 00:13:03,740 So yeah, you know, you've got these forms here, 229 00:13:03,820 --> 00:13:05,860 and then if you actually submit, you go to login, 230 00:13:06,000 --> 00:13:07,880 it submits to HTTPS unless there's a bad guy. 231 00:13:08,180 --> 00:13:09,680 You know, there would never be a bad guy. 232 00:13:09,760 --> 00:13:13,160 It's almost like this whole form's existence is to protect against bad guys. 233 00:13:13,700 --> 00:13:14,960 But, you know, it's okay. 234 00:13:15,640 --> 00:13:17,700 Because they have pictures of locks. 235 00:13:19,500 --> 00:13:22,320 Did you know if you put a picture of a lock on, 236 00:13:22,420 --> 00:13:24,540 your site is 83.2% more secure? 237 00:13:26,720 --> 00:13:27,940 I read it somewhere. 238 00:13:30,260 --> 00:13:33,900 26% of the top 50 banks do this. 239 00:13:34,100 --> 00:13:36,740 This isn't like a little tiny problem. 240 00:13:37,020 --> 00:13:40,380 This is like multi-billion dollar sites 241 00:13:41,420 --> 00:13:44,420 completely ignoring the threat model of SSL. 242 00:13:44,420 --> 00:13:46,220 Now why would they do this? 243 00:13:46,540 --> 00:13:49,060 You know, it's actually interesting if you go ahead 244 00:13:49,060 --> 00:13:50,760 and you think about what's going on. 245 00:13:50,880 --> 00:13:52,660 We basically got three groups, right? 246 00:13:53,040 --> 00:13:54,860 You got the perf guys who are like, 247 00:13:54,940 --> 00:13:58,360 hell no, you are not putting our website on SSL entirely. 248 00:13:58,760 --> 00:14:00,240 Our site will melt down. 249 00:14:00,760 --> 00:14:03,840 The only online bank that actually has this set up is Wells Fargo. 250 00:14:03,960 --> 00:14:05,560 You go there, actually it's not the only one. 251 00:14:05,740 --> 00:14:07,100 They're the most prominent one. 252 00:14:07,200 --> 00:14:08,900 There are about five of the top 50. 253 00:14:09,020 --> 00:14:10,900 You go there, you move to SSL. 254 00:14:10,940 --> 00:14:11,600 It's just done. 255 00:14:12,360 --> 00:14:14,400 So the perf guys go, hell no. 256 00:14:14,400 --> 00:14:16,240 The UI guys say, 257 00:14:16,420 --> 00:14:20,080 if we don't show someone a username and login form 258 00:14:20,080 --> 00:14:23,420 on every single page that they see when they come to our site, 259 00:14:23,520 --> 00:14:25,360 they might not use online banking. 260 00:14:26,380 --> 00:14:27,700 And if they don't use online banking, 261 00:14:27,860 --> 00:14:29,540 they're going to call us on the phone or come in person. 262 00:14:29,860 --> 00:14:31,700 And users are fucking annoying. 263 00:14:31,940 --> 00:14:32,940 I never want to see them. 264 00:14:33,000 --> 00:14:33,880 I never want to hear from them. 265 00:14:35,200 --> 00:14:36,620 Do you know how dumb they are? 266 00:14:37,360 --> 00:14:38,700 I don't care if it's insecure. 267 00:14:38,820 --> 00:14:40,440 I don't want to speak to that bastard again. 268 00:14:41,940 --> 00:14:44,380 So yeah, what ends up happening is you end up with, 269 00:14:44,400 --> 00:14:46,220 you know, why is this secure? 270 00:14:46,500 --> 00:14:47,320 I mean, look at this. 271 00:14:47,520 --> 00:14:50,000 Social security number or tax ID. 272 00:14:52,400 --> 00:14:54,560 Could there be a bigger hack me button? 273 00:14:56,240 --> 00:14:56,760 Question. 274 00:14:57,120 --> 00:15:01,380 Is it possible for you to actually get all three groups, 275 00:15:01,500 --> 00:15:05,760 for you to get perf and UI and security to actually be happy? 276 00:15:06,640 --> 00:15:07,360 All right. 277 00:15:07,420 --> 00:15:08,320 Check this out, guys. 278 00:15:08,860 --> 00:15:10,240 So web pages aren't static. 279 00:15:10,540 --> 00:15:11,540 We got JavaScript. 280 00:15:11,760 --> 00:15:13,120 We got a little bit of an execution environment. 281 00:15:13,120 --> 00:15:17,140 What you do is when the user goes to start typing in their 282 00:15:17,140 --> 00:15:19,220 username, you go, oh, crap, things are happening. 283 00:15:19,460 --> 00:15:21,860 I bet they're putting in their username now. 284 00:15:22,060 --> 00:15:23,520 I think they're going to log in. 285 00:15:23,840 --> 00:15:24,640 Shocking, I know. 286 00:15:24,960 --> 00:15:27,380 And so what you do is you have an iframe open up. 287 00:15:27,480 --> 00:15:29,880 Iframe being a little tiny window that is a window into 288 00:15:29,880 --> 00:15:30,860 another page. 289 00:15:31,180 --> 00:15:34,660 And you have it open up the page in SSL. 290 00:15:34,860 --> 00:15:36,660 So while you're typing the username, 291 00:15:36,840 --> 00:15:38,300 a process that takes a couple of seconds, 292 00:15:38,500 --> 00:15:41,600 in the background, the SSL page is opening up. 293 00:15:41,600 --> 00:15:43,140 You go to type in your password. 294 00:15:43,360 --> 00:15:45,980 And it goes, oh, hang on. 295 00:15:46,100 --> 00:15:48,640 This would be horribly insecure if you gave me the password here. 296 00:15:48,780 --> 00:15:50,740 Let me move you over somewhere where it will be safe. 297 00:15:51,040 --> 00:15:51,960 The screen flashes. 298 00:15:52,240 --> 00:15:53,340 The tool bar changes color. 299 00:15:54,120 --> 00:15:55,040 Everything looks good. 300 00:15:55,100 --> 00:15:56,960 And you go, oh, but the UI guys will never accept this. 301 00:15:57,400 --> 00:15:58,820 You know how you make the UI guys accept it? 302 00:15:59,500 --> 00:15:59,900 Okay. 303 00:16:00,020 --> 00:16:01,380 See all these stupid little locks? 304 00:16:01,840 --> 00:16:04,100 You turn them into animated GIFs. 305 00:16:04,200 --> 00:16:05,940 And you let the lock close. 306 00:16:14,700 --> 00:16:16,360 Welcome to security in the weird world. 307 00:16:20,580 --> 00:16:21,720 So code is simple. 308 00:16:21,840 --> 00:16:22,720 This is how you do it. 309 00:16:22,860 --> 00:16:24,680 Bug me later and I'll show you the demo site. 310 00:16:25,080 --> 00:16:26,900 And it ends up just looking like username. 311 00:16:27,340 --> 00:16:28,280 You type in the username. 312 00:16:28,420 --> 00:16:29,240 The iframe shows up. 313 00:16:29,340 --> 00:16:29,700 Yahoo. 314 00:16:29,860 --> 00:16:31,240 Yahoo should know better. 315 00:16:32,260 --> 00:16:33,200 And you get the redirect. 316 00:16:34,380 --> 00:16:36,540 Now, as long as we're talking about bugs and crypto systems, 317 00:16:36,720 --> 00:16:37,260 I did one. 318 00:16:37,900 --> 00:16:40,680 This is a slide from my first talk here ever. 319 00:16:41,180 --> 00:16:44,580 Was anyone here actually at my SSH talk like five years ago? 320 00:16:45,540 --> 00:16:46,320 Fuck yeah. 321 00:16:47,760 --> 00:16:48,540 Holy crap. 322 00:16:48,880 --> 00:16:49,240 Yeah. 323 00:16:49,320 --> 00:16:52,120 So that dynamic forwarding stunt I did had a bit of a problem. 324 00:16:53,200 --> 00:16:55,640 Well, you know how later on I started researching DNS? 325 00:16:56,000 --> 00:16:59,080 Well, I kind of looked at this stuff through the DNS lens. 326 00:16:59,180 --> 00:17:02,700 And I'm like, ooh, you VPN over there, but your DNS is from here. 327 00:17:03,220 --> 00:17:06,560 So I SSH somewhere and I'm using dynamic forwarding from a malicious network 328 00:17:06,560 --> 00:17:06,980 DEF CON. 329 00:17:07,300 --> 00:17:10,660 And, yeah, I made all my connections there. 330 00:17:10,680 --> 00:17:12,180 And I'm like, oh, my DNS may be going out over this encrypted link, 331 00:17:12,260 --> 00:17:14,460 but they're going to places that some jackass here is controlling, 332 00:17:14,640 --> 00:17:15,280 and that's not good. 333 00:17:17,500 --> 00:17:20,060 Now, I got this partially addressed a little while ago. 334 00:17:21,020 --> 00:17:24,920 I went ahead and got a thing called SOCKS5 support put into open SSH so 335 00:17:24,920 --> 00:17:28,340 that applications could go ahead and say, hey, I want you, SSH, 336 00:17:28,400 --> 00:17:31,160 to handle my traffic, and here's the DNS name. 337 00:17:31,260 --> 00:17:33,420 And you do the lookup because this network is fucked. 338 00:17:35,420 --> 00:17:36,220 But you know what? 339 00:17:36,440 --> 00:17:38,980 There's a couple clients out there that no matter how much I try, 340 00:17:39,160 --> 00:17:39,820 Internet Explorer, 341 00:17:39,820 --> 00:17:42,040 are just not going to go ahead and support SOCKS5. 342 00:17:43,720 --> 00:17:47,800 Can I still bring them on board into the 21st century? 343 00:17:49,440 --> 00:17:51,720 Okay, guys, this is going to be horrible. 344 00:17:52,590 --> 00:17:54,540 Why can't SSH move DNS? 345 00:17:54,800 --> 00:18:00,940 Well, DNS is a UDP protocol, and SSH doesn't do the whole UDP thing. 346 00:18:01,000 --> 00:18:01,960 That's just not its gig. 347 00:18:02,080 --> 00:18:06,800 It's really a TCP only thing, TCP being a nice consistent stream of data, 348 00:18:06,940 --> 00:18:08,740 UDP being individual messages. 349 00:18:08,740 --> 00:18:15,000 Now, I could put a huge translation layer into SSH that actually spoke 350 00:18:15,000 --> 00:18:18,400 all sorts of DNS and did all this work and moved it back and forth and had 351 00:18:18,400 --> 00:18:21,660 a custom server and will put in thousands and thousands of lines of code 352 00:18:21,660 --> 00:18:22,840 and Theodorat will kill me. 353 00:18:26,760 --> 00:18:32,200 Or, so it turns out DNS, if you just tell it, yeah, I know how you gave 354 00:18:32,200 --> 00:18:36,340 me that request over UDP, but my response is just way too big for UDP. 355 00:18:36,440 --> 00:18:38,060 Why don't you retry that in TCP? 356 00:18:38,580 --> 00:18:41,840 DNS will go, yeah, there's a truncation bit. 357 00:18:41,960 --> 00:18:43,320 I better retry that in TCP. 358 00:18:44,120 --> 00:18:45,920 Works like a freaking charm. 359 00:18:46,060 --> 00:18:46,620 It's great. 360 00:18:47,080 --> 00:18:48,620 This is totally the way to do that. 361 00:18:49,040 --> 00:18:50,520 But it does lead to a problem. 362 00:18:52,200 --> 00:18:53,340 It means I'm going to hell. 363 00:18:56,100 --> 00:18:58,400 See, I had DNS over SSH working. 364 00:18:59,260 --> 00:19:03,360 I had SSH over DNS working, which means DNS to SSH to DNS. 365 00:19:03,480 --> 00:19:06,500 Yes, guys, I finally did write DNS over DNS. 366 00:19:14,460 --> 00:19:16,360 See what I go through for you guys. 367 00:19:19,240 --> 00:19:20,600 Another bug with SSH. 368 00:19:22,000 --> 00:19:26,940 SSH, the authenticity of 1.2.3.4 can't be established. 369 00:19:27,280 --> 00:19:30,060 RSA key fingerprint is 0989B1998. 370 00:19:32,660 --> 00:19:34,460 Am I supposed to do something with that? 371 00:19:35,140 --> 00:19:35,720 Oh, yeah. 372 00:19:35,920 --> 00:19:38,040 Crypto people will look you very solemnly in the eye and say, 373 00:19:38,040 --> 00:19:41,400 yes, you're supposed to recognize that key. 374 00:19:42,800 --> 00:19:45,620 You should see that and go, oh, yeah, yeah, that's totally blah. 375 00:19:45,840 --> 00:19:46,920 I see that all the time. 376 00:19:47,060 --> 00:19:47,680 No problem. 377 00:19:51,440 --> 00:19:51,880 No. 378 00:19:53,680 --> 00:19:58,160 So there's a group out there called ADM that basically has a great attack. 379 00:19:58,340 --> 00:20:01,520 It's called generate 2 billion SSH keys and see the one that looks the closest 380 00:20:01,840 --> 00:20:02,700 and host that one. 381 00:20:03,360 --> 00:20:04,480 Works like a charm. 382 00:20:04,560 --> 00:20:07,420 It's almost like the human brain wasn't built to look at strings of hex. 383 00:20:10,740 --> 00:20:11,700 I don't know. 384 00:20:12,980 --> 00:20:16,620 So kind of new field that I'm spawning naming called crypto mnemonics. 385 00:20:17,040 --> 00:20:20,440 It's basically how the hell do we patch crypto into the human brain? 386 00:20:21,480 --> 00:20:22,780 I like saying that. 387 00:20:23,880 --> 00:20:25,620 So there are three classes. 388 00:20:25,740 --> 00:20:27,680 Oh, wait, guys, who are you still in college? 389 00:20:29,220 --> 00:20:32,000 Who are you that are still in college are taking comp sci classes? 390 00:20:33,360 --> 00:20:35,380 Okay, guys, take some sci classes too. 391 00:20:35,880 --> 00:20:36,860 Just trust me. 392 00:20:38,300 --> 00:20:40,320 Sci classes are awesome. 393 00:20:40,520 --> 00:20:44,380 And they will mess with other people's heads, which is even more awesome. 394 00:20:46,220 --> 00:20:48,380 Yes, it's computer engineering for girls. 395 00:20:51,960 --> 00:20:55,340 Hey, you know, we hack computers, they hack us. 396 00:21:00,860 --> 00:21:03,020 I can either confirm or deny that last comment. 397 00:21:03,240 --> 00:21:04,800 But please come up here and grab a beer. 398 00:21:08,040 --> 00:21:09,640 All right, so check this out, crew. 399 00:21:09,980 --> 00:21:13,580 We got three useful things we can pull out of the human brain for crypto use. 400 00:21:14,000 --> 00:21:15,260 We've got rejection. 401 00:21:15,800 --> 00:21:17,200 What the hell is that? 402 00:21:17,280 --> 00:21:18,760 I have never seen that before in my life. 403 00:21:19,000 --> 00:21:19,960 We got recognition. 404 00:21:20,260 --> 00:21:22,060 It's that one. 405 00:21:22,660 --> 00:21:23,920 And we got recollection. 406 00:21:24,480 --> 00:21:26,620 Here, I'm going to tell you exactly what it is. 407 00:21:27,340 --> 00:21:30,300 That last one, recollection, is all about passwords. 408 00:21:30,540 --> 00:21:32,100 You know, recollect your password. 409 00:21:32,580 --> 00:21:35,400 Needless to say, people's memory for passwords sucks ass. 410 00:21:36,320 --> 00:21:37,960 People's ability to recognize stuff. 411 00:21:38,040 --> 00:21:39,360 I pick it out of a lineup. 412 00:21:39,500 --> 00:21:40,000 It's a bit more. 413 00:21:40,340 --> 00:21:43,280 And your ability to say what the hell is that is huge. 414 00:21:43,520 --> 00:21:46,700 It turns out the less you ask the human brain to do, the better it does. 415 00:21:49,940 --> 00:21:50,520 That's all right. 416 00:21:50,600 --> 00:21:50,820 Okay. 417 00:21:50,940 --> 00:21:51,880 You know, we can use that. 418 00:21:51,960 --> 00:21:52,620 We can use that. 419 00:21:53,600 --> 00:21:58,040 So what else can we, since hex is a clear and utter failure, what else can we use? 420 00:21:59,640 --> 00:22:01,220 Well, there have been some other attempts. 421 00:22:01,820 --> 00:22:05,260 They go ahead, instead of doing recollection for passwords, they try to do recognition, 422 00:22:05,540 --> 00:22:06,580 where you recognize. 423 00:22:08,040 --> 00:22:09,560 Something vaguely defined as artwork. 424 00:22:10,500 --> 00:22:13,700 Or you recognize human faces that are automatically generated. 425 00:22:14,380 --> 00:22:18,580 Now, if you actually look at this pass faces system where you recognize the face that you look at. 426 00:22:18,700 --> 00:22:20,540 See, we got five attempts. 427 00:22:20,740 --> 00:22:21,760 You got to pick one of nine. 428 00:22:21,980 --> 00:22:25,040 Nine to the fifth is 59,000. 429 00:22:25,060 --> 00:22:27,860 Wow, that's not even 16 bits of entropy in that password. 430 00:22:28,460 --> 00:22:29,380 Or pass face. 431 00:22:29,680 --> 00:22:30,160 And? 432 00:22:31,360 --> 00:22:31,840 . 433 00:22:33,020 --> 00:22:33,500 . 434 00:22:37,940 --> 00:22:44,260 So what Toby just said is, and humans have the documented tendency to pick the most beautiful face in a series. 435 00:22:44,400 --> 00:22:49,180 Which is why pass faces doesn't let you choose which face to authenticate against. 436 00:22:49,280 --> 00:22:52,520 It just says, you're going to recognize this one, this one, this one, this one, and this one. 437 00:22:53,540 --> 00:22:55,040 Precisely get around that bug. 438 00:22:55,280 --> 00:22:59,000 But the bottom line is, pass faces can only get about 16 bits of entropy. 439 00:22:59,360 --> 00:23:01,080 Now, this isn't a problem. 440 00:23:01,460 --> 00:23:02,640 Interesting point, though, by the way. 441 00:23:02,640 --> 00:23:03,360 Grab a beer if you want. 442 00:23:06,620 --> 00:23:08,680 So, pass faces can only do so much. 443 00:23:08,820 --> 00:23:10,380 That works for online, right? 444 00:23:10,720 --> 00:23:17,360 Like, if pass faces isn't noticing a brute force attempt that's going through 59,000 tries, they're not doing something right. 445 00:23:18,920 --> 00:23:22,200 But we don't have online when it comes to SSH keys. 446 00:23:22,420 --> 00:23:24,680 You're just handed something and told, here's your hash. 447 00:23:24,800 --> 00:23:25,520 You recognize it. 448 00:23:25,920 --> 00:23:27,740 And for that, we're going to need something else. 449 00:23:28,020 --> 00:23:30,540 And speaking of going to hell, I'm probably going to hell for this one, too. 450 00:23:31,560 --> 00:23:32,620 So, check this out. 451 00:23:32,620 --> 00:23:32,940 Check this out, crew. 452 00:23:33,560 --> 00:23:35,660 Bet you didn't think I could make an ENS reference. 453 00:23:35,860 --> 00:23:36,880 You're going to be totally wrong. 454 00:23:38,040 --> 00:23:41,500 So, humans do not remember arbitrary strings of characters effectively. 455 00:23:41,740 --> 00:23:42,880 That's just not how we work. 456 00:23:43,000 --> 00:23:44,380 What we remember are stories. 457 00:23:44,960 --> 00:23:46,620 Homer's epics are enormous. 458 00:23:47,620 --> 00:23:49,900 But, you know, there's a funny little thing about stories. 459 00:23:50,020 --> 00:23:50,680 I don't know if you noticed. 460 00:23:50,760 --> 00:23:51,780 They kind of change over time. 461 00:23:52,040 --> 00:23:55,440 You know, things get embellished. 462 00:23:55,560 --> 00:23:56,340 Things get changed. 463 00:23:56,500 --> 00:23:57,300 Things get dropped. 464 00:23:57,460 --> 00:24:01,080 But the only consistent thing in storytelling are names. 465 00:24:01,080 --> 00:24:04,680 And when it comes to names, those things stay stable. 466 00:24:04,840 --> 00:24:06,920 Homer's been Homer and Homer for a long time. 467 00:24:07,520 --> 00:24:08,040 Simpson. 468 00:24:08,220 --> 00:24:12,320 So, we seem to have hardware acceleration for names. 469 00:24:12,820 --> 00:24:19,260 So, what if we went ahead and took that huge string of hex and turned it into a series of names? 470 00:24:20,380 --> 00:24:21,420 Like so. 471 00:24:22,460 --> 00:24:26,480 Well, we take U.S. census data for names available at the census gov. 472 00:24:27,380 --> 00:24:30,340 We note there are more unique female names than male names. 473 00:24:30,340 --> 00:24:32,760 We know that there are way more last names than either. 474 00:24:33,040 --> 00:24:34,940 We take 512 male names. 475 00:24:35,020 --> 00:24:35,820 That's 9 bits. 476 00:24:36,020 --> 00:24:37,340 1,024 female names. 477 00:24:37,440 --> 00:24:38,080 That's 10 bits. 478 00:24:38,240 --> 00:24:40,340 8,192 last names. 479 00:24:40,480 --> 00:24:41,460 That's 13 bits. 480 00:24:41,640 --> 00:24:44,560 We try to get as different names as possible. 481 00:24:44,720 --> 00:24:48,140 We use something called the Levenstein algorithm to come up with an edit distance. 482 00:24:48,180 --> 00:24:53,980 The max minimum number of changes from one thing to another to go ahead and turn the first into the second. 483 00:24:54,180 --> 00:24:56,840 I'm mentioning this in detail because we're going to abuse the hell out of it later. 484 00:24:57,920 --> 00:25:00,320 So, what we want to do is we want to make sure the two names are the same. 485 00:25:00,340 --> 00:25:00,840 The names don't look similar. 486 00:25:01,020 --> 00:25:03,640 And we can do that because there's a fair amount of entropy around names. 487 00:25:04,060 --> 00:25:11,820 And we split our 160-bit big mess of hex into five married couples. 488 00:25:14,000 --> 00:25:20,080 I got to say, it's kind of weird, but Julio and Epifania de Zutti is a hell of a lot more readable than A1321651. 489 00:25:23,780 --> 00:25:25,160 The crazy thing... 490 00:25:33,900 --> 00:25:34,300 Okay. 491 00:25:34,400 --> 00:25:35,920 So, this is really interesting. 492 00:25:36,100 --> 00:25:38,040 I actually got to tell Phil Zimmerman about this. 493 00:25:38,140 --> 00:25:41,140 And I got to get his jaw to drop, which pretty much made my year. 494 00:25:42,100 --> 00:25:45,200 And Phil Zimmerman is like, yeah, we hired this linguist. 495 00:25:45,240 --> 00:25:51,060 And he went ahead and he studied and did all these genetic algorithms to determine words that wouldn't be confused for one another. 496 00:25:51,260 --> 00:25:53,320 You know what else we're not optimized to handle? 497 00:25:53,820 --> 00:25:54,920 Random freaking words. 498 00:25:56,360 --> 00:25:58,140 We can handle arbitrary names. 499 00:25:58,580 --> 00:25:59,780 We're damn good at that. 500 00:25:59,780 --> 00:26:01,140 Random words, not so much. 501 00:26:01,260 --> 00:26:03,000 It's almost like we suck at learning new languages. 502 00:26:03,940 --> 00:26:05,340 Three years of French, remember nothing. 503 00:26:07,120 --> 00:26:10,240 It is, first of all, shocking that this actually works. 504 00:26:10,340 --> 00:26:11,960 That's kind of a surprising thing, but it does. 505 00:26:12,520 --> 00:26:16,480 It is critical you actually show the user the key every time they log in. 506 00:26:16,600 --> 00:26:20,300 You can't just be like, oh, hey, I guess you should probably learn to authenticate this guy. 507 00:26:20,520 --> 00:26:21,400 Hey, you recognize this? 508 00:26:21,540 --> 00:26:22,480 Like, I've never seen it before. 509 00:26:23,580 --> 00:26:23,980 Sure. 510 00:26:24,320 --> 00:26:26,380 No, you actually need to show them for every legitimate use. 511 00:26:26,540 --> 00:26:28,840 Then when there's a challenge, the memories have been created. 512 00:26:30,460 --> 00:26:36,960 So speaking of broken representations of entropy, you're looking at a file, new file, never seen it before. 513 00:26:37,180 --> 00:26:39,840 And you're like, oh, well, let's look at a hex dump of it. 514 00:26:39,960 --> 00:26:40,920 And what do we see? 515 00:26:41,040 --> 00:26:42,900 6A, AC, 06, 2D. 516 00:26:43,140 --> 00:26:45,800 Again, am I actually supposed to do something with this? 517 00:26:46,340 --> 00:26:53,760 Now, what OD tries to do, octal dump, is octal dump will actually go ahead and take, oh, here's a whole bunch of zeros. 518 00:26:54,280 --> 00:26:55,980 I'm just going to shrink all these down. 519 00:26:56,240 --> 00:26:57,160 Well, gee, thanks. 520 00:26:57,260 --> 00:26:58,560 I appreciate that. 521 00:26:58,620 --> 00:26:59,500 But still. 522 00:26:59,500 --> 00:27:00,760 6A, AC, 06. 523 00:27:00,820 --> 00:27:01,560 What the hell? 524 00:27:01,920 --> 00:27:05,900 People go, ah, yes, for our hex dumper, we'll add ASCII. 525 00:27:06,760 --> 00:27:07,120 Okay. 526 00:27:07,180 --> 00:27:08,360 That's still not very helpful. 527 00:27:08,580 --> 00:27:09,400 We need a little better. 528 00:27:09,660 --> 00:27:10,720 Now, why do we need better? 529 00:27:10,860 --> 00:27:16,440 Well, first of all, because if you're like me, you're a moschus, you like looking at random protocols and seeing what the heck they do. 530 00:27:16,900 --> 00:27:18,300 And second, fuzzing. 531 00:27:19,040 --> 00:27:21,740 Anyone notice fuzzing is breaking the crap out of everything? 532 00:27:22,700 --> 00:27:24,300 So I've been playing around with fuzzing stuff. 533 00:27:25,900 --> 00:27:27,600 And, you know, fuzzing, you have files. 534 00:27:27,700 --> 00:27:29,140 The files are just bits. 535 00:27:29,140 --> 00:27:31,340 I've got to figure out some way to find structure on it. 536 00:27:31,360 --> 00:27:32,080 How am I going to do that? 537 00:27:33,580 --> 00:27:36,000 So we've got two different ways of doing fuzzing right now. 538 00:27:36,420 --> 00:27:37,680 A, dumb fuzzing. 539 00:27:38,320 --> 00:27:39,220 I don't know what I'm doing. 540 00:27:39,260 --> 00:27:41,120 We're just going to, like, flip a bunch of bits and see what happens. 541 00:27:41,380 --> 00:27:42,220 And that can be helpful. 542 00:27:42,380 --> 00:27:46,120 In fact, that destroys the crap out of a whole bunch of stuff if it's not specifically designed. 543 00:27:46,880 --> 00:27:48,060 It's a little depressing. 544 00:27:49,060 --> 00:27:57,560 There's also smart fuzzing, where you have total knowledge of what the system is, and you just do this full analysis, and then you fuzz in the structure, and you go back and forth. 545 00:27:57,580 --> 00:27:58,700 It's a huge amount of development. 546 00:27:58,700 --> 00:28:00,200 And you can do it. 547 00:28:00,540 --> 00:28:03,280 But, you know, you don't get to be a lazy bastard. 548 00:28:03,580 --> 00:28:05,460 I like being a lazy bastard. 549 00:28:06,520 --> 00:28:08,840 I don't want to have to understand all the things I break. 550 00:28:09,080 --> 00:28:09,780 That's hard. 551 00:28:10,800 --> 00:28:12,420 Can't a computer do it for me? 552 00:28:12,880 --> 00:28:14,460 Isn't that kind of the point of our entire industry? 553 00:28:14,700 --> 00:28:15,640 Can't someone else do it? 554 00:28:16,600 --> 00:28:19,780 So can we increase the intelligence of dumb fuzzing? 555 00:28:19,980 --> 00:28:22,200 Well, the first thing we're going to have to do for that is get me beer. 556 00:28:24,200 --> 00:28:26,380 Because nothing increases intelligence like beer. 557 00:28:29,760 --> 00:28:30,460 Mm-hmm. 558 00:28:31,000 --> 00:28:32,540 Yes, things get very fuzzed. 559 00:28:33,560 --> 00:28:34,720 Things get very fuzzy. 560 00:28:36,220 --> 00:28:38,280 So there's a freaking cool tool. 561 00:28:38,380 --> 00:28:39,080 Check this out, guys. 562 00:28:39,200 --> 00:28:40,360 It's called Sequitur, right? 563 00:28:40,840 --> 00:28:42,940 Sequitur is a linear time pattern finder. 564 00:28:43,000 --> 00:28:46,600 You hand it big old piles of crap, and it doesn't care how much you throw into it. 565 00:28:46,640 --> 00:28:49,880 It just goes ahead and creates sequences and patterns out of it. 566 00:28:50,020 --> 00:28:53,120 Actually, the technical term are hierarchical context-free grammars. 567 00:28:53,200 --> 00:28:54,080 Now, what the heck is that? 568 00:28:54,620 --> 00:28:55,840 Here's a switch statement, right? 569 00:28:56,040 --> 00:28:57,800 Switch C, case 1, value 2. 570 00:28:57,800 --> 00:28:58,740 Case 2, value 3. 571 00:28:58,840 --> 00:28:59,720 Case 3, value 4. 572 00:28:59,880 --> 00:29:01,540 You know, a little bit of redundancy in there, right? 573 00:29:01,860 --> 00:29:04,140 You would pass that to Sequitur, and Sequitur would say, 574 00:29:04,240 --> 00:29:10,640 oh, no, no, okay, we'll represent it as switch C, A1, B2, A2, B3, B3, A4. 575 00:29:10,980 --> 00:29:12,860 So it's actually a compression algorithm, 576 00:29:13,020 --> 00:29:15,900 but with a very nice trait of you can actually look under the covers 577 00:29:15,900 --> 00:29:17,400 and see how it's doing its work. 578 00:29:17,720 --> 00:29:18,740 That's kind of cool. 579 00:29:18,900 --> 00:29:19,940 This is a smart guy. 580 00:29:20,140 --> 00:29:21,840 He should end up somewhere like Google. 581 00:29:21,900 --> 00:29:23,380 Okay, he's the chief research scientist. 582 00:29:24,980 --> 00:29:26,760 His thesis is awesome. 583 00:29:26,760 --> 00:29:28,420 I suggest you check it out. 584 00:29:29,800 --> 00:29:31,360 So here's what we're going to do, right? 585 00:29:31,600 --> 00:29:34,020 Oh, wow, that's totally not visible at all. 586 00:29:35,980 --> 00:29:39,240 Oh, well, you'll have to find me later to see the actual live version of this. 587 00:29:39,420 --> 00:29:40,680 But check this out, guys. 588 00:29:42,100 --> 00:29:44,680 In Sequitur, Sequitur goes ahead and creates a tree 589 00:29:44,680 --> 00:29:47,700 that you have to traverse to get back each byte because, you know, it's like, 590 00:29:47,800 --> 00:29:52,220 for example, everything in case, you have to go down one level in the grammar 591 00:29:52,220 --> 00:29:53,860 to reconstruct the word case. 592 00:29:54,460 --> 00:29:56,360 So what we're going to do is we're going to take 593 00:29:56,760 --> 00:30:00,540 each byte and we are going to render each byte by how deep in the tree 594 00:30:00,540 --> 00:30:02,620 we had to go to recover that particular byte. 595 00:30:02,880 --> 00:30:06,400 With this completely idiotically stupid little design, 596 00:30:06,660 --> 00:30:09,560 what you end up getting, and you totally can't see it on the projectors, 597 00:30:09,560 --> 00:30:11,780 is there any way someone can kill those lights up there 598 00:30:11,780 --> 00:30:13,220 or any other light on this? 599 00:30:13,840 --> 00:30:14,600 Probably not. 600 00:30:14,960 --> 00:30:16,740 But what you end up seeing is you end up seeing this. 601 00:30:16,880 --> 00:30:17,440 Oh, yeah. 602 00:30:17,600 --> 00:30:18,200 There we go. 603 00:30:19,120 --> 00:30:19,560 Sweet. 604 00:30:24,320 --> 00:30:26,080 All right, check this out, guys. 605 00:30:26,080 --> 00:30:28,960 Look, instead of this just being a random string of bytes, 606 00:30:29,000 --> 00:30:32,420 you have no idea what's going on, what's this huge blob right here? 607 00:30:32,900 --> 00:30:36,300 What are these, like, basic offset, you know, white lines right here? 608 00:30:36,480 --> 00:30:41,900 We ended up getting full-on visual identification of segments and sections. 609 00:30:42,220 --> 00:30:44,660 I have no, okay, actually, this is the Windows NT kernel. 610 00:30:44,880 --> 00:30:47,820 It's like, oh, look, okay, repeated structure, repeated offset. 611 00:30:47,940 --> 00:30:51,620 It's just all visually aligned with absolutely no knowledge. 612 00:30:51,780 --> 00:30:54,380 So we have significant improvement on analysis. 613 00:30:56,280 --> 00:30:57,880 Ah, now we start up a new tool. 614 00:30:57,960 --> 00:30:59,020 We can bring lights back up now. 615 00:31:00,060 --> 00:31:01,540 I'll tell you later when we can shut them back. 616 00:31:01,640 --> 00:31:02,460 Oh, we can keep on and off. 617 00:31:02,500 --> 00:31:02,880 It doesn't matter. 618 00:31:05,100 --> 00:31:08,520 So you go ahead and you look in this guy's paper. 619 00:31:08,680 --> 00:31:10,740 He shows off one of the things that makes his stuff cool 620 00:31:11,380 --> 00:31:16,100 is now that you go ahead and you have this symbol-level view of our data, 621 00:31:16,480 --> 00:31:18,740 we can go ahead and we can generate graphs out of it. 622 00:31:19,280 --> 00:31:22,840 The symbol switch leads to A1, B2, A2, B3. 623 00:31:22,940 --> 00:31:24,440 You know, switch leads to case. 624 00:31:24,720 --> 00:31:25,940 Case leads to 1.2. 625 00:31:25,960 --> 00:31:26,060 1.2. 626 00:31:26,080 --> 00:31:26,300 1.2. 627 00:31:26,440 --> 00:31:28,240 1.2 or 3 or 4 which always goes to value. 628 00:31:29,100 --> 00:31:31,700 This batching up is actually kind of meaningful. 629 00:31:32,160 --> 00:31:34,920 Now you go, but, Dan, you know, I can read this. 630 00:31:35,100 --> 00:31:35,940 I can see C. 631 00:31:36,080 --> 00:31:37,520 I can manage to handle it. 632 00:31:37,660 --> 00:31:40,380 Yeah, that's because C is designed for the human brain. 633 00:31:40,620 --> 00:31:42,100 This crap works on anything. 634 00:31:42,900 --> 00:31:46,120 So you can just take arbitrary stuff and it will find structure 635 00:31:46,120 --> 00:31:47,600 that you can run through this process. 636 00:31:47,820 --> 00:31:51,060 It will create symbols that you can manipulate and link together. 637 00:31:51,360 --> 00:31:53,380 And any time we have a symbolic-level view, 638 00:31:53,640 --> 00:31:55,500 we can fuzz at that view. 639 00:31:55,500 --> 00:32:01,820 So I'm creating a new tool called the CFG 9000, context-free grammar, 9000 ways to fuzz. 640 00:32:04,240 --> 00:32:07,020 We reduce our input stream data to a stream of symbols. 641 00:32:07,140 --> 00:32:09,760 We fuzz the data at the symbol level rather than pure bytes. 642 00:32:09,920 --> 00:32:10,820 We do shuffling. 643 00:32:10,860 --> 00:32:11,460 We do dropping. 644 00:32:11,560 --> 00:32:12,140 We do repeating. 645 00:32:12,480 --> 00:32:17,500 Now, Sequitur is not necessarily the best algorithm to go ahead and generate our sequence 646 00:32:17,500 --> 00:32:17,960 of symbols. 647 00:32:18,280 --> 00:32:18,980 Oh, we got a kid. 648 00:32:19,340 --> 00:32:19,780 Wait. 649 00:32:19,840 --> 00:32:20,940 Is this the newest spot the Fed? 650 00:32:21,200 --> 00:32:22,900 I mean, are we starting a little young here? 651 00:32:23,560 --> 00:32:24,040 What's up? 652 00:32:24,040 --> 00:32:24,620 Wait. 653 00:32:24,700 --> 00:32:25,520 Is this the lost and found? 654 00:32:25,580 --> 00:32:26,560 Because that's going to be really depressing. 655 00:32:26,800 --> 00:32:29,280 It wouldn't be a Dan Kaminsky talk if I didn't have to come in here and lecture 656 00:32:29,280 --> 00:32:32,020 you again on keeping the aisles clear. 657 00:32:33,180 --> 00:32:36,100 If you're in the aisles right now and sitting down, you need to get up and either find 658 00:32:36,100 --> 00:32:39,220 a seat, move to an area where you're not in an aisle, or you need to leave. 659 00:32:40,060 --> 00:32:40,360 Okay? 660 00:32:40,680 --> 00:32:42,160 There's some space right up here in front of the stage. 661 00:32:42,880 --> 00:32:43,640 So you can come up here. 662 00:32:43,640 --> 00:32:45,400 Everyone from over here, guys, come on in. 663 00:32:46,220 --> 00:32:49,700 Actually, all you over here, why don't you shift over to this side because there's 664 00:32:49,700 --> 00:32:52,400 a huge amount of free space and we can let all the people out from there. 665 00:32:52,560 --> 00:32:52,860 Exactly. 666 00:32:52,860 --> 00:32:55,680 Like, along this wall over here, there's a lot of free space if you all can... 667 00:32:55,680 --> 00:32:59,680 And no exit, very visible to get us kicked the hell out. 668 00:32:59,840 --> 00:33:00,200 Yeah, please. 669 00:33:01,560 --> 00:33:02,800 Sorry to interrupt again. 670 00:33:02,960 --> 00:33:05,780 It wouldn't be a Dan Kaminsky talk if I didn't do a spot the Fed, I had to interrupt to 671 00:33:05,780 --> 00:33:06,100 get a lecture. 672 00:33:06,520 --> 00:33:07,300 It's all cool, man. 673 00:33:07,540 --> 00:33:08,300 That's my son, by the way. 674 00:33:08,980 --> 00:33:09,300 Oh. 675 00:33:09,560 --> 00:33:10,120 Very cool. 676 00:33:12,640 --> 00:33:13,500 Can I give him a beer? 677 00:33:15,960 --> 00:33:16,840 But it's DEFCON. 678 00:33:21,420 --> 00:33:22,280 All right, guys. 679 00:33:22,280 --> 00:33:25,280 We don't have a huge amount of time, but we still have lots of toys to play with. 680 00:33:25,880 --> 00:33:28,040 So what does CFG's output look like? 681 00:33:28,120 --> 00:33:32,400 This is just very, very basic, basic fuzzing that I'm doing on the symbol layer. 682 00:33:32,560 --> 00:33:36,780 I'm not even fuzzing, like, the internal graph of how things all align, but still. 683 00:33:37,040 --> 00:33:41,560 So I went ahead and I threw Secquitur through its own code, the actual code for Secquitur 684 00:33:41,560 --> 00:33:42,260 through the fuzzer. 685 00:33:42,420 --> 00:33:46,600 What you end up seeing is, wow, this thing straight up identified, calculate rule usage, 686 00:33:46,740 --> 00:33:50,760 calculate rule usage, calculate rule usage, this thing has identified a basic, what's 687 00:33:50,760 --> 00:33:50,920 it called? 688 00:33:51,780 --> 00:33:52,820 Stack depth attack. 689 00:33:53,140 --> 00:33:56,920 Now, you might say, yeah, but syntactically, you know, it's missing the closing braces. 690 00:33:57,080 --> 00:34:02,480 But hey, with literally no work, this algorithm figured out interesting sections to repeat. 691 00:34:02,680 --> 00:34:03,780 So it's kind of cool. 692 00:34:04,140 --> 00:34:05,420 And yes, things blow up. 693 00:34:06,300 --> 00:34:07,100 Things to do. 694 00:34:07,200 --> 00:34:10,460 Create Recquiter, which is the Secquitur implementation optimized for fuzzing use. 695 00:34:10,720 --> 00:34:12,060 Need to generate larger symbols. 696 00:34:12,220 --> 00:34:15,980 Need to eliminate redundant symbols using work by a guy named Kaifern Yang. 697 00:34:17,040 --> 00:34:20,220 Yeah, if you have two symbols that reduce down to the same message, how about we merge 698 00:34:20,220 --> 00:34:20,420 them? 699 00:34:22,080 --> 00:34:23,440 Secquitur is linear time. 700 00:34:23,620 --> 00:34:26,760 It, however, takes absolute crap tons of memory. 701 00:34:27,020 --> 00:34:32,280 So you can get about 150 megs through before your memory usage is at about 900 megs, which 702 00:34:32,280 --> 00:34:32,700 is okay. 703 00:34:32,860 --> 00:34:35,080 But, you know, hey, what can I say? 704 00:34:35,180 --> 00:34:38,120 I want to take the entire contents of my hard drive and run it through Secquitur. 705 00:34:38,200 --> 00:34:39,620 I'm going to need something out of memory. 706 00:34:40,460 --> 00:34:43,180 And add the ability to compare files against foreign grammars. 707 00:34:43,520 --> 00:34:47,040 Now Secquitur is really cool, but it's not where we need it yet. 708 00:34:48,140 --> 00:34:49,960 There's another approach that I remembered. 709 00:34:50,300 --> 00:34:50,900 And it worked. 710 00:34:50,920 --> 00:34:52,320 It was called Dot Plots. 711 00:34:52,440 --> 00:34:56,060 There's this paper called Visualizing Music and Audio Using Self-Similarity. 712 00:34:56,220 --> 00:34:57,860 It's a very brute force solution. 713 00:34:58,140 --> 00:35:00,880 You compare a song against itself, you know, little tiny chunks. 714 00:35:01,100 --> 00:35:03,360 And you see, you know, does this chunk sound like that chunk? 715 00:35:03,960 --> 00:35:06,920 There's a tool called Disassociated Audio that will make graphs like this for you. 716 00:35:07,100 --> 00:35:08,400 It's actually a Beatles track. 717 00:35:08,640 --> 00:35:10,060 Actually, why don't we drop the lights again? 718 00:35:11,260 --> 00:35:14,820 So this went ahead and this identified individual sections of this track. 719 00:35:14,940 --> 00:35:16,880 And they're very visually distinct. 720 00:35:17,280 --> 00:35:20,900 Now I said, could we do this possibly with something else? 721 00:35:20,900 --> 00:35:26,300 And you're saying, eh, we might want to fuzz, like the Pirate Baby MPEG at the beginning 722 00:35:26,300 --> 00:35:26,980 of this video. 723 00:35:28,600 --> 00:35:33,660 Go ahead and you run this exact process on something on your hard drive where you take 724 00:35:33,660 --> 00:35:35,680 it, you split it into chunks, you do analysis. 725 00:35:35,940 --> 00:35:38,160 I'll do a deeper description in a sec. 726 00:35:38,420 --> 00:35:41,660 You get really distinct and useful visual patterns. 727 00:35:42,160 --> 00:35:43,840 What the hell is going on here? 728 00:35:44,000 --> 00:35:44,620 Let me tell you. 729 00:35:45,380 --> 00:35:49,180 Jonathan Hellman wrote this thing called Dot Plot Patterns, a literal look at pattern languages. 730 00:35:49,180 --> 00:35:54,660 And if you look at this in an example from Shakespeare, 2B or not 2B, we get this 731 00:35:54,660 --> 00:35:59,320 big diagonal line of similarity, 2 equals 2, B equals B, or equals or, et cetera. 732 00:35:59,540 --> 00:36:04,140 We also get a second diagonal line from the repeat of this 2B and that 2B. 733 00:36:05,180 --> 00:36:10,020 So instead of having individual words with a single bit, whether it's the same word or 734 00:36:10,020 --> 00:36:12,200 different words, we use a similarity metric. 735 00:36:13,300 --> 00:36:15,120 Well, where did we have a similarity metric? 736 00:36:15,380 --> 00:36:18,340 Oh, yeah, we had one when we were identifying how names were different. 737 00:36:18,340 --> 00:36:22,280 Well, instead of doing names, we're going to do chunks of individual files, 32-bit 738 00:36:22,280 --> 00:36:22,500 chunks. 739 00:36:22,740 --> 00:36:24,120 We're going to arrange them in the X dimension. 740 00:36:24,180 --> 00:36:26,900 We're going to arrange them in the Y dimension, and we're going to do a self-similar comparison. 741 00:36:27,620 --> 00:36:29,720 So what does this end up looking like? 742 00:36:30,520 --> 00:36:37,480 Java class files, .NET assemblies, CNN's homepage, of course, HTML being far more 743 00:36:37,480 --> 00:36:42,160 self-referential, far smaller tags that repeat, and thus the density is much higher. 744 00:36:43,320 --> 00:36:44,920 Packets, SMB torture packets. 745 00:36:46,360 --> 00:36:47,240 Kernel32.dll. 746 00:36:47,460 --> 00:36:47,800 All right. 747 00:36:48,340 --> 00:36:49,800 The human chromosome 22. 748 00:36:51,040 --> 00:36:52,640 The legend of freaking Zelda. 749 00:36:54,340 --> 00:36:58,300 I don't know crap about 6502, but I can take a look. 750 00:36:59,100 --> 00:37:00,420 So why is this useful? 751 00:37:00,620 --> 00:37:05,040 Because if I'm doing, imagine if I had a big old packet trace and I could not separate 752 00:37:05,040 --> 00:37:07,800 my packet, you know, the file into individual packets. 753 00:37:08,180 --> 00:37:10,900 How would I go ahead and identify what was going on? 754 00:37:11,280 --> 00:37:16,520 Well, what this is doing, this is at least saying, with no prior knowledge, this is 755 00:37:16,520 --> 00:37:18,220 a different section than this. 756 00:37:18,220 --> 00:37:19,820 This is a different section than this. 757 00:37:19,960 --> 00:37:22,600 And I can fuzz them one at a time. 758 00:37:23,460 --> 00:37:25,420 Can I potentially do more? 759 00:37:26,060 --> 00:37:28,700 Well, what are my actual messages here? 760 00:37:28,800 --> 00:37:33,040 Well, from the paper, we do actually see this is a full on, a diagonal is a full on 761 00:37:33,040 --> 00:37:33,300 repeat. 762 00:37:33,940 --> 00:37:37,800 Squares are sections that are self-referential when you change from one section to another. 763 00:37:38,180 --> 00:37:42,560 Kind of get an idea there is actually a visual language going on here. 764 00:37:42,740 --> 00:37:47,420 But there is a lot of research to do because there is some weird ass stuff in files. 765 00:37:47,420 --> 00:37:50,660 Like, I have, what the hell is that? 766 00:37:52,220 --> 00:37:53,160 I am not, what? 767 00:37:54,060 --> 00:37:55,420 But you know this is good, right? 768 00:37:55,560 --> 00:37:59,460 It's nice to have a tool that's showing you better things than you can identify easily. 769 00:37:59,720 --> 00:38:04,140 Because that means there is, you know, hey, it was just a hex thump to me before. 770 00:38:04,420 --> 00:38:07,000 And random string of bytes, we're just random string of bytes. 771 00:38:07,620 --> 00:38:08,600 That's just how it was. 772 00:38:08,740 --> 00:38:10,460 This is showing me something different. 773 00:38:11,400 --> 00:38:13,260 Now, there is more research to do. 774 00:38:13,820 --> 00:38:15,540 Figure out what the hell these things mean. 775 00:38:16,260 --> 00:38:20,880 Create some interactive tools for dot plot evaluation, do a little, you know, data microscopy. 776 00:38:21,260 --> 00:38:21,660 Color. 777 00:38:21,780 --> 00:38:23,000 Different similarity metrics. 778 00:38:23,180 --> 00:38:24,060 We can have different colors. 779 00:38:24,360 --> 00:38:25,460 Better symbol selection. 780 00:38:25,660 --> 00:38:28,240 I am being an idiot when it comes to this stuff. 781 00:38:28,400 --> 00:38:30,980 I don't have a clue what's going on in the x86 layer. 782 00:38:31,240 --> 00:38:33,520 My similarity metric is raw bytes. 783 00:38:33,700 --> 00:38:36,440 I could have so much better stuff if I had a clue. 784 00:38:36,620 --> 00:38:37,320 But you know what? 785 00:38:37,400 --> 00:38:39,360 Right now I've got pretty pictures and I'll take that too. 786 00:38:41,480 --> 00:38:42,500 You don't think I'm done. 787 00:38:42,680 --> 00:38:43,200 No, no, no. 788 00:38:43,420 --> 00:38:44,700 I've got one thing left. 789 00:38:45,120 --> 00:38:45,520 All right. 790 00:38:45,540 --> 00:38:51,560 If autocorrelation is interesting, if it's cool to compare A to A, what if we didn't 791 00:38:51,560 --> 00:38:53,080 compare a file against itself? 792 00:38:53,280 --> 00:38:54,920 What if we compared it against a different file? 793 00:38:55,360 --> 00:38:58,080 Now, if it's a totally different file, you get this thing, it's called ass, it looks 794 00:38:58,080 --> 00:38:58,460 like it. 795 00:38:58,800 --> 00:39:06,160 But what if you compare a file to an older version of itself? 796 00:39:07,640 --> 00:39:11,440 Well, normally when it's the same, you get this hard diagonal line because, of course, 797 00:39:11,500 --> 00:39:12,380 a file is the same. 798 00:39:12,520 --> 00:39:15,520 You know, the first 32 bytes are the same as the first 32 bytes. 799 00:39:15,520 --> 00:39:18,060 The second 32 bytes are the same as the second 32 bytes. 800 00:39:18,240 --> 00:39:19,940 And it works, you know, whatever. 801 00:39:21,440 --> 00:39:23,320 But what if it's two different versions? 802 00:39:23,880 --> 00:39:28,120 Well, let's ditch the slides for a second because, you know, I like megapixels. 803 00:39:30,420 --> 00:39:33,420 Nothing says hacking like 16,000 by 13,000 pixels. 804 00:39:35,340 --> 00:39:35,820 Awesome. 805 00:39:40,900 --> 00:39:42,540 I can neither confirm nor deny. 806 00:39:43,820 --> 00:39:44,480 All right. 807 00:39:44,500 --> 00:39:45,180 Let's check this out. 808 00:39:46,040 --> 00:39:47,460 We're going to open a little image here. 809 00:39:49,760 --> 00:39:53,620 It's going to take a little while because it's, you know, a couple hundred megapixels. 810 00:39:54,720 --> 00:39:56,600 This should not actually be useful. 811 00:39:56,920 --> 00:40:00,900 So yeah, I re-implemented all my code in C just, you know, because it might be a little 812 00:40:00,900 --> 00:40:01,380 faster. 813 00:40:01,600 --> 00:40:04,480 I got an 80 times speed improvement, hell yeah. 814 00:40:05,400 --> 00:40:08,200 So I'm like, wow, I'm going a lot faster here. 815 00:40:08,320 --> 00:40:13,140 I should go ahead and start trying to, come on, you can load any minute now. 816 00:40:13,140 --> 00:40:13,340 Okay. 817 00:40:14,920 --> 00:40:18,780 Let's go ahead and just, as a lark, see what happens if we allow two different files to 818 00:40:18,780 --> 00:40:19,600 compare against each other. 819 00:40:20,140 --> 00:40:21,260 Oh, well, check this out. 820 00:40:21,640 --> 00:40:26,680 Instead of having this hard diagonal line, we've got this little meandering thing. 821 00:40:27,620 --> 00:40:32,360 Oh, look, new data over here, new data over here, back to normal, new data over here. 822 00:40:34,160 --> 00:40:36,240 Big, huge insertion of new code. 823 00:40:36,360 --> 00:40:37,620 We should probably look at this. 824 00:40:38,200 --> 00:40:40,280 Guys, it's a visual bin diff. 825 00:40:41,100 --> 00:40:43,120 I didn't think this would actually be useful. 826 00:40:43,140 --> 00:40:45,520 But you can just visually trace it out. 827 00:40:45,680 --> 00:40:46,120 Okay. 828 00:40:46,180 --> 00:40:51,280 You've got one-third of your brain dedicated to visual processing, at least me, believe 829 00:40:51,280 --> 00:40:52,560 you me, I'm willing to use it. 830 00:40:53,580 --> 00:40:57,880 So yeah, you can basically just go through files, find the differences, figure out what 831 00:40:57,880 --> 00:40:58,620 is going on. 832 00:41:00,580 --> 00:41:05,960 In summary, your VPN is under threat, if you've got one, you might want to tell your 833 00:41:05,960 --> 00:41:07,520 boss that the telcos are evil bastards. 834 00:41:09,440 --> 00:41:12,700 SL has got some issues, especially online banking. 835 00:41:13,400 --> 00:41:16,460 Especially those of you who are putting the same sort on 60,000 boxes. 836 00:41:16,680 --> 00:41:17,140 Please stop. 837 00:41:20,480 --> 00:41:22,320 There's some fun DNS games you can play. 838 00:41:22,780 --> 00:41:26,340 Oh, please, for the love of God, if you're writing code, fuzz your file formats. 839 00:41:26,480 --> 00:41:27,160 This is ridiculous. 840 00:41:27,380 --> 00:41:29,600 It should not be this easy to knock your crap over. 841 00:41:31,300 --> 00:41:32,520 And take a look at your data. 842 00:41:32,600 --> 00:41:34,080 You might be surprised at what you find. 843 00:41:34,400 --> 00:41:35,720 Now I've talked too long. 844 00:41:35,840 --> 00:41:36,640 Get the light on. 845 00:41:36,720 --> 00:41:37,740 I've got some beers to give away. 846 00:41:44,620 --> 00:41:46,180 Thank you.