1 00:00:00,000 --> 00:00:07,220 Hi everybody. That was a big... Alright, so let's start off with the questions. We'll get to the bio stuff later. 2 00:00:07,360 --> 00:00:11,240 Everyone on three, I want to hear it yelled out. One, two, three. 3 00:00:11,720 --> 00:00:15,440 Thank you. Everyone ought to be getting that. 4 00:00:15,540 --> 00:00:19,860 So this was actually Trivia 100 from the 2006 qualifier round of Capture the Flag. 5 00:00:20,100 --> 00:00:22,960 They were very clever. Next year's question was very difficult. 6 00:00:24,640 --> 00:00:28,160 We had a hard time solving this, so of course that. 7 00:00:28,160 --> 00:00:31,920 And then the following year, any guesses? If you weren't, didn't already know? 8 00:00:32,960 --> 00:00:36,120 Any guesses? Hack blank planet. Thank you. Yes. 9 00:00:36,820 --> 00:00:41,780 Yes. We were all wondering next year what would they have done if they ran it this year. 10 00:00:41,860 --> 00:00:45,900 Ken Shota did not end up running it this year, but it would have been interesting to see. 11 00:00:45,980 --> 00:00:49,180 Now, of course, the point that this does bring home, there is a lot of inside jokes. 12 00:00:49,600 --> 00:00:54,780 If you came across this out of the blue, it might have been a little bit more difficult, 13 00:00:54,860 --> 00:00:57,600 not knowing the prior history in hindsight. 14 00:00:58,160 --> 00:01:01,100 It's stupid easy, but it helps to sort of be prepared. 15 00:01:01,220 --> 00:01:04,500 And that's really what this talk is about. A lot of this is meant to be sort of background, 16 00:01:04,680 --> 00:01:07,200 the kind of the inside story, the inside jokes, how it runs, what it is. 17 00:01:07,280 --> 00:01:10,180 So when you're wandering through the Capture the Flag room, you know what's going on. 18 00:01:10,260 --> 00:01:14,300 If you want to participate, you want to compete, hopefully we can go some hints that cover that, too. 19 00:01:16,160 --> 00:01:20,340 So I'm sorry for text. This is me and my computer at home right now. 20 00:01:20,460 --> 00:01:26,380 That's what I use. It's not. It's probably no surprise I prefer Linux over Windows. 21 00:01:26,600 --> 00:01:28,040 These days, though, Steve Jobs. 22 00:01:28,040 --> 00:01:31,780 Steve Jobs takes more of my money. The age-old debates, I got to go with VI. 23 00:01:32,800 --> 00:01:35,820 Ever important, ever, ever important issue over and under. 24 00:01:37,560 --> 00:01:39,320 I'm sorry. That's the only way. 25 00:01:39,600 --> 00:01:45,840 Another big debate where I fall on, I'm afraid, for the Ruby lovers out there, I just like the Python. 26 00:01:46,180 --> 00:01:48,780 So no applause, but no boos. I'll stick with that. 27 00:01:49,340 --> 00:01:54,480 In terms of Pepsi versus Coke, neither. I'm sorry. 28 00:01:56,680 --> 00:01:57,380 Thank you. 29 00:01:58,040 --> 00:02:00,840 Probably more relevant, though, to this talk, I'm actually a member of this team. 30 00:02:00,960 --> 00:02:07,980 It's pronounced Last Place. It has ridiculous etymology and meanings that we came up with after the fact, actually. 31 00:02:08,020 --> 00:02:11,060 We really just kind of came up with it, I think, and tried to fit it to it. 32 00:02:11,740 --> 00:02:14,800 The team looks like this. That's me in the back. 33 00:02:16,660 --> 00:02:19,700 I like my anonymity, apparently. No, it's just the shot that we got. 34 00:02:19,780 --> 00:02:27,940 There's two guys not pictured. I want to do a brief run-through of the rest of the team members because, hey, we won a couple of years, and I want to show off the guys that made my CT. 35 00:02:27,940 --> 00:02:28,920 The CTF experience is so great. 36 00:02:29,560 --> 00:02:37,920 This here is Plato, probably the only, the first, last, and only lawyer to ever win Capture the Flag, and I'm not talking about like he had a JD. 37 00:02:38,000 --> 00:02:41,240 This guy is a lawyer in his day job, which is pretty stinking sweet when you think about it. 38 00:02:41,420 --> 00:02:51,300 Team Captain Atlas, if you were here for the last talk and you heard the Ken Chota guys talking, they said Atlas was the one guy that came in the individual, just got his mind blown, came back, and, you know, really learned a huge amount. 39 00:02:51,440 --> 00:02:56,060 I mean, four years ago, he really wasn't doing the security stuff all that much, and now he is just phenomenally good. 40 00:02:56,440 --> 00:02:57,740 He really applied himself. 41 00:02:57,940 --> 00:03:04,860 He threw himself into it, led this team, put this team together, built it, and then we, not only he had a solo win, but then we won two years in a row after that. 42 00:03:05,900 --> 00:03:10,080 This guy right here is actually in the front row, so make sure to pat him on the back on the way out. 43 00:03:10,100 --> 00:03:11,460 I'm borrowing his black badges up front. 44 00:03:11,580 --> 00:03:15,180 Mizendo played the network sniffer, played defense, did kind of whatever. 45 00:03:15,440 --> 00:03:20,320 Talk a little bit more about the roles later, but you'll notice that everybody out here had a specific function, right? 46 00:03:20,380 --> 00:03:21,060 It kind of mattered. 47 00:03:21,120 --> 00:03:22,720 You didn't just all show up and do random stuff. 48 00:03:23,220 --> 00:03:26,880 We've got Shuriken, who besides being a phenomenally good sysadmin and kept the services going, 49 00:03:26,880 --> 00:03:28,940 is the resident IRC troll. 50 00:03:29,360 --> 00:03:36,740 It's a very important role that everyone needs on their team to have somebody in IRC hanging out, keeping things lively when you've been up for 48 hours straight. 51 00:03:37,600 --> 00:03:41,340 Fury, or maybe his twin, he has an evil twin acting on defense here. 52 00:03:41,880 --> 00:03:43,220 Doc Brown is our reverser. 53 00:03:43,240 --> 00:03:47,020 Actually, the NoxRUs website that the Kinshoto guys mentioned, there's a link to it later, 54 00:03:47,540 --> 00:03:53,440 is actually primarily Doc who did a lot of the write-ups, and he did a huge amount of work and put that together. 55 00:03:53,480 --> 00:03:56,340 He took all our team wiki and notes from a lot of the past competition. 56 00:03:56,340 --> 00:03:56,640 He took all our team wiki and notes from a lot of the past competition. 57 00:03:56,640 --> 00:03:56,860 He took all our team wiki and notes from a lot of the past competition. 58 00:03:56,880 --> 00:03:57,080 He took all our team wiki and notes from a lot of the past competition. 59 00:03:57,260 --> 00:03:59,160 Put it up online, and then work for a guy 60 00:03:59,160 --> 00:04:01,200 over here, who doesn't get mentioned a whole lot. 61 00:04:01,280 --> 00:04:03,220 Also, an extremely good reverser exploiter. 62 00:04:03,300 --> 00:04:04,400 Really need that skill set. 63 00:04:04,620 --> 00:04:06,720 You don't have Apu shown in the slides here. 64 00:04:07,180 --> 00:04:09,000 He was out for this particular picture. 65 00:04:09,140 --> 00:04:14,240 It was an ex-Marine, so besides actually being one of the technical guys, 66 00:04:14,460 --> 00:04:21,280 it was also physical security, which you should never underestimate the aspect of physical security and capturing the flag. 67 00:04:21,540 --> 00:04:24,260 And then, also, JayRod was also not in this picture. 68 00:04:24,380 --> 00:04:25,700 Another good exploiter. 69 00:04:25,740 --> 00:04:26,180 As for me? 70 00:04:26,180 --> 00:04:30,620 Any defense, offense, reversing, I've kind of done it all, which I take it to mean I'm 71 00:04:30,620 --> 00:04:33,760 just not very good at any of them, but they keep letting me be on the team, so I won't 72 00:04:33,760 --> 00:04:33,980 complain. 73 00:04:35,420 --> 00:04:37,020 So, capture the flag itself. 74 00:04:38,040 --> 00:04:42,240 It's been billed as a lot of things the ultimate hacking game, ultimate legal hacking game. 75 00:04:43,020 --> 00:04:46,620 Reverse engineering, exploitation, as the Kinshota guys were up here explaining last 76 00:04:46,620 --> 00:04:50,300 time, this is really their response to in a world of web app security. 77 00:04:50,300 --> 00:04:56,020 They wanted this to be binary exploitation, reverse engineering, hardcore stuff that in 78 00:04:56,020 --> 00:04:59,740 some ways is a hard skill set to develop these days because a lot of the security research 79 00:04:59,740 --> 00:05:04,300 nowadays in the web world kind of misses out on the binary history in the background, and 80 00:05:04,300 --> 00:05:06,880 so they want to make this just lots and lots of binary fun. 81 00:05:07,020 --> 00:05:10,760 DD Tech, which is putting on the competition this year, claims that they have the same 82 00:05:10,760 --> 00:05:16,300 focus and so presumably right now going on is the beginning of capture the flag for this 83 00:05:16,300 --> 00:05:17,860 year doing the same kind of thing. 84 00:05:19,000 --> 00:05:19,880 Binary exploitation. 85 00:05:19,880 --> 00:05:23,840 Not a whole lot of command injection, cross-site scripting, SQL injection. 86 00:05:24,100 --> 00:05:26,840 I miss it, but I get made fun of for being a web weenie. 87 00:05:27,720 --> 00:05:31,280 In terms of timeline, if you saw the last talk, there were sort of a couple different 88 00:05:31,280 --> 00:05:33,600 eras or epochs of capture the flag. 89 00:05:35,280 --> 00:05:40,300 The first five years it was put on basically by the goons, the BOFH, and there was a lot 90 00:05:40,300 --> 00:05:40,820 of different formats. 91 00:05:40,900 --> 00:05:42,200 There was really a lot of kind of finding their place. 92 00:05:42,320 --> 00:05:44,980 They didn't really know what the best format, what the best structure for this event, what 93 00:05:44,980 --> 00:05:45,800 this thing could become. 94 00:05:45,940 --> 00:05:46,740 They just had a bunch of servers. 95 00:05:46,840 --> 00:05:47,640 You could bring your own server. 96 00:05:47,780 --> 00:05:48,580 You could just show up. 97 00:05:48,960 --> 00:05:49,840 It was very chaotic. 98 00:05:49,880 --> 00:05:51,420 Not particularly organized. 99 00:05:51,620 --> 00:05:54,660 A lot of the winning tended to be winning kind of just because you gamed the system 100 00:05:54,660 --> 00:05:57,720 or figured out how to maximize it and not so much because you had the best technical 101 00:05:57,720 --> 00:05:58,180 prowess. 102 00:05:58,340 --> 00:06:00,260 So there was some attempts to fix that. 103 00:06:01,040 --> 00:06:04,280 The ghetto hackers came along and after, I don't know if you can even see. 104 00:06:04,420 --> 00:06:05,100 This slide sucks. 105 00:06:05,320 --> 00:06:05,700 I'm sorry. 106 00:06:05,800 --> 00:06:08,620 My timeline software, not so good. 107 00:06:09,640 --> 00:06:14,560 But the ghetto hackers won there towards the end and then they came and actually put it 108 00:06:14,560 --> 00:06:14,760 on. 109 00:06:14,900 --> 00:06:19,300 This is an uncommon theme that the people who have been winning for a little while decide 110 00:06:19,300 --> 00:06:21,800 to go put it on because they think they know how to do it as well or better. 111 00:06:22,520 --> 00:06:26,280 So the ghetto hackers came along and they really made a bunch of improvements and revelations. 112 00:06:26,820 --> 00:06:29,360 Cesar's got a presentation you can pull up online at Black Eye. 113 00:06:29,420 --> 00:06:30,760 We spoke about how they designed. 114 00:06:30,940 --> 00:06:31,920 They brought in game theory. 115 00:06:32,040 --> 00:06:33,840 They brought in a lot of thought and planning and design. 116 00:06:34,100 --> 00:06:37,900 They introduced the idea of a qualifier round, the idea that before DEFCON a couple months 117 00:06:37,900 --> 00:06:41,060 in advance, you would have a qualifier round, sort of figure out who the teams were. 118 00:06:41,160 --> 00:06:44,600 Then when people would show up, only those teams would participate in the capture the 119 00:06:44,600 --> 00:06:48,220 flag, which is why we have the ACTF or OCTF in parallel. 120 00:06:48,220 --> 00:06:52,580 It's meant to sort of resurrect the old school, free for all, kind of anybody can show up 121 00:06:52,580 --> 00:06:57,540 and join, which has advantages in being a bit more open, but less structured, less kind 122 00:06:58,060 --> 00:07:00,140 of cutthroat, probably less technically demanding. 123 00:07:00,640 --> 00:07:04,020 I hope none of the DC949 guys get mad at me for saying that, but I think it's probably 124 00:07:04,020 --> 00:07:04,820 a safe bet. 125 00:07:07,060 --> 00:07:08,280 Then of course we have Kenshodo. 126 00:07:08,320 --> 00:07:11,020 Kenshodo has put it on the previous four years. 127 00:07:11,300 --> 00:07:12,680 They've really kind of refined it. 128 00:07:12,700 --> 00:07:15,780 They took the sort of architecture and the game design, again if you saw the last presentation 129 00:07:15,780 --> 00:07:16,920 you heard a lot about that. 130 00:07:18,220 --> 00:07:19,180 They took it to an art. 131 00:07:19,320 --> 00:07:22,640 This year we have DD Tech, who nobody really knows. 132 00:07:22,740 --> 00:07:25,540 They're still kind of keeping mum on who they are and their history. 133 00:07:25,660 --> 00:07:29,220 They're obviously very familiar with capture the flag, but don't sort of, none of the 134 00:07:29,220 --> 00:07:32,420 major usual players that play have any idea who they are, so it's kind of interesting 135 00:07:32,420 --> 00:07:33,240 to see the mystery men. 136 00:07:33,320 --> 00:07:38,040 They swear that this weekend their identities will be revealed to some sort, but we'll see 137 00:07:38,040 --> 00:07:38,500 how that goes. 138 00:07:40,340 --> 00:07:42,820 So here's the qualifying round this year. 139 00:07:43,200 --> 00:07:46,280 If you were to do the qualifying rounds, it was June 5th. 140 00:07:48,300 --> 00:07:50,960 2300 Greenwich Mean, and it ran straight for 48 hours. 141 00:07:51,260 --> 00:07:54,840 So one of the differences between the qualifying round and the finals is that the qualifying 142 00:07:54,840 --> 00:07:56,300 round, it just goes straight through. 143 00:07:56,440 --> 00:08:00,500 So you sleep, you don't sleep, but however you choose to do it, you need to sort of 144 00:08:00,500 --> 00:08:01,600 be putting your points in the whole time. 145 00:08:01,680 --> 00:08:05,380 It is fun to sort of watch and figure out who is in what time zone, based on when they 146 00:08:05,380 --> 00:08:05,860 flat line. 147 00:08:05,980 --> 00:08:09,160 Like, oh they were sleeping then, and they were awake, and you can compare the teams. 148 00:08:09,200 --> 00:08:10,400 Here's the top 15 teams. 149 00:08:11,480 --> 00:08:16,200 Depending on the year, the top seven, nine teams will make it through the qualifying. 150 00:08:16,200 --> 00:08:20,860 And the last year's winners, you probably can't read the font. 151 00:08:21,140 --> 00:08:22,100 It's really small. 152 00:08:22,280 --> 00:08:23,640 Feel free to grab the slides online later. 153 00:08:23,760 --> 00:08:25,100 Actually, the raw data is online as well. 154 00:08:25,520 --> 00:08:28,720 You can go pull it up and animate the graph to your heart's content or play with it if 155 00:08:28,720 --> 00:08:28,980 you like. 156 00:08:29,140 --> 00:08:31,900 But you'll see there's a lot of ups and downs, a lot of backs and forth. 157 00:08:32,000 --> 00:08:32,940 There's a couple of strong players. 158 00:08:33,420 --> 00:08:36,220 And so these teams, it's important to know. 159 00:08:36,700 --> 00:08:37,600 It's a Sun Tzu quote. 160 00:08:37,700 --> 00:08:38,540 I'm sure it's relevant. 161 00:08:39,100 --> 00:08:39,780 It's got to be. 162 00:08:39,820 --> 00:08:40,560 It's a security talk. 163 00:08:40,940 --> 00:08:42,840 So we're talking about knowing our enemies. 164 00:08:42,980 --> 00:08:44,600 It probably says something like that, right? 165 00:08:46,200 --> 00:08:50,940 So those 10 teams that we had that qualified, the 10 teams including last year's winners, 166 00:08:51,480 --> 00:08:53,280 I'm going to go ahead and do a brief bio rundown. 167 00:08:53,420 --> 00:08:55,240 Because when you walk through, you see the team name. 168 00:08:55,400 --> 00:08:59,400 If you're not in the click, if you've not been following or reading or you don't know 169 00:08:59,400 --> 00:09:01,960 what's going on, you don't really know who's who, what's what, and it's a lot more entertaining 170 00:09:01,960 --> 00:09:05,180 to know, ah, that team's got a vengeance against that team and so and so. 171 00:09:05,400 --> 00:09:09,840 So to give you a little bit of the back story on who's what, we'll start with School of 172 00:09:09,840 --> 00:09:10,040 Root. 173 00:09:10,160 --> 00:09:14,200 They not only won last year, but they've also won in 2004. 174 00:09:14,200 --> 00:09:16,160 2004 are incredibly good. 175 00:09:16,200 --> 00:09:17,820 They crushed the competition last year. 176 00:09:17,880 --> 00:09:18,740 They were first place. 177 00:09:18,800 --> 00:09:21,180 They actually didn't have to participate in the qualifiers this year. 178 00:09:21,240 --> 00:09:25,500 They had a bye as the previous year's winners chose to anyways, and at the last minute 179 00:09:25,500 --> 00:09:26,180 they won. 180 00:09:26,280 --> 00:09:29,000 It's uncertain how much they were holding back. 181 00:09:29,060 --> 00:09:32,520 As the previous year's qualifiers, they had an automatic bye into the finals. 182 00:09:32,620 --> 00:09:34,540 So they didn't have to participate, but they did. 183 00:09:34,680 --> 00:09:35,980 And at the very, very end, they won. 184 00:09:36,100 --> 00:09:42,820 It was sort of not arrogant, but demonstrating that they could have been ahead earlier possibly, 185 00:09:43,020 --> 00:09:44,180 but they chose not to. 186 00:09:44,200 --> 00:09:47,000 They didn't want to impact the final or the qualifying round. 187 00:09:47,120 --> 00:09:50,060 So the winner of the qualifying round gets to choose the next question. 188 00:09:50,320 --> 00:09:53,980 So if somebody who's already got a bye gets a question right before anybody else does, 189 00:09:54,040 --> 00:09:54,940 they would impact the game. 190 00:09:55,020 --> 00:09:58,720 And so it's sort of the sporting, the gentlemanly thing to do if you had the bye to not influence 191 00:09:58,720 --> 00:09:59,160 the game. 192 00:09:59,260 --> 00:10:01,760 And they were very good at that until the last few minutes of the game when they solved 193 00:10:01,760 --> 00:10:04,200 one that nobody had solved just to show that they were that much ahead. 194 00:10:04,280 --> 00:10:06,800 So it'll be interesting to see how much ahead they are. 195 00:10:07,040 --> 00:10:12,160 They're led by Chris Eagle, who is, you heard earlier in the other talk, if you were here, 196 00:10:12,800 --> 00:10:13,780 a, what did I put? 197 00:10:13,780 --> 00:10:15,800 A binary ninja and pirate rolled into one. 198 00:10:15,920 --> 00:10:16,900 He's just wicked good. 199 00:10:17,040 --> 00:10:21,360 They came up with that interpreted machine that he wrote in their own brand new virtual 200 00:10:21,360 --> 00:10:24,020 machine that he reversed in a weekend and wrote an interpreter for. 201 00:10:24,100 --> 00:10:26,120 This is just mind boggling how good he is. 202 00:10:26,140 --> 00:10:26,600 It's scary. 203 00:10:29,220 --> 00:10:30,640 Yeah, he's extremely good. 204 00:10:30,720 --> 00:10:31,760 He leads a great team. 205 00:10:32,080 --> 00:10:35,680 And then John Boss is the other team captain of School of Root, who sort of heads up the 206 00:10:35,680 --> 00:10:36,680 organizational side of it. 207 00:10:36,720 --> 00:10:38,360 Because as we get into it, the roles really matter. 208 00:10:38,460 --> 00:10:41,200 You need not just good technical, but you need good organizationally, you need the other 209 00:10:41,200 --> 00:10:41,400 stuff. 210 00:10:43,780 --> 00:10:48,340 So from there, just after Capture the Flag was over and he had crushed everyone, finishing, 211 00:10:48,460 --> 00:10:51,060 I might add, with Guitar Hero at the end, they were showing off they were ahead so far. 212 00:10:52,380 --> 00:10:55,460 They told everyone they didn't want to appear jerks, but they were a little bit ahead. 213 00:10:55,580 --> 00:10:56,420 So they could take their time off. 214 00:10:56,520 --> 00:10:59,100 It was a pretty good move for somebody so far ahead. 215 00:10:59,300 --> 00:11:05,800 After CTF was over, he released Collabriad, a really cool at plug in tools kind of the 216 00:11:05,800 --> 00:11:07,960 need of doing collaborative diverse engineering. 217 00:11:08,340 --> 00:11:12,000 And so this is some product that's come out of basically his experience. 218 00:11:12,280 --> 00:11:13,760 And he also wrote a book that went along with that. 219 00:11:13,780 --> 00:11:18,840 the soft one along with so capture the flag has sort of made a difference kind of beyond just this 220 00:11:18,840 --> 00:11:24,520 fun little game uh in that team awesome was second place in the qualifiers mostly first timers i know 221 00:11:24,520 --> 00:11:29,820 a couple of guys on a team it'll be interesting they led the entire quals uh but the very end so 222 00:11:29,820 --> 00:11:34,060 the question is how much was school of root letting them and how much were they not so uh it'll also 223 00:11:34,060 --> 00:11:37,600 be interesting to see because they they did well in qualifiers but teams that in the past among 224 00:11:37,600 --> 00:11:41,800 qualifiers and not done well in the finals so watch the score it'll be interesting to see if 225 00:11:41,800 --> 00:11:44,940 these kind of top teams in the qualifiers are also the top teams as you go through capture the flag 226 00:11:44,940 --> 00:11:49,980 sexy pandas have been around for a while they're also known as the pandas with gambas osu tatake 227 00:11:49,980 --> 00:11:56,080 sexy pandas wooby wooby pandas sexy pondas and then the latin name for a panda which i'm not 228 00:11:56,080 --> 00:12:02,200 going to bother trying to pronounce uh they have uh not only are sexy pandas as you can see they 229 00:12:02,200 --> 00:12:06,280 look like very sexy pandas um done extremely well they participate in a lot of international ctfs 230 00:12:06,280 --> 00:12:11,720 they're mostly um uh they're they're spanish-speaking uh gents and and most of these 231 00:12:11,720 --> 00:12:14,260 folks we kind of know each other you get to see them year after year and they do extremely well 232 00:12:14,260 --> 00:12:18,960 they tend to have a strong start and then die off but if they can keep their their level of of uh 233 00:12:18,960 --> 00:12:23,880 profit up or you know scoring up they will be extremely dangerous uh and they were in third 234 00:12:23,880 --> 00:12:30,440 place again in the finals so plus is actually the one of many uh republica korea teams there's a lot 235 00:12:30,440 --> 00:12:35,140 of south koreans that um have been showing up and captured the flag just the last couple years 236 00:12:35,140 --> 00:12:39,140 doing extremely well i think there's there's at least like four teams that are either entirely 237 00:12:39,140 --> 00:12:41,480 or partially made up of uh folks in south korea so there's a 238 00:12:41,720 --> 00:12:46,720 very strong showing um i think they like play starcraft like an olympic sport over there so it's 239 00:12:47,380 --> 00:12:50,460 my guess is that may have something to do with it it sounds like a pretty cool place for a bunch 240 00:12:50,460 --> 00:12:56,220 of hackers so uh primarily undergraduates from the university again they were fourth to capture 241 00:12:56,220 --> 00:13:00,140 the flag shellfish has been around forever university of california santa barbara these 242 00:13:00,140 --> 00:13:04,700 guys are led by giovanni vigna and uh they put on their own capture the flag called the ictf which 243 00:13:04,700 --> 00:13:08,920 is a lot of fun it's a great capture the flag uh to participate you can do it remotely primarily 244 00:13:08,920 --> 00:13:11,140 for academic groups but others can participate usually 245 00:13:11,720 --> 00:13:16,280 they won 2005 and have been around and a lot of the qualifiers are extremely good very very nice 246 00:13:16,280 --> 00:13:20,940 folks song of freedom another one of the korean folks a little bit quieter don't uh know much 247 00:13:20,940 --> 00:13:25,320 about them then when asked for any kind of logo or bio their the response was no comment so 248 00:13:26,120 --> 00:13:30,620 it's not at all surprising that folks like their privacy a lot of skaters dropping from 249 00:13:30,620 --> 00:13:39,700 raffle copters these guys aside from the awesome name um but you like my my logo i made that now 250 00:13:39,700 --> 00:13:41,000 here's the cool part um 251 00:13:43,540 --> 00:13:48,720 that made that two hours that it took to do that worth it thank you except keynote can't loop so 252 00:13:48,720 --> 00:13:53,460 otherwise you would be continuously falling and coming back um they have a much cooler logo on 253 00:13:53,460 --> 00:13:56,780 their shirts if you go nowadays i wish they had given that to me and uh i didn't have to make 254 00:13:56,780 --> 00:14:03,820 this but uh they were really interesting because back in uh 2007 three guys from the this team sort 255 00:14:03,820 --> 00:14:07,800 of put together a team to do the qualifiers and just blew everybody away in the qualifiers which 256 00:14:07,800 --> 00:14:11,260 is really pretty impressive because uh the qualifiers not only because they're 48 hours 257 00:14:12,340 --> 00:14:17,540 but have a widely diverse set of challenges and so to have just a small team do so well is 258 00:14:17,540 --> 00:14:21,140 extremely impressive and again they're here at the finals now so we'll see how they do they've 259 00:14:21,140 --> 00:14:24,160 also picked up a couple members and i think if you know these guys are friends of them are 260 00:14:24,160 --> 00:14:28,900 interested in a slot every now and then teams are willing to pick up kind of ronin and have 261 00:14:28,900 --> 00:14:33,120 them join their team if they're under eight people which is usually the table limit so if you really 262 00:14:33,120 --> 00:14:38,020 are polite and careful and can demonstrate your skills some way you might consider asking i make 263 00:14:38,020 --> 00:14:40,940 no guarantees or promises most folks tend to keep their teams the way they want it because 264 00:14:40,940 --> 00:14:41,700 you have no chance of winning so i think it's really important to have that kind of 265 00:14:41,720 --> 00:14:42,840 understanding that you're not gonna be a spy for anyone who you're not gonna be a spy for 266 00:14:42,840 --> 00:14:47,240 another team or not when they come and ask to join you so the routards are a french-speaking 267 00:14:47,240 --> 00:14:50,380 team originally just all french they're now french-speaking i'm not even going to try to 268 00:14:50,380 --> 00:14:56,880 read the names uh it would not be pleasant uh but uh hanzo's the team captain and again they have 269 00:14:56,880 --> 00:15:02,180 an the distinguished honor of having been in the finals the last three years in a row the only other 270 00:15:02,180 --> 00:15:06,900 two teams to do that being the pandas and uh school of root so again they're very very commonly 271 00:15:06,900 --> 00:15:11,140 here and uh very skilled wow hacker i've been around for a couple years another one of the 272 00:15:11,820 --> 00:15:19,200 teams. And that's about all I know about that. SAPEDS showed up at the last minute this year. 273 00:15:19,280 --> 00:15:23,660 They made it because of a couple other teams dropping out. And they're a group, a combination 274 00:15:23,660 --> 00:15:26,040 of a couple other groups that I'm not going to read, it will be in the slide notes if 275 00:15:26,040 --> 00:15:29,500 you want, that kind of joined together with some friends online. They're from all over 276 00:15:29,500 --> 00:15:32,780 the place. It's great to see a lot of internationally mixed teams, not folks just that, you know, 277 00:15:32,800 --> 00:15:36,540 are friends locally. But a couple of these teams are really draw from all over the place. 278 00:15:36,700 --> 00:15:40,760 They are also behind a really, really awesome, probably the best capture the flag write up 279 00:15:40,760 --> 00:15:45,620 ever, came out this year. It's a comic book style write up explaining how they solved 280 00:15:45,620 --> 00:15:50,500 one of these binary challenges. And it was a lot of fun. It's linked to in the slide 281 00:15:50,500 --> 00:15:54,660 notes. You can pull up that. All right. I've talked enough. Let's go back to a challenge. 282 00:15:54,800 --> 00:15:58,680 This one, I'm going to warn you, is a little bit more difficult. That said, the rewards 283 00:15:58,680 --> 00:16:06,380 are that much greater. I have a Frisbee valued at far, far under $1,000. Much closer to 284 00:16:06,380 --> 00:16:08,600 a dollar at Target. But I'm not saying. 285 00:16:09,560 --> 00:16:13,900 That is, it goes to the, if you can't see it in the back, it's the skull and crossbones 286 00:16:13,900 --> 00:16:18,360 with heart-shaped eyes. It's very sweet. It goes to whoever can answer the next question. 287 00:16:18,480 --> 00:16:23,760 So take your time. If you've already seen this, please don't answer. You're on your 288 00:16:23,760 --> 00:16:28,980 honor here. It's no fun if you've already received it. Anybody got any ideas? We'll 289 00:16:28,980 --> 00:16:37,980 kind of talk through it a little bit. So x86, EBFE. Oh, we got a possible answer. Your 290 00:16:37,980 --> 00:16:45,780 answer was beef. Always a safe bet. Incorrect in this case, however. It's specifically because 291 00:16:45,780 --> 00:16:50,780 PPC instructions are never two bytes long. Well, yeah. Anyways. Yes. 292 00:16:57,980 --> 00:17:02,460 Incorrect. Incorrect. So EBFE, let's start walking through it, is, somebody tell me what 293 00:17:02,460 --> 00:17:07,960 EBFE is. I heard somebody say it, but he didn't count. Anybody else? 294 00:17:08,980 --> 00:17:11,740 Jump dollar minus two, thank you. 295 00:17:11,820 --> 00:17:15,420 So this will spin your CPU, it says jump to myself, and again this was an actual question 296 00:17:15,420 --> 00:17:17,460 during a capture the flag qualifiers. 297 00:17:17,700 --> 00:17:20,960 Granted you had online access and manuals and docs which helps, and I'm asking you to 298 00:17:20,960 --> 00:17:21,480 do this from memory. 299 00:17:21,620 --> 00:17:23,020 That's why it's worth a Frisbee. 300 00:17:24,780 --> 00:17:26,460 So who knows their PPC instructions? 301 00:17:28,200 --> 00:17:29,420 I'll even take the mnemonic. 302 00:17:30,660 --> 00:17:34,260 Somebody want to give me a mnemonic for a PPC instruction that is equivalent of a jump 303 00:17:34,260 --> 00:17:35,400 negative two in x86? 304 00:17:36,520 --> 00:17:38,740 Do they have jumps in PPC code, anybody? 305 00:17:41,080 --> 00:17:43,060 This is a hacker convention, guys, come on. 306 00:17:43,360 --> 00:17:44,100 We got a hand up. 307 00:17:44,160 --> 00:17:44,420 Yes. 308 00:17:46,600 --> 00:17:47,800 It is a branch instead of jump. 309 00:17:47,940 --> 00:17:49,460 What might the argument to the branch be? 310 00:17:54,360 --> 00:17:59,360 You're kind of thinking along the right idea, but maybe it's not based on the end but the 311 00:17:59,360 --> 00:18:02,200 beginning of the instruction instead in which case it would be zero. 312 00:18:02,260 --> 00:18:03,280 Oh, we have a winner. 313 00:18:04,120 --> 00:18:04,480 Excellent. 314 00:18:04,540 --> 00:18:04,920 All right. 315 00:18:07,880 --> 00:18:08,520 Thank you. 316 00:18:08,900 --> 00:18:10,740 I promise I won't drag it out next time so long. 317 00:18:11,200 --> 00:18:12,120 So game mechanics. 318 00:18:12,460 --> 00:18:14,320 I mentioned there's two halves to this game, right? 319 00:18:14,680 --> 00:18:17,820 Capture the flag has the qualifying round, which some of these lightning questions are 320 00:18:17,820 --> 00:18:18,780 coming from the qualifying round. 321 00:18:19,000 --> 00:18:21,520 If it seems intimidating, well, it is. 322 00:18:21,600 --> 00:18:24,160 But I mean, don't worry about that too much because you learn, you figure it out, that's 323 00:18:24,160 --> 00:18:24,740 the whole point of it. 324 00:18:24,820 --> 00:18:28,040 I've learned more doing capture the flag than I have preparing for it or getting ready 325 00:18:28,040 --> 00:18:30,840 for it just in the competition because of the fun that you have. 326 00:18:30,900 --> 00:18:34,220 Get folks that you enjoy doing stuff with, and it doesn't matter where you participate 327 00:18:34,220 --> 00:18:34,860 in the quals. 328 00:18:35,420 --> 00:18:36,540 It's an absolute blast. 329 00:18:36,780 --> 00:18:37,920 There's no reason not to do it. 330 00:18:37,940 --> 00:18:38,500 It's over a weekend. 331 00:18:38,620 --> 00:18:40,180 So even if you're working, I don't care. 332 00:18:40,260 --> 00:18:41,980 You can fit your schedule usually and you can do it. 333 00:18:42,060 --> 00:18:42,800 It's a lot of fun. 334 00:18:44,920 --> 00:18:46,640 The skill set tends to be a little bit different. 335 00:18:46,720 --> 00:18:48,820 As I mentioned, qualifiers runs for 48 hours straight. 336 00:18:50,200 --> 00:18:52,160 So it's more of a Jeopardy style board. 337 00:18:52,300 --> 00:18:53,320 I'll flip ahead to this real quick. 338 00:18:53,420 --> 00:18:53,720 I'll go back. 339 00:18:54,680 --> 00:18:55,840 This was the one from this year. 340 00:18:55,920 --> 00:18:58,760 DD Tech actually added even more problems than normal. 341 00:18:58,880 --> 00:19:04,380 So you've got one through 500 in six different categories, so 30 different questions, binaries, 342 00:19:04,380 --> 00:19:04,900 challenges. 343 00:19:05,400 --> 00:19:05,720 Forensics. 344 00:19:05,720 --> 00:19:06,720 All sorts of off the map. 345 00:19:07,020 --> 00:19:12,840 The categories were pursuits, trivial, crypto badness, packet madness, binary leetness, 346 00:19:12,960 --> 00:19:14,040 potent, punnables, and forensics. 347 00:19:14,120 --> 00:19:17,640 But ignore the categories because I think it was a packet one and the crypto and a crypto 348 00:19:17,640 --> 00:19:18,580 one and the binary one. 349 00:19:18,680 --> 00:19:23,200 The sort of categories are kind of general rules of thumb rather than a hard and fixed 350 00:19:23,200 --> 00:19:23,440 thing. 351 00:19:23,620 --> 00:19:26,300 Generally speaking, there was binaries. 352 00:19:26,300 --> 00:19:27,300 There was network captures. 353 00:19:27,500 --> 00:19:29,260 You were doing all sorts of interesting, bizarre stuff. 354 00:19:29,440 --> 00:19:33,260 The write-ups for these are all online if you go into the links at the end. 355 00:19:33,500 --> 00:19:34,300 Don't cheat though. 356 00:19:34,300 --> 00:19:36,080 It's kind of like playing a video game and looking up the answers. 357 00:19:36,180 --> 00:19:36,840 You're like, that's no fun. 358 00:19:37,040 --> 00:19:38,420 You don't want to ruin it for you. 359 00:19:38,440 --> 00:19:39,000 Try it yourself. 360 00:19:39,220 --> 00:19:44,000 Do the problems first and then see what you can learn first and then use the help only 361 00:19:44,000 --> 00:19:44,460 if you need it. 362 00:19:45,440 --> 00:19:48,600 So the qualifying round, like I said, it's 48 hours straight. 363 00:19:48,800 --> 00:19:49,420 It's independent. 364 00:19:49,600 --> 00:19:50,080 It's remote. 365 00:19:50,200 --> 00:19:52,920 You can be anywhere when you're running the capture the flag. 366 00:19:53,040 --> 00:19:53,880 You log into the server. 367 00:19:53,940 --> 00:19:54,360 You get the account. 368 00:19:54,620 --> 00:19:57,600 200 plus teams participated or at least 200 plus teams scored points. 369 00:19:58,160 --> 00:20:01,440 Certainly some were ghost teams or duplicate teams or others, but it's definitely a lot 370 00:20:01,440 --> 00:20:02,000 of people that get involved. 371 00:20:02,080 --> 00:20:03,080 Like I said, there's no reason not to. 372 00:20:03,080 --> 00:20:03,780 It's a lot of fun. 373 00:20:04,380 --> 00:20:07,440 You don't have to even play to win. 374 00:20:07,540 --> 00:20:09,860 You can play just to get all the questions and have fun and enjoy it. 375 00:20:09,920 --> 00:20:11,400 There's certainly nothing wrong with that. 376 00:20:11,940 --> 00:20:15,200 The winner of the qualifying round, like I said, the top seven to nine teams, depending 377 00:20:15,200 --> 00:20:21,900 on how many are allowed in, depending on the year, gets into the finals here at DEFCON, 378 00:20:21,900 --> 00:20:22,520 the CTF. 379 00:20:22,680 --> 00:20:28,540 The hours, I say 10, 10, 6, Friday to Sunday at DEFCON for the final, the main capture 380 00:20:28,540 --> 00:20:30,480 the flag, nah, that can change. 381 00:20:30,520 --> 00:20:32,200 Like I said, today they hadn't started. 382 00:20:32,240 --> 00:20:33,060 I don't think one of them would have done that. 383 00:20:33,080 --> 00:20:36,520 I had gone to the speaker room, so things were a little slow to kick off, but that's 384 00:20:36,520 --> 00:20:38,280 to be expected with a new team doing it. 385 00:20:40,680 --> 00:20:41,320 That's flexible. 386 00:20:41,360 --> 00:20:42,140 Take it with a grain of salt. 387 00:20:42,320 --> 00:20:45,280 The interesting thing is though, even though the capture the flag hours end, the work 388 00:20:45,280 --> 00:20:45,640 does not. 389 00:20:45,820 --> 00:20:48,700 The teams will go up to the hotel room, they go up, and they'll keep working on this stuff 390 00:20:48,700 --> 00:20:51,420 because you've got the binaries, you've got the server image to work on afterwards. 391 00:20:52,060 --> 00:20:55,560 Q&A, qualifiers, finals is an actual live server. 392 00:20:55,740 --> 00:20:57,720 It's defending and attacking live other people. 393 00:20:57,820 --> 00:20:58,840 This is the more interesting piece. 394 00:20:58,980 --> 00:21:02,160 This is where everyone's like, well, I'm just going to bring my server that's X or Y. I'm 395 00:21:02,160 --> 00:21:02,480 going to do this. 396 00:21:03,080 --> 00:21:06,760 So before you get into that, it helps to understand how it's set up. 397 00:21:06,860 --> 00:21:07,040 Oh, right. 398 00:21:07,120 --> 00:21:08,240 The spoils. 399 00:21:08,340 --> 00:21:11,680 You get the entry to CTF if you get in the top in the qualifiers. 400 00:21:11,820 --> 00:21:15,860 The winning team at the actual capture the flag gets a black badge. 401 00:21:16,200 --> 00:21:19,980 Here's the two that our team got from a couple years ago. 402 00:21:20,680 --> 00:21:23,400 The Uber badge, of course, the infamous DEF CON Uber badge. 403 00:21:23,500 --> 00:21:24,340 It's admission for life. 404 00:21:24,500 --> 00:21:25,460 It's street credit. 405 00:21:25,720 --> 00:21:26,840 You get a leather jacket. 406 00:21:27,020 --> 00:21:29,400 You get dates with people of the opposite sex. 407 00:21:30,340 --> 00:21:31,780 You didn't get that? 408 00:21:32,000 --> 00:21:32,400 No. 409 00:21:33,080 --> 00:21:35,180 Oh, we're both married, so I guess we didn't do that either. 410 00:21:35,280 --> 00:21:36,800 But I thought that was a part of it. 411 00:21:36,860 --> 00:21:37,680 It's supposed to be a part of it. 412 00:21:39,560 --> 00:21:40,040 Oh, well. 413 00:21:41,220 --> 00:21:46,500 So at the main event, though, did my voice crack? 414 00:21:46,600 --> 00:21:47,160 I'm not 16. 415 00:21:47,380 --> 00:21:48,940 I look like it still, but I'm not. 416 00:21:51,000 --> 00:21:54,160 At the main event, every team gets their own identical server. 417 00:21:54,340 --> 00:21:56,220 So like I said, in years past, things were more chaotic. 418 00:21:56,380 --> 00:21:57,200 Everything was a little bit random. 419 00:21:57,300 --> 00:22:00,480 And this year, if you saw the topology last time, every team gets a VM. 420 00:22:00,600 --> 00:22:01,380 It's snapshotted. 421 00:22:01,380 --> 00:22:01,960 You're in a jail. 422 00:22:01,960 --> 00:22:03,000 It's been FreeBSD. 423 00:22:03,000 --> 00:22:03,860 It was Solaris one year. 424 00:22:03,940 --> 00:22:04,480 That was painful. 425 00:22:04,960 --> 00:22:06,360 It's been back to FreeBSD. 426 00:22:06,460 --> 00:22:07,540 I have no idea what they're doing. 427 00:22:07,660 --> 00:22:08,700 I think it was probably FreeBSD. 428 00:22:09,540 --> 00:22:10,720 It's FreeBSD 7.2. 429 00:22:10,880 --> 00:22:11,200 Interesting. 430 00:22:11,260 --> 00:22:12,540 They've upped the version this year. 431 00:22:12,660 --> 00:22:16,920 So right now, the teams in there are doing FreeBSD 7.2, playing with some binaries. 432 00:22:19,160 --> 00:22:20,860 You are usually the network upstream. 433 00:22:21,080 --> 00:22:22,280 Now, a lot of this is sort of generalities. 434 00:22:22,940 --> 00:22:24,640 You have to be very prepared for changing things on the fly. 435 00:22:24,780 --> 00:22:25,940 The rules will change every year. 436 00:22:26,020 --> 00:22:29,260 In fact, the rules this year, if you go into the Capture the Flag room, grab one of these 437 00:22:29,260 --> 00:22:29,560 guys. 438 00:22:29,760 --> 00:22:30,860 It's got the updated rules. 439 00:22:31,020 --> 00:22:31,940 They're very different from the rules you get on the fly. 440 00:22:31,940 --> 00:22:35,220 The rules I'm going to describe to you from years past, mostly the same style of gameplay, 441 00:22:35,720 --> 00:22:37,340 but the scoring system is a little bit different. 442 00:22:37,440 --> 00:22:39,980 There's no longer breakthrough points for the first team that solves a problem. 443 00:22:40,180 --> 00:22:40,980 It's a zero-sum game. 444 00:22:41,100 --> 00:22:43,780 There's only the same total, and then it just shifts based on percentages in terms 445 00:22:43,780 --> 00:22:44,460 of who's done what. 446 00:22:45,160 --> 00:22:46,080 So there's some of these differences. 447 00:22:46,240 --> 00:22:49,480 It'll be very interesting to see how that affects the gameplay, because it's always 448 00:22:49,480 --> 00:22:50,900 about kind of gaming the system, right? 449 00:22:50,980 --> 00:22:53,580 You always want to have the optimum plan of attack. 450 00:22:54,320 --> 00:22:55,960 You want to be prepared to do a lot of things. 451 00:22:56,080 --> 00:23:00,120 You've got flags, hence the Capture the Flag part, right? 452 00:23:00,720 --> 00:23:01,920 These flags can be anything. 453 00:23:01,920 --> 00:23:06,160 Typically, though, they've been base-64 strings with a fixed length, and so you can recognize 454 00:23:06,160 --> 00:23:06,460 them. 455 00:23:07,140 --> 00:23:11,320 There's a lot of, it goes on again behind the scenes in terms, you have to track who 456 00:23:11,320 --> 00:23:14,800 stole what flag from whom, because you have to know when they got it, where they got 457 00:23:14,800 --> 00:23:15,580 it from, what service. 458 00:23:15,720 --> 00:23:18,200 So when you get points, if you do a breakthrough point, you have to kind of figure out all 459 00:23:18,200 --> 00:23:18,440 this stuff. 460 00:23:18,500 --> 00:23:20,160 If you're tracking zero-sum game, you have to try. 461 00:23:20,200 --> 00:23:24,000 So all that is very carefully set up, and running a CTF is way harder than participating, 462 00:23:24,220 --> 00:23:28,480 and I'm very glad to have participated, and no desire to run it if I can help it, because 463 00:23:28,480 --> 00:23:30,000 that would be a lot of work. 464 00:23:30,700 --> 00:23:31,780 But stealing these flags. 465 00:23:31,780 --> 00:23:34,340 And then submitting them is the way you actually get your points. 466 00:23:34,440 --> 00:23:37,800 The other way you get points, or rather you keep your points, is your SLA. 467 00:23:38,060 --> 00:23:40,120 So every team is required to keep their services up. 468 00:23:40,220 --> 00:23:42,340 I can have perfect security when I unplug my server. 469 00:23:42,520 --> 00:23:45,840 It doesn't help me much at actually maintaining a service. 470 00:23:46,040 --> 00:23:50,500 And so to keep people from doing that, sort of taking the nuke approach, your points are 471 00:23:50,500 --> 00:23:54,460 all, sum total of all your points from either stealing a key, from overwriting your overwrite 472 00:23:54,460 --> 00:23:58,120 key onto somebody else's keys, all of that is multiplied by your SLA. 473 00:23:58,260 --> 00:24:01,760 So if you're up for 90% of the service checks you make, you get 90% of your points. 474 00:24:03,780 --> 00:24:04,620 SLA matters. 475 00:24:04,900 --> 00:24:07,580 This is sort of the biggest, it's not like an inside trick or secret. 476 00:24:07,760 --> 00:24:08,920 This is just really, really important. 477 00:24:09,160 --> 00:24:10,220 Keep your services up. 478 00:24:10,320 --> 00:24:13,960 If you've got defensive techniques and tricks that you think about how you can rearrange 479 00:24:13,960 --> 00:24:15,140 the server, great. 480 00:24:15,300 --> 00:24:16,500 Test them very carefully. 481 00:24:16,660 --> 00:24:20,220 Never ever fail a service check, because that will screw your score very, very quickly. 482 00:24:23,040 --> 00:24:23,880 So roles. 483 00:24:26,620 --> 00:24:27,300 Thank you. 484 00:24:28,540 --> 00:24:31,040 A successful CTF team has a lot of different roles. 485 00:24:31,040 --> 00:24:32,960 I mentioned earlier, yeah, that's pretty lame. 486 00:24:33,520 --> 00:24:39,100 I mentioned earlier, a lot of people, a lot of people think they're just going to be reverse 487 00:24:39,100 --> 00:24:40,940 engineering and that's like all it's going to take. 488 00:24:41,020 --> 00:24:42,800 I mentioned my team has a bunch of different skill sets. 489 00:24:42,920 --> 00:24:45,560 You really have to have the complete sort of picture. 490 00:24:45,760 --> 00:24:46,700 You've got to have a leader. 491 00:24:46,860 --> 00:24:48,380 You need somebody just to organize the team. 492 00:24:48,440 --> 00:24:51,700 I mentioned Atlas and our team is an excellent leader. 493 00:24:53,080 --> 00:24:53,960 Yeah, the herding cats. 494 00:24:55,620 --> 00:24:57,540 This should not be your best technical person. 495 00:24:57,640 --> 00:25:00,040 This should not be the guy who's the best reverser, should not be the guy who's the 496 00:25:00,040 --> 00:25:00,660 best exploiter. 497 00:25:01,040 --> 00:25:01,760 That's a waste of his talent. 498 00:25:01,900 --> 00:25:04,840 It needs to be somebody who's organizationally good, who can motivate, who can track, who 499 00:25:04,840 --> 00:25:05,780 can keep communication going. 500 00:25:06,160 --> 00:25:10,340 It sounds stupid and silly to say like teamwork is really important and really, it really 501 00:25:10,340 --> 00:25:10,700 is. 502 00:25:10,840 --> 00:25:13,620 If you don't get your people working together, you're never going to win. 503 00:25:14,040 --> 00:25:18,220 Your network administrator is the guy who's not only setting up your firewall, but also 504 00:25:18,220 --> 00:25:20,340 monitoring the network and it's maybe a split role. 505 00:25:20,540 --> 00:25:23,780 Teams can obviously implement this differently, but all these skill sets are going to be used. 506 00:25:24,340 --> 00:25:26,620 He's the guy who's watching all the attacks that come against you. 507 00:25:26,700 --> 00:25:28,940 He needs to be working with the defense to let them know new attacks. 508 00:25:29,080 --> 00:25:31,020 He needs to be working with their versus to let them know when he sees a new attack. 509 00:25:31,040 --> 00:25:33,860 To help them to figure out to others, you've got to all work together. 510 00:25:34,040 --> 00:25:35,360 Of course, you've got the reversing and exploitation. 511 00:25:35,940 --> 00:25:37,760 I didn't Google image search exploitation. 512 00:25:38,500 --> 00:25:40,040 Sorry, decided that would be a bad idea. 513 00:25:41,880 --> 00:25:43,200 This is the main skill set. 514 00:25:43,280 --> 00:25:43,780 It really is. 515 00:25:43,840 --> 00:25:45,500 Like I said, this is a binary exploitation. 516 00:25:45,820 --> 00:25:48,100 If you want to do this, you've got to have somebody on your team. 517 00:25:48,160 --> 00:25:50,100 You may have that one rock star who's your good exploiter. 518 00:25:50,160 --> 00:25:53,240 That's okay because you need all the skill sets, but somebody's got to do this. 519 00:25:53,400 --> 00:25:54,520 You need your sysadmin. 520 00:25:54,840 --> 00:25:56,260 Somebody's got to keep your services up. 521 00:25:56,340 --> 00:25:58,520 That SLA I told you is crucially important. 522 00:25:58,740 --> 00:25:59,820 Keep your system running. 523 00:26:00,120 --> 00:26:01,020 You don't know what you're going to do. 524 00:26:01,040 --> 00:26:01,160 You don't know what you're going to get. 525 00:26:01,300 --> 00:26:01,940 You may get Slayers. 526 00:26:02,000 --> 00:26:02,660 You may get FreeBSD. 527 00:26:02,660 --> 00:26:03,440 You may get something bizarre. 528 00:26:03,740 --> 00:26:06,020 You need somebody with a lot of experience and all this stuff. 529 00:26:07,080 --> 00:26:08,840 Defender is similar to sysadmin. 530 00:26:10,400 --> 00:26:11,660 It looks like the same. 531 00:26:11,780 --> 00:26:12,320 He's on the server. 532 00:26:12,440 --> 00:26:12,720 He's monitoring. 533 00:26:12,880 --> 00:26:13,320 He's keeping out. 534 00:26:13,460 --> 00:26:16,780 The difference, though, is that Defender's goal is purely to frustrate the opposition. 535 00:26:17,200 --> 00:26:22,760 His goal is to think of all the not nice things you can do to your people. 536 00:26:22,860 --> 00:26:24,680 You want to be dropping long-lived connections. 537 00:26:25,080 --> 00:26:29,640 You want to be moving binaries around that the score bot checker won't use when it logs 538 00:26:29,640 --> 00:26:29,960 in. 539 00:26:29,960 --> 00:26:33,540 Any time you can figure out a behavior that's definitely a human and not a bot, you want 540 00:26:33,540 --> 00:26:33,900 to kill it. 541 00:26:33,960 --> 00:26:36,660 You want to be actively involved in maintaining the security of your server. 542 00:26:37,020 --> 00:26:41,080 This will be especially interesting as the zero-sum game of scoring, how that impacts 543 00:26:41,080 --> 00:26:43,260 the number of points when Defense matters more. 544 00:26:43,680 --> 00:26:45,680 In years past, it's almost been easier to ignore Defense. 545 00:26:45,880 --> 00:26:48,500 You were better off not doing anything on Defense to keep that SLA up. 546 00:26:48,820 --> 00:26:49,860 We'll see if that changes. 547 00:26:50,900 --> 00:26:53,860 A gopher or gophers are critically important. 548 00:26:54,160 --> 00:26:59,660 Do not underestimate how nice it is to have somebody to get you food because hackers do 549 00:26:59,660 --> 00:27:04,060 not live on caffeine alone, I'm afraid to say, for maybe 24 to 48 hours. 550 00:27:04,240 --> 00:27:06,180 But beyond that, you're going to need a little bit more than that. 551 00:27:07,040 --> 00:27:07,860 I said it earlier. 552 00:27:08,060 --> 00:27:09,020 You have to have teamwork. 553 00:27:09,980 --> 00:27:14,240 My team has never been the best at reversing, never been the best at exploitation, never 554 00:27:14,240 --> 00:27:15,380 been the best at dirty tricks. 555 00:27:15,460 --> 00:27:16,660 Okay, we were pretty good at dirty tricks. 556 00:27:16,760 --> 00:27:17,420 We'll get to that next. 557 00:27:17,560 --> 00:27:19,760 But we weren't the best in just about any area. 558 00:27:19,880 --> 00:27:21,080 We worked together really well. 559 00:27:21,780 --> 00:27:23,500 Team size is kind of a controversial topic. 560 00:27:24,460 --> 00:27:26,460 School of Root, the guys that won last year, have a big team. 561 00:27:26,620 --> 00:27:29,640 Not everyone is necessarily good or involved in the same team. 562 00:27:29,640 --> 00:27:31,900 But in some ways, a big team can hurt you. 563 00:27:32,080 --> 00:27:37,460 You need people coordinating and working together more than you need just a lot of 564 00:27:37,460 --> 00:27:38,380 people to throw in different problems. 565 00:27:38,480 --> 00:27:41,480 That said, you probably can't win with a five-person team, no matter how good those 566 00:27:41,480 --> 00:27:44,900 five people are, because there's something like 20 binaries you get at the start of 567 00:27:44,900 --> 00:27:45,200 the game. 568 00:27:45,340 --> 00:27:47,240 And you're doing the network monitoring, the sysadmin. 569 00:27:47,320 --> 00:27:50,160 You're doing all these other roles that you've just got to have a number of people. 570 00:27:50,820 --> 00:27:53,280 So a quick word on sort of CTF etiquette. 571 00:27:54,880 --> 00:27:56,900 I'm a really nice guy, I promise I am. 572 00:27:57,000 --> 00:27:59,540 But I have been rather rude to people. 573 00:27:59,540 --> 00:28:03,540 I've asked them to leave the table, because you don't know if they're a spy or not. 574 00:28:03,760 --> 00:28:05,400 I've sent spies against other teams. 575 00:28:05,820 --> 00:28:09,100 I would not be surprised, and I know for a fact other teams have done it to us, too. 576 00:28:09,260 --> 00:28:12,820 So if somebody says, hey, I don't want you watching my screen, they don't take it personally. 577 00:28:12,980 --> 00:28:15,260 When you're in the room and everyone is going on, it gets pretty competitive. 578 00:28:15,500 --> 00:28:18,520 So just as a word of warning, don't shoulder surf these guys or try to see what you're 579 00:28:18,520 --> 00:28:18,620 doing. 580 00:28:18,660 --> 00:28:19,460 I know it's really interesting. 581 00:28:20,260 --> 00:28:21,340 That's why I love to do it. 582 00:28:21,400 --> 00:28:24,700 But like I said, just don't take it the wrong way when they ask you to leave. 583 00:28:24,880 --> 00:28:25,340 All right. 584 00:28:26,160 --> 00:28:26,940 Another lightning round. 585 00:28:27,000 --> 00:28:28,860 It's a little x86 instruction heavy. 586 00:28:29,540 --> 00:28:33,480 So who's got their Intel manual on their laptop and wants to pull it out? 587 00:28:33,860 --> 00:28:35,760 I'll settle for the mnemonic. 588 00:28:35,900 --> 00:28:37,740 You don't have to assemble it in your head this time. 589 00:28:39,840 --> 00:28:42,000 Implement the following in one instruction. 590 00:28:43,400 --> 00:28:44,720 What does this look like? 591 00:28:49,540 --> 00:28:54,160 I don't have a Frisbee for this, though, so maybe we'll give you a water cup. 592 00:28:56,080 --> 00:28:56,500 . 593 00:28:59,100 --> 00:28:59,520 . 594 00:40:59,540 --> 00:40:59,860 . 595 00:40:59,860 --> 00:41:03,820 play? What's the strategy teams are using? Walk around and watch from a distance in front of the 596 00:41:03,820 --> 00:41:08,360 screens to get a feel of what the teams are doing. Knops R Us was mentioned in the last talk too. 597 00:41:08,740 --> 00:41:12,660 That's the one that has all the write-ups. Knops R Us has write-ups for two or three years worth 598 00:41:12,660 --> 00:41:17,920 of qualifiers and finals. So you can find lots and lots of good stuff up there. If you get stumped, 599 00:41:17,940 --> 00:41:21,380 if you want to go see what types of questions are liable to get into next year's qualifiers, 600 00:41:21,520 --> 00:41:28,980 go back and see that. Shall We Play a Game is done in the style of war games. Yeah, 601 00:41:28,980 --> 00:41:34,780 that's the thing. With a little backdoor interface to Whopper and you can play games with it. But it 602 00:41:34,780 --> 00:41:38,880 has write-ups for just this year's qualifying rounds. So you can see those there. A couple 603 00:41:38,880 --> 00:41:43,440 other links. The one I want to do want to highlight is Arsenico. I wonder if he's actually here this 604 00:41:43,440 --> 00:41:48,600 weekend. Has a great blog post that was called Hacking Without All the Jail Time that turned 605 00:41:48,600 --> 00:41:52,720 into this great reference because everybody linked their favorite online capture the flag 606 00:41:52,720 --> 00:41:57,700 games. There's a huge amount of sites where you can go to do web security testing, capture the 607 00:41:57,700 --> 00:41:58,200 flag testing. 608 00:41:58,980 --> 00:42:03,280 A lot of other types of capture the flags too. You can practice all this stuff. Again, practice the 609 00:42:03,280 --> 00:42:07,060 hacking without all the jail time. It's a great resource as well. So if you want to pick three 610 00:42:07,060 --> 00:42:11,320 books to write, I hope Chris Eagle doesn't hate me for all the dirty tricks I've pulled on him. 611 00:42:11,500 --> 00:42:16,700 So hopefully I'll try to pimp his book. It is the Bible for Ida, Reverse Engineering. Chris Eagle, 612 00:42:16,780 --> 00:42:20,460 like I mentioned, the captain of School of Root and just a phenomenal exploiter and reverser, 613 00:42:20,500 --> 00:42:24,120 was the author of this. He released the book last year. This is going to be like the standard 614 00:42:24,120 --> 00:42:28,660 one reference book for Ida for the foreseeable future. It's extremely good. A couple others 615 00:42:28,660 --> 00:42:28,960 that I'm going to talk about are the book that I'm going to talk about next year. I'm going to 616 00:42:28,980 --> 00:42:32,860 very useful as well are Hacking the Art of Exploitation and Shellcoder's Handbook. Because 617 00:42:32,860 --> 00:42:37,900 again, this is a binary exploitation kind of skill set. So fine print, Creative Commons 618 00:42:37,900 --> 00:42:41,640 licensed. All the images, you pull up the slide notes, were from Flickr and Creative Commons. 619 00:42:42,500 --> 00:42:46,660 And that's about that. Questions will be off in the other room. Thank you all for coming out.