1 00:00:00,000 --> 00:00:09,020 My name is Iris, we are DC949, and this is OCTF, 5 years and 50 minutes, you're all in the right place, yes, it's like gym class. 2 00:00:11,800 --> 00:00:21,920 And, 5 years ago, we invented and implemented a little game called, well, originally it was called Amateur Capture the Flag, and then it became Open Capture the Flag. 3 00:00:22,520 --> 00:00:27,740 And I guess we'll just have everybody stand up and say their names, or, you know, so we know who we're talking to. 4 00:00:31,940 --> 00:00:52,140 Adrian, Adam, CP, Jeff Ball, Frank Tu, A. Pratt, History. 5 00:00:52,500 --> 00:00:57,500 So, 5 years ago, me and... 6 00:00:57,740 --> 00:01:05,260 And this guy over here, the red head, Adam, we were walking around DEFCON, this was many moons ago, back when DEFCON was at the Alexis Park. 7 00:01:07,080 --> 00:01:17,320 And there wasn't a whole lot, right now there's many DEFCON contests, there's Mystery Box, there's, you know, contests and badges, and, you know, ninja party stuff you can take apart, 8 00:01:17,560 --> 00:01:24,880 and everybody else who has a party has a badge, and you can take stuff apart, and there's karaoke, and there's more contests than I can possibly even remember. 9 00:01:25,940 --> 00:01:27,360 But, it wasn't always that way. 10 00:01:27,360 --> 00:01:29,820 There was only maybe 3 or 4 contests, originally. 11 00:01:30,360 --> 00:01:33,680 So there wasn't a whole lot of structured activities for attendees to do. 12 00:01:33,880 --> 00:01:38,880 I mean, you know, you could walk around, you could, you know, get on the most hostile network on Earth and play around, which was cool, but like, that was it. 13 00:01:39,020 --> 00:01:42,880 You know, you could talk, which is not bad, but... 14 00:01:44,960 --> 00:01:50,540 Obviously, the cornerstone contest of, you know, DEFCON forever is CTF. 15 00:01:51,980 --> 00:01:57,220 And CTF is really cool, but it suffers from one real... 16 00:01:58,320 --> 00:01:59,700 nail, which is not everybody can play. 17 00:02:00,260 --> 00:02:06,020 Right? I mean, CTF is awesome, everybody would, you know, love to bash their brains up against some of the smartest guys out there on the net, 18 00:02:06,140 --> 00:02:08,040 but, you know, resources are limited. 19 00:02:08,200 --> 00:02:09,300 Not everybody can play their game. 20 00:02:09,520 --> 00:02:19,780 So, over half intoxicated banter one day, me and Adam had a conversation, and I kinda tossed the idea. 21 00:02:19,920 --> 00:02:25,100 I was like, yo, what if we made a game that was like CTF, but everybody could play? 22 00:02:26,040 --> 00:02:27,340 And he kinda looked at me and said, well what if we made a game that was like CTF, but everybody could play? 23 00:02:27,360 --> 00:02:29,160 That's really cool, I don't know anything about doing that. 24 00:02:29,280 --> 00:02:30,500 You wanna do that? 25 00:02:30,620 --> 00:02:31,060 And I was like, no. 26 00:02:31,200 --> 00:02:32,360 We should go find somebody to do it. 27 00:02:32,500 --> 00:02:38,140 So we spent a year looking for somebody else to host this contest that would be fun for us to play. 28 00:02:38,280 --> 00:02:43,940 It would be like CTF, but everybody could play, and it would be this giant room, and, you know, we'd all have crazy hacker good times. 29 00:02:44,580 --> 00:02:45,580 And nobody wanted to do it. 30 00:02:45,680 --> 00:02:47,540 Everybody said, oh, that sounds like a good idea, you should do it. 31 00:02:49,400 --> 00:02:56,760 So, our grand master plan was to apply for, you know, talk to the goons and be like, yo, we'll run this contest, and try to run this contest. 32 00:02:57,360 --> 00:03:04,500 And then we'd screw it up so badly that people would approach us and say, this is a really good idea, but you guys suck at it. 33 00:03:04,540 --> 00:03:06,040 And we'd be like, oh, well, please. 34 00:03:07,580 --> 00:03:09,640 Because we had so little faith in our own abilities. 35 00:03:10,300 --> 00:03:16,820 So we, you know, muscled up some Moxie and had our one little computer with no paint on it. 36 00:03:17,060 --> 00:03:21,560 And, like, I think it was like an aluminum or iron case or something heavy as hell. 37 00:03:21,800 --> 00:03:23,660 We tried to host it over Wi-Fi the first year. 38 00:03:23,760 --> 00:03:24,640 That was really smart. 39 00:03:25,000 --> 00:03:25,360 Uh. 40 00:03:25,820 --> 00:03:26,180 . 41 00:03:27,360 --> 00:03:28,200 So we set out to host this contest. 42 00:03:28,340 --> 00:03:34,540 And it had a million problems and was hardly ever up and had all kinds of, the finger of God was, like, flicking us off that day. 43 00:03:34,600 --> 00:03:35,840 It was not friendly. 44 00:03:37,420 --> 00:03:39,800 But the few people that came out to play had a lot of fun. 45 00:03:40,420 --> 00:03:46,400 And at the close of the contest, people walked up to us and said, wow, that was really cool. 46 00:03:46,660 --> 00:03:47,960 You guys had some serious problems. 47 00:03:48,080 --> 00:03:48,920 You should fix it. 48 00:03:50,040 --> 00:03:50,440 Oh. 49 00:03:50,600 --> 00:03:50,860 . 50 00:03:51,400 --> 00:03:53,520 That's not the response I wanted. 51 00:03:53,900 --> 00:03:55,020 But that's what we got. 52 00:03:55,020 --> 00:04:02,880 So, yeah, it started really fledging and then, you know, a few years later we were still doing it. 53 00:04:02,940 --> 00:04:14,920 And by the time we ended, you know, what we thought would be very simple, you know, originally amateur-esque services, you know, games turned into just these monster, monster challenges that would literally take years to create. 54 00:04:15,100 --> 00:04:23,860 I mean, Bio CTF 3, which is, I think, where we changed the name from amateur to open, the reason we changed the name is because other people would walk up to us and say, why do you guys call this amateur? 55 00:04:23,860 --> 00:04:24,860 This is not easy. 56 00:04:25,460 --> 00:04:30,360 I mean, not that I would claim to be some, like, super, you know, like, at-style programmer. 57 00:04:30,600 --> 00:04:36,380 But, I mean, you know, it was unique enough to where somebody else felt that we needed to change the name. 58 00:04:36,520 --> 00:04:37,280 So we did. 59 00:04:38,300 --> 00:04:43,880 So I guess the rest of the panel is over the years we've gotten a whole lot of really nasty complaints of stuff we did to people's computer. 60 00:04:45,120 --> 00:04:49,860 So I figure we'll just stand up and or we'll sit. 61 00:04:50,100 --> 00:04:50,180 Yeah. 62 00:04:50,280 --> 00:04:50,840 You guys want to sit. 63 00:04:51,240 --> 00:04:52,060 Make me stand. 64 00:04:52,220 --> 00:04:52,720 I see how it is. 65 00:04:54,480 --> 00:04:59,320 And just go over, I guess, some of the milestone services, some of the ones that were really popular, the ones that people, you know, remember. 66 00:04:59,540 --> 00:05:10,620 And then at any real time, if anybody's got anything they wanted to know or questions they've had over the years or is really upset about me blowing up their computer in year three, you know, it's a panel. 67 00:05:10,740 --> 00:05:14,680 So feel free to get involved and thank you. 68 00:05:15,300 --> 00:05:16,140 Thanks for interrupting. 69 00:05:16,600 --> 00:05:17,200 Stage ninja. 70 00:05:17,700 --> 00:05:18,400 Stage ninja. 71 00:05:19,700 --> 00:05:20,080 Yeah. 72 00:05:20,660 --> 00:05:22,940 It's just, you know, feel free to shoot your hands up there. 73 00:05:22,940 --> 00:05:24,260 And just get involved. 74 00:05:28,040 --> 00:05:29,060 Just real quick, guys. 75 00:05:29,600 --> 00:05:32,100 Anyone in here actually play in OpenCTF for the last five years? 76 00:05:32,360 --> 00:05:32,700 Oh, wow. 77 00:05:33,000 --> 00:05:34,400 So I was expecting no one. 78 00:05:34,520 --> 00:05:36,360 So my next anecdote is not going to work. 79 00:05:38,340 --> 00:05:39,720 So, yeah, we're going to cover some services. 80 00:05:40,620 --> 00:05:43,660 And then coming towards the end there, I think we're going to have a lot of time left. 81 00:05:44,540 --> 00:05:45,180 Ask questions. 82 00:05:45,640 --> 00:05:50,580 Maybe services you would like to understand how we did the back end or what things we did and why we did them. 83 00:05:50,660 --> 00:05:52,860 And probably a lot about happy dancing. 84 00:05:52,860 --> 00:05:54,020 Feel free to throw things at me. 85 00:05:58,380 --> 00:05:58,940 All right. 86 00:06:00,560 --> 00:06:04,820 One of the things that I liked running the contest was there was always a good range of services. 87 00:06:05,140 --> 00:06:14,780 So it didn't matter whether you were, you know, some guy off the street who, you know, didn't know a whole lot or whether you've been doing this for years and, you know, run your own pen testing company. 88 00:06:14,980 --> 00:06:17,480 You could come here, try and hack something and have fun. 89 00:06:18,880 --> 00:06:22,140 Some of the stuff that I did throughout the years have been crypto related. 90 00:06:22,140 --> 00:06:34,180 And some of it was simple, you know, talented into this and gives you an encoded text with some custom algorithm, anything from rotation to transposition, like all kinds of different stuff. 91 00:06:35,120 --> 00:06:37,600 And basically you had to solve that. 92 00:06:37,980 --> 00:06:39,440 And there weren't any hints. 93 00:06:39,620 --> 00:06:41,280 It was just here's a cipher text. 94 00:06:41,440 --> 00:06:42,260 Give me back the plain text. 95 00:06:43,020 --> 00:06:48,320 And one of the other challenges that we had was it had to get harder as the contest progressed. 96 00:06:48,320 --> 00:06:53,160 I mean, if people were just battling back and forth, you know, two people know how to solve it. 97 00:06:53,220 --> 00:06:54,220 They're just going to script it. 98 00:06:54,520 --> 00:06:56,520 And then, you know, the server is going to get DOSed. 99 00:06:57,020 --> 00:07:07,540 So what we had to do was we had to make the challenges get more difficult over time at, you know, a reasonable rate so that people would always be able to try and have fun. 100 00:07:09,160 --> 00:07:11,240 So the crypto was a whole lot of fun. 101 00:07:12,500 --> 00:07:18,300 We had some games like I did Hangman where basically you had to guess the, you know, those Hangman games. 102 00:07:18,300 --> 00:07:21,320 And there were some different, it was web-based. 103 00:07:21,440 --> 00:07:24,480 You could do some different injection attacks and stuff like that. 104 00:07:24,660 --> 00:07:26,880 Or you could just try and play Hangman and win. 105 00:07:27,780 --> 00:07:30,920 So, you know, however you want to attack it, by all means. 106 00:07:36,300 --> 00:07:37,440 What else did I do? 107 00:07:37,660 --> 00:07:47,260 Oh, one year we had a whole economy set up because the, one of the things we got from, I think it was year three, someone came up and was like, 108 00:07:47,340 --> 00:07:48,280 you know, I really like Hangman. 109 00:07:48,300 --> 00:07:53,720 I like your contest, but, and it's a great challenge, but it's not really like, you know, real life. 110 00:07:53,940 --> 00:08:01,000 I mean, this crypto stuff's cool and all, but, you know, I'm not going to, you know, come out in the wild and say, oh, look, I'm telling you to do something. 111 00:08:01,160 --> 00:08:03,600 It's giving me back a crypto, you know, it's just not going to happen. 112 00:08:04,080 --> 00:08:09,260 And all the, you know, real crypto is, you know, actually secure where you're not going to break it in a reasonable amount of time. 113 00:08:09,320 --> 00:08:11,040 So, like, I'm not going to give you that. 114 00:08:11,280 --> 00:08:13,080 It's more or less impossible. 115 00:08:15,200 --> 00:08:17,720 And if you do break it, you know, you're not going to, you know, release it here. 116 00:08:17,720 --> 00:08:19,440 At OCTF. 117 00:08:19,600 --> 00:08:22,300 So, you're probably going to do something else with it. 118 00:08:24,980 --> 00:08:27,420 So, what we did was we set up an entire economy. 119 00:08:27,600 --> 00:08:28,180 We had a bank. 120 00:08:28,300 --> 00:08:29,420 We had an ice cream shop. 121 00:08:29,700 --> 00:08:31,400 We had an auction. 122 00:08:31,980 --> 00:08:33,040 A whole bunch of stuff. 123 00:08:33,360 --> 00:08:35,400 And we had different flags, you know, hidden within. 124 00:08:35,680 --> 00:08:42,680 And, you know, basically all the websites you could hack or, you know, you could just try and manipulate the system to get what you want. 125 00:08:43,300 --> 00:08:46,460 More money, more credit, more stuff at the auction. 126 00:08:46,460 --> 00:08:54,520 We even auctioned off stuff like trash from the, you know, ice cream shop, which had hints on, you know, different things on how to score. 127 00:08:56,420 --> 00:08:57,540 What else do we have? 128 00:09:01,000 --> 00:09:01,480 Defconomy. 129 00:09:01,480 --> 00:09:06,720 And what's great about defconomy is just like the real economy, it kind of crashed and fell apart. 130 00:09:08,080 --> 00:09:08,560 Yeah. 131 00:09:13,460 --> 00:09:14,780 What else did I do? 132 00:09:15,960 --> 00:09:16,440 Notable. 133 00:09:16,880 --> 00:09:19,000 There was the drop down one. 134 00:09:19,220 --> 00:09:20,160 Oh, the letter drop. 135 00:09:20,340 --> 00:09:20,780 That one? 136 00:09:21,420 --> 00:09:22,160 Yeah, that one. 137 00:09:22,360 --> 00:09:26,440 I did a really interesting crypto one where normally you substitute one letter for another. 138 00:09:26,960 --> 00:09:28,960 Well, with this one, it wasn't that at all. 139 00:09:29,060 --> 00:09:32,660 You just rearranged the letters and you got your plain text. 140 00:09:34,360 --> 00:09:36,380 And that one, did anyone get that one? 141 00:09:36,760 --> 00:09:39,940 I think someone got it, but it was like everyone thought it was super hard. 142 00:09:40,060 --> 00:09:42,560 And it's like, all you have to do is rearrange the letters, guys. 143 00:09:42,600 --> 00:09:43,100 It's an anagram. 144 00:09:44,080 --> 00:09:45,120 It's not that tough. 145 00:09:45,120 --> 00:09:47,180 It was like 12 characters. 146 00:09:47,960 --> 00:09:48,620 Come on. 147 00:09:49,640 --> 00:09:56,820 So it was really interesting to see, you know, you do things like that that you think, oh, this is going to get, you know, smashed in the first 10 minutes. 148 00:09:57,460 --> 00:10:00,940 And, you know, to sit there for like three hours and like people know it's there. 149 00:10:01,020 --> 00:10:01,700 People are trying. 150 00:10:01,880 --> 00:10:07,160 And you walk around and like people are trying like things and you're like, okay, I don't know why they're trying that. 151 00:10:07,300 --> 00:10:09,380 But, you know, good luck. 152 00:10:12,660 --> 00:10:13,840 Anyway, it's been a lot of fun. 153 00:10:13,840 --> 00:10:15,120 I've learned a lot. 154 00:10:15,320 --> 00:10:17,680 I had good times with all the contestants. 155 00:10:18,340 --> 00:10:19,820 Pretty much know them all by name now. 156 00:10:22,820 --> 00:10:25,520 And we had a great run. 157 00:10:26,380 --> 00:10:31,040 And I'm going to go check out what the two boys are doing over there after I get done talking. 158 00:10:32,080 --> 00:10:32,700 Who's next? 159 00:10:33,600 --> 00:10:34,340 Next slide. 160 00:10:34,400 --> 00:10:34,720 Yeah, sure. 161 00:10:35,300 --> 00:10:35,880 What's that? 162 00:10:37,880 --> 00:10:43,820 So I only recently joined the 949 team. 163 00:10:43,820 --> 00:10:48,760 And, you know, when they say that anybody can just come up and help them out, they're not lying about that. 164 00:10:48,880 --> 00:10:51,320 My first DEF CON was DEF CON 16. 165 00:10:51,800 --> 00:10:53,100 And I saw OCTF. 166 00:10:53,120 --> 00:10:54,500 And I was like, this is really cool. 167 00:10:54,660 --> 00:10:55,620 And these are some cool guys. 168 00:10:55,720 --> 00:10:56,640 I'm going to go meet up with them. 169 00:10:57,060 --> 00:11:00,900 And then the very next year I was actually working on a service for OCTF. 170 00:11:00,980 --> 00:11:03,120 And it was a whole lot of fun to work with them. 171 00:11:03,200 --> 00:11:05,560 So I only had one service. 172 00:11:05,860 --> 00:11:07,460 But it was a big, massive service. 173 00:11:07,520 --> 00:11:10,200 Are any of you guys familiar with the text game Zork? 174 00:11:12,300 --> 00:11:12,620 Okay. 175 00:11:12,620 --> 00:11:13,320 Here's a few people. 176 00:11:13,420 --> 00:11:13,500 Good. 177 00:11:13,760 --> 00:11:16,820 So basically what mine was was Zork with a zero. 178 00:11:17,000 --> 00:11:19,120 You know, because hackers love numbers. 179 00:11:20,940 --> 00:11:31,680 And what it was was you were in the NIST facility to imprison hackers because, you know, you don't want to put them in a regular prison because they're going to get the crap eaten out of them or something like that. 180 00:11:31,860 --> 00:11:36,800 So you put them in a prison hosted by the NIST or MITRE or whoever you really want to call it. 181 00:11:36,880 --> 00:11:42,600 And the idea was there was some B-tard guard who loved you and hackers because hackers don't like you. 182 00:11:42,600 --> 00:11:44,220 And hackers are cool and he's just fucking retarded. 183 00:11:44,420 --> 00:11:48,920 So what he's going to do is he gives you some lockpicks to help you break out of the prison. 184 00:11:49,080 --> 00:11:54,580 And what you're going to do is all the guards are out at DEFCON right now because they love DEFCON, too. 185 00:11:54,760 --> 00:11:57,080 And there's only that one B-tard idiot there. 186 00:11:57,260 --> 00:11:59,400 So he helps you break out of prison. 187 00:11:59,620 --> 00:12:09,500 And the entire idea is for you to not necessarily break out of prison entirely but to go to the yard and deface the flag with your team name. 188 00:12:09,760 --> 00:12:12,500 So what this involved was basically... 189 00:12:12,600 --> 00:12:14,860 It was exactly like a text-based adventure. 190 00:12:15,140 --> 00:12:21,440 You would have to pick your way out of your cell, then navigate the text-based maze and try to figure out how to go from one level to the next. 191 00:12:21,920 --> 00:12:28,320 And every door had a lock of some kind that you had to perform some sort of binary manipulation on it. 192 00:12:28,440 --> 00:12:33,560 You had to find out how to perform an exploit on the door in some way or another. 193 00:12:33,640 --> 00:12:39,720 You had to get a key card and then a thumb drive so you could add an exploit onto your key card and then put it in the lock. 194 00:12:39,780 --> 00:12:42,440 And the lock would run the exploit and then you would get through the next level. 195 00:12:42,600 --> 00:12:49,220 And there was a final door which was basically kind of like a key gen in a way. 196 00:12:49,320 --> 00:12:55,560 Where it was basically a challenge response where you would have to download the lock and reverse engineer it and try to figure out the algorithm. 197 00:12:55,780 --> 00:12:59,080 So when it gave you a question, you would have to give it a response. 198 00:12:59,760 --> 00:13:03,340 So as the game progressed, it would get harder and harder and harder. 199 00:13:03,500 --> 00:13:09,140 The exploits would get a lot more difficult to perform or more difficult to figure out. 200 00:13:09,220 --> 00:13:11,800 Sometimes you would have to figure out where the address was going. 201 00:13:13,240 --> 00:13:14,580 What else was there? 202 00:13:16,840 --> 00:13:21,100 Yeah, the key generator got more and more obfuscated with every time. 203 00:13:21,760 --> 00:13:27,500 And how many of you guys play pen and paper games like D20 games? 204 00:13:27,660 --> 00:13:34,560 If the DM told you explicitly to go somewhere and really, really, really told you to go somewhere, would you follow them? 205 00:13:36,060 --> 00:13:38,320 Why would you follow them? That's so gullible. 206 00:13:38,420 --> 00:13:39,300 So here's what happened. 207 00:13:41,040 --> 00:13:42,580 Before you get to the end of the game. 208 00:13:42,580 --> 00:13:44,280 You go to the library which has a lot of key components. 209 00:13:44,720 --> 00:13:49,760 The descriptions of the rooms tell you, hey, by the way, you might want to go to the locker room. 210 00:13:49,940 --> 00:13:50,440 There's a lot of 211 00:14:15,320 --> 00:14:17,820 I actually got compliments on the writing of it at least. 212 00:14:20,340 --> 00:14:23,080 And that was basically how Zork went. 213 00:14:23,180 --> 00:14:24,840 That was just a whole lot of fun to write. 214 00:14:25,720 --> 00:14:26,340 Who's next? 215 00:14:32,440 --> 00:14:38,420 So I think these guys kind of understate the wacky antics that contestants do during the game. 216 00:14:38,500 --> 00:14:41,640 That was seriously like 80% of the fun every year that we ran it. 217 00:14:41,640 --> 00:14:45,940 It was just seeing the hairball schemes people would pull in the middle of the game. 218 00:14:46,060 --> 00:14:49,260 Like Adam was over there talking about defconomy and how, oh, yeah, it was funny because it crashed. 219 00:14:49,400 --> 00:14:54,100 What was really funny is after a while when people couldn't figure out a way to beat it, you know, to modify money, 220 00:14:54,360 --> 00:14:56,620 they'd just get up, walk around the room, start walking up to people's laptops. 221 00:14:56,780 --> 00:14:59,480 And if it was open to their banking website, they'd just go, change. 222 00:15:01,680 --> 00:15:03,760 And then people would argue with us about it cheating. 223 00:15:04,100 --> 00:15:05,420 Not my fault. 224 00:15:06,220 --> 00:15:07,880 Oh, man, all kinds of crazy. 225 00:15:08,040 --> 00:15:09,960 We had a mistake one year. 226 00:15:09,960 --> 00:15:18,000 We, in all classic fashion, left the login to a box as root root, which is embarrassing for multiple reasons. 227 00:15:18,200 --> 00:15:21,500 A, because, well, you know, we left the box as root root. 228 00:15:22,240 --> 00:15:28,860 Secondly, because nobody found it for like an hour, which is just sad. 229 00:15:29,080 --> 00:15:35,180 And then when somebody did find it, they didn't patch the box up, so somebody else took it from them. 230 00:15:37,960 --> 00:15:39,940 And then, you know, we... 231 00:15:39,960 --> 00:15:44,340 We finally figured out what we did and we reset the computer and, you know, had it all back. 232 00:15:44,540 --> 00:15:48,640 But they decided they would be crafty, so when they gave us the box back, since we didn't want to reset it, 233 00:15:48,800 --> 00:15:52,420 they left a nice little cron job that would look for every... 234 00:15:54,880 --> 00:16:00,100 It would look for the string that we tagged all of our flags with in every file on the computer and change it to their team name. 235 00:16:00,820 --> 00:16:06,900 The problem is their cron job didn't check to see which type of files it was modifying, 236 00:16:07,140 --> 00:16:09,780 so at some point it started going through, like, libraries in the computer. 237 00:16:09,960 --> 00:16:12,640 You know, like, glibc and just screwing crap up. 238 00:16:12,920 --> 00:16:16,220 So about 20 minutes into them scoring, the box just dies and they start screaming at us, 239 00:16:16,280 --> 00:16:16,780 what did you do? 240 00:16:16,920 --> 00:16:18,680 And we're like, it's not my fault, you're a bad admin. 241 00:16:20,600 --> 00:16:21,560 I didn't do it. 242 00:16:25,160 --> 00:16:30,240 Anyway, as long as this is to talk about my own service, because my favorite services are stuff everybody else wrote, 243 00:16:30,380 --> 00:16:31,100 because they're really cool. 244 00:16:32,180 --> 00:16:37,400 One of my fun little gems that I wrote was called Global Thermonuclear War. 245 00:16:38,700 --> 00:16:39,940 I hope at least one of you have read it. 246 00:16:39,960 --> 00:16:42,960 At least one person in this room has seen War Games and guessed the joke. 247 00:16:43,380 --> 00:16:43,920 Thank you. 248 00:16:44,880 --> 00:16:48,060 So Global Thermonuclear War was this web page that you would go visit, 249 00:16:49,600 --> 00:16:53,380 and there would be a little password field, and there would be a button, 250 00:16:53,540 --> 00:16:57,580 and the button would say, you know, download unlocker, because that's not ominous at all. 251 00:16:58,320 --> 00:17:01,000 So you download this unlocker, and there was a binary in it, 252 00:17:01,060 --> 00:17:06,240 and obviously it was full of horrible, nasty, acid, venom things that were designed to do horrible things to your computer. 253 00:17:07,200 --> 00:17:09,000 And I hoped people would run this in VM, 254 00:17:09,000 --> 00:17:13,680 because at one level, you know, it did bad things. 255 00:17:13,860 --> 00:17:16,780 Okay, so what this binary was, it was a three-card Monty. 256 00:17:16,880 --> 00:17:19,360 You'd run it, and you'd see three options. 257 00:17:19,980 --> 00:17:21,540 And you could, you know, play chess. 258 00:17:23,300 --> 00:17:24,600 You could play tic-tac-toe. 259 00:17:25,040 --> 00:17:26,800 Or you could play Global Thermonuclear War. 260 00:17:27,860 --> 00:17:34,580 If you played tic-tac-toe, I actually wrote a really crappy terminal version of tic-tac-toe that you could play and win. 261 00:17:34,780 --> 00:17:35,940 And eventually, if you did win, 262 00:17:35,940 --> 00:17:41,100 it would display a ROT 13 encoded message at the bottom of the screen 263 00:17:41,100 --> 00:17:44,160 that would mutate every three times that you ran it. 264 00:17:44,560 --> 00:17:48,780 And if you decoded all of them and put them together in a giant string, 265 00:17:51,880 --> 00:17:54,740 it would just tell you, this is a red herring, why are you looking here? 266 00:17:55,960 --> 00:17:57,460 And a lot of people spent time on that. 267 00:17:57,540 --> 00:17:59,380 I really don't know why they did. It's ROT 13. It's not hard. 268 00:17:59,980 --> 00:18:02,920 And some people actually decoded it and then thought there was something else in it, 269 00:18:02,960 --> 00:18:03,940 instead of looking at it for hours. 270 00:18:04,280 --> 00:18:05,600 I didn't know I could program that good. 271 00:18:05,600 --> 00:18:07,000 Apparently I can hide things in plain text. 272 00:18:07,920 --> 00:18:12,680 The chess game was just literally a link to a Windows chess game that people downloaded 273 00:18:12,680 --> 00:18:16,260 and eventually people rooted that site and did all kinds of horrible things to that company. 274 00:18:16,480 --> 00:18:17,560 I don't even know who it was. 275 00:18:17,680 --> 00:18:20,120 I just picked it at random. It was the first link on Google when I looked it up. 276 00:18:20,180 --> 00:18:20,340 Chess? 277 00:18:23,420 --> 00:18:24,460 So, sorry for them. 278 00:18:24,980 --> 00:18:29,240 And if you hit Global Thermonuclear War, it would show you another three options. 279 00:18:29,520 --> 00:18:32,340 And those three options would say, okay, you're playing Global Thermonuclear War. 280 00:18:32,520 --> 00:18:34,760 Which set of cities would you like to attack first? 281 00:18:35,980 --> 00:18:40,600 And I actually took the orders from the movie, so Seattle was in there. 282 00:18:40,820 --> 00:18:43,240 And you could decide if you were going to be the Russians or the Americans. 283 00:18:43,500 --> 00:18:44,200 And you'd pick one. 284 00:18:45,260 --> 00:18:48,580 And each of these was the game itself. 285 00:18:48,980 --> 00:18:49,820 There were three options. 286 00:18:50,080 --> 00:18:53,740 One option would echo the correct password to slashdevnull, 287 00:18:54,560 --> 00:18:57,500 which is about as close as you were going to get to having it give you the answer. 288 00:18:58,260 --> 00:19:01,880 And the other two options would initiate malware payload. 289 00:19:02,380 --> 00:19:05,100 One of the malware payloads would overwrite, 290 00:19:05,100 --> 00:19:08,920 overwrite the first 512 bytes of every device attached to your computer 291 00:19:09,620 --> 00:19:13,680 with a really nasty bootloader that would just say in giant ASCII art letters 292 00:19:13,680 --> 00:19:16,600 and like a giant middle finger, the only winning move is not to play. 293 00:19:17,760 --> 00:19:21,740 And if you modified that firmware, then you got another firmware 294 00:19:21,740 --> 00:19:23,640 because it detected the fact that the binary was modified 295 00:19:23,640 --> 00:19:27,000 and it just said har har and, you know, kind of laughed at you. 296 00:19:27,280 --> 00:19:29,140 And the other payload would restart your computer. 297 00:19:29,880 --> 00:19:31,860 So you have this binary and you run it. 298 00:19:31,940 --> 00:19:34,380 And if you're not S tracing it, it just exits if you get it right. 299 00:19:35,100 --> 00:19:35,800 So what are you going to do? 300 00:19:36,100 --> 00:19:36,800 You're going to run it again. 301 00:19:38,060 --> 00:19:43,000 So you were very, very likely to try to run it against both horrible payloads 302 00:19:43,000 --> 00:19:44,740 and it would hurt your machine. 303 00:19:44,980 --> 00:19:47,240 And I hoped people would run it in the VM and most people did. 304 00:19:47,540 --> 00:19:50,540 And I know at least one kid didn't because it was his first DEF CON 305 00:19:50,540 --> 00:19:53,780 and I had this conversation with this 16-year-old kid who was crying in a corner 306 00:19:53,780 --> 00:19:55,400 because his box was nuked. 307 00:19:55,540 --> 00:19:57,700 And I tried to explain to him that, you know, 308 00:19:57,740 --> 00:19:59,920 it's only the first 512 bytes of your hard drive, man. 309 00:19:59,940 --> 00:20:00,800 You could just restore it. 310 00:20:00,920 --> 00:20:03,960 And he was like, but I just formatted it because I thought it was screwed. 311 00:20:06,980 --> 00:20:08,340 So I'm a horrible person. 312 00:20:10,800 --> 00:20:12,500 And again with the wacky antics. 313 00:20:12,580 --> 00:20:14,920 So the coolest thing about that service, I think, 314 00:20:14,940 --> 00:20:17,180 was how the guys who beat it ended up beating it. 315 00:20:17,980 --> 00:20:20,040 We had two teams from Korea that year. 316 00:20:20,340 --> 00:20:22,280 VAND and DDUG, right? 317 00:20:22,380 --> 00:20:22,480 Yeah. 318 00:20:22,840 --> 00:20:28,600 So the binary, the way that it was created was the only obfuscation in it 319 00:20:28,600 --> 00:20:30,960 is the key was a really stupid series of times tables. 320 00:20:32,100 --> 00:20:34,740 And rather than try to out binary foo people 321 00:20:35,100 --> 00:20:35,720 and start trying to reverse it. 322 00:20:35,800 --> 00:20:36,580 I think I packed it, too. 323 00:20:36,660 --> 00:20:37,180 I did something stupid. 324 00:20:38,960 --> 00:20:41,960 Every time that you downloaded it, it was dynamically compiled. 325 00:20:42,740 --> 00:20:47,180 I actually had a web script that would look through the source code of the file, 326 00:20:47,340 --> 00:20:50,400 change the statically encoded key in the C source, 327 00:20:50,660 --> 00:20:53,480 compile it just for you, and then send it to you. 328 00:20:53,600 --> 00:20:55,600 So every time that you looked at it, it was totally different. 329 00:20:55,720 --> 00:20:56,540 The key was totally random. 330 00:20:56,660 --> 00:20:59,760 There wasn't a way to read the algorithm out of the binary because it didn't exist. 331 00:21:00,740 --> 00:21:04,320 So the guys who ended up just really reaming the hell out of that service 332 00:21:05,620 --> 00:21:06,440 figured this out. 333 00:21:07,060 --> 00:21:11,040 And they wrote a Python interpreter to read and unpack the binary 334 00:21:11,040 --> 00:21:14,200 and suck the key out of memory when it would run 335 00:21:14,200 --> 00:21:17,140 and then dynamically score the game every minute, 336 00:21:18,140 --> 00:21:20,700 which is just fucking awesome. 337 00:21:21,340 --> 00:21:22,420 I asked them for the script. 338 00:21:22,500 --> 00:21:23,300 They still haven't sent it to me. 339 00:21:23,380 --> 00:21:25,080 So, yeah, if you guys see this, I want that script. 340 00:21:25,260 --> 00:21:25,720 It's pretty cool. 341 00:21:25,860 --> 00:21:28,440 Yeah, that was one of my favorites. 342 00:21:31,120 --> 00:21:32,120 Do you want to hand me that one? 343 00:21:32,400 --> 00:21:32,800 Yeah. 344 00:21:34,420 --> 00:21:35,020 All right. 345 00:21:35,100 --> 00:21:37,060 I'm going to do happy dance last, guys, 346 00:21:37,140 --> 00:21:39,240 because I'm probably going to get some stuff thrown at me. 347 00:21:41,120 --> 00:21:41,920 Awesome service. 348 00:21:41,960 --> 00:21:42,400 Let's see. 349 00:21:44,580 --> 00:21:44,980 Quota. 350 00:21:45,460 --> 00:21:45,860 Quota. 351 00:21:46,880 --> 00:21:48,080 That's the one I'm trying to think of. 352 00:21:48,520 --> 00:21:49,380 Which one was quota? 353 00:21:50,020 --> 00:21:50,680 Movie slides. 354 00:21:50,900 --> 00:21:51,700 Oh, movie quotes. 355 00:21:51,840 --> 00:21:52,160 All right, cool. 356 00:21:52,420 --> 00:21:54,440 So people who played last year. 357 00:21:55,680 --> 00:21:56,080 Yeah. 358 00:21:56,380 --> 00:21:56,880 All right. 359 00:21:56,940 --> 00:21:59,020 Do you guys remember the one with the animated GIFs? 360 00:21:59,260 --> 00:21:59,640 Yeah. 361 00:22:00,480 --> 00:22:01,780 Oh, I love you, too. 362 00:22:03,360 --> 00:22:05,840 So this was kind of an interesting service, 363 00:22:05,920 --> 00:22:09,940 and I always pride myself when writing open CTO services 364 00:22:09,940 --> 00:22:13,320 to just kind of go completely out the window with it 365 00:22:13,320 --> 00:22:15,220 and just go for something crazy. 366 00:22:15,860 --> 00:22:20,380 This time around, it was animated GIFs from movies. 367 00:22:20,540 --> 00:22:21,580 Oh, that's not a big deal, right? 368 00:22:22,880 --> 00:22:24,480 So you go to a web page. 369 00:22:24,580 --> 00:22:27,100 You see an animated GIF from a random scene of a random movie, 370 00:22:27,700 --> 00:22:28,760 and there's a text box. 371 00:22:29,280 --> 00:22:30,360 I don't remember what it said. 372 00:22:30,360 --> 00:22:32,420 But read my lips. 373 00:22:33,640 --> 00:22:35,080 And that was it. 374 00:22:35,360 --> 00:22:40,820 If you were able to insert the text dialogue of that scene in the movie, 375 00:22:41,020 --> 00:22:41,720 you would score. 376 00:22:42,280 --> 00:22:49,040 So let's say you see Neo watching Morpheus jump across the buildings, 377 00:22:49,300 --> 00:22:49,700 and he's, whoa. 378 00:22:51,060 --> 00:22:54,020 If you were to respond with, whoa, you would score. 379 00:22:55,840 --> 00:22:59,700 And literally what it was is I wrote a series of M player scripts 380 00:22:59,700 --> 00:23:00,340 and M encoded. 381 00:23:00,360 --> 00:23:02,360 I wrote M encoder scripts that would take entire movie files, 382 00:23:02,480 --> 00:23:04,700 convert them to raw because of the frame-seeking behavior. 383 00:23:05,320 --> 00:23:07,620 So I filled up my terabyte drive in an hour. 384 00:23:07,720 --> 00:23:08,400 I'm like, holy shit. 385 00:23:10,020 --> 00:23:10,940 Movies convert to raw. 386 00:23:11,380 --> 00:23:14,660 Then I would take these subtitle SRT files, 387 00:23:14,840 --> 00:23:19,360 which I had a Python script parse out all the time stamps from the SRT file, 388 00:23:19,820 --> 00:23:25,260 and then M encode those few seconds from each video. 389 00:23:25,500 --> 00:23:28,100 So I ended up with something like 30,000 animated GIFs. 390 00:23:28,100 --> 00:23:32,560 So if anyone wants the entire movie, like The Matrix or Gone with the Wind 391 00:23:32,960 --> 00:23:35,780 or Passion of the Christ in animated GIF format, I have that. 392 00:23:37,920 --> 00:23:39,620 And it was pretty fun. 393 00:23:40,140 --> 00:23:40,860 Yeah, I know. 394 00:23:40,920 --> 00:23:47,440 So there was this random Russian Alice in Wonderland animated cartoon. 395 00:23:48,360 --> 00:23:51,260 And I heard about this, and I couldn't find it anywhere. 396 00:23:51,340 --> 00:23:54,740 And I searched and searched and searched the intertubes to find this thing 397 00:23:54,740 --> 00:23:55,800 because I figured this would be fantastic. 398 00:23:55,800 --> 00:23:57,100 No one's ever going to find this. 399 00:23:57,100 --> 00:24:00,860 And I finally find it in a hole-in-the-wall forum, 400 00:24:01,760 --> 00:24:03,520 and it was posted on RapidShare. 401 00:24:03,600 --> 00:24:04,960 So I download off RapidShare. 402 00:24:05,020 --> 00:24:05,480 I check it out. 403 00:24:05,520 --> 00:24:06,300 It is bizarre. 404 00:24:06,960 --> 00:24:08,560 It's just creepy. 405 00:24:09,000 --> 00:24:10,360 And it's got subtitles. 406 00:24:11,260 --> 00:24:12,940 So now that I have this file, 407 00:24:13,100 --> 00:24:16,620 I proceeded to contact RapidShare as a copyright holder and had them take it down. 408 00:24:24,260 --> 00:24:27,460 So maybe it existed somewhere else, 409 00:24:27,500 --> 00:24:30,580 but probably not over the two days of DEF CON. 410 00:24:32,180 --> 00:24:33,480 And Quota was a lot of fun. 411 00:24:33,500 --> 00:24:34,500 I hope you guys had fun with that. 412 00:24:35,960 --> 00:24:39,320 I guess one of the things you had to do to beat that would be to... 413 00:24:39,320 --> 00:24:40,960 I mean, did anyone actually script a response? 414 00:24:41,720 --> 00:24:44,900 Or did you just watch the movie and, like, pull out the subtitle file and go, 415 00:24:44,900 --> 00:24:45,680 I think he said this. 416 00:24:47,060 --> 00:24:48,360 No, no one actually scripted? 417 00:24:48,520 --> 00:24:48,960 Awesome. 418 00:24:49,320 --> 00:24:51,940 I figured the best way to do it in a scripted fashion 419 00:24:51,940 --> 00:24:54,300 would be to do some sort of frame-seeking behavior 420 00:24:54,300 --> 00:24:57,080 and look at the different frames of the GIF 421 00:24:57,080 --> 00:24:58,880 and then seek through the video file 422 00:24:58,880 --> 00:25:00,600 and look for the same frames. 423 00:25:01,940 --> 00:25:03,680 But I don't fucking know how to do that. 424 00:25:04,040 --> 00:25:04,340 So... 425 00:25:06,420 --> 00:25:06,860 ToastCR? 426 00:25:07,080 --> 00:25:07,480 Yeah. 427 00:25:08,000 --> 00:25:08,440 ToastCR. 428 00:25:09,640 --> 00:25:10,540 Which one was that? 429 00:25:11,760 --> 00:25:12,200 OCR? 430 00:25:12,980 --> 00:25:13,800 All right. 431 00:25:14,900 --> 00:25:17,200 Did anyone play two years ago 432 00:25:17,720 --> 00:25:20,940 when there was, like, the custom alphabet written in div tags? 433 00:25:23,320 --> 00:25:25,380 I don't know how to describe it better than that. 434 00:25:25,420 --> 00:25:26,040 Give me a break here. 435 00:25:28,760 --> 00:25:29,400 Oh, yeah. 436 00:25:29,800 --> 00:25:31,200 So you go to a page, 437 00:25:31,320 --> 00:25:34,900 and you see a word or a sentence, 438 00:25:34,980 --> 00:25:36,220 and I think it got longer with time, 439 00:25:36,280 --> 00:25:38,720 and it basically was a custom alphabet 440 00:25:39,220 --> 00:25:44,180 that I wrote in JavaScript with Ajax. 441 00:25:44,180 --> 00:25:46,260 So I could draw on my screen 442 00:25:46,260 --> 00:25:47,920 and create an entire alphabet 443 00:25:47,920 --> 00:25:49,340 and then print it back to you. 444 00:25:49,380 --> 00:25:50,800 It was basically an OCR challenge. 445 00:25:51,160 --> 00:25:53,580 But the characters had, well, 446 00:25:53,780 --> 00:25:56,440 different sizes and backwards 447 00:25:56,440 --> 00:25:58,500 and Quake logo for the queue, 448 00:25:58,760 --> 00:25:59,880 a few other weird things. 449 00:26:00,500 --> 00:26:01,760 But what's great about it was 450 00:26:03,040 --> 00:26:04,760 the best way to do this logically 451 00:26:04,760 --> 00:26:05,780 would be to look at the source code 452 00:26:05,780 --> 00:26:07,940 and, you know, figure out what the characters are, 453 00:26:07,980 --> 00:26:08,580 where they're coming from. 454 00:26:08,680 --> 00:26:11,880 The problem is the alphabets are drawn onto the screen 455 00:26:11,880 --> 00:26:14,360 using floating div tags in a random order. 456 00:26:15,780 --> 00:26:16,600 God bless you. 457 00:26:19,160 --> 00:26:20,220 So this, I mean, 458 00:26:20,720 --> 00:26:23,340 I suppose you could extrapolate the points 459 00:26:23,340 --> 00:26:25,300 and write something that would 460 00:26:25,300 --> 00:26:27,000 put it all together and figure it out, 461 00:26:27,100 --> 00:26:30,540 but, again, I don't know how to do that. 462 00:26:31,840 --> 00:26:32,680 Great of death. 463 00:26:33,840 --> 00:26:35,720 So, I mean, to even get to the source code, 464 00:26:35,860 --> 00:26:37,680 if you tried to look at the source code, 465 00:26:37,900 --> 00:26:41,680 it used a series of client-side obfuscations, 466 00:26:41,880 --> 00:26:44,400 techniques that I developed for a previous talk 467 00:26:44,400 --> 00:26:46,260 on hacking with Firefox 468 00:26:46,260 --> 00:26:48,180 and using Firefox as a scraping platform. 469 00:26:49,560 --> 00:26:52,060 It was, it had Flash, 470 00:26:52,700 --> 00:26:54,640 Flash one-time padding, 471 00:26:54,760 --> 00:26:55,340 Flash encryption, 472 00:26:56,180 --> 00:26:58,340 which just hooked into the, 473 00:26:58,880 --> 00:27:00,220 what's that called, JavaScript? 474 00:27:00,580 --> 00:27:01,740 No, the hook function. 475 00:27:02,100 --> 00:27:02,520 No. 476 00:27:03,780 --> 00:27:04,380 JavaScripts. 477 00:27:05,640 --> 00:27:08,280 And, yeah, I mean, that one was all right. 478 00:27:09,140 --> 00:27:09,760 Enjoyed it. 479 00:27:12,640 --> 00:27:14,120 Do I have to do them all at once? 480 00:27:14,340 --> 00:27:15,880 Spread them out a little bit, guys? 481 00:27:21,600 --> 00:27:23,520 So did anybody play, like, 482 00:27:23,540 --> 00:27:24,760 three years ago, 483 00:27:24,820 --> 00:27:26,880 who played an audio service called Banshee? 484 00:27:27,080 --> 00:27:27,860 Anybody remember that? 485 00:27:28,600 --> 00:27:31,520 Anybody listen to the wacky, like, portal sound? 486 00:27:31,960 --> 00:27:32,440 Yeah. 487 00:27:32,620 --> 00:27:34,300 So nobody got it. 488 00:27:35,400 --> 00:27:37,920 One, the person who came closest... 489 00:27:39,100 --> 00:27:39,580 No? 490 00:27:40,540 --> 00:27:41,220 Oh, right. 491 00:27:41,220 --> 00:27:41,680 Somebody did. 492 00:27:42,060 --> 00:27:42,800 Somebody did get it. 493 00:27:43,020 --> 00:27:43,740 No one solved Cake Radio. 494 00:27:43,880 --> 00:27:44,660 They got Banshee, I think. 495 00:27:45,120 --> 00:27:45,480 But... 496 00:27:45,480 --> 00:27:46,180 I don't remember. 497 00:27:46,340 --> 00:27:47,720 I don't think anybody solved it. 498 00:27:49,740 --> 00:27:54,240 So, so, Banshee was an internet... 499 00:27:54,240 --> 00:27:55,860 Well, okay, it was a WAV file. 500 00:27:56,040 --> 00:27:57,060 You download this WAV file, 501 00:27:57,140 --> 00:27:59,000 and it was the, you know, portal song. 502 00:27:59,400 --> 00:28:00,760 But it dumped all of your shit. 503 00:28:00,860 --> 00:28:01,860 It was cool. 504 00:28:02,000 --> 00:28:02,860 And it was really static-y. 505 00:28:03,300 --> 00:28:04,540 And if you listened to it, 506 00:28:05,020 --> 00:28:07,480 the static would only appear 507 00:28:07,480 --> 00:28:09,400 at certain intervals in the song. 508 00:28:09,560 --> 00:28:10,880 It would be constant throughout the song, 509 00:28:10,880 --> 00:28:12,980 but the intervals between each tick in the static 510 00:28:12,980 --> 00:28:14,060 were deliberate. 511 00:28:14,580 --> 00:28:16,700 Because the static was an MP3 file 512 00:28:17,580 --> 00:28:18,680 in the WAV file. 513 00:28:19,740 --> 00:28:23,180 And if you took all of the data 514 00:28:23,180 --> 00:28:25,160 of all of the static out of the file, 515 00:28:25,300 --> 00:28:26,540 which you should have been able to do, 516 00:28:26,640 --> 00:28:28,940 because the distances between the ticks were the same. 517 00:28:29,040 --> 00:28:32,880 It was at exactly 44,001 kilohertz. 518 00:28:33,520 --> 00:28:35,640 So every one, it would count. 519 00:28:36,760 --> 00:28:38,140 And it was this big binary blob, 520 00:28:38,280 --> 00:28:39,880 and the first chunk of it was an MP3 file, 521 00:28:39,880 --> 00:28:41,240 and the second chunk of it was 522 00:28:41,240 --> 00:28:43,120 the first half of a one-time pad. 523 00:28:44,860 --> 00:28:47,980 The second half of that one-time pad 524 00:28:49,340 --> 00:28:52,360 was read to you by a computer 525 00:28:52,880 --> 00:28:53,860 in that MP3 file. 526 00:28:55,320 --> 00:28:57,360 So you'd have to listen to it and type it. 527 00:28:57,900 --> 00:29:01,220 This was supposed to be really simple at first, 528 00:29:01,340 --> 00:29:02,780 because it only used four characters. 529 00:29:03,260 --> 00:29:05,500 The idea was you'd be able to type these four characters 530 00:29:05,500 --> 00:29:07,060 and sort them together and have the answer. 531 00:29:08,280 --> 00:29:09,760 And every time that somebody 532 00:29:09,880 --> 00:29:12,220 scored, the code that created the WAV file 533 00:29:12,220 --> 00:29:15,160 would recalculate everything that I just explained. 534 00:29:15,360 --> 00:29:17,300 So the idea is that the message would get longer. 535 00:29:17,440 --> 00:29:20,120 So the longest message that it would ever use 536 00:29:20,120 --> 00:29:23,480 is the Microsoft SAM voice reading 537 00:29:23,480 --> 00:29:25,320 the entire hacker's manifesto backwards. 538 00:29:26,820 --> 00:29:28,260 And you'd have to type all that, 539 00:29:28,380 --> 00:29:29,420 and then it would compute. 540 00:29:29,960 --> 00:29:31,800 But I don't think anybody ever got it. 541 00:29:31,860 --> 00:29:33,400 So if anybody's curious as to how it worked, 542 00:29:33,420 --> 00:29:34,160 that's how it worked. 543 00:29:40,060 --> 00:29:42,180 Can you get the pictures up? 544 00:29:42,980 --> 00:29:45,520 Can we get the laptop on the screen here? 545 00:29:45,520 --> 00:29:46,520 Put CB's laptop on? 546 00:29:53,520 --> 00:29:54,000 Hello? 547 00:30:00,620 --> 00:30:01,520 There we go. 548 00:30:01,580 --> 00:30:02,000 Thanks. 549 00:30:02,120 --> 00:30:02,400 All right. 550 00:30:02,580 --> 00:30:05,840 From the service I did, it was really simple looking. 551 00:30:05,980 --> 00:30:08,760 You just get the red dot to the green dot. 552 00:30:08,760 --> 00:30:11,180 Put in left, right, up, or down. 553 00:30:11,540 --> 00:30:13,140 Not hard at the beginning. 554 00:30:13,320 --> 00:30:15,580 You get 40 seconds to do a 10 by 10 maze. 555 00:30:15,880 --> 00:30:17,240 So really simple. 556 00:30:17,860 --> 00:30:19,780 Then it progressively got harder. 557 00:30:21,280 --> 00:30:23,880 You see there, that's level 50 out of 300. 558 00:30:24,420 --> 00:30:27,160 You just, right now, it would start out black and white. 559 00:30:27,260 --> 00:30:29,500 Then it goes to, the colors are off by, like, 560 00:30:29,540 --> 00:30:31,620 one red, green, blue value. 561 00:30:31,880 --> 00:30:33,360 So you're not doing it by hand. 562 00:30:33,660 --> 00:30:36,200 And then you also got, like, 40 at the beginning 563 00:30:36,200 --> 00:30:38,360 and down to 10 seconds at the end. 564 00:30:38,360 --> 00:30:41,360 And so after that, I figured, too easy. 565 00:30:41,500 --> 00:30:43,880 So I started to draw some lines and circles on it. 566 00:30:43,980 --> 00:30:45,820 And then people might, you know, 567 00:30:45,840 --> 00:30:47,480 be looking at the difference in the walls 568 00:30:47,480 --> 00:30:48,920 and the background color. 569 00:30:49,080 --> 00:30:53,340 So then I started drawing alpha transparent rectangles on it. 570 00:30:53,640 --> 00:30:55,820 Because, really, I didn't want it to be easy, so. 571 00:30:56,340 --> 00:30:59,060 And then I also started changing file formats 572 00:30:59,060 --> 00:31:00,600 in case that made a difference. 573 00:31:00,760 --> 00:31:02,660 Some people were telling me they just threw out 574 00:31:02,660 --> 00:31:04,140 any JPEGs and kept refreshing. 575 00:31:05,960 --> 00:31:08,120 So we kind of tried to combine them all. 576 00:31:08,120 --> 00:31:08,840 Who knows? 577 00:31:09,080 --> 00:31:11,320 And then, eventually, it got too easy, 578 00:31:11,340 --> 00:31:12,680 even after all the rectangles. 579 00:31:12,720 --> 00:31:16,240 So I figured, I'll just take a seventh of the pixels 580 00:31:16,240 --> 00:31:17,280 and just throw them out. 581 00:31:17,680 --> 00:31:20,400 Just started drawing different colors all over the place. 582 00:31:21,540 --> 00:31:24,540 I actually, there were two teams that scripted it up 583 00:31:24,540 --> 00:31:27,740 pretty nicely, although they know that I bumped the level 584 00:31:27,740 --> 00:31:29,760 up to 300 at the end, and neither of them could score. 585 00:31:29,980 --> 00:31:31,920 So I was kind of sad about that. 586 00:31:32,020 --> 00:31:33,440 I would like to see the source of the bots 587 00:31:33,440 --> 00:31:34,520 if anybody's got it. 588 00:31:38,120 --> 00:31:38,300 Who's next? 589 00:31:48,020 --> 00:31:50,640 I enjoyed writing several services 590 00:31:50,640 --> 00:31:52,720 for HostETF over the years. 591 00:31:53,600 --> 00:31:56,580 Let's see, they were in no order. 592 00:31:57,860 --> 00:31:58,860 Almost FTPed. 593 00:32:01,460 --> 00:32:02,360 HDDVD, BVDB. 594 00:32:04,100 --> 00:32:05,020 HDDVD, BVDB. 595 00:32:05,300 --> 00:32:06,120 Why do you say that slow enough? 596 00:32:06,480 --> 00:32:07,320 Just saying. 597 00:32:08,120 --> 00:32:09,840 It's so much funnier if I say it quickly. 598 00:32:10,080 --> 00:32:12,340 It's even more funny if CP says it. 599 00:32:12,360 --> 00:32:13,500 He does it so much better than I can. 600 00:32:13,920 --> 00:32:16,940 I believe the challenge name was HDDVD, BVDBD. 601 00:32:17,360 --> 00:32:18,220 Yes, exactly. 602 00:32:20,800 --> 00:32:24,180 And just the joy that I would feel in my heart 603 00:32:24,180 --> 00:32:28,420 hearing CP say that inspired me to write this service. 604 00:32:29,520 --> 00:32:35,080 So what this service was was there was this daemon 605 00:32:35,080 --> 00:32:37,980 that would just kind of output a video file, 606 00:32:37,980 --> 00:32:41,020 and the poor recipient of the video file 607 00:32:41,020 --> 00:32:44,020 would have to figure out what in the heck is in there. 608 00:32:44,140 --> 00:32:46,240 They'd have to, you know, break it down, 609 00:32:46,420 --> 00:32:48,700 see what text or clues is in there 610 00:32:48,700 --> 00:32:53,940 to get the input necessary to change the flag and score. 611 00:32:58,500 --> 00:33:01,420 Originally, I just was making all these videos by hand. 612 00:33:02,440 --> 00:33:06,800 But after speaking to CP one night when I was almost done, 613 00:33:06,800 --> 00:33:08,380 he said, you know, that kind of stinks. 614 00:33:08,460 --> 00:33:10,640 You should probably make it so that it, you know, 615 00:33:10,640 --> 00:33:12,440 gets a little harder every time automatically. 616 00:33:13,240 --> 00:33:14,840 Otherwise, we're going to run out of levels 617 00:33:14,840 --> 00:33:16,320 and people will be sad. 618 00:33:17,060 --> 00:33:19,880 And then I was pretty tired 619 00:33:19,880 --> 00:33:22,280 and wanted to stop working on this that night. 620 00:33:22,420 --> 00:33:26,180 So I was kind of giving him some flack about that. 621 00:33:26,340 --> 00:33:29,880 But I called Adam that night to get a second opinion, 622 00:33:29,960 --> 00:33:31,720 and he said, yeah, that kind of stinks. 623 00:33:31,780 --> 00:33:33,080 You should probably take care of that. 624 00:33:33,780 --> 00:33:36,320 So at that point, 625 00:33:36,320 --> 00:33:39,280 I pretty much rewrote the whole thing 626 00:33:39,280 --> 00:33:42,260 so that it would take a video, 627 00:33:43,860 --> 00:33:45,700 convert it, compress it, 628 00:33:45,820 --> 00:33:47,980 render text onto each frame, 629 00:33:48,280 --> 00:33:50,160 and then output that 630 00:33:50,160 --> 00:33:52,160 and get a little harder each time. 631 00:33:52,220 --> 00:33:54,520 It would do all these weird transitions like 632 00:33:55,070 --> 00:33:59,880 it would do kind of Rubik's Cube-style filters on the videos 633 00:33:59,880 --> 00:34:02,880 and change various aspects about it. 634 00:34:06,320 --> 00:34:10,740 It was fun to do, though, because it was really educational. 635 00:34:12,180 --> 00:34:15,860 In those several hours that it got rewritten in, 636 00:34:15,940 --> 00:34:18,380 I had to learn, let's see here, 637 00:34:18,440 --> 00:34:22,660 how to write a program in Perl 638 00:34:22,660 --> 00:34:26,740 that would render text onto a custom video format 639 00:34:26,740 --> 00:34:29,920 and how to mess it up Rubik's Cube-style 640 00:34:29,920 --> 00:34:32,320 and all sorts of jazz like that. 641 00:34:33,420 --> 00:34:35,320 Then the night before, 642 00:34:35,320 --> 00:34:36,960 maybe it was two nights before, 643 00:34:37,160 --> 00:34:40,560 I think it was the night before we actually left California for DEF CON, 644 00:34:41,340 --> 00:34:44,120 I realized the hard way that the banner command, 645 00:34:44,500 --> 00:34:47,280 which is what I was using to render text onto these videos, 646 00:34:48,140 --> 00:34:53,860 is apparently not the same banner command all the time. 647 00:34:54,060 --> 00:34:57,440 There's apparently a BSD banner and there's a GNU banner. 648 00:34:57,780 --> 00:35:02,220 The one I based the program on was BSD banner in Slackware, 649 00:35:02,360 --> 00:35:05,300 and the contest was running on DBM. 650 00:35:05,320 --> 00:35:08,160 which had the GNU banner command. 651 00:35:09,180 --> 00:35:10,760 So there was more education there. 652 00:35:16,520 --> 00:35:19,040 Let's see here, I wrote a chat program 653 00:35:19,040 --> 00:35:25,260 as I think part of the ice cream shop clue delivery kind of strategy. 654 00:35:26,120 --> 00:35:28,780 It would give you some good clues and some misinformation as well. 655 00:35:30,060 --> 00:35:34,480 Half of the chat and banter that was in there 656 00:35:35,420 --> 00:35:38,580 came from Adam and I just being in a Yahoo chat one night, 657 00:35:38,680 --> 00:35:40,540 just some hacker chat room. 658 00:35:41,820 --> 00:35:43,840 So we'd just pull out random quotes, 659 00:35:43,940 --> 00:35:45,260 change the names to protect the innocent, 660 00:35:45,600 --> 00:35:51,080 and enhance some of the more boring quotes to make them interesting. 661 00:35:51,300 --> 00:35:53,380 A lot of them didn't even need to be modified. 662 00:35:54,160 --> 00:35:57,140 There's one quote to this day I still can't understand. 663 00:35:58,520 --> 00:36:00,280 Now correct me if I'm wrong, wasn't it... 664 00:36:00,280 --> 00:36:00,880 What? 665 00:36:01,080 --> 00:36:01,640 He was looking at me. 666 00:36:02,380 --> 00:36:03,360 Yeah, I'm looking at him. 667 00:36:03,640 --> 00:36:04,460 You get out of the way. 668 00:36:06,680 --> 00:36:07,400 Wasn't it... 669 00:36:08,520 --> 00:36:10,340 A forklift will shift it goo? 670 00:36:11,220 --> 00:36:14,440 They had the most ridiculous things that, yeah, 671 00:36:14,640 --> 00:36:16,660 they didn't make any sense at all. 672 00:36:16,740 --> 00:36:17,220 It was great. 673 00:36:21,080 --> 00:36:24,240 And that was just fun because apparently you can make a chat program 674 00:36:24,240 --> 00:36:27,800 or chat server in, I don't know, like four lines of bash? 675 00:36:28,140 --> 00:36:29,020 I didn't know that. 676 00:36:30,200 --> 00:36:33,320 By the way, we're going to release a bunch of our stuff 677 00:36:33,320 --> 00:36:35,560 so that you can actually see his videos 678 00:36:35,560 --> 00:36:37,720 as opposed to just hearing a description of them. 679 00:36:38,160 --> 00:36:39,820 And you get to play with all the other stuff, 680 00:36:39,880 --> 00:36:42,780 like stuff that nukes your boot sector and stuff CP made. 681 00:36:43,460 --> 00:36:45,400 I had a back door in my chat program 682 00:36:45,400 --> 00:36:49,500 which didn't really go very far because of the previous years 683 00:36:49,500 --> 00:36:51,220 where we were messing with everyone and they kind of knew 684 00:36:51,220 --> 00:36:53,360 if you download code from us, 685 00:36:53,460 --> 00:36:56,400 you should probably take some precautions before you run it. 686 00:36:57,400 --> 00:36:59,220 That sounds like a great lead-in to happiness. 687 00:36:59,300 --> 00:36:59,900 So, yeah. 688 00:37:01,680 --> 00:37:02,120 Adrian? 689 00:37:06,780 --> 00:37:10,260 I helped out with a service last year that was IRC-based. 690 00:37:10,920 --> 00:37:13,340 Merlin wrote most of it, so he deserves most of the credit, 691 00:37:13,420 --> 00:37:16,260 but he's not here right now, so I'm going to do the best I can. 692 00:37:17,620 --> 00:37:19,020 We had a couple IRC services, 693 00:37:19,160 --> 00:37:24,360 and we tried to encourage people to hang out in IRC with us, 694 00:37:24,400 --> 00:37:28,500 and we were going to give them hints about how to score and what to do. 695 00:37:29,280 --> 00:37:33,220 But as it turns out, a lot of people had their own custom IRC clients, 696 00:37:33,320 --> 00:37:36,260 and even a couple of teams that were doing really well in the contest 697 00:37:36,960 --> 00:37:38,540 couldn't stay in our IRC channel 698 00:37:39,200 --> 00:37:41,120 because they trusted the server too much. 699 00:37:42,060 --> 00:37:45,820 And we ended up crashing a couple of computers 700 00:37:45,820 --> 00:37:52,580 by just catting a 10 megabyte ASCII art of Longcat. 701 00:37:53,100 --> 00:37:57,860 And this actually brought down a couple of computers, I believe, 702 00:37:57,960 --> 00:37:59,540 from the Facebook guys. 703 00:38:02,040 --> 00:38:02,600 So... 704 00:38:03,320 --> 00:38:04,620 We found that pretty amusing. 705 00:38:04,980 --> 00:38:08,220 I think BigPimpAtThuggalots was one of the few teams 706 00:38:08,220 --> 00:38:11,520 that actually managed to stay in our server for most of the time 707 00:38:11,520 --> 00:38:12,500 without getting disconnected. 708 00:38:13,940 --> 00:38:17,120 And they scored most of our... 709 00:38:17,120 --> 00:38:21,120 I think they scored most of the IRC points. 710 00:38:25,020 --> 00:38:29,020 I can't even remember what most of the flags were and how they worked. 711 00:38:29,600 --> 00:38:30,200 That's all. 712 00:38:32,540 --> 00:38:33,320 Who's next? 713 00:38:34,860 --> 00:38:35,900 All right. 714 00:38:36,060 --> 00:38:37,560 Does anyone remember HappyDance? 715 00:38:39,140 --> 00:38:39,660 Okay. 716 00:38:44,120 --> 00:38:47,420 HappyDance was probably the best service I ever wrote. 717 00:38:47,600 --> 00:38:49,120 It took me eight months total 718 00:38:49,120 --> 00:38:51,200 because I didn't really know anything about Firefox development. 719 00:38:52,280 --> 00:38:53,700 And it was... 720 00:38:54,340 --> 00:38:55,440 It was two-faced. 721 00:38:56,380 --> 00:38:59,000 You would go to a web page, and you present it. 722 00:38:59,020 --> 00:38:59,620 It was presented with... 723 00:38:59,620 --> 00:39:00,440 What was that movie? 724 00:39:01,180 --> 00:39:01,960 I don't know. 725 00:39:02,660 --> 00:39:03,220 Boondock Saints? 726 00:39:03,560 --> 00:39:03,700 No. 727 00:39:03,780 --> 00:39:05,260 There was an animated GIF of... 728 00:39:05,260 --> 00:39:05,460 Not yet. 729 00:39:05,960 --> 00:39:06,420 Not yet? 730 00:39:06,580 --> 00:39:06,920 No. 731 00:39:06,940 --> 00:39:07,980 That was after you got it. 732 00:39:08,000 --> 00:39:08,180 Then no. 733 00:39:08,920 --> 00:39:10,080 You could put it in the login. 734 00:39:10,360 --> 00:39:11,120 Anyway, I don't remember. 735 00:39:12,500 --> 00:39:14,160 You go to the web page, get a login. 736 00:39:14,360 --> 00:39:17,460 You try and attempt to log in, and it tells you you're missing something. 737 00:39:17,780 --> 00:39:20,600 And just under the text that says you're missing something 738 00:39:20,600 --> 00:39:22,600 is a link to addons.mozilla.org, 739 00:39:23,120 --> 00:39:24,220 which we're spoofing locally. 740 00:39:25,260 --> 00:39:28,740 So you go there, and because it looks like addons.mozilla.org, 741 00:39:29,020 --> 00:39:31,480 Firefox implicitly trusts it. 742 00:39:31,920 --> 00:39:33,960 And it takes one little click for you to install 743 00:39:33,960 --> 00:39:35,720 the Happy Dance authentication extension, 744 00:39:38,160 --> 00:39:41,420 which authenticates you to Happy Dance authentication portals. 745 00:39:42,540 --> 00:39:45,740 And I was really kind of surprised how many people did this. 746 00:39:45,780 --> 00:39:48,520 I think it was just about everyone playing the contest. 747 00:39:49,300 --> 00:39:51,460 And they install it, restart Firefox. 748 00:39:51,820 --> 00:39:53,580 Firefox comes back on, and you're like, 749 00:39:53,600 --> 00:39:56,760 Well, I got that link after I went to this service. 750 00:39:56,840 --> 00:39:57,660 I'm going to go back to this service. 751 00:39:57,660 --> 00:39:58,260 I'm going to log in again. 752 00:39:58,580 --> 00:40:01,920 Well, this time, you fail the login, and you get told why. 753 00:40:02,040 --> 00:40:02,860 You're like, your password's wrong. 754 00:40:02,900 --> 00:40:03,420 You have no access. 755 00:40:04,860 --> 00:40:05,900 But something's different. 756 00:40:06,920 --> 00:40:07,980 And you go back. 757 00:40:08,020 --> 00:40:10,580 What's the most basic thing I can do to a login form? 758 00:40:10,900 --> 00:40:11,580 SQL injection. 759 00:40:11,900 --> 00:40:14,960 So use the typical textbook example of SQL injection. 760 00:40:15,220 --> 00:40:15,680 And there you go. 761 00:40:15,680 --> 00:40:16,140 You scored. 762 00:40:16,260 --> 00:40:17,320 You own the flag. 763 00:40:17,460 --> 00:40:19,080 You're scoring OpenCTF now. 764 00:40:20,200 --> 00:40:21,060 Shit, that was easy. 765 00:40:22,460 --> 00:40:23,680 Why was that so easy? 766 00:40:23,980 --> 00:40:26,140 Well, because as soon as you installed the extension, 767 00:40:26,140 --> 00:40:28,480 and restarted Firefox, 768 00:40:28,740 --> 00:40:33,160 it would send a plain text AJAX call back to a local server 769 00:40:33,900 --> 00:40:37,360 with all the stored passwords in the Firefox password manager. 770 00:40:38,380 --> 00:40:39,980 Keyword plain text, 771 00:40:40,580 --> 00:40:43,020 which means it was on the whole game, 772 00:40:43,180 --> 00:40:45,220 and nobody said anything. 773 00:40:46,020 --> 00:40:47,940 All you had to do was sniff 774 00:40:47,940 --> 00:40:51,020 and wonder why your passwords were leaving your box. 775 00:40:51,320 --> 00:40:54,920 And nobody did this, including you feds who got raped. 776 00:40:57,460 --> 00:40:58,520 I'm only a dog. 777 00:40:58,700 --> 00:41:03,280 I only know things like sit and food and rape. 778 00:41:05,140 --> 00:41:07,000 So yeah, the AJAX call would go out, 779 00:41:07,040 --> 00:41:09,440 send all your passwords to our local server in plain text. 780 00:41:09,620 --> 00:41:12,560 And the return data would be arbitrary commands 781 00:41:12,560 --> 00:41:14,100 that would execute on the system. 782 00:41:14,360 --> 00:41:15,520 At first, it didn't really do anything. 783 00:41:15,620 --> 00:41:16,420 You know, give them a few hours. 784 00:41:16,960 --> 00:41:18,600 So every time a new window opens, 785 00:41:18,680 --> 00:41:20,580 every time Firefox starts, it does this. 786 00:41:20,740 --> 00:41:23,260 So the traffic increases like 20% 787 00:41:23,260 --> 00:41:25,140 with plain text passwords going back and forth. 788 00:41:27,000 --> 00:41:29,240 And after a while, I'm kind of, you know, 789 00:41:29,240 --> 00:41:31,060 so I feel we're at a hacker con. 790 00:41:31,220 --> 00:41:32,560 We're playing in a hacking contest. 791 00:41:32,740 --> 00:41:33,300 These are hackers. 792 00:41:33,820 --> 00:41:34,960 They're not going to be dumb. 793 00:41:35,100 --> 00:41:37,520 They're not going to have stored passwords in Firefox. 794 00:41:38,040 --> 00:41:40,080 They're not going to log in from work boxes 795 00:41:40,080 --> 00:41:41,940 that, you know, have stored credentials 796 00:41:41,940 --> 00:41:44,460 that they use for work on major, you know, 797 00:41:44,480 --> 00:41:46,420 Fortune 1000 company websites like, 798 00:41:46,520 --> 00:41:50,840 oh, I don't know, Cisco or Sun or Oracle 799 00:41:50,840 --> 00:41:53,320 or sites with product licenses 800 00:41:53,960 --> 00:41:56,120 or universal gateways like 1.1.1. 801 00:41:56,140 --> 00:41:57,620 on their corporate networks. 802 00:42:03,580 --> 00:42:05,400 And it was a lot of fun 803 00:42:05,400 --> 00:42:06,680 because it was so fucking easy. 804 00:42:06,840 --> 00:42:07,580 Like, oh, you scored. 805 00:42:07,660 --> 00:42:08,160 Yeah, you scored. 806 00:42:08,280 --> 00:42:08,580 You win. 807 00:42:09,260 --> 00:42:10,980 And no one really looked at the source code 808 00:42:10,980 --> 00:42:12,760 because they, well, kind of freaking couldn't. 809 00:42:12,920 --> 00:42:15,280 It was obfuscated out to about 47 pages 810 00:42:15,280 --> 00:42:18,380 if you were to print it out of size 2 text 811 00:42:19,340 --> 00:42:22,380 because I did this whole custom obfuscation 812 00:42:22,380 --> 00:42:24,220 in Python and a bunch of other stuff 813 00:42:24,220 --> 00:42:25,700 that was all in math, like, 814 00:42:25,700 --> 00:42:26,840 cosine and sine waves, 815 00:42:27,020 --> 00:42:28,640 and it just decoded to actual text. 816 00:42:28,900 --> 00:42:30,160 And no one actually solved it. 817 00:42:30,320 --> 00:42:31,560 In fact, I believe one or two teams 818 00:42:31,560 --> 00:42:33,860 tried to decode it manually by hand. 819 00:42:34,980 --> 00:42:37,240 And I think they got pretty far after the first day. 820 00:42:37,500 --> 00:42:39,360 I think one person did get it by the end 821 00:42:39,360 --> 00:42:40,400 because all you really had to do 822 00:42:40,400 --> 00:42:42,280 was wrap the whole thing in a document.write 823 00:42:42,280 --> 00:42:44,840 and it vows out and will print out 824 00:42:44,840 --> 00:42:45,760 the original source code. 825 00:42:46,840 --> 00:42:47,700 Someone goes, hey, CB, 826 00:42:47,860 --> 00:42:50,100 you got the source code of the Firefox extension? 827 00:42:50,460 --> 00:42:51,300 I knew this was going to happen, 828 00:42:51,360 --> 00:42:52,060 so I reached down and... 829 00:42:53,120 --> 00:42:53,720 There you go. 830 00:42:54,680 --> 00:42:55,680 Handed them the standard source code. 831 00:42:55,680 --> 00:42:57,220 It was a stack of printed out source code. 832 00:42:58,080 --> 00:42:59,020 It was a lot of fun. 833 00:43:00,720 --> 00:43:01,840 I was like, you're an asshole. 834 00:43:02,440 --> 00:43:03,280 I don't have it on me. 835 00:43:04,920 --> 00:43:06,720 But one of the things Happy Dance did, 836 00:43:06,840 --> 00:43:09,960 like I said, was the arbitrary command execution. 837 00:43:10,300 --> 00:43:11,460 This was great because I could tell it 838 00:43:11,460 --> 00:43:13,060 to send another password back to me 839 00:43:13,060 --> 00:43:15,040 or send up an alert box. 840 00:43:15,240 --> 00:43:16,120 And every now and then I'd be like, 841 00:43:16,240 --> 00:43:17,240 all right, I'm going to make it say, 842 00:43:18,040 --> 00:43:18,800 CP is thirsty. 843 00:43:20,580 --> 00:43:22,280 And every now and then someone would bring me a drink. 844 00:43:22,320 --> 00:43:23,380 Like, what the hell was that about? 845 00:43:23,480 --> 00:43:24,580 I'm like, oh, you must be compromised. 846 00:43:26,380 --> 00:43:29,380 And one guy's like, hey, how'd you do that? 847 00:43:29,460 --> 00:43:30,620 I'm like, well, I don't know. 848 00:43:30,760 --> 00:43:31,240 You tell me. 849 00:43:34,800 --> 00:43:38,660 And after a while we made it so every time you scored, 850 00:43:39,420 --> 00:43:43,200 it would remove the JavaScript limitation from your browser 851 00:43:43,200 --> 00:43:44,880 so there's no script escape. 852 00:43:46,380 --> 00:43:48,820 We'd load up Goetze, or Meatspin rather, 853 00:43:49,260 --> 00:43:50,640 and then we'd freeze your browser. 854 00:43:51,220 --> 00:43:54,080 So every time you scored, yeah, you got points, 855 00:43:54,160 --> 00:43:55,420 but now you've got to restart your browser, 856 00:43:55,480 --> 00:43:55,660 which brings me back to the point 857 00:43:55,680 --> 00:43:56,780 where, by the way, it sends your password back 858 00:43:56,780 --> 00:43:58,020 and checks for more commands to run. 859 00:44:00,980 --> 00:44:03,200 Well, and that was a lot of fun. 860 00:44:03,360 --> 00:44:05,780 So one of the command trips, five minutes. 861 00:44:06,860 --> 00:44:07,600 Five minutes. 862 00:44:07,880 --> 00:44:10,420 All right, one of the command tricks I was doing 863 00:44:10,420 --> 00:44:12,500 was I'd send it new location data 864 00:44:12,500 --> 00:44:13,420 so the browser would just go 865 00:44:13,420 --> 00:44:15,820 jump around the screen. 866 00:44:16,660 --> 00:44:18,260 All right, that's pretty funny, big deal. 867 00:44:19,640 --> 00:44:21,780 But the greatest part, the greatest one, 868 00:44:21,920 --> 00:44:24,500 was sending the restart command to Firefox. 869 00:44:26,200 --> 00:44:27,560 See the gears turning? 870 00:44:30,220 --> 00:44:32,760 Firefox turns on, sends passwords, 871 00:44:33,160 --> 00:44:35,240 checks for command to run, runs command. 872 00:44:35,520 --> 00:44:35,860 Oh, restart. 873 00:44:36,440 --> 00:44:38,040 Restarts Firefox, sends the password, 874 00:44:38,140 --> 00:44:38,600 checks for command. 875 00:44:38,780 --> 00:44:39,160 Oh, restart. 876 00:44:39,540 --> 00:44:42,000 So you see Firefox popping in and out, 877 00:44:42,060 --> 00:44:43,480 popping in and out, popping in and out. 878 00:44:44,180 --> 00:44:45,620 Again, plain text. 879 00:44:45,900 --> 00:44:47,340 Nobody saw it. 880 00:44:47,980 --> 00:44:50,020 So, I mean, you know, dozens of times a second, 881 00:44:50,100 --> 00:44:53,440 you know, 300 people have their laptops turning on and off, 882 00:44:53,440 --> 00:44:55,640 or the Firefox turning on and off and on and off and on and off. 883 00:44:55,920 --> 00:44:58,180 And there's this kid, I still remember this 884 00:44:58,180 --> 00:44:59,160 because I feel kind of bad about it, 885 00:44:59,200 --> 00:45:01,100 but he's sitting here on his Windows XP box 886 00:45:01,100 --> 00:45:02,220 with his head in his hands, 887 00:45:03,540 --> 00:45:05,200 just not able to do anything 888 00:45:05,200 --> 00:45:07,600 because Firefox is popping in and out. 889 00:45:09,520 --> 00:45:10,540 He uninstalls Firefox. 890 00:45:11,540 --> 00:45:12,540 He reinstalls Firefox. 891 00:45:13,260 --> 00:45:15,140 It's still there because he didn't delete his profile. 892 00:45:16,540 --> 00:45:18,400 Additionally, the extension removed itself 893 00:45:18,400 --> 00:45:20,020 from the installed add-ons list, 894 00:45:20,060 --> 00:45:21,900 so you couldn't uninstall it unless you were in safe mode. 895 00:45:23,980 --> 00:45:25,080 Five minutes, we're done? 896 00:45:25,340 --> 00:45:26,040 Uh, Q&A. 897 00:45:27,120 --> 00:45:29,780 Quick, I think we'll be outside 898 00:45:29,780 --> 00:45:31,320 if anyone wants to do a Q&A. 899 00:45:31,560 --> 00:45:32,440 There's like a room over there. 900 00:45:32,620 --> 00:45:35,500 There's like a room in the that way, general direction. 901 00:45:36,080 --> 00:45:37,300 Yeah, I'm heading there after that. 902 00:45:37,660 --> 00:45:39,300 So thank you guys so much. 903 00:45:39,480 --> 00:45:41,180 We had a lot of fun doing OpenCTF 904 00:45:41,180 --> 00:45:41,980 for the last five years. 905 00:45:42,440 --> 00:45:44,540 It was an amazing learning experience, 906 00:45:45,640 --> 00:45:47,060 an amazing teaching experience, 907 00:45:47,920 --> 00:45:49,800 and a very exhausting experience. 908 00:45:51,620 --> 00:45:52,940 So check out the new guys. 909 00:45:52,940 --> 00:45:55,140 Word to the wise, those of you who ever intend 910 00:45:55,140 --> 00:45:56,540 on running a contest at DEF CON, 911 00:45:56,720 --> 00:45:58,960 take the amount of time you think it's going to take you 912 00:45:58,960 --> 00:46:00,160 to make it, and then triple it. 913 00:46:00,260 --> 00:46:01,020 You might get close. 914 00:46:03,200 --> 00:46:04,160 By the way, real quick, 915 00:46:04,300 --> 00:46:05,640 check out the new OCTF. 916 00:46:06,300 --> 00:46:07,720 LivinDead and his crew, the two warriors, 917 00:46:07,860 --> 00:46:08,600 have taken it over now, 918 00:46:08,740 --> 00:46:10,420 and I expect really good things from them. 919 00:46:11,000 --> 00:46:11,580 Thank you guys.