1 00:00:00,000 --> 00:00:05,540 Hi, everybody. I'm Mike Bailey. I'm Raph. This is Raph. We are 2 00:00:05,540 --> 00:00:08,620 here to talk about web services we just don't need. Now I had a 3 00:00:08,620 --> 00:00:12,860 talk that I wrote, well, I sort of wrote it a while back. And I 4 00:00:12,860 --> 00:00:17,460 had slides, sort of. And they all self-destructed with a major 5 00:00:17,960 --> 00:00:21,840 malfunction of encryption and hard drives. I don't have any 6 00:00:21,840 --> 00:00:25,180 slides or anything now. So we're going to wing it. My opinion is 7 00:00:25,180 --> 00:00:28,960 that the best way to be prepared for any event is to just be 8 00:00:28,960 --> 00:00:32,120 able to wing it anyway. If we don't know this shit by now, we 9 00:00:32,120 --> 00:00:36,080 probably shouldn't be up here, right? I don't know shit. Okay. 10 00:00:36,180 --> 00:00:42,360 Sorry. These are rock star mics. Okay. Does that mean we need 11 00:00:42,360 --> 00:00:49,740 groupies? Dude, I have groupies. All right. Not you, Mike. He 12 00:00:49,740 --> 00:00:52,460 does not count. All right. So let's talk about some web 13 00:00:52,460 --> 00:00:58,940 services. I break a lot of web applications. I break a lot of 14 00:00:58,960 --> 00:01:01,580 web applications. I do web application research penetration 15 00:01:01,580 --> 00:01:04,820 testing for a living. And occasionally I stumble across 16 00:01:04,820 --> 00:01:11,540 things that just don't belong on the Internet. You guys know a few 17 00:01:11,540 --> 00:01:14,520 of those, right? Yeah. You probably got some ideas and 18 00:01:14,520 --> 00:01:16,960 actually we might have them shout some out and then we'll 19 00:01:16,960 --> 00:01:19,860 discuss. Yeah. If you feel like you have one that you would like 20 00:01:19,860 --> 00:01:25,640 to hear discussed, disgusted. Windows? Windows isn't a web 21 00:01:25,640 --> 00:01:28,940 service. You're in the wrong track, dude. Yes. . When you are 22 00:01:33,000 --> 00:01:41,460 is a big one. All right. What was I going to start with? I have a friend named Trey 23 00:01:41,460 --> 00:01:47,900 Ford. Is he here? He's not here? Trey went to bed like an hour ago. All right. Trey takes 24 00:01:47,900 --> 00:01:50,620 his barbecue pretty seriously. If you guys don't know what a barbecue is, it's a big 25 00:01:50,620 --> 00:01:58,160 box that makes smoke. And when you're grilling your ‑‑ not grilling, when you're smoking 26 00:01:58,160 --> 00:02:04,960 your meat, you have to ‑‑ there's going to be too many meat jokes here. It's 27 00:02:04,960 --> 00:02:12,640 10 a.m. on Sunday. Why are you people here? This was unexpected. All right. So when you're 28 00:02:12,640 --> 00:02:17,900 smoking your ribs, you have to be very careful about constant temperature, monitoring your 29 00:02:17,900 --> 00:02:28,140 meat. So what Trey has, he has a ‑‑ Trey has a PC fan that he uses to control the 30 00:02:28,160 --> 00:02:38,720 fan and two probes attached to his ‑‑ Does anybody have a bottle he can make Mike 31 00:02:38,720 --> 00:02:43,300 drink every time he loses his train of thought? I'm not losing my train of thought. I'm 32 00:02:43,300 --> 00:02:48,200 just trying not to make any dirty jokes. You know what? The best dirty jokes are the 33 00:02:48,200 --> 00:02:56,020 implied ones. Yeah. Do you know where you are? Anyways. So he's got the probes in the PC 34 00:02:56,020 --> 00:02:58,140 fan attached to a computer, which is in a plastic bag. And he's got a little bit of a 35 00:02:58,160 --> 00:03:02,400 plastic bag because it rains sometimes in San Francisco. And that's all sitting outside 36 00:03:02,400 --> 00:03:08,320 next to his smoker. So this is all run through a web server that's sitting in that PC. And it 37 00:03:08,860 --> 00:03:18,880 tweets, too. So during the course of like a 14‑hour smoking of a ‑‑ a piece of 38 00:03:18,880 --> 00:03:25,260 pork. During the course of that, it will be tweeting the whole time. And he can monitor it. It 39 00:03:25,260 --> 00:03:28,140 makes graphs, nice little updates, things like that. One day, he's going to see that. And he's 40 00:03:28,140 --> 00:03:30,500 when he first got it he was showing it off and he actually 41 00:03:30,500 --> 00:03:34,440 uploaded some of the graphs to twit pick or some shit like that. 42 00:03:35,380 --> 00:03:36,900 Speaking of web services we don't need. 43 00:03:37,200 --> 00:03:42,660 We'll get there. First of all in those graphs it has the IP 44 00:03:42,660 --> 00:03:46,640 address of the smoker. And I'm sitting there, I mean an 45 00:03:46,640 --> 00:03:48,640 internal IP address that may not be all that useful. 46 00:03:48,960 --> 00:03:51,640 So as we're talking at some point when you guys hear 47 00:03:51,640 --> 00:03:54,060 something that sounds interesting to you I want 48 00:03:54,060 --> 00:03:56,520 everybody to go what could possibly go wrong at the same 49 00:03:56,520 --> 00:04:00,300 time. Yes. All right. So anyways. 50 00:04:00,720 --> 00:04:02,760 What could possibly go wrong? 51 00:04:03,000 --> 00:04:03,700 Right. They're awake. 52 00:04:04,800 --> 00:04:06,120 Why? Why are you guys here? 53 00:04:08,120 --> 00:04:09,340 Don't you have better things to do? 54 00:04:09,480 --> 00:04:10,340 Dude they're still coming in. 55 00:04:10,540 --> 00:04:10,800 All right. 56 00:04:12,740 --> 00:04:17,740 Anyways. So now I have the IP address of his smoker. 57 00:04:17,960 --> 00:04:21,060 I have the version of the software that's running so I can 58 00:04:21,060 --> 00:04:22,740 go find a copy and download the source code. 59 00:04:22,860 --> 00:04:26,420 I actually had to find the guy that wrote the code because it 60 00:04:26,520 --> 00:04:30,200 was kind of obscure and ghetto. And I had to actually con him 61 00:04:30,200 --> 00:04:32,460 into giving me a copy of the source code by telling him that 62 00:04:32,460 --> 00:04:33,840 I wanted to help him do development on it. 63 00:04:34,340 --> 00:04:38,380 And so I start looking at it. It's fucking full of cross 64 00:04:38,380 --> 00:04:40,560 out scripting holes, cross out request forgery holes, things 65 00:04:40,560 --> 00:04:40,940 like that. 66 00:04:42,340 --> 00:04:44,080 So what you're saying is you can help Trey smoke his 67 00:04:44,080 --> 00:04:44,320 . 68 00:04:45,720 --> 00:04:46,080 So. 69 00:04:46,300 --> 00:04:46,580 Never mind. 70 00:04:49,160 --> 00:04:51,540 Anyways. The end result is that now every time Trey. 71 00:04:51,700 --> 00:04:54,460 I have a great slide with a screenshot but now every time 72 00:04:54,460 --> 00:05:00,460 Trey goes to update his smoker, it pops up little messages at 73 00:05:00,460 --> 00:05:02,660 him and he gets a nice little reminder of me. 74 00:05:03,260 --> 00:05:03,860 It's fun. 75 00:05:04,040 --> 00:05:04,720 It's beautiful. 76 00:05:04,960 --> 00:05:05,160 Yes. 77 00:05:07,020 --> 00:05:09,640 Every time Trey goes to smoke his mate, there's Mike. 78 00:05:10,440 --> 00:05:10,980 All right. 79 00:05:12,860 --> 00:05:13,820 So that's one of the. 80 00:05:14,000 --> 00:05:14,440 I'm here for the comedy relief. 81 00:05:14,540 --> 00:05:15,480 That's one of the stupid ones. 82 00:05:15,560 --> 00:05:18,020 But that's not really all that serious or that dangerous or 83 00:05:18,020 --> 00:05:19,000 anything like that. 84 00:05:20,800 --> 00:05:21,620 It is. 85 00:05:21,700 --> 00:05:22,340 It's a bad thing. 86 00:05:24,460 --> 00:05:27,340 If you use that really cool banner grabbing. 87 00:05:27,640 --> 00:05:28,600 I think there's four on the internet. 88 00:05:29,220 --> 00:05:30,560 I told you this is ghetto. 89 00:05:32,440 --> 00:05:34,220 The fact that you know that worries me. 90 00:05:36,520 --> 00:05:36,960 Yeah. 91 00:05:37,260 --> 00:05:38,120 Does anybody here have one? 92 00:05:39,240 --> 00:05:39,680 Smoker. 93 00:05:40,700 --> 00:05:42,040 Do you have a smoker on the internet? 94 00:05:43,220 --> 00:05:45,740 There's other stupid services that use Twitter though. 95 00:05:46,840 --> 00:05:48,100 Who's here to tweet my PC? 96 00:05:50,080 --> 00:05:50,520 Anybody? 97 00:05:52,040 --> 00:05:52,480 Yeah. 98 00:05:52,640 --> 00:05:53,500 What the fuck? 99 00:05:53,660 --> 00:05:54,100 I don't know. 100 00:05:54,180 --> 00:05:54,440 Okay. 101 00:05:54,460 --> 00:05:54,900 Yeah. 102 00:05:55,020 --> 00:05:55,720 Well, Mike. 103 00:05:55,860 --> 00:05:58,320 Tweet my PC is a way to remotely control your 104 00:05:58,320 --> 00:05:59,500 computer via Twitter. 105 00:05:59,620 --> 00:06:00,060 Now Twitter. 106 00:06:03,960 --> 00:06:04,400 Yeah. 107 00:06:06,000 --> 00:06:06,440 Twitter. 108 00:06:06,440 --> 00:06:09,120 It's like go to my PC or WebEx only more secure. 109 00:06:09,340 --> 00:06:09,640 Yes. 110 00:06:12,240 --> 00:06:14,620 Because nobody has ever hacked Twitter account before. 111 00:06:14,880 --> 00:06:17,340 So the way it works is you basically send commands to 112 00:06:17,340 --> 00:06:17,980 your PC. 113 00:06:18,160 --> 00:06:19,860 It will execute them and send the response back. 114 00:06:20,040 --> 00:06:21,860 And there's specific commands you can do or you can say 115 00:06:22,560 --> 00:06:26,000 CMD and then say whatever shell command you want it to run. 116 00:06:27,300 --> 00:06:29,120 Now this was written by a guy. 117 00:06:29,300 --> 00:06:31,000 He's a Microsoft MVP. 118 00:06:31,300 --> 00:06:32,100 Most valued programmer. 119 00:06:32,280 --> 00:06:33,980 I don't actually know what that means because I'm not in the 120 00:06:33,980 --> 00:06:34,660 Microsoft culture. 121 00:06:34,780 --> 00:06:35,900 They have acronyms for everything. 122 00:06:38,680 --> 00:06:40,600 But this guy knows how to code. 123 00:06:40,720 --> 00:06:43,760 I mean he's built a project that's actually a fairly 124 00:06:43,760 --> 00:06:44,700 impressive code base. 125 00:06:44,920 --> 00:06:46,560 I mean for what it is. 126 00:06:46,800 --> 00:06:49,640 And he never stopped to think what could possibly go wrong. 127 00:06:50,200 --> 00:06:50,920 That's awesome. 128 00:06:51,400 --> 00:06:51,840 Yeah. 129 00:06:51,860 --> 00:06:56,280 So some of the other commands that this thing can run are 130 00:06:56,280 --> 00:06:58,680 things like take screen shots and post them up to TwitPic. 131 00:07:00,400 --> 00:07:01,480 Now if you're. 132 00:07:01,660 --> 00:07:02,100 Hold on. 133 00:07:02,220 --> 00:07:05,240 I want to reflect on that for a second as we watch the fire 134 00:07:05,240 --> 00:07:05,740 crackle. 135 00:07:06,800 --> 00:07:11,420 It's a really good idea to take screen shots randomly of your 136 00:07:11,420 --> 00:07:11,700 PC. 137 00:07:12,020 --> 00:07:14,180 When you don't know what's on the screen obviously because 138 00:07:14,180 --> 00:07:15,300 you're taking the damn screen shot. 139 00:07:15,540 --> 00:07:15,700 Right. 140 00:07:15,980 --> 00:07:16,440 Yes. 141 00:07:16,480 --> 00:07:19,480 Because you know it's a really good idea because there's no 142 00:07:19,480 --> 00:07:21,840 possible way anybody could view those in order. 143 00:07:23,800 --> 00:07:25,160 And see what you have. 144 00:07:25,260 --> 00:07:25,720 Read your email. 145 00:07:26,440 --> 00:07:29,640 So I have a directory on my web server now. 146 00:07:29,840 --> 00:07:32,160 I actually have a bot that pulls down those pictures every 147 00:07:32,160 --> 00:07:32,820 time they get posted. 148 00:07:35,260 --> 00:07:35,660 Yeah. 149 00:07:35,740 --> 00:07:36,180 Funny story. 150 00:07:36,360 --> 00:07:39,600 So we were talking a while. 151 00:07:39,780 --> 00:07:41,320 Must have been last year I think Mike. 152 00:07:41,460 --> 00:07:41,580 Yeah. 153 00:07:41,640 --> 00:07:43,600 We've been slacking on this project horribly haven't we? 154 00:07:43,800 --> 00:07:44,640 We're bad at everything. 155 00:07:44,960 --> 00:07:45,720 Yesterday apparently. 156 00:07:45,720 --> 00:07:47,860 Who was here for the fail panel yesterday? 157 00:07:48,800 --> 00:07:49,160 Yeah. 158 00:07:49,220 --> 00:07:51,760 So you know the really cool thing they did with the data 159 00:07:51,760 --> 00:07:52,360 mining the pictures. 160 00:07:52,860 --> 00:07:54,400 Yeah we did it a long time before that. 161 00:07:54,500 --> 00:07:56,560 We were too damn lazy to do anything with it. 162 00:07:57,400 --> 00:07:59,220 One day we'll get around to taking it to the next level 163 00:07:59,220 --> 00:08:00,680 and like OCRing all the screen shots. 164 00:08:00,860 --> 00:08:01,400 It'll be bad ass. 165 00:08:01,640 --> 00:08:03,220 So the back story is. 166 00:08:04,200 --> 00:08:05,920 I apologize for my loss of voice. 167 00:08:06,000 --> 00:08:08,100 But it's really hard to yell over 1,400 people. 168 00:08:10,460 --> 00:08:14,660 We were sort of chatting back and forth about some things we 169 00:08:14,660 --> 00:08:14,820 saw. 170 00:08:14,980 --> 00:08:15,700 And I just sort of wanted to say. 171 00:08:15,720 --> 00:08:19,340 I saw somebody sort of post a screen shot. 172 00:08:20,560 --> 00:08:25,280 And I'm like hey that's a random alphanumeric six length, 173 00:08:25,520 --> 00:08:27,220 six character length identifier. 174 00:08:27,840 --> 00:08:31,820 I bet we could write a really quick loop that could grab all of 175 00:08:31,820 --> 00:08:32,040 them. 176 00:08:33,200 --> 00:08:37,740 So apparently the math I didn't do in my head is how many 177 00:08:37,740 --> 00:08:40,240 combinations there were times about 120K each. 178 00:08:40,500 --> 00:08:41,900 We pulled down all of TwinPic. 179 00:08:42,440 --> 00:08:42,960 Yeah. 180 00:08:43,020 --> 00:08:44,520 We pretty much have all of them. 181 00:08:44,600 --> 00:08:44,700 Yeah. 182 00:08:45,180 --> 00:08:45,700 We pulled down all of TwinPic. 183 00:08:45,720 --> 00:08:49,680 So there's a one and a quarter terabyte some place. 184 00:08:51,220 --> 00:08:52,040 So by the way, 185 00:08:52,080 --> 00:08:54,720 EXT3 does not like that big of a directory in one place. 186 00:08:56,920 --> 00:08:59,060 I think I've accidentally found the limitations of which. 187 00:08:59,460 --> 00:09:00,640 Every time you try to view that, 188 00:09:00,660 --> 00:09:00,940 you know, 189 00:09:00,940 --> 00:09:01,540 open that directory, 190 00:09:01,640 --> 00:09:03,560 it just sort of looks at you and goes no. 191 00:09:04,640 --> 00:09:05,680 I'm sorry but no. 192 00:09:05,840 --> 00:09:07,760 So there are some interesting things. 193 00:09:07,860 --> 00:09:10,260 And as I was looking through there and deleting all the porn 194 00:09:10,260 --> 00:09:11,200 because nobody wants that. 195 00:09:11,500 --> 00:09:12,540 And sending it to Mike. 196 00:09:14,000 --> 00:09:17,300 I did notice that there were some very interesting things. 197 00:09:17,440 --> 00:09:20,140 Like there was a guy that was getting help from his tech 198 00:09:20,140 --> 00:09:22,480 support team with a spreadsheet he was working on for next 199 00:09:22,480 --> 00:09:23,100 quarter's forecast. 200 00:09:27,260 --> 00:09:29,180 I just want you guys to think about that for a second. 201 00:09:29,320 --> 00:09:33,100 Because that's this quarter. 202 00:09:33,600 --> 00:09:33,980 Yeah. 203 00:09:34,980 --> 00:09:35,620 Oh, yeah. 204 00:09:35,700 --> 00:09:36,500 I've got the screen shot. 205 00:09:36,580 --> 00:09:36,820 It's beautiful. 206 00:09:38,920 --> 00:09:39,980 It's still up on TwinPic. 207 00:09:40,060 --> 00:09:42,320 So did you know that you can't, 208 00:09:42,320 --> 00:09:42,520 actually, 209 00:09:42,540 --> 00:09:43,620 this is not true anymore. 210 00:09:43,820 --> 00:09:45,500 You can now as of a few months ago. 211 00:09:46,420 --> 00:09:47,420 Until a few months ago, 212 00:09:47,480 --> 00:09:49,420 you weren't able to actually delete pictures from TwinPic. 213 00:09:49,600 --> 00:09:50,660 You could remove them from your stream, 214 00:09:50,800 --> 00:09:52,480 but they'd still be there if somebody knew the code, 215 00:09:52,560 --> 00:09:53,020 the path. 216 00:09:53,640 --> 00:09:56,160 And when this PC thing posted those pictures, 217 00:09:56,340 --> 00:09:57,740 it would have the path on there. 218 00:09:58,020 --> 00:09:59,980 So even after people deleted them, 219 00:10:00,000 --> 00:10:01,240 I could go back and find them later on. 220 00:10:01,860 --> 00:10:03,340 I found all kinds of interesting things. 221 00:10:03,440 --> 00:10:05,100 There's one I found where somebody just set up a 222 00:10:07,260 --> 00:10:08,660 remote desktop server. 223 00:10:09,200 --> 00:10:10,380 And they had their user name, 224 00:10:12,540 --> 00:10:13,120 their connection information, 225 00:10:13,480 --> 00:10:15,200 sitting there waiting for clients to connect. 226 00:10:15,820 --> 00:10:16,780 It was great. 227 00:10:17,100 --> 00:10:18,840 I didn't actually connect. 228 00:10:19,120 --> 00:10:19,920 I should have. 229 00:10:22,300 --> 00:10:24,080 Anybody here that was at ThoughtCon? 230 00:10:26,820 --> 00:10:27,420 Yes. 231 00:10:27,440 --> 00:10:30,680 Do you guys remember what I did? 232 00:10:31,580 --> 00:10:32,720 All right. 233 00:10:32,760 --> 00:10:33,800 So thank you. 234 00:10:34,600 --> 00:10:35,340 That's awesome. 235 00:10:35,640 --> 00:10:39,200 So I have a particular love for Flash, 236 00:10:39,260 --> 00:10:40,160 if you guys don't know. 237 00:10:42,540 --> 00:10:43,760 I have a special hatred for Flash. 238 00:10:44,060 --> 00:10:44,880 We know, Mike. 239 00:10:45,060 --> 00:10:45,280 It's okay. 240 00:10:45,920 --> 00:10:46,920 Step number three, Matt. 241 00:10:49,280 --> 00:10:50,900 And it's not that I hate Flash particularly. 242 00:10:51,060 --> 00:10:53,280 I just dislike the people that write Flash 243 00:10:53,280 --> 00:10:54,960 because they're not really IT people. 244 00:10:55,240 --> 00:10:57,320 They really have no desire to code anything. 245 00:10:57,500 --> 00:10:58,500 They just like to drag and drop. 246 00:10:59,660 --> 00:11:01,680 Yeah, it's okay. 247 00:11:01,720 --> 00:11:02,540 Give yourselves a round of applause. 248 00:11:02,660 --> 00:11:03,120 That's kind of cool. 249 00:11:07,220 --> 00:11:13,200 No, so I do a fair amount of these web assessments 250 00:11:13,200 --> 00:11:15,560 in my everyday job, 251 00:11:15,640 --> 00:11:17,360 in the boring part of life. 252 00:11:17,740 --> 00:11:18,740 I get out there 253 00:11:18,740 --> 00:11:20,280 and try to convince people 254 00:11:20,280 --> 00:11:22,320 that doing things 255 00:11:22,980 --> 00:11:25,140 that were bad in 1997 256 00:11:25,140 --> 00:11:26,160 with JavaScript 257 00:11:26,840 --> 00:11:28,560 is now bad with Flash 258 00:11:28,560 --> 00:11:30,600 because you can't seem to grasp that concept. 259 00:11:30,820 --> 00:11:32,820 So case in point. 260 00:11:33,120 --> 00:11:34,760 We're going to talk about services we don't need. 261 00:11:35,800 --> 00:11:36,780 So this is a 262 00:11:37,580 --> 00:11:38,760 place that I was at. 263 00:11:38,840 --> 00:11:40,800 I was having a conversation with a C-level group. 264 00:11:41,640 --> 00:11:42,760 You know, C-level executive. 265 00:11:43,100 --> 00:11:45,160 And he was telling us about 266 00:11:45,160 --> 00:11:46,260 all the awesome 267 00:11:46,260 --> 00:11:47,780 Web 2.0 stuff. 268 00:11:48,120 --> 00:11:49,520 By the way, if we say Web 2.0, 269 00:11:49,540 --> 00:11:50,220 you can throw shit at us. 270 00:11:50,260 --> 00:11:58,920 All the Web 1.99999999 271 00:11:59,580 --> 00:11:59,980 stuff. 272 00:12:02,140 --> 00:12:02,840 Stuff that 273 00:12:04,160 --> 00:12:05,100 they had 274 00:12:05,100 --> 00:12:06,480 and all the great development 275 00:12:06,480 --> 00:12:07,180 they were doing 276 00:12:07,180 --> 00:12:08,860 and how they were migrating to new media 277 00:12:08,860 --> 00:12:11,260 and that they were migrating 278 00:12:11,260 --> 00:12:14,300 all their platforms to more usable, 279 00:12:14,480 --> 00:12:15,720 more open, 280 00:12:16,820 --> 00:12:18,240 more flashy environments 281 00:12:18,240 --> 00:12:20,380 and he couldn't stop bragging 282 00:12:20,380 --> 00:12:22,040 about this new ERP app 283 00:12:22,040 --> 00:12:22,740 they were writing. 284 00:12:24,460 --> 00:12:25,960 Does anybody see where this is going yet? 285 00:12:27,380 --> 00:12:28,540 Yeah, so go ahead. 286 00:12:28,620 --> 00:12:29,540 Say it nice and loud. 287 00:12:31,780 --> 00:12:32,340 That's right. 288 00:12:33,160 --> 00:12:35,140 So yeah, so he's talking about 289 00:12:35,140 --> 00:12:37,320 this ERP app and I'm just sort of staring at him. 290 00:12:37,440 --> 00:12:38,640 And I mean like just staring, 291 00:12:38,820 --> 00:12:40,800 like he just grew horns in a tail staring. 292 00:12:42,480 --> 00:12:42,880 Yeah. 293 00:12:43,880 --> 00:12:44,800 And he just, 294 00:12:44,820 --> 00:12:46,160 he stops midstream and he's like, 295 00:12:47,200 --> 00:12:48,720 am I saying something wrong? 296 00:12:48,820 --> 00:12:49,020 I said, 297 00:12:50,600 --> 00:12:51,640 you wrote a 298 00:12:52,820 --> 00:12:54,460 ERP frontend in Flash. 299 00:12:55,000 --> 00:12:56,960 He said, oh yeah, it's really cool. 300 00:12:57,180 --> 00:12:58,200 He goes, you've got to see this. 301 00:12:58,740 --> 00:13:00,740 And so then he decided 302 00:13:00,740 --> 00:13:02,420 to take it upon himself to demo it, which was awesome. 303 00:13:03,580 --> 00:13:04,560 By the way, you guys, 304 00:13:05,540 --> 00:13:06,860 does anybody here use 305 00:13:06,860 --> 00:13:08,500 a Flash encryption tool? 306 00:13:11,640 --> 00:13:12,680 More on that later. 307 00:13:15,460 --> 00:13:17,240 Or maybe we should just segue into that real quick. 308 00:13:17,400 --> 00:13:17,880 So sidebar. 309 00:13:20,260 --> 00:13:20,960 Oh no, 310 00:13:21,200 --> 00:13:21,720 Google it. 311 00:13:21,840 --> 00:13:23,440 It's viewed as an entire market. 312 00:13:23,720 --> 00:13:25,760 If anybody wants to look it up right now. 313 00:13:25,800 --> 00:13:28,620 There really isn't any such thing as a Flash encryption tool, 314 00:13:28,700 --> 00:13:29,800 but there's a market for it. 315 00:13:30,000 --> 00:13:31,380 So people will sell you one. 316 00:13:33,120 --> 00:13:33,260 Fail. 317 00:13:34,100 --> 00:13:35,240 So there's about, 318 00:13:35,400 --> 00:13:37,640 there's several hundred tools out there. 319 00:13:38,280 --> 00:13:40,920 Several hundred companies that will sell you a tool 320 00:13:40,920 --> 00:13:42,740 anywhere from $99 321 00:13:42,740 --> 00:13:44,440 to the Enterprise Pro version 322 00:13:44,440 --> 00:13:45,720 for $1,999 323 00:13:45,720 --> 00:13:48,580 to encrypt your Flash apps. 324 00:13:52,120 --> 00:13:52,760 Right? 325 00:13:53,260 --> 00:13:54,820 That was weak. 326 00:13:54,960 --> 00:13:55,400 Weak sauce. 327 00:13:57,160 --> 00:13:58,540 You can try again. 328 00:13:59,580 --> 00:14:00,220 Beautiful. 329 00:14:03,120 --> 00:14:03,620 That was loud. 330 00:14:06,460 --> 00:14:07,060 So, 331 00:14:07,940 --> 00:14:08,540 yeah, 332 00:14:08,620 --> 00:14:08,980 so these, 333 00:14:09,080 --> 00:14:09,960 so what's the, 334 00:14:10,140 --> 00:14:10,900 you know, 335 00:14:10,900 --> 00:14:11,500 after all, 336 00:14:11,580 --> 00:14:16,680 Flash is a language that requires 337 00:14:17,420 --> 00:14:18,020 a, 338 00:14:18,180 --> 00:14:19,140 you know, 339 00:14:19,140 --> 00:14:19,860 something to run it, 340 00:14:19,880 --> 00:14:20,020 right? 341 00:14:20,100 --> 00:14:23,460 Requires an interpreter to run it on the local machine. 342 00:14:23,980 --> 00:14:27,100 So if you're going to encrypt a Flash file, 343 00:14:27,100 --> 00:14:27,920 step one 344 00:14:28,440 --> 00:14:30,000 of running it is what? 345 00:14:32,460 --> 00:14:32,860 And 346 00:14:32,860 --> 00:14:34,660 thank you for your $1,999. 347 00:14:36,500 --> 00:14:36,900 Anyway, 348 00:14:36,980 --> 00:14:38,160 so this guy's telling me about all this, 349 00:14:38,220 --> 00:14:40,160 this beautiful Flash app and how they've encrypted it. 350 00:14:40,280 --> 00:14:42,640 And so I gave him this story about why 351 00:14:42,640 --> 00:14:44,040 that was just complete, 352 00:14:44,720 --> 00:14:46,480 you know, smoker. 353 00:14:47,920 --> 00:14:48,320 And, 354 00:14:48,900 --> 00:14:50,060 that's going to be a joke, dude. 355 00:14:50,160 --> 00:14:51,120 You can say smoker randomly. 356 00:14:51,440 --> 00:14:51,540 Yeah. 357 00:14:54,300 --> 00:14:55,100 Very nice. 358 00:14:57,100 --> 00:14:58,120 He's showing it to me and I'm like, 359 00:14:58,140 --> 00:14:59,480 can I show you something real quick? 360 00:15:00,420 --> 00:15:01,340 He's like, yeah. 361 00:15:02,560 --> 00:15:04,120 I'm like, well, there's this free tool. 362 00:15:04,420 --> 00:15:05,900 And there's hundreds of them, right? 363 00:15:05,940 --> 00:15:08,680 There's lots of free tools out there that you can decrypt Flash with. 364 00:15:08,860 --> 00:15:09,840 I know a couple good ones. 365 00:15:10,140 --> 00:15:11,520 If you know one, shout one out. 366 00:15:12,080 --> 00:15:12,440 So, 367 00:15:13,160 --> 00:15:15,660 there's this app and I, you know, 368 00:15:15,680 --> 00:15:17,780 load the Flash app in there and I 369 00:15:19,220 --> 00:15:20,800 click the decrypt button. 370 00:15:21,280 --> 00:15:24,080 No, I'm just kidding. 371 00:15:25,040 --> 00:15:26,060 That'd be cool though, wouldn't it? 372 00:15:27,100 --> 00:15:27,200 So I, 373 00:15:28,140 --> 00:15:29,360 oh, somebody's phone's ringing. 374 00:15:29,480 --> 00:15:29,700 Hold on. 375 00:15:33,960 --> 00:15:35,660 Dude, there's ants teleporting into your pants. 376 00:15:36,580 --> 00:15:37,260 Leave it there. 377 00:15:38,260 --> 00:15:38,940 Let's not talk about that. 378 00:15:38,940 --> 00:15:39,500 That's what we shouldn't touch. 379 00:15:39,800 --> 00:15:41,100 I'm not even going to go that way. 380 00:15:41,580 --> 00:15:42,240 So anyway, 381 00:15:42,400 --> 00:15:43,820 I was talking about Flash. 382 00:15:44,020 --> 00:15:45,000 Yeah, Flash. 383 00:15:45,380 --> 00:15:48,300 Yes, so he compiled this app 384 00:15:48,300 --> 00:15:52,080 and I'm just scrolling down, scrolling down, 385 00:15:52,100 --> 00:15:52,760 scrolling down. 386 00:15:52,760 --> 00:15:54,860 I go, do you see this? 387 00:15:55,340 --> 00:15:55,860 He goes, 388 00:15:57,120 --> 00:15:57,440 yeah. 389 00:15:58,160 --> 00:15:59,880 I'm like, you know what this is, right? 390 00:16:00,560 --> 00:16:02,640 He goes, well, I'm not an engineer 391 00:16:02,640 --> 00:16:03,960 but it looks like a database connection string. 392 00:16:04,880 --> 00:16:05,980 I'm like, yeah. 393 00:16:10,800 --> 00:16:11,440 Thank you. 394 00:16:12,040 --> 00:16:13,420 This is fun. I got him trained now. 395 00:16:14,020 --> 00:16:15,900 You guys are like Pavlov's dogs. This is beautiful. 396 00:16:16,280 --> 00:16:17,200 Can we make him do tricks now? 397 00:16:18,660 --> 00:16:18,980 No. 398 00:16:18,980 --> 00:16:20,120 In fact, I might be pushing it. 399 00:16:20,440 --> 00:16:23,560 So I immediately explained to him 400 00:16:24,060 --> 00:16:25,460 why that was a bad idea 401 00:16:25,460 --> 00:16:26,760 by opening 402 00:16:27,660 --> 00:16:29,220 SQL Server Manager on my laptop, 403 00:16:29,360 --> 00:16:31,080 connecting to his server using those credentials 404 00:16:31,680 --> 00:16:33,540 and just listing all his tables. 405 00:16:33,840 --> 00:16:34,960 And he said, well, that's no fair. 406 00:16:35,040 --> 00:16:35,560 You have source code. 407 00:16:38,920 --> 00:16:40,280 Did anybody here not know 408 00:16:40,280 --> 00:16:41,740 you can decompile Flash objects? 409 00:16:42,920 --> 00:16:44,160 Okay. Okay, cool, thanks. 410 00:16:44,220 --> 00:16:45,700 Apparently there's a lot of people that don't know that. 411 00:16:46,700 --> 00:16:48,680 Hold on, let me finish my story. I was going to tell a story. 412 00:16:48,980 --> 00:16:49,440 I want to finish mine. 413 00:16:49,580 --> 00:16:49,840 Okay, go. 414 00:16:52,340 --> 00:16:53,180 My story's better. 415 00:16:54,460 --> 00:16:54,820 Whatever. 416 00:16:56,480 --> 00:16:57,220 Mine's almost done. 417 00:16:58,440 --> 00:16:59,400 And they're listening. 418 00:16:59,840 --> 00:17:02,760 So as I was explaining to him 419 00:17:02,760 --> 00:17:03,820 why this is a bad idea 420 00:17:03,820 --> 00:17:05,720 and the whole idea of how I could have source code 421 00:17:05,720 --> 00:17:07,080 possibly without actually talking to anybody 422 00:17:07,080 --> 00:17:07,860 and just getting the object, 423 00:17:08,420 --> 00:17:10,440 he looks me dead in the eye and he says, 424 00:17:10,560 --> 00:17:11,960 so we should probably pull this off the Internet? 425 00:17:15,140 --> 00:17:16,280 The floor is yours, man. 426 00:17:17,200 --> 00:17:17,740 Beat that. 427 00:17:18,980 --> 00:17:20,140 But we're talking about Flash stuff 428 00:17:20,140 --> 00:17:22,920 and how nobody knew you could decompile them. 429 00:17:25,360 --> 00:17:26,900 Has anybody heard of Schlage Link? 430 00:17:29,020 --> 00:17:30,160 You know, the lock people? 431 00:17:30,640 --> 00:17:32,300 Yeah, the company that makes those locks 432 00:17:32,300 --> 00:17:34,260 that go on doors that hold doors shut. 433 00:17:35,720 --> 00:17:36,740 Thanks for coming, sir. 434 00:17:36,960 --> 00:17:38,060 They decided to create 435 00:17:38,060 --> 00:17:40,300 a web-enabled home 436 00:17:42,360 --> 00:17:43,240 automation system. 437 00:17:43,520 --> 00:17:44,580 Call it Schlage Link. 438 00:17:46,060 --> 00:17:47,000 Oh, that was weak. 439 00:17:47,360 --> 00:17:48,780 We'll give you one more chance. 440 00:17:49,920 --> 00:17:52,320 What could possibly go wrong? 441 00:17:53,400 --> 00:17:54,460 They were better for me. 442 00:17:54,700 --> 00:17:54,980 Yeah, well. 443 00:17:55,160 --> 00:17:56,840 You didn't do the visual cues good enough. 444 00:17:56,960 --> 00:17:57,940 I'm not even trying. 445 00:17:58,140 --> 00:17:59,920 See, this is how good I am without trying. 446 00:18:01,880 --> 00:18:02,680 So, anyways. 447 00:18:03,040 --> 00:18:03,580 You're a ninja. 448 00:18:03,920 --> 00:18:05,920 I was out at CES a few months ago. 449 00:18:06,060 --> 00:18:07,620 Well, here at CES a few months ago. 450 00:18:07,780 --> 00:18:10,580 And I was bored because CES actually isn't that exciting 451 00:18:10,580 --> 00:18:11,400 if you're not into that hardware 452 00:18:11,400 --> 00:18:12,760 and the latest and greatest stuff. 453 00:18:12,880 --> 00:18:13,760 And I actually hate technology. 454 00:18:14,200 --> 00:18:14,600 So. 455 00:18:16,320 --> 00:18:17,740 I was at CES 456 00:18:17,740 --> 00:18:18,940 and I was wandering around. 457 00:18:19,160 --> 00:18:19,240 You're in a wrong field. 458 00:18:19,600 --> 00:18:19,760 What? 459 00:18:19,900 --> 00:18:20,660 You're in a wrong field. 460 00:18:20,660 --> 00:18:21,280 No, I'm not. 461 00:18:21,340 --> 00:18:22,060 I break technology. 462 00:18:22,900 --> 00:18:24,400 That's how I just express my anger. 463 00:18:25,780 --> 00:18:27,260 And there is a lot to express. 464 00:18:27,640 --> 00:18:28,040 Yes. 465 00:18:28,060 --> 00:18:28,880 I'm an angry person. 466 00:18:32,440 --> 00:18:35,040 So, I was bored and I was wandering around 467 00:18:35,040 --> 00:18:36,580 and I see the booth for the Schlage Link thing. 468 00:18:36,580 --> 00:18:37,720 I'm looking at their... 469 00:18:37,720 --> 00:18:39,760 They have the little kiosk set up 470 00:18:39,760 --> 00:18:42,360 and they have 18 sales people that mob you 471 00:18:42,360 --> 00:18:43,620 the second you... 472 00:18:45,620 --> 00:18:46,300 Flash sale. 473 00:18:46,680 --> 00:18:47,120 Okay. 474 00:18:47,960 --> 00:18:49,620 Throw candy or something next time. 475 00:18:51,120 --> 00:18:52,000 Alright, so... 476 00:18:54,520 --> 00:18:55,520 They're returning fire. 477 00:18:58,220 --> 00:18:58,660 Yes. 478 00:18:59,220 --> 00:19:01,140 We're going to hide behind the table and build a fort. 479 00:19:06,580 --> 00:19:07,800 Raph, get up from the table. 480 00:19:08,000 --> 00:19:08,480 They don't... 481 00:19:08,480 --> 00:19:09,700 I'm still up here. 482 00:19:13,660 --> 00:19:14,020 Alright. 483 00:19:14,120 --> 00:19:14,920 So, anyways. 484 00:19:15,180 --> 00:19:17,120 I start playing with this Schlage Link system 485 00:19:17,120 --> 00:19:18,080 on their kiosk. 486 00:19:18,240 --> 00:19:19,820 While the sales person is talking to me, 487 00:19:19,840 --> 00:19:21,360 I'm sitting here viewing source and looking for 488 00:19:22,080 --> 00:19:23,500 cross-site scripting, cross-site request, 489 00:19:23,600 --> 00:19:24,080 forgery holes. 490 00:19:24,520 --> 00:19:25,240 That was fun. 491 00:19:25,400 --> 00:19:28,340 But then a little bit later I got more interested 492 00:19:28,340 --> 00:19:29,640 because I wanted to follow up on that. 493 00:19:30,300 --> 00:19:34,060 And I went and I bought the lock for my door. 494 00:19:36,580 --> 00:19:37,140 I didn't have a lock on it. 495 00:19:37,740 --> 00:19:38,100 But... 496 00:19:39,500 --> 00:19:40,780 I don't trust that lock. 497 00:19:41,100 --> 00:19:41,940 I'd rather have none. 498 00:19:44,260 --> 00:19:46,660 So I set up this lock and I start playing with it. 499 00:19:46,780 --> 00:19:48,260 And I'm looking through the web application 500 00:19:48,260 --> 00:19:49,820 that they have set up for the back end. 501 00:19:50,140 --> 00:19:52,200 And I notice that there's a flash object that loads up. 502 00:19:52,320 --> 00:19:53,500 But it doesn't actually make any... 503 00:19:53,500 --> 00:19:56,380 I'm watching all my traffic with Firebug. 504 00:19:56,520 --> 00:19:58,480 If anybody thinks that Firebug is awesome, 505 00:19:58,540 --> 00:19:58,840 they're right. 506 00:20:00,320 --> 00:20:02,280 I'm watching all the HTTP requests it's making. 507 00:20:02,420 --> 00:20:03,960 But I notice this flash object. 508 00:20:04,120 --> 00:20:05,240 It looks like it should be making requests. 509 00:20:06,580 --> 00:20:06,920 I don't remember what it's called. 510 00:20:07,140 --> 00:20:09,540 But it had some other name that was like 511 00:20:09,540 --> 00:20:11,500 network object or something like that. 512 00:20:12,340 --> 00:20:14,160 And I start looking at it. 513 00:20:14,200 --> 00:20:15,840 But it's not actually making the HTTP request. 514 00:20:15,960 --> 00:20:17,340 So I decompile the thing and look at it. 515 00:20:17,500 --> 00:20:19,700 And it's connecting to an arbitrary port 516 00:20:19,700 --> 00:20:21,200 on their system. 517 00:20:21,860 --> 00:20:22,640 It's not arbitrary. 518 00:20:23,140 --> 00:20:23,340 Huh? 519 00:20:26,020 --> 00:20:28,300 It's connecting to a port on their system. 520 00:20:29,220 --> 00:20:29,680 And... 521 00:20:33,280 --> 00:20:36,220 It sends over a few lines of... 522 00:20:36,720 --> 00:20:37,160 data. 523 00:20:38,140 --> 00:20:39,680 And then it keeps getting data back. 524 00:20:40,040 --> 00:20:41,840 And it turns out what this is doing is 525 00:20:41,840 --> 00:20:44,380 whenever you unlock or lock your door, 526 00:20:44,520 --> 00:20:47,040 the system sends a message to your base station, 527 00:20:47,160 --> 00:20:47,980 which is on your local network. 528 00:20:48,160 --> 00:20:50,220 Which then uploads that message to the server. 529 00:20:50,520 --> 00:20:52,040 That server in turn 530 00:20:53,040 --> 00:20:54,720 broadcasts the message back to you 531 00:20:54,720 --> 00:20:56,480 through this flash object 532 00:20:56,480 --> 00:20:57,240 to the web application. 533 00:20:58,180 --> 00:21:00,040 But there's no actual authentication 534 00:21:00,040 --> 00:21:00,820 on this thing. 535 00:21:01,900 --> 00:21:03,860 So with one line of Perl, 536 00:21:03,860 --> 00:21:05,440 I was able to actually watch 537 00:21:05,440 --> 00:21:07,680 every single lock being unlocked 538 00:21:07,680 --> 00:21:10,080 in their entire system all day long. 539 00:21:10,140 --> 00:21:10,360 Hold on. 540 00:21:11,340 --> 00:21:13,700 What could possibly go wrong? 541 00:21:14,660 --> 00:21:16,020 And I would do a live demo, 542 00:21:16,120 --> 00:21:18,480 but I like the fireplace too much. 543 00:21:20,700 --> 00:21:21,860 Also, I might get in trouble. 544 00:21:22,000 --> 00:21:24,320 Because I don't know if it's legal. 545 00:21:24,460 --> 00:21:25,780 It's probably at least a violation 546 00:21:25,780 --> 00:21:26,360 of the Term of Service. 547 00:21:32,140 --> 00:21:33,420 Huh? What's your point? 548 00:21:33,860 --> 00:21:34,020 I like him. 549 00:21:38,860 --> 00:21:40,860 Well done. 550 00:21:43,540 --> 00:21:45,220 Mike's easily influenced. 551 00:21:45,580 --> 00:21:46,120 I am. 552 00:21:54,800 --> 00:21:55,820 It'll take a while. 553 00:22:03,860 --> 00:22:04,320 It'll take a minute to connect. 554 00:22:09,080 --> 00:22:10,140 You can talk. 555 00:22:10,620 --> 00:22:11,560 It might take a minute. 556 00:22:11,920 --> 00:22:13,860 It's making a whole bunch of requests 557 00:22:13,860 --> 00:22:15,120 saying I want to listen to all these 558 00:22:15,120 --> 00:22:16,360 different user IDs. 559 00:22:17,260 --> 00:22:17,900 There it goes. 560 00:22:20,000 --> 00:22:22,140 This is actually only watching lights right now. 561 00:22:22,280 --> 00:22:22,940 Not locks. 562 00:22:23,140 --> 00:22:24,760 But every time somebody turns their lights on, 563 00:22:24,900 --> 00:22:25,860 off, or dims them, 564 00:22:26,360 --> 00:22:27,220 it's letting me know. 565 00:22:30,100 --> 00:22:31,700 It's sort of like watching The Matrix. 566 00:22:35,660 --> 00:22:36,440 That's pretty cool. 567 00:22:36,640 --> 00:22:36,940 All right. 568 00:22:38,840 --> 00:22:40,140 This is my visualizer. 569 00:22:41,800 --> 00:22:42,660 You know what would be cool? 570 00:22:42,760 --> 00:22:43,660 If they had geotagged that, 571 00:22:43,800 --> 00:22:46,000 you could put it in overlay with Google Earth. 572 00:22:46,940 --> 00:22:47,560 Oh, man. 573 00:22:48,460 --> 00:22:49,960 And then we could cross-reference 574 00:22:49,960 --> 00:22:50,680 people's tweets. 575 00:22:53,040 --> 00:22:53,880 With Foursquare? 576 00:22:54,060 --> 00:22:54,700 With Foursquare. 577 00:22:56,840 --> 00:22:57,960 I actually can't. 578 00:22:57,960 --> 00:22:58,800 This is only monitoring. 579 00:22:58,800 --> 00:23:01,460 So I actually can't turn lights on and off 580 00:23:01,460 --> 00:23:02,440 through this system. 581 00:23:03,240 --> 00:23:04,480 I may still be able to do it 582 00:23:04,480 --> 00:23:05,040 through the web application, 583 00:23:05,260 --> 00:23:06,160 but I returned it to the store 584 00:23:06,160 --> 00:23:07,180 because it wasn't up to par. 585 00:23:11,460 --> 00:23:12,060 To who? 586 00:23:12,380 --> 00:23:13,100 Ghost Hunters. 587 00:23:14,300 --> 00:23:15,340 Is that a TV show? 588 00:23:16,360 --> 00:23:17,180 I have no idea. 589 00:23:20,200 --> 00:23:21,020 No, I just 590 00:23:21,580 --> 00:23:23,000 said it didn't fit my needs. 591 00:23:23,180 --> 00:23:24,340 Can you imagine filling out 592 00:23:24,340 --> 00:23:25,480 their return form? 593 00:23:25,480 --> 00:23:26,900 Sir, why are you turning this lock? 594 00:23:27,060 --> 00:23:27,700 The web app sucks. 595 00:23:30,920 --> 00:23:31,820 Or the other reason, 596 00:23:31,940 --> 00:23:32,960 it's horribly insecure. 597 00:23:33,740 --> 00:23:34,100 Yes. 598 00:23:36,140 --> 00:23:36,960 A web app. 599 00:23:37,100 --> 00:23:38,380 So, you know, 600 00:23:38,400 --> 00:23:40,860 I can't think of a more epic way to fail than that. 601 00:23:41,660 --> 00:23:42,160 We're done. 602 00:23:42,320 --> 00:23:42,920 No, I'm just kidding. 603 00:23:44,840 --> 00:23:46,500 We've got to talk for another 45 minutes. 604 00:23:46,940 --> 00:23:47,640 Wow, seriously? 605 00:23:50,360 --> 00:23:51,260 So I've got 606 00:23:51,260 --> 00:23:53,440 a couple of stories 607 00:23:53,440 --> 00:23:54,540 I'll share with you guys. 608 00:23:55,480 --> 00:23:57,080 If you've read my blog back in April, 609 00:23:57,180 --> 00:23:58,840 then you'll recognize some of these. 610 00:23:59,960 --> 00:24:00,940 What is your blog? 611 00:24:01,180 --> 00:24:02,860 Are you being anonymous right now? 612 00:24:03,040 --> 00:24:04,220 I have to be anonymous for a moment. 613 00:24:04,540 --> 00:24:05,740 Okay, for professional reasons. 614 00:24:06,180 --> 00:24:07,360 You can just Google White Rabbit. 615 00:24:09,260 --> 00:24:10,520 Follow the White Rabbit. 616 00:24:10,880 --> 00:24:11,560 Yeah, that's it. 617 00:24:13,280 --> 00:24:15,080 So you guys watch 618 00:24:15,820 --> 00:24:16,720 anybody watch any 619 00:24:16,720 --> 00:24:17,300 late night TV? 620 00:24:17,800 --> 00:24:19,720 You ever seen the pitch men do their thing? 621 00:24:20,560 --> 00:24:22,240 But wait, there's more! 622 00:24:24,040 --> 00:24:24,480 No? 623 00:24:26,500 --> 00:24:27,120 All right. 624 00:24:27,500 --> 00:24:28,380 Billy Mays is dead. 625 00:24:28,520 --> 00:24:29,720 If you're still watching Billy Mays, 626 00:24:31,100 --> 00:24:31,580 turn off. 627 00:24:32,060 --> 00:24:32,480 That's true. 628 00:24:32,620 --> 00:24:33,520 He's still running his ads. 629 00:24:34,500 --> 00:24:35,340 He's still getting paid. 630 00:24:38,100 --> 00:24:39,660 So really, really interesting 631 00:24:41,060 --> 00:24:42,480 failure of a web app. 632 00:24:42,720 --> 00:24:43,840 You can put the fire back on, dude. 633 00:24:43,940 --> 00:24:44,880 This is my fire now. 634 00:24:45,680 --> 00:24:47,480 We're watching the Matrix fire. 635 00:24:50,760 --> 00:24:51,440 Somebody's calling me. 636 00:24:52,040 --> 00:24:53,220 Hold on, Mike's going to take a call real quick. 637 00:24:53,320 --> 00:24:53,440 Keep talking. 638 00:24:58,380 --> 00:24:59,200 That's Shlae calling. 639 00:24:59,540 --> 00:25:00,100 What's up, man? 640 00:25:02,500 --> 00:25:03,500 He's taking a live call. 641 00:25:03,500 --> 00:25:04,360 Let me put you on speakerphone. 642 00:25:04,740 --> 00:25:05,600 Let me put you on speakerphone. 643 00:25:07,720 --> 00:25:08,400 This is Beho. 644 00:25:09,260 --> 00:25:09,900 Hey, man. 645 00:25:10,180 --> 00:25:12,120 You're talking to an entire group of people 646 00:25:12,120 --> 00:25:13,080 or an audience of people. 647 00:25:13,200 --> 00:25:13,540 How you doing? 648 00:25:14,780 --> 00:25:15,180 Good. 649 00:25:17,620 --> 00:25:19,080 What do you have to say to them? 650 00:25:21,940 --> 00:25:22,660 How's the talk? 651 00:25:23,300 --> 00:25:23,700 What? 652 00:25:25,580 --> 00:25:26,440 You're the star! 653 00:25:26,980 --> 00:25:28,140 You're the star! 654 00:25:29,240 --> 00:25:30,200 We should probably hang up. 655 00:25:30,200 --> 00:25:31,280 I'm going to hang up now, dude. 656 00:25:34,400 --> 00:25:34,820 So, 657 00:25:35,240 --> 00:25:35,660 sorry. 658 00:25:37,120 --> 00:25:39,060 I like to call this one 659 00:25:39,060 --> 00:25:40,280 but wait, there's more. 660 00:25:41,080 --> 00:25:42,820 So at the appropriate places 661 00:25:42,820 --> 00:25:44,700 I'm going to do this and you guys are going to say 662 00:25:44,700 --> 00:25:47,220 What could possibly go wrong? 663 00:25:47,360 --> 00:25:47,560 Right. 664 00:25:48,160 --> 00:25:49,520 Yeah, what could possibly go wrong 665 00:25:49,520 --> 00:25:50,820 is kind of implied on this one. 666 00:25:51,400 --> 00:25:51,680 So, 667 00:25:52,880 --> 00:25:53,400 again, 668 00:25:53,600 --> 00:25:55,780 I do a lot of these types of things 669 00:25:55,780 --> 00:25:57,580 for more private organizations. 670 00:25:58,320 --> 00:26:00,780 Usually the audience is a little less receptive 671 00:26:00,780 --> 00:26:01,560 than you guys are. 672 00:26:02,200 --> 00:26:04,040 The usual look is like this. 673 00:26:04,180 --> 00:26:05,780 Tell me if you recognize this from your developers. 674 00:26:09,640 --> 00:26:11,300 And that means I totally buy 675 00:26:11,300 --> 00:26:12,280 what you're selling, right? 676 00:26:13,360 --> 00:26:16,620 I did an eval 677 00:26:16,620 --> 00:26:17,180 of 678 00:26:19,520 --> 00:26:20,600 they were trying to help somebody, 679 00:26:20,700 --> 00:26:21,260 a group, 680 00:26:21,340 --> 00:26:24,640 build a more robust, 681 00:26:24,880 --> 00:26:26,420 I guess more robust is the wrong way to say it 682 00:26:26,420 --> 00:26:28,220 because that would imply there was something there to begin with. 683 00:26:29,540 --> 00:26:30,960 We were trying to help them 684 00:26:31,380 --> 00:26:33,240 build a sapling of 685 00:26:33,240 --> 00:26:35,320 a security program for their web apps. 686 00:26:35,940 --> 00:26:37,300 This just so happens that it's a 687 00:26:37,300 --> 00:26:39,080 very, very large company that 688 00:26:39,080 --> 00:26:40,980 unfortunately all of you touch somehow 689 00:26:40,980 --> 00:26:41,700 during your day. 690 00:26:44,700 --> 00:26:45,100 No, 691 00:26:45,600 --> 00:26:46,600 no, no. 692 00:26:46,680 --> 00:26:48,400 Those stories are for later. 693 00:26:52,100 --> 00:26:52,680 That's creepy. 694 00:26:55,020 --> 00:26:55,420 So, 695 00:26:56,860 --> 00:26:57,620 looked at 696 00:26:57,620 --> 00:27:01,540 their company's 697 00:27:01,540 --> 00:27:01,940 homepage, 698 00:27:02,300 --> 00:27:04,040 the company name dot com page. 699 00:27:04,840 --> 00:27:06,220 I don't know about you guys, 700 00:27:06,300 --> 00:27:07,720 but the first thing I'm always drawn to is, 701 00:27:07,800 --> 00:27:08,560 oh look, login box. 702 00:27:10,580 --> 00:27:13,240 And so I asked the guy 703 00:27:13,240 --> 00:27:14,860 that I was working with as we were doing this 704 00:27:14,860 --> 00:27:17,420 mini assessment that we were supposed to do a report out on 705 00:27:18,560 --> 00:27:19,360 what this 706 00:27:19,520 --> 00:27:21,220 does and he's like, oh yeah, it's just our 707 00:27:21,220 --> 00:27:23,340 web login for, it's a 708 00:27:23,340 --> 00:27:24,660 strong authentication web login 709 00:27:25,260 --> 00:27:27,420 and it's single sign-on for the rest of 710 00:27:27,420 --> 00:27:29,460 their, which for those of you that don't know, 711 00:27:29,620 --> 00:27:31,220 if somebody says single sign-on, 712 00:27:31,300 --> 00:27:32,700 it means their cookie is usable 713 00:27:33,240 --> 00:27:34,960 across their entire domain. 714 00:27:36,980 --> 00:27:37,680 All of it. 715 00:27:40,560 --> 00:27:43,320 Right, exactly. 716 00:27:43,660 --> 00:27:44,180 Thank you. 717 00:27:45,920 --> 00:27:47,660 I had to wait on that one. 718 00:27:47,740 --> 00:27:49,120 I don't know what's going on here. So, 719 00:27:50,020 --> 00:27:51,520 he's explained to me how 720 00:27:51,520 --> 00:27:53,500 only this part of the 721 00:27:53,500 --> 00:27:55,380 system is just to sort of log in 722 00:27:55,380 --> 00:27:57,480 and check the status of 723 00:27:57,480 --> 00:27:58,320 your claim 724 00:28:00,260 --> 00:28:00,740 and 725 00:28:00,740 --> 00:28:03,480 look at any kind of bill you might 726 00:28:03,480 --> 00:28:05,320 have and stuff like that. I'm like, oh, 727 00:28:05,400 --> 00:28:07,460 so, that's not 728 00:28:07,460 --> 00:28:08,300 regulated at all. 729 00:28:09,180 --> 00:28:11,460 So, the funny thing 730 00:28:11,460 --> 00:28:11,700 is 731 00:28:11,700 --> 00:28:15,120 that assessment lasted, I think, 732 00:28:15,140 --> 00:28:16,000 38 seconds 733 00:28:17,680 --> 00:28:18,160 because 734 00:28:19,520 --> 00:28:21,100 you know, okay, so there's 735 00:28:21,100 --> 00:28:23,380 just some things that shouldn't work 736 00:28:23,380 --> 00:28:25,500 in 2010. Putting the 737 00:28:25,500 --> 00:28:27,340 single tick or one equals one 738 00:28:27,340 --> 00:28:29,320 in your login box is one of them. 739 00:28:35,800 --> 00:28:37,220 Right, exactly. 740 00:28:37,500 --> 00:28:39,500 So, this is actually the beginning of the story. 741 00:28:41,500 --> 00:28:43,360 So, we quit there 742 00:28:43,360 --> 00:28:45,620 and he asked, this guy needed help. 743 00:28:45,780 --> 00:28:47,500 He was a security manager 744 00:28:47,500 --> 00:28:49,460 and you all know how 745 00:28:49,520 --> 00:28:51,160 much people listen to security managers 746 00:28:51,160 --> 00:28:53,260 in the corporations, right? So, he needed 747 00:28:53,260 --> 00:28:55,060 some firepower, he needed some ammo, somebody that's 748 00:28:55,060 --> 00:28:57,160 kind of done this before and I was like, alright, I'll kind of 749 00:28:57,160 --> 00:28:59,180 come out and help you and see if we can draw up some support. 750 00:28:59,860 --> 00:29:01,280 And he's like, what, it would really be 751 00:29:01,280 --> 00:29:03,240 helpful if we could do a live demo for them. I was like, 752 00:29:03,320 --> 00:29:05,260 yeah, you know, I don't feel comfortable doing that on your live. 753 00:29:05,320 --> 00:29:07,340 He's like, come on, I'll get executive sign-off, 754 00:29:07,440 --> 00:29:09,520 we'll do a live demo. I'm like, alright, dude, 755 00:29:09,560 --> 00:29:11,500 we'll do a live demo. So, I threw 756 00:29:11,500 --> 00:29:13,140 on, you know, my best 757 00:29:14,420 --> 00:29:15,460 shades and went up there 758 00:29:15,460 --> 00:29:16,360 and we're talking 759 00:29:17,640 --> 00:29:19,320 and I'm explaining to them how this is 760 00:29:20,460 --> 00:29:21,440 and by the way, 761 00:29:21,480 --> 00:29:22,960 so the room is set up sort of like this. 762 00:29:23,060 --> 00:29:24,200 There's a bunch of developers, 763 00:29:24,920 --> 00:29:26,540 there's like the C-level 764 00:29:27,700 --> 00:29:29,400 folks, a cluster of four sitting 765 00:29:29,400 --> 00:29:31,500 in the left-hand side and there's a bunch 766 00:29:31,500 --> 00:29:33,240 of DBAs across the back, you know, 767 00:29:33,260 --> 00:29:35,220 it's like high school, it's not even high school, it's like 768 00:29:35,220 --> 00:29:37,080 grade school, it's like a grade school dance, you know, 769 00:29:37,100 --> 00:29:39,080 where everybody's sort of in their own space. 770 00:29:40,040 --> 00:29:41,460 Girls looking at boys across the dance 771 00:29:41,460 --> 00:29:41,680 floor. 772 00:29:43,180 --> 00:29:45,480 It's kind of like what this was. So, they're sitting there 773 00:29:45,480 --> 00:29:46,960 and they're listening and so I 774 00:29:47,900 --> 00:29:49,420 told them how easy it would be to pop 775 00:29:49,520 --> 00:29:51,080 this database and they're like, well, 776 00:29:51,640 --> 00:29:53,100 can we see it? I said, sure. 777 00:29:53,980 --> 00:29:55,620 So, I work for a company that does 778 00:29:55,620 --> 00:29:57,160 a little bit of web app stuff and 779 00:29:58,440 --> 00:29:59,500 I have this 780 00:29:59,500 --> 00:30:01,400 tool that's sort of named after 781 00:30:01,400 --> 00:30:03,160 what it does. It's called a SQL 782 00:30:03,160 --> 00:30:04,700 injector, right? 783 00:30:05,700 --> 00:30:06,800 It's not rocket science. 784 00:30:08,000 --> 00:30:09,400 And so, you know, you 785 00:30:09,400 --> 00:30:11,580 basically copy paste the URL, you click 786 00:30:11,580 --> 00:30:12,560 the button that says go 787 00:30:13,180 --> 00:30:15,520 and it starts going. And while it's going 788 00:30:15,520 --> 00:30:17,380 I'm talking to them about the bad things that 789 00:30:17,380 --> 00:30:19,320 can happen from SQL injection and such. 790 00:30:20,260 --> 00:30:21,940 And I'm getting this. 791 00:30:25,640 --> 00:30:27,180 Apparently I'm wasting their time. 792 00:30:28,360 --> 00:30:28,780 So, 793 00:30:29,510 --> 00:30:31,420 immediately, about a minute into 794 00:30:31,420 --> 00:30:33,120 this, you know, there's a 795 00:30:33,120 --> 00:30:35,360 little box that pops up and it shows the 796 00:30:35,360 --> 00:30:36,100 machine's name, 797 00:30:36,840 --> 00:30:39,300 the SQL version number and the 798 00:30:39,300 --> 00:30:39,780 IP address. 799 00:30:44,300 --> 00:30:45,800 So, the 800 00:30:47,600 --> 00:30:49,500 guy, the security guy now is kind of 801 00:30:49,520 --> 00:30:51,340 I've got this small smile creeping 802 00:30:51,340 --> 00:30:53,480 across his face and DBAs in the back are like, 803 00:30:53,580 --> 00:30:55,300 huh, that's probably not good. 804 00:30:57,800 --> 00:30:59,320 But, you know, they're not panicked 805 00:30:59,320 --> 00:30:59,600 yet. 806 00:31:01,260 --> 00:31:03,420 And so, I'm trying to explain 807 00:31:03,420 --> 00:31:05,580 that hacking, this really isn't hacking, 808 00:31:05,720 --> 00:31:07,440 it's just sort of stumbling through accidental 809 00:31:07,440 --> 00:31:09,180 fail. So, 810 00:31:09,300 --> 00:31:11,360 I get there, I look over to 811 00:31:11,360 --> 00:31:13,420 see folks, can I get your permission to see this button 812 00:31:13,420 --> 00:31:15,260 over here? It says get rows. Can I 813 00:31:15,260 --> 00:31:17,520 do that just for posterity? He goes, yeah, go ahead. 814 00:31:18,260 --> 00:31:18,640 Click. 815 00:31:19,820 --> 00:31:21,340 Within about 30 seconds we had 816 00:31:21,340 --> 00:31:23,400 about 20% of the database on my laptop. 817 00:31:23,560 --> 00:31:24,520 The row names and stuff. 818 00:31:24,940 --> 00:31:26,100 Then we got the column names. 819 00:31:27,360 --> 00:31:28,940 And it only gets better from there. 820 00:31:29,060 --> 00:31:31,020 So, at that point I decided I was going to really kind of 821 00:31:31,500 --> 00:31:33,360 show them beyond what a tool can do. 822 00:31:33,520 --> 00:31:35,140 Because now I'm extracting data so I can 823 00:31:35,140 --> 00:31:37,100 own your data, which is cool. 824 00:31:37,180 --> 00:31:38,480 And now they're slightly panicking. 825 00:31:38,800 --> 00:31:40,380 Security guy's smile is just a little bit bigger. 826 00:31:42,400 --> 00:31:43,200 And so, 827 00:31:43,280 --> 00:31:44,420 I open a 828 00:31:45,580 --> 00:31:47,120 I'm writing out a command line. 829 00:31:47,240 --> 00:31:49,440 It's got the command string, stop me if you've heard 830 00:31:49,520 --> 00:31:50,780 this, net user add. 831 00:31:52,160 --> 00:31:52,640 Administrator. 832 00:31:52,960 --> 00:31:53,440 Okay. 833 00:31:55,600 --> 00:31:57,520 So, there's a guy in the back 834 00:31:57,520 --> 00:31:59,140 that at that point just goes, whoa, 835 00:31:59,300 --> 00:31:59,860 stop. 836 00:32:01,780 --> 00:32:03,120 And the entire room. 837 00:32:03,560 --> 00:32:05,460 And the entire room at that 838 00:32:05,460 --> 00:32:06,900 point does one of these. 839 00:32:13,380 --> 00:32:15,660 And not being able to help myself, 840 00:32:15,820 --> 00:32:17,000 I said, what's up? 841 00:32:20,620 --> 00:32:21,440 He's like, well, I think it's, 842 00:32:22,200 --> 00:32:22,960 that's good enough. 843 00:32:23,080 --> 00:32:25,320 He's like, I really don't think we should go any further. 844 00:32:28,240 --> 00:32:28,520 Why? 845 00:32:29,480 --> 00:32:29,760 Right. 846 00:32:31,920 --> 00:32:33,520 So, what could possibly go wrong? 847 00:32:33,660 --> 00:32:35,240 And so he looks at me and he says, 848 00:32:35,380 --> 00:32:36,880 well, here's the deal. 849 00:32:38,380 --> 00:32:39,420 I really, I don't know 850 00:32:39,420 --> 00:32:41,200 if we can talk about, I can't really know 851 00:32:41,200 --> 00:32:43,320 if we can talk about it because you guys are technically a vendor. 852 00:32:43,520 --> 00:32:43,780 And we should. 853 00:32:44,200 --> 00:32:46,700 And the CISO looks at him and says, 854 00:32:46,800 --> 00:32:48,860 well, we're here to learn, Mark. 855 00:32:49,520 --> 00:32:50,780 Why don't you just go ahead and tell us? 856 00:32:52,360 --> 00:32:53,200 At this point, 857 00:32:53,280 --> 00:32:54,800 I think he may have crapped himself. 858 00:32:58,120 --> 00:32:59,360 Because here's where it gets 859 00:32:59,360 --> 00:33:00,060 really good. 860 00:33:00,600 --> 00:33:02,700 So, normally when I, 861 00:33:02,700 --> 00:33:04,600 you know, when I look at a database 862 00:33:04,600 --> 00:33:07,020 and I've got full access to your machine, 863 00:33:07,340 --> 00:33:08,720 I can, you know, pop all the data. 864 00:33:08,980 --> 00:33:10,000 That's pretty good, right? 865 00:33:10,080 --> 00:33:11,580 I'm a happy guy. 866 00:33:11,820 --> 00:33:13,000 You know, life's pretty easy. 867 00:33:13,620 --> 00:33:15,680 So the fact that it gets better from there 868 00:33:17,160 --> 00:33:19,080 is like sprinkles on ice cream. 869 00:33:19,520 --> 00:33:19,720 It's delicious. 870 00:33:22,360 --> 00:33:23,620 So, by the way, Mike, 871 00:33:23,640 --> 00:33:24,600 did you notice the room filled up? 872 00:33:25,640 --> 00:33:27,160 People are just waking up or 873 00:33:27,160 --> 00:33:28,460 maybe they're just looking for somewhere to sleep. 874 00:33:29,820 --> 00:33:30,560 You guys rock. 875 00:33:31,920 --> 00:33:33,360 Anyway, so, back to this. 876 00:33:34,620 --> 00:33:34,980 Yes. 877 00:33:35,140 --> 00:33:36,640 They came for the fireside chat. 878 00:33:38,900 --> 00:33:39,620 So, I'll 879 00:33:39,620 --> 00:33:40,080 hurry this along. 880 00:33:40,280 --> 00:33:42,800 So, he says, 881 00:33:43,020 --> 00:33:44,440 he goes, don't hit enter. 882 00:33:46,200 --> 00:33:47,100 I'm like, well, you know, 883 00:33:47,200 --> 00:33:48,900 you can just delete this. It's just a local account. 884 00:33:49,520 --> 00:33:49,860 I'll delete it later. 885 00:33:49,980 --> 00:33:52,880 He goes, well, look, 886 00:33:55,580 --> 00:33:57,880 we went through this round of server consolidation. 887 00:33:58,200 --> 00:33:59,560 There was a lot of extra hardware glut 888 00:33:59,560 --> 00:34:00,740 and this box was overbuilt. 889 00:34:00,880 --> 00:34:03,520 So we had to consolidate this instance 890 00:34:03,520 --> 00:34:04,280 of SQL Server. 891 00:34:05,260 --> 00:34:05,960 I'm like, really? 892 00:34:08,120 --> 00:34:09,420 And he says, well, 893 00:34:10,100 --> 00:34:11,220 the architect decided 894 00:34:11,220 --> 00:34:13,580 that because there was similar classifications 895 00:34:13,580 --> 00:34:15,560 of data that the ERP system should live on it. 896 00:34:20,060 --> 00:34:20,520 Right. 897 00:34:20,680 --> 00:34:22,580 The fact that this gets better just is like 898 00:34:22,580 --> 00:34:25,520 a testament to how really bad things get. 899 00:34:26,960 --> 00:34:27,420 So, 900 00:34:27,520 --> 00:34:28,900 the security guy is now smiling 901 00:34:28,900 --> 00:34:30,060 just a little more. 902 00:34:31,160 --> 00:34:32,720 And I'm actually like 903 00:34:33,390 --> 00:34:34,080 really interested. 904 00:34:36,480 --> 00:34:37,620 Because this is a level 905 00:34:37,620 --> 00:34:38,800 of fail I haven't seen in a while. 906 00:34:40,400 --> 00:34:41,120 I'm like, oh, 907 00:34:41,240 --> 00:34:41,700 okay. 908 00:34:41,920 --> 00:34:43,520 Well, I'm like, yeah, I know. 909 00:34:43,580 --> 00:34:46,640 So you can do things across the different SQL instances and stuff. 910 00:34:46,840 --> 00:34:48,280 That's pretty bad. 911 00:34:49,520 --> 00:34:50,600 I'm like, yeah, but, you know, 912 00:34:51,040 --> 00:34:52,380 at least you're still limited. 913 00:34:52,500 --> 00:34:53,720 He goes, ah, well. 914 00:34:54,680 --> 00:34:55,720 The fire is over. 915 00:34:57,340 --> 00:34:58,460 Should we try a campfire? 916 00:34:58,800 --> 00:34:59,420 There is one. 917 00:34:59,540 --> 00:35:00,940 So, as he says, 918 00:35:03,620 --> 00:35:04,060 Nice. 919 00:35:04,480 --> 00:35:04,920 Nice. 920 00:35:07,160 --> 00:35:08,500 The relaxing fishies. 921 00:35:10,080 --> 00:35:10,520 So, 922 00:35:10,620 --> 00:35:12,640 and now he's explained to me that 923 00:35:12,640 --> 00:35:15,400 because the ERP front end app 924 00:35:15,400 --> 00:35:16,580 was written in, 925 00:35:16,720 --> 00:35:17,820 you guys ready for this? 926 00:35:19,680 --> 00:35:21,800 And it didn't work across the firewall. 927 00:35:22,400 --> 00:35:23,780 That server is where? 928 00:35:24,540 --> 00:35:25,360 On the inside. 929 00:35:25,660 --> 00:35:26,440 On the inside. 930 00:35:26,860 --> 00:35:27,500 That's right. 931 00:35:27,820 --> 00:35:30,660 And so the security guy now has a smile 932 00:35:30,660 --> 00:35:32,540 that goes from about this ear to this ear. 933 00:35:32,800 --> 00:35:34,060 And if he goes like this, 934 00:35:34,060 --> 00:35:35,060 his head might flip over. 935 00:35:36,860 --> 00:35:37,380 So, 936 00:35:39,520 --> 00:35:40,360 I'm like, wow, 937 00:35:40,520 --> 00:35:42,540 that's pretty special. 938 00:35:43,700 --> 00:35:45,820 That really is a bad idea. 939 00:35:46,560 --> 00:35:47,040 So, 940 00:35:47,040 --> 00:35:49,140 I'd be making myself a username 941 00:35:49,140 --> 00:35:50,380 on your internal network. 942 00:35:50,680 --> 00:35:51,540 And he goes, 943 00:35:52,760 --> 00:35:53,080 actually? 944 00:35:55,840 --> 00:35:57,120 And at this point 945 00:35:57,120 --> 00:35:57,800 you're asking yourself, 946 00:35:59,080 --> 00:35:59,720 how? 947 00:36:02,160 --> 00:36:03,600 Do we kill kittens? 948 00:36:05,360 --> 00:36:06,000 Well, 949 00:36:06,640 --> 00:36:08,340 folks, because this, 950 00:36:08,440 --> 00:36:11,140 these guys have decided to do this so well, 951 00:36:14,640 --> 00:36:15,920 corporate policy, 952 00:36:17,040 --> 00:36:17,620 security policy, 953 00:36:17,820 --> 00:36:19,460 dictated that all internal machines, 954 00:36:19,860 --> 00:36:20,940 all internal Windows machines, 955 00:36:21,120 --> 00:36:22,840 had to be on the domain. 956 00:36:25,220 --> 00:36:27,120 And because of server consolidation, 957 00:36:31,280 --> 00:36:32,600 you know the rest of that. 958 00:36:32,800 --> 00:36:32,960 So, 959 00:36:33,580 --> 00:36:35,060 if I would have hit enter, 960 00:36:36,200 --> 00:36:37,340 I would have been what? 961 00:36:37,960 --> 00:36:38,400 God. 962 00:36:39,320 --> 00:36:40,360 Administrator on the domain. 963 00:36:40,480 --> 00:36:41,040 You would have been God. 964 00:36:41,900 --> 00:36:42,340 So, 965 00:36:47,980 --> 00:36:49,140 is there more? 966 00:36:49,400 --> 00:36:50,440 No, there isn't anymore. 967 00:36:51,320 --> 00:36:52,780 But at that point, 968 00:36:53,600 --> 00:36:55,020 my security contact, 969 00:36:55,220 --> 00:36:56,040 he's looking at me, 970 00:36:56,160 --> 00:36:56,780 and I'm, 971 00:36:57,480 --> 00:36:58,940 he might have actually wet himself. 972 00:37:00,680 --> 00:37:01,980 Because this is a completely 973 00:37:01,980 --> 00:37:03,180 unanticipated failure. 974 00:37:04,540 --> 00:37:05,420 So he goes, 975 00:37:06,020 --> 00:37:07,380 so what do you recommend first? 976 00:37:14,680 --> 00:37:16,340 The sales guy that I was with 977 00:37:17,040 --> 00:37:17,140 was looking at me, 978 00:37:17,260 --> 00:37:20,240 and as serious as I could say it, 979 00:37:20,240 --> 00:37:22,200 as seriously as I could say it, 980 00:37:22,240 --> 00:37:22,880 I looked at him, 981 00:37:22,920 --> 00:37:23,580 dead in the eyes, 982 00:37:23,620 --> 00:37:23,840 I said, 983 00:37:23,840 --> 00:37:24,760 turn it off. 984 00:37:29,100 --> 00:37:29,900 But yeah, 985 00:37:30,060 --> 00:37:32,980 that's probably my best one. 986 00:37:33,340 --> 00:37:35,180 I've run into that twice now, 987 00:37:35,640 --> 00:37:36,040 where, 988 00:37:37,000 --> 00:37:37,520 you know, 989 00:37:37,520 --> 00:37:37,740 I mean, 990 00:37:37,760 --> 00:37:37,940 look, 991 00:37:37,940 --> 00:37:38,540 let's be realistic, 992 00:37:40,100 --> 00:37:40,860 corporations have, 993 00:37:42,120 --> 00:37:42,880 server consolidating, 994 00:37:42,920 --> 00:37:43,560 virtualizing, 995 00:37:43,660 --> 00:37:44,520 pushing to the cloud. 996 00:37:45,600 --> 00:37:45,920 Sorry, 997 00:37:46,080 --> 00:37:46,680 that was for Hoff, 998 00:37:46,780 --> 00:37:47,440 he's probably not here. 999 00:37:47,720 --> 00:37:49,280 He flew out this morning. 1000 00:37:55,340 --> 00:37:56,720 Let's talk more about web service. 1001 00:37:56,840 --> 00:37:56,900 Yeah, 1002 00:37:56,900 --> 00:37:57,640 go back to your web service. 1003 00:37:58,100 --> 00:37:59,020 You guys ready for more? 1004 00:38:00,560 --> 00:38:01,320 All right, 1005 00:38:01,320 --> 00:38:01,540 Mikey, 1006 00:38:08,080 --> 00:38:08,480 I've been working with you for a while. 1007 00:38:08,500 --> 00:38:09,120 and that's convenient. 1008 00:38:09,560 --> 00:38:11,520 But it's not necessarily such a good idea. 1009 00:38:12,640 --> 00:38:13,140 You know, 1010 00:38:13,180 --> 00:38:13,960 the online banking, 1011 00:38:14,120 --> 00:38:14,580 things like that, 1012 00:38:14,620 --> 00:38:15,500 they get hacked over. 1013 00:38:15,700 --> 00:38:16,040 Actually, 1014 00:38:16,280 --> 00:38:17,400 you don't really hear about it that often, 1015 00:38:17,420 --> 00:38:18,880 but they do get hacked all over the place, 1016 00:38:19,000 --> 00:38:20,660 at least all the ones I've looked at 1017 00:38:20,660 --> 00:38:21,140 have vulnerabilities. 1018 00:38:21,820 --> 00:38:22,820 My mortgage company, 1019 00:38:22,820 --> 00:38:23,060 actually, 1020 00:38:24,780 --> 00:38:26,020 I've been fighting with them for, 1021 00:38:26,160 --> 00:38:26,640 well, actually, 1022 00:38:26,680 --> 00:38:27,720 I've moved away now, 1023 00:38:27,820 --> 00:38:29,080 so hopefully I'll be done with them soon, 1024 00:38:29,260 --> 00:38:31,800 but I've been fighting with them for three years. 1025 00:38:31,800 --> 00:38:32,620 Did you sell your house? 1026 00:38:33,280 --> 00:38:34,740 As soon as I do sell it, 1027 00:38:34,740 --> 00:38:35,420 I'm going to be done with it. 1028 00:38:36,660 --> 00:38:37,060 Anyways, 1029 00:38:40,200 --> 00:38:42,340 their web application for managing my mortgage 1030 00:38:42,340 --> 00:38:44,120 and my online banking and all that stuff, 1031 00:38:44,840 --> 00:38:47,000 session ID is a time stamp. 1032 00:38:47,960 --> 00:38:49,280 There's cross-site scripting, 1033 00:38:49,300 --> 00:38:49,780 cross-site request, 1034 00:38:52,820 --> 00:38:53,260 vulnerabilities to it. 1035 00:38:54,180 --> 00:38:55,560 Okay, let's keep going, actually. 1036 00:38:55,860 --> 00:38:58,800 My statements are actually PDFs 1037 00:38:58,800 --> 00:38:59,940 that are just sitting there in the server. 1038 00:39:01,540 --> 00:39:02,500 Sequentially numbered, probably? 1039 00:39:02,540 --> 00:39:04,360 Sequentially numbered by your loan ID number. 1040 00:39:04,700 --> 00:39:05,160 That's good. 1041 00:39:07,040 --> 00:39:08,680 Yeah, actually, during tax season, 1042 00:39:08,720 --> 00:39:09,920 my social security number's in there, too. 1043 00:39:10,120 --> 00:39:10,480 Great. 1044 00:39:10,900 --> 00:39:12,340 In a publicly accessible folder? 1045 00:39:12,720 --> 00:39:13,000 Yes. 1046 00:39:14,760 --> 00:39:16,580 I'm not even telling you guys where I live. 1047 00:39:16,780 --> 00:39:18,500 Yeah, he's not going to tell you what bank he uses, 1048 00:39:18,600 --> 00:39:20,160 because you guys probably have this problem, too. 1049 00:39:22,820 --> 00:39:23,860 The response comes back. 1050 00:39:24,100 --> 00:39:25,340 All right, the time stamp issue, 1051 00:39:25,560 --> 00:39:27,460 it's not a problem, 1052 00:39:27,620 --> 00:39:29,360 because we have a secret formula we use 1053 00:39:29,360 --> 00:39:31,460 to generate that session ID. 1054 00:39:31,540 --> 00:39:32,600 I'm like, no, it's a time stamp. 1055 00:39:32,840 --> 00:39:34,960 I did it. I stole my own session three times. 1056 00:39:36,700 --> 00:39:38,020 Trust me, I'm an expert. 1057 00:39:38,220 --> 00:39:39,480 Yeah, I know about these things. 1058 00:39:40,000 --> 00:39:42,200 And they insisted that the cross-site scripting holes 1059 00:39:42,200 --> 00:39:44,000 don't matter because they have countermeasures on the back end. 1060 00:39:44,040 --> 00:39:46,140 I'm like, no, I stole my session three times. 1061 00:39:47,800 --> 00:39:48,560 The PDFs, 1062 00:39:48,560 --> 00:39:49,920 they actually did apologize for that 1063 00:39:49,920 --> 00:39:51,120 and removed those, 1064 00:39:51,380 --> 00:39:53,580 just the PDFs with my social security number in them 1065 00:39:53,580 --> 00:39:54,340 from the server. 1066 00:39:55,000 --> 00:39:56,540 But the links are all, 1067 00:39:56,760 --> 00:39:59,480 actually, I just got that wrong. 1068 00:39:59,820 --> 00:40:01,440 They removed the links from the server. 1069 00:40:01,700 --> 00:40:04,140 The PDFs were still up there until I complained the second time. 1070 00:40:05,260 --> 00:40:06,260 Put the fish back. 1071 00:40:06,620 --> 00:40:07,880 We've got different aquariums now. 1072 00:40:09,280 --> 00:40:10,860 Piano, rain music, nature scenes. 1073 00:40:11,200 --> 00:40:11,380 All right. 1074 00:40:12,440 --> 00:40:12,920 Okay. 1075 00:40:14,040 --> 00:40:14,520 Whoa. 1076 00:40:14,780 --> 00:40:15,260 No. 1077 00:40:18,380 --> 00:40:19,440 I do not need... 1078 00:40:19,920 --> 00:40:20,680 Just name that fish. 1079 00:40:20,780 --> 00:40:22,220 You just don't know what's coming up on screen. 1080 00:40:24,360 --> 00:40:26,480 Nobody wants like a Lindsay Lohan shot or anything. 1081 00:40:27,280 --> 00:40:28,620 David Soxby's reef aquarium. 1082 00:40:28,700 --> 00:40:29,620 Yeah, I went there. 1083 00:40:29,780 --> 00:40:30,040 Okay. 1084 00:40:32,380 --> 00:40:32,960 All right. 1085 00:40:33,000 --> 00:40:35,300 So that's the online banking apps. 1086 00:40:35,720 --> 00:40:36,980 These are the online banking apps. 1087 00:40:37,080 --> 00:40:37,720 They're pretty bad. 1088 00:40:38,240 --> 00:40:39,440 They're not the worst out there. 1089 00:40:40,480 --> 00:40:41,600 Who's heard of MyMoney? 1090 00:40:43,260 --> 00:40:45,460 It's actually not very big and there's a good reason for it. 1091 00:40:46,480 --> 00:40:48,200 Online banking through Facebook. 1092 00:40:48,300 --> 00:40:49,120 It's a Facebook app. 1093 00:40:50,580 --> 00:40:51,900 Dude, this is a terrible aquarium. 1094 00:40:52,360 --> 00:40:53,400 That is quite bossy. 1095 00:40:53,420 --> 00:40:55,020 Or it's like Quentin Tarantino style. 1096 00:40:57,160 --> 00:40:58,040 Fish are all packing. 1097 00:40:58,980 --> 00:40:59,580 Reservoir fish. 1098 00:41:00,900 --> 00:41:01,520 Reservoir fish. 1099 00:41:01,640 --> 00:41:02,200 I like it. 1100 00:41:02,300 --> 00:41:02,980 Go back to the fireplace. 1101 00:41:03,140 --> 00:41:03,980 Yeah, we're going back to the fireplace. 1102 00:41:05,020 --> 00:41:05,380 Fair. 1103 00:41:05,520 --> 00:41:06,520 I'm stoking up the fire now. 1104 00:41:07,160 --> 00:41:07,680 All right. 1105 00:41:10,000 --> 00:41:12,160 So MyMoney, Facebook app. 1106 00:41:12,660 --> 00:41:13,580 Hands up on the table. 1107 00:41:13,580 --> 00:41:14,800 You want to be stoking up the fire. 1108 00:41:15,100 --> 00:41:15,540 Okay. 1109 00:41:18,080 --> 00:41:18,520 Anyways. 1110 00:41:20,720 --> 00:41:21,960 It has vulnerabilities. 1111 00:41:22,180 --> 00:41:27,920 Like the fact that you can put a different Facebook user's user ID in and get a different profile to come up. 1112 00:41:30,760 --> 00:41:34,380 You have to guess which users are actually using this MyMoney app. 1113 00:41:34,480 --> 00:41:36,120 But it's not hard because there's a list of the fans. 1114 00:41:39,720 --> 00:41:42,560 And the advertisement page from this company, 1115 00:41:42,560 --> 00:41:44,060 that created it. 1116 00:41:44,180 --> 00:41:45,780 It says something to the effect of, 1117 00:41:45,840 --> 00:41:48,600 you can harness the power of social networking to 1118 00:41:49,300 --> 00:41:50,160 for your 1119 00:41:51,180 --> 00:41:52,680 to advertise your bank 1120 00:41:52,680 --> 00:41:53,500 or some shit like that. 1121 00:41:53,780 --> 00:41:55,240 Get robbed on the net. 1122 00:41:55,420 --> 00:41:55,820 Free. 1123 00:41:58,400 --> 00:41:59,580 Sponsored by the RBN. 1124 00:42:01,040 --> 00:42:01,500 Yeah. 1125 00:42:02,100 --> 00:42:03,220 So MyMoney's bad. 1126 00:42:03,400 --> 00:42:05,500 But at least they're trying to make things private. 1127 00:42:05,640 --> 00:42:06,920 Well, sort of-ish. 1128 00:42:07,260 --> 00:42:08,740 Blippi. Everybody's used Blippi. 1129 00:42:09,660 --> 00:42:10,640 I use Blippi. 1130 00:42:14,420 --> 00:42:15,260 All right. 1131 00:42:15,620 --> 00:42:16,640 Blippi is awesome. 1132 00:42:18,200 --> 00:42:19,540 Let's just skip that one, actually. 1133 00:42:19,900 --> 00:42:21,060 We don't have time for it. 1134 00:42:21,860 --> 00:42:23,660 That'll bring me off into an angry rant. 1135 00:42:24,020 --> 00:42:25,000 What else do I have? 1136 00:42:25,160 --> 00:42:26,300 What has this been so far? 1137 00:42:26,480 --> 00:42:28,560 This is my lazy, my depressed, 1138 00:42:29,560 --> 00:42:30,220 hungover rant. 1139 00:42:30,900 --> 00:42:32,540 I have many flavors of rants. 1140 00:42:33,360 --> 00:42:33,980 All right. 1141 00:42:37,460 --> 00:42:38,740 Where should I go next? 1142 00:42:40,640 --> 00:42:41,300 Source code. 1143 00:42:41,560 --> 00:42:41,920 What? 1144 00:42:42,940 --> 00:42:45,860 So while the hamster's getting back on the wheel. 1145 00:42:47,540 --> 00:42:48,120 One of the 1146 00:42:48,940 --> 00:42:49,920 So we work with 1147 00:42:49,920 --> 00:42:52,400 We want to talk about web services for just a second. 1148 00:42:53,740 --> 00:42:54,660 For just a second. 1149 00:42:54,780 --> 00:42:55,400 We'll talk about web services. 1150 00:42:55,420 --> 00:42:55,860 For just a second. 1151 00:42:56,560 --> 00:42:58,620 Because I think that was the title of the talk at some point. 1152 00:43:01,000 --> 00:43:02,320 If anybody's a can of Dr. Pepper, 1153 00:43:02,440 --> 00:43:03,900 I've always wanted to say, trust me, I'm a doctor 1154 00:43:03,900 --> 00:43:04,440 and hold that up. 1155 00:43:04,560 --> 00:43:05,640 So I'd appreciate that. 1156 00:43:06,140 --> 00:43:07,720 Anybody have some beer? I want beer. 1157 00:43:08,340 --> 00:43:08,660 What? 1158 00:43:12,560 --> 00:43:13,440 It's way too late. 1159 00:43:15,480 --> 00:43:16,440 So lately, 1160 00:43:17,560 --> 00:43:19,000 there's a talk I'm working on 1161 00:43:19,000 --> 00:43:20,240 called No REST for the Wicked. 1162 00:43:20,620 --> 00:43:22,760 And REST stands for 1163 00:43:22,760 --> 00:43:23,960 Representational State Transfer. 1164 00:43:24,080 --> 00:43:26,000 As you guys know, REST for web services. 1165 00:43:26,340 --> 00:43:28,120 Now, does anybody know the main problem 1166 00:43:28,120 --> 00:43:30,520 that I could possibly have with REST as a security person? 1167 00:43:34,420 --> 00:43:35,640 Wow. It's insecure. 1168 00:43:36,060 --> 00:43:38,100 The answer up front was it's insecure. 1169 00:43:38,500 --> 00:43:39,140 Good answer. 1170 00:43:39,140 --> 00:43:39,960 No. 1171 00:43:41,080 --> 00:43:43,260 REST calls are entirely unstructured. 1172 00:43:43,640 --> 00:43:44,620 So I'd like to 1173 00:43:45,140 --> 00:43:46,760 I'm a testing kind of guy. 1174 00:43:46,820 --> 00:43:47,900 I like to poke and prod at things. 1175 00:43:48,340 --> 00:43:50,440 So if you're writing something, 1176 00:43:50,640 --> 00:43:51,760 I need to be able to 1177 00:43:52,400 --> 00:43:53,620 write a script or 1178 00:43:54,100 --> 00:43:56,020 create something that will test it. 1179 00:43:56,080 --> 00:43:57,300 The problem with REST is 1180 00:43:57,900 --> 00:44:00,280 every developer gets to choose 1181 00:44:00,280 --> 00:44:01,360 how they implement it. 1182 00:44:03,260 --> 00:44:05,340 What could possibly go wrong? 1183 00:44:05,820 --> 00:44:06,780 For those of you that are 1184 00:44:06,780 --> 00:44:08,620 I don't know why people are still coming in. 1185 00:44:09,340 --> 00:44:10,580 Is there a good talk next? 1186 00:44:10,600 --> 00:44:12,040 Should we stay afterwards? 1187 00:44:12,640 --> 00:44:14,140 Yeah, there must be a really good talk after us. 1188 00:44:15,720 --> 00:44:17,120 So for those of you new to the room, 1189 00:44:17,200 --> 00:44:17,900 we're playing a game called 1190 00:44:17,900 --> 00:44:19,000 What Could Possibly Go Wrong? 1191 00:44:20,720 --> 00:44:22,760 When I do this, everybody should say 1192 00:44:22,760 --> 00:44:25,460 What could possibly go wrong? 1193 00:44:26,120 --> 00:44:26,840 Right. Cool. 1194 00:44:29,840 --> 00:44:31,940 So testing these things is evil. 1195 00:44:32,040 --> 00:44:32,900 And I think the only people 1196 00:44:32,900 --> 00:44:34,880 that actually write RESTful web services 1197 00:44:34,880 --> 00:44:35,580 are the ones that either 1198 00:44:35,580 --> 00:44:36,520 don't know how to code 1199 00:44:36,520 --> 00:44:38,200 or are too lazy to follow rules. 1200 00:44:39,780 --> 00:44:40,940 There's this whole thing about 1201 00:44:40,940 --> 00:44:43,460 how APIs are 1202 00:44:43,460 --> 00:44:45,120 if you really need a lightweight 1203 00:44:45,120 --> 00:44:46,560 API, go with REST. 1204 00:44:47,080 --> 00:44:49,040 I prefer to say that if you don't 1205 00:44:49,040 --> 00:44:50,560 ever want to document what you're doing, 1206 00:44:51,100 --> 00:44:51,720 go REST. 1207 00:44:52,580 --> 00:44:54,480 Go REST. Get it? No? 1208 00:44:54,840 --> 00:44:57,220 Wow. Okay. It wasn't that funny. 1209 00:44:57,360 --> 00:44:57,900 It wasn't that funny. 1210 00:44:58,000 --> 00:44:59,820 So working on a 1211 00:44:59,820 --> 00:45:01,920 I don't know if I can tell you who it is. 1212 00:45:01,980 --> 00:45:03,540 So working on a particular 1213 00:45:04,920 --> 00:45:06,360 implementation of REST, 1214 00:45:06,360 --> 00:45:08,520 there was a set of services 1215 00:45:08,520 --> 00:45:10,300 on a particular domain that interested me 1216 00:45:10,300 --> 00:45:12,360 that was passing data 1217 00:45:12,360 --> 00:45:13,280 back and forth. 1218 00:45:13,480 --> 00:45:16,160 And it was just a serial 1219 00:45:16,160 --> 00:45:18,340 string of numbers. 1220 00:45:18,900 --> 00:45:20,340 And any time I see numbers 1221 00:45:20,340 --> 00:45:21,960 passing back and forth on a social 1222 00:45:21,960 --> 00:45:23,820 media site that I use a lot, 1223 00:45:23,980 --> 00:45:25,160 I'm always interested. 1224 00:45:26,820 --> 00:45:28,060 And I think, Mike, 1225 00:45:28,060 --> 00:45:29,260 you might have mentioned this at some point. 1226 00:45:29,300 --> 00:45:30,600 Not during talk, but you've mentioned this before. 1227 00:45:30,940 --> 00:45:33,560 And I was very interested in watching 1228 00:45:34,120 --> 00:45:35,500 things kind of go by. 1229 00:45:36,360 --> 00:45:37,140 Tinker and manipulate. 1230 00:45:37,500 --> 00:45:40,180 So at one point I just started randomly 1231 00:45:40,180 --> 00:45:41,960 putting things into the string 1232 00:45:41,960 --> 00:45:44,140 that was being passed around. 1233 00:45:45,080 --> 00:45:46,240 Interestingly enough, 1234 00:45:47,740 --> 00:45:49,140 if you substitute, 1235 00:45:49,260 --> 00:45:51,100 take the number one out 1236 00:45:51,100 --> 00:45:52,500 and put in 1237 00:45:52,500 --> 00:45:53,740 a string of 1238 00:45:54,260 --> 00:45:54,580 script 1239 00:45:56,160 --> 00:45:58,040 and just let it go, 1240 00:45:59,420 --> 00:46:00,520 it gets passed 1241 00:46:00,520 --> 00:46:01,800 around to 21 different 1242 00:46:02,060 --> 00:46:02,820 servers eventually. 1243 00:46:03,100 --> 00:46:04,400 How do I know this? 1244 00:46:08,420 --> 00:46:09,480 Some of them have the same 1245 00:46:09,480 --> 00:46:09,960 IP address, 1246 00:46:10,100 --> 00:46:10,900 which even worries me more. 1247 00:46:12,180 --> 00:46:13,620 So the moral of the story is 1248 00:46:13,620 --> 00:46:15,580 I had a conversation with 1249 00:46:15,580 --> 00:46:17,300 one of the folks that writes this. 1250 00:46:17,620 --> 00:46:18,360 He says, well, 1251 00:46:19,120 --> 00:46:20,380 developers get to write... 1252 00:46:20,760 --> 00:46:21,860 Are you flicking us off? 1253 00:46:23,760 --> 00:46:24,860 He's telling us to hurry up. 1254 00:46:25,880 --> 00:46:26,240 Thanks. 1255 00:46:26,760 --> 00:46:28,420 You can fire off into a wrap-up rant soon. 1256 00:46:28,700 --> 00:46:29,420 A wrap-up rant. 1257 00:46:31,380 --> 00:46:32,440 And he says, well, 1258 00:46:32,500 --> 00:46:34,900 the developers wrote an open API 1259 00:46:36,360 --> 00:46:38,660 that allowed outside folks 1260 00:46:38,660 --> 00:46:39,300 to sort of... 1261 00:46:39,300 --> 00:46:40,660 You guys know where we're going with this. 1262 00:46:40,800 --> 00:46:42,360 That allowed outside folks to start 1263 00:46:42,360 --> 00:46:43,660 writing their own code 1264 00:46:43,660 --> 00:46:46,620 and to create new interfaces 1265 00:46:46,620 --> 00:46:48,180 and new plug-ins 1266 00:46:48,180 --> 00:46:49,420 and new gadgets 1267 00:46:49,420 --> 00:46:50,400 and crap like that. 1268 00:46:50,780 --> 00:46:54,060 And the flash of brilliance there 1269 00:46:54,060 --> 00:46:55,760 is that we want to leave it 1270 00:46:55,760 --> 00:46:57,080 as unstructured as possible 1271 00:46:57,080 --> 00:46:58,300 to not restrict creativity. 1272 00:47:01,700 --> 00:47:03,260 You guys got it now. 1273 00:47:04,620 --> 00:47:06,060 Well, what could possibly go wrong 1274 00:47:06,360 --> 00:47:06,920 with a cross-site script 1275 00:47:06,920 --> 00:47:09,680 like a crap ton of this domain 1276 00:47:10,140 --> 00:47:11,260 completely by accident? 1277 00:47:13,260 --> 00:47:14,220 Unfortunately from your 1278 00:47:14,220 --> 00:47:15,060 corporate IP address. 1279 00:47:17,100 --> 00:47:18,060 But so... 1280 00:47:18,060 --> 00:47:19,840 And the biggest challenge you have 1281 00:47:19,840 --> 00:47:21,400 with something like that is 1282 00:47:22,400 --> 00:47:23,760 again, testing it, right? 1283 00:47:23,840 --> 00:47:25,740 So figuring out what it does. 1284 00:47:25,840 --> 00:47:26,800 As the security guys, 1285 00:47:27,000 --> 00:47:29,100 you guys go back to work at some point. 1286 00:47:29,160 --> 00:47:29,840 Some of you work. 1287 00:47:31,640 --> 00:47:33,380 The rest of you just make my life hell. 1288 00:47:34,340 --> 00:47:36,300 So if you go back to work 1289 00:47:36,360 --> 00:47:38,410 on Tuesday or Friday, 1290 00:47:39,380 --> 00:47:39,960 what is today? 1291 00:47:40,900 --> 00:47:41,980 Whatever today is. 1292 00:47:42,020 --> 00:47:43,460 Whatever day you go back to work. 1293 00:47:44,900 --> 00:47:46,080 You'll look around 1294 00:47:46,080 --> 00:47:48,520 your company for REST web services 1295 00:47:48,520 --> 00:47:49,300 and ask yourself, 1296 00:47:49,440 --> 00:47:50,800 how the hell are you going to test that? 1297 00:47:51,220 --> 00:47:54,260 Because they're not going to 1298 00:47:54,260 --> 00:47:55,200 document it for you. 1299 00:47:55,420 --> 00:47:58,400 There's no pretty XML structure. 1300 00:47:58,960 --> 00:48:00,120 There's no soap envelope. 1301 00:48:00,480 --> 00:48:01,820 It's just crap streaming 1302 00:48:02,190 --> 00:48:03,100 back and forth. 1303 00:48:03,980 --> 00:48:05,660 So I thought I'd just throw that out there 1304 00:48:06,360 --> 00:48:06,800 as a thought from me. 1305 00:48:08,080 --> 00:48:08,740 Good luck. 1306 00:48:11,180 --> 00:48:12,700 So there's a lot of things 1307 00:48:12,700 --> 00:48:14,340 that are being pushed into the web. 1308 00:48:14,540 --> 00:48:16,080 There's a lot of web services out there 1309 00:48:16,080 --> 00:48:18,220 that some of them are useful. 1310 00:48:18,440 --> 00:48:19,220 Some of them aren't useful. 1311 00:48:19,380 --> 00:48:20,120 Some of them are good ideas. 1312 00:48:20,220 --> 00:48:21,020 Some of them are bad ideas. 1313 00:48:21,480 --> 00:48:23,680 One thing that everybody here... 1314 00:48:24,580 --> 00:48:26,600 We really haven't even gone over it that much. 1315 00:48:27,620 --> 00:48:29,380 I want everybody here to understand 1316 00:48:29,380 --> 00:48:32,380 there's absolutely no security 1317 00:48:32,380 --> 00:48:33,300 built into the web. 1318 00:48:34,540 --> 00:48:35,300 Wait, what? 1319 00:48:36,360 --> 00:48:38,220 Is this a shocking revelation to anybody? 1320 00:48:39,200 --> 00:48:40,360 Because it really... 1321 00:48:41,620 --> 00:48:42,180 People... 1322 00:48:42,180 --> 00:48:44,040 We've been trying to hack on 1323 00:48:44,040 --> 00:48:45,860 terrible, terrible fixes for 1324 00:48:46,540 --> 00:48:47,660 web application 1325 00:48:48,520 --> 00:48:50,760 problems for 15 years now. 1326 00:48:51,440 --> 00:48:52,640 More than that, actually. 1327 00:48:52,800 --> 00:48:53,200 But... 1328 00:48:55,220 --> 00:48:56,960 Browsers are incredibly insecure. 1329 00:48:57,200 --> 00:48:58,440 They have no boundaries. 1330 00:48:58,760 --> 00:49:00,260 Web applications have no 1331 00:49:00,260 --> 00:49:01,820 inherent boundaries built into them. 1332 00:49:01,920 --> 00:49:02,600 We're trying to hack it... 1333 00:49:04,400 --> 00:49:06,180 See, I'm actually just about to get 1334 00:49:06,680 --> 00:49:07,800 momentum here with my rant. 1335 00:49:08,020 --> 00:49:08,400 Go for it. 1336 00:49:08,540 --> 00:49:09,960 No, he stopped it. 1337 00:49:10,020 --> 00:49:10,480 He killed it. 1338 00:49:12,340 --> 00:49:13,120 Browsers suck. 1339 00:49:13,540 --> 00:49:14,320 Get your momentum. 1340 00:49:14,620 --> 00:49:15,380 Get my momentum. 1341 00:49:15,840 --> 00:49:16,380 All right. 1342 00:49:17,120 --> 00:49:17,560 So... 1343 00:49:22,260 --> 00:49:22,700 Yeah. 1344 00:49:25,180 --> 00:49:26,160 I've hacked his brain. 1345 00:49:26,240 --> 00:49:27,020 You've hacked my brain. 1346 00:49:27,840 --> 00:49:28,420 I win. 1347 00:49:29,600 --> 00:49:30,040 Anyways. 1348 00:49:30,040 --> 00:49:32,480 Web applications 1349 00:49:32,480 --> 00:49:33,680 are very insecure. 1350 00:49:36,060 --> 00:49:37,360 Cross-site scripting, 1351 00:49:37,400 --> 00:49:38,400 cross-site request forgery, 1352 00:49:38,560 --> 00:49:40,200 these stupid little attacks 1353 00:49:40,200 --> 00:49:42,020 that are getting people owned 1354 00:49:42,020 --> 00:49:43,260 right and left all the time, 1355 00:49:43,880 --> 00:49:46,160 they're not complicated, 1356 00:49:46,560 --> 00:49:47,920 they're not new, 1357 00:49:48,120 --> 00:49:50,080 but they're incredibly useful 1358 00:49:50,080 --> 00:49:50,440 because 1359 00:49:51,880 --> 00:49:53,140 they work everywhere. 1360 00:49:53,420 --> 00:49:55,060 XSS is like the universal API. 1361 00:49:55,500 --> 00:49:57,460 It makes it so that you can integrate 1362 00:49:57,460 --> 00:49:59,380 your web application with anybody else's. 1363 00:50:03,540 --> 00:50:04,020 Anyways. 1364 00:50:06,840 --> 00:50:08,600 Whenever people want to move things 1365 00:50:08,600 --> 00:50:09,140 onto the web, 1366 00:50:09,260 --> 00:50:10,600 whether it's the admin panel 1367 00:50:10,600 --> 00:50:11,880 for your network appliance 1368 00:50:11,880 --> 00:50:12,120 or... 1369 00:50:12,780 --> 00:50:14,280 Is there a reason that your firewall 1370 00:50:14,280 --> 00:50:16,320 really needs a web interface on it? 1371 00:50:17,320 --> 00:50:17,820 Are you... 1372 00:50:17,820 --> 00:50:18,420 I mean, 1373 00:50:19,260 --> 00:50:21,640 if you really can't work the CLI, 1374 00:50:21,660 --> 00:50:22,740 you shouldn't be managing a firewall. 1375 00:50:28,820 --> 00:50:29,940 Do you realize 1376 00:50:30,040 --> 00:50:31,440 it just disqualified about 50% 1377 00:50:31,440 --> 00:50:33,180 of the firewall builders out there, right? 1378 00:50:33,280 --> 00:50:33,320 I know. 1379 00:50:33,320 --> 00:50:33,960 But speaking of, 1380 00:50:34,540 --> 00:50:35,680 earlier this year, 1381 00:50:35,760 --> 00:50:38,060 I found an XSS in the Palo Alto firewall 1382 00:50:38,060 --> 00:50:39,100 within five minutes. 1383 00:50:39,220 --> 00:50:40,200 It was the first place I looked. 1384 00:50:40,620 --> 00:50:42,740 I think that people just aren't looking at them 1385 00:50:42,740 --> 00:50:44,020 because they're expensive 1386 00:50:44,020 --> 00:50:45,400 and people who have spare time 1387 00:50:45,400 --> 00:50:46,480 aren't actually looking at them. 1388 00:50:46,560 --> 00:50:47,020 It's crazy. 1389 00:50:47,840 --> 00:50:48,280 Anyways. 1390 00:50:48,720 --> 00:50:49,300 They're secure. 1391 00:50:49,920 --> 00:50:50,800 Yeah, they are. 1392 00:50:52,040 --> 00:50:54,120 We don't need most of the web services we have 1393 00:50:54,120 --> 00:50:56,140 and most of them are really dangerous. 1394 00:50:57,320 --> 00:50:58,620 I'll finish up with one story. 1395 00:50:58,800 --> 00:50:59,220 Go for it. 1396 00:50:59,840 --> 00:51:01,100 We're out of time, though. 1397 00:51:01,660 --> 00:51:02,700 How much time do we have? 1398 00:51:03,840 --> 00:51:04,380 We're done. 1399 00:51:04,540 --> 00:51:04,740 We're out. 1400 00:51:05,600 --> 00:51:06,600 Hey, thanks.