1 00:00:00,000 --> 00:00:09,900 This is track five. Securing MMOs. So full disclosure, you've probably read in your 2 00:00:09,900 --> 00:00:15,300 programs that I am a Bioware Mythic employee. That is no longer true. I've been advised to 3 00:00:15,300 --> 00:00:21,300 say only that in order to give a more complete version of this presentation, I've altered my 4 00:00:21,300 --> 00:00:29,980 employment status. So I've worked in the security industry for quite a while. And hey, this 5 00:00:30,000 --> 00:00:35,380 is actually working awesome. For quite a few years. And have gotten some pretty useful 6 00:00:35,380 --> 00:00:42,120 experience, took that, parlayed that into a job application. And don't even start. A job 7 00:00:42,120 --> 00:00:48,140 application at Bioware Mythic. Brought some unique skills to the table to a game industry type 8 00:00:48,140 --> 00:00:55,940 company that really was focused more on math and dying to fire. You know what? So a lot of these 9 00:00:55,940 --> 00:00:59,040 people right here are, I'll say acquaintances because they are not friends. 10 00:01:03,380 --> 00:01:10,320 So I apologize as I interrupt my talk to flip people off back and that sort of thing. So I 11 00:01:10,320 --> 00:01:16,900 have been spending a couple of years writing subversive software is the term I like to use. 12 00:01:17,620 --> 00:01:21,840 It's not malware. Don't worry, you don't have it on your computer. I'm not reading your email 13 00:01:21,840 --> 00:01:29,900 except for yours. I've written and I should say I've helped write static analysis tools at a product 14 00:01:30,000 --> 00:01:35,960 company, that sort of thing. So when I was at Bioware I was a senior software engineer. To give 15 00:01:35,960 --> 00:01:43,540 you scope on what a senior is there. Since that word gets overused. Is there were 10 to 15 of us 16 00:01:43,540 --> 00:01:50,380 at 150 person company. About half of which was engineering. When I started. And a slightly 17 00:01:50,380 --> 00:01:57,760 smaller company when I departed. I've written some other tools for other games, Eve, Warcraft, 18 00:01:57,800 --> 00:01:59,980 that sort of thing. And I write most of the scripts and I search 19 00:01:59,980 --> 00:02:05,100 most notably have been here for four years running capture the 20 00:02:05,100 --> 00:02:09,280 flag before DD tech took over. So a lot of these jackasses up 21 00:02:09,280 --> 00:02:12,080 front helped out in that in one way or another. I don't know 22 00:02:12,080 --> 00:02:19,000 this guy, but I'm sure he's okay. He's not, okay. So what's 23 00:02:19,000 --> 00:02:22,360 in this talk? Some thoughts on what it's like to go from a job 24 00:02:22,360 --> 00:02:26,060 that most of you are probably pretty familiar with and what 25 00:02:26,060 --> 00:02:29,800 it's actually like in the game industry. Obviously I left so 26 00:02:29,800 --> 00:02:32,840 it couldn't have been that awesome. Stories on how bad 27 00:02:32,840 --> 00:02:36,660 security really is in pretty much every other field, but 28 00:02:36,660 --> 00:02:39,840 especially in the games industry where it's exposed and a lot of 29 00:02:39,840 --> 00:02:43,340 people actually interact. You get a little bit more insight. 30 00:02:44,520 --> 00:02:48,680 Some examples of some hacks and other tools that people have 31 00:02:48,680 --> 00:02:53,360 written, including the ones I've written and some other, some 32 00:02:53,360 --> 00:02:57,000 pretty ridiculously terrible ones that we've encountered at 33 00:02:57,000 --> 00:02:59,780 Bioware. And then some thoughts on how bad security really is 34 00:02:59,800 --> 00:03:01,700 and how it can get better and why there's no chance in hell 35 00:03:01,700 --> 00:03:04,960 they're actually going to do anything I say. Besides the fact 36 00:03:04,960 --> 00:03:09,440 that I'm a giant asshole. What's not in this talk, I did not 37 00:03:09,440 --> 00:03:16,780 bring any O-Day for any of the games that, enough. I did not 38 00:03:16,780 --> 00:03:19,400 bring any O-Day for any of the games currently being published. 39 00:03:20,000 --> 00:03:23,260 I do not have a release date for Star Wars the Old Republic, 40 00:03:23,460 --> 00:03:27,960 don't ask. Nobody does. I didn't include any crappy clip art, 41 00:03:28,080 --> 00:03:29,780 just this one thing on the right hand side. I didn't include any 42 00:03:29,800 --> 00:03:32,660 O-Day here. And there are no shout outs in this presentation. 43 00:03:32,860 --> 00:03:36,420 I think that's overdone. So, I mean, we can go ahead and get 44 00:03:36,420 --> 00:03:40,760 started and talk about actually making the jump. Getting into 45 00:03:40,760 --> 00:03:43,200 the games industry worked out best because, like any other 46 00:03:43,200 --> 00:03:49,000 job, I knew a guy. Alternate slide title. How I learned to 47 00:03:49,000 --> 00:03:52,960 love the shorts. It was actually very disorienting to show up to 48 00:03:52,960 --> 00:03:58,120 an interview in a suit and be greeted by the CTO wearing flip 49 00:03:58,120 --> 00:03:59,780 flops and shorts. I'm not sure if that's a good thing or not. 50 00:03:59,800 --> 00:04:04,700 It's a very, very different mind set, that's for sure. Even when 51 00:04:04,700 --> 00:04:10,480 they're dealing with customers. In the security industry, you look 52 00:04:10,480 --> 00:04:13,240 especially bad when you write code that crashes or has 53 00:04:13,240 --> 00:04:17,900 vulnerabilities in it. That's not really an issue as anybody 54 00:04:17,900 --> 00:04:21,900 who's ever run any sort of desktop PC game and it constantly 55 00:04:21,900 --> 00:04:25,780 crashes underneath them. They're not suffering because their game 56 00:04:25,780 --> 00:04:29,640 crashed when you, you know, do the specific key sequence or 57 00:04:29,640 --> 00:04:35,520 whatever. So, when we're constantly CYAing and ensuring 58 00:04:35,520 --> 00:04:40,400 quality, I've moved into a world at this point where crashes are a 59 00:04:40,400 --> 00:04:43,020 matter of course. Things go really, really terrible, 60 00:04:43,220 --> 00:04:47,680 somebody might actually say sorry. I think there was a time 61 00:04:47,680 --> 00:04:52,220 at which Blizzard would give free time for extended absences 62 00:04:52,220 --> 00:04:55,420 and that just isn't the case anymore. There's no recourse as 63 00:04:55,420 --> 00:04:58,560 a customer. And then from a world of kilobytes to gigabytes. 64 00:04:59,920 --> 00:05:03,820 When you're writing shell code, when you're writing small 65 00:05:04,420 --> 00:05:07,200 clandestine applications, you're worried about every byte, every 66 00:05:07,200 --> 00:05:11,100 kilobyte. And this quote down here was like a realization that 67 00:05:11,100 --> 00:05:14,480 I had. No matter how much code you write, you could write for 68 00:05:14,480 --> 00:05:18,300 years, your binary will still be smaller than the intro video 69 00:05:18,780 --> 00:05:23,440 that took like three months to render. So, it's very different 70 00:05:23,440 --> 00:05:27,520 considerations and a very different coding style of 71 00:05:27,520 --> 00:05:29,620 results. A little bit more, a little bit more of a 72 00:05:30,020 --> 00:05:34,780 lackadaisical one. And another neat little statistic is after 73 00:05:34,780 --> 00:05:37,660 getting stood up the first day, it's like okay, let's build the 74 00:05:37,660 --> 00:05:41,680 project and go get lunch. Because it took about an hour to 75 00:05:41,680 --> 00:05:45,040 build. And the last link step, so every time you just made one 76 00:05:45,040 --> 00:05:47,560 little change, that's okay, it did incremental compilation, you 77 00:05:47,560 --> 00:05:50,080 still had to wait five minutes for it to link. So, it was really 78 00:05:50,080 --> 00:05:55,880 a big jump and very disorienting for me. So, what was expected 79 00:05:55,880 --> 00:05:57,700 out of some of the applications that were being written at 80 00:05:57,700 --> 00:05:59,620 Bioware and MMOs? I'm not sure. I'm not sure. I'm not sure. I'm 81 00:05:59,640 --> 00:06:00,220 not sure. I'm not sure. I'm not sure. I'm not sure. I'm not sure. 82 00:06:00,220 --> 00:06:04,380 But as you said, we had four thousand users per shard. So, a 83 00:06:04,380 --> 00:06:10,120 shard is what you think of as like a realm or a world in 84 00:06:10,680 --> 00:06:14,420 war craft or something like that. And it was expected that 85 00:06:14,420 --> 00:06:17,340 the server would introduce no more than a hundred milliseconds 86 00:06:17,340 --> 00:06:21,440 of latency. We could also give a whole talk on the network 87 00:06:21,440 --> 00:06:25,400 infrastructure behind a game like this which is just unparalleled, 88 00:06:25,460 --> 00:06:29,220 it's fantastic. They could actually start an ISP in their 89 00:06:29,640 --> 00:06:36,960 it's crazy. So each user is spamming dozens of commands. They're moving around. They're 90 00:06:36,960 --> 00:06:41,280 issuing combat commands, that sort of thing. And all of these have to be very responsive 91 00:06:41,280 --> 00:06:46,260 because nobody actually wants to lose. And if they do lose, well, I suspect many people do 92 00:06:46,260 --> 00:06:49,340 want to blame it on the client. But we don't want them to continue to blame it on the client 93 00:06:49,340 --> 00:06:58,620 in a public forum, right? And 4 hertz. So that means every 250 milliseconds, the whole set of 94 00:06:58,620 --> 00:07:03,540 commands are batched and processed. So what this means is that any two people doing something 95 00:07:03,540 --> 00:07:10,420 within the same quarter second actually are effectively doing it simultaneously. And low 96 00:07:10,420 --> 00:07:17,420 speed. This isn't talking about the server. This is talking about the people. You've all, I'm 97 00:07:17,420 --> 00:07:21,820 sure if you're interested in video games at all, have heard of the crunch period where, you 98 00:07:21,820 --> 00:07:27,400 know, six months a year, sometimes 18 months of people working around the clock. It's my 99 00:07:27,400 --> 00:07:28,600 theory that that happens because there's a lot of people working around the clock. It's my 100 00:07:28,620 --> 00:07:33,740 theory that they're slacking off the rest of the time. There's a lot of YouTube in video game 101 00:07:33,740 --> 00:07:39,720 companies. There's a lot of Hulu now. And there's also a much greater tendency for formal 102 00:07:39,720 --> 00:07:46,360 education, especially CS and hard math. Whereas in our field, you're able to kind of get away 103 00:07:46,360 --> 00:07:50,140 with it because there's no such thing or there wasn't such a thing as a degree program for 104 00:07:50,140 --> 00:07:58,600 ownage ten years ago. So what makes security difficult in an MMO? Well, you know, it's 105 00:07:58,620 --> 00:08:04,580 a little complicated. Imagine if you will an Apache web server. We can assume that they've 106 00:08:04,580 --> 00:08:10,800 implemented it based on an RFP that was reviewed by dozens of people, battling back and forth 107 00:08:11,620 --> 00:08:18,460 defining how things are spelled and what tokens terminate and that sort of thing. And it takes 108 00:08:18,460 --> 00:08:24,500 months or years for a revision of a formal protocol like HTTP to be revised and then finally 109 00:08:24,500 --> 00:08:28,600 accepted and then even longer for it to be implemented. Imagine not knowing about the stuff that's 110 00:08:28,600 --> 00:08:30,720 many of these users you can actually have some sort of 111 00:08:30,720 --> 00:08:35,060 compensating control of authentication in front of it, 112 00:08:35,100 --> 00:08:38,580 VPN, that sort of thing. Who cares if there's a giant pre-auth 113 00:08:38,580 --> 00:08:41,280 vulnerability if nobody can even get to the system to exploit it. 114 00:08:43,060 --> 00:08:46,240 Insider attack, yeah, yeah, yeah. Some are open source and 115 00:08:46,240 --> 00:08:50,600 benefit from constant peer review. People are testing new 116 00:08:50,600 --> 00:08:53,760 static analysis tools on open source projects, that sort of 117 00:08:53,760 --> 00:08:57,660 thing. So there's a lot of attention being paid to security 118 00:08:57,660 --> 00:09:01,700 in open source tools. That's not to say open source tools are 119 00:09:01,700 --> 00:09:04,620 secure. We can talk about that later if you're interested. So 120 00:09:05,300 --> 00:09:10,380 in the games industry, we define us back as we go. Some producer 121 00:09:10,380 --> 00:09:15,680 or designer seemingly on random whims, I'm pretty sure they're 122 00:09:15,680 --> 00:09:18,900 like throwing darts or tossing dice somewhere, decide what 123 00:09:18,900 --> 00:09:21,220 feature goes in this week, what feature comes out, oh, we're 124 00:09:21,220 --> 00:09:22,800 not going to do that anymore, never mind, got all the 125 00:09:22,800 --> 00:09:24,980 supporting code you did for that, code ends up staying 126 00:09:24,980 --> 00:09:27,560 around. Things change scope. 127 00:09:28,760 --> 00:09:33,880 Oh, we need to be able to have a hot bar for 10 commands. Oh, 128 00:09:33,880 --> 00:09:36,080 also now it needs to be 40 commands and now it needs to be 129 00:09:36,080 --> 00:09:38,500 140 commands. Actually, can you just make it user modifiable 130 00:09:38,500 --> 00:09:42,740 and scriptable? It's not the same. Things are constantly 131 00:09:42,740 --> 00:09:45,560 shifting, right? We'll give a connection out to anyone that 132 00:09:45,560 --> 00:09:49,080 asks. Anybody with a credit card can show up and connect to our 133 00:09:49,080 --> 00:09:54,540 server. That's a big deal. And then as games age and they begin 134 00:09:54,540 --> 00:09:57,640 doing free trials, we'll give them out for free. We'll give 135 00:09:57,660 --> 00:10:01,720 them out for free. Sure, you can have 100 accounts, whatever. We 136 00:10:01,720 --> 00:10:08,400 closely guard our code. There's kind of a treatment of IP as the 137 00:10:08,400 --> 00:10:11,420 most precious thing in MMO because it really is what the 138 00:10:11,420 --> 00:10:14,900 whole company is built on. And so all of these combined make our 139 00:10:14,900 --> 00:10:18,040 lives a whole lot more difficult. Each one may not be so 140 00:10:18,040 --> 00:10:24,560 terrible if it wasn't for all of the others. So as we evolve as 141 00:10:24,560 --> 00:10:27,020 game players and as game developers, we intend ‑‑ we 142 00:10:27,660 --> 00:10:30,360 tend to include more. We do everything that was already done 143 00:10:30,360 --> 00:10:32,920 up to that point and then a little bit more. And then a 144 00:10:32,920 --> 00:10:36,520 little bit more. So each successive online game or even 145 00:10:36,520 --> 00:10:39,220 video game just pushes the edge just a little bit further or it 146 00:10:39,220 --> 00:10:43,700 tries to if it intends to be successful. So the more 147 00:10:43,700 --> 00:10:46,960 sophisticated games breed complexity. They breed more 148 00:10:46,960 --> 00:10:50,540 sophisticated hacks and more sophisticated hackers. Other 149 00:10:50,540 --> 00:10:53,620 people have cut their teeth on earlier tools and that sort of 150 00:10:53,620 --> 00:10:57,640 thing. . . . . . . . . . . 151 00:10:57,660 --> 00:11:02,580 I'm also fond of hackers. I'm glad we share something in 152 00:11:02,580 --> 00:11:04,680 common. This is great. I feel like we're connecting. This is 153 00:11:04,680 --> 00:11:07,780 good. So client‑side security is always a losing battle, 154 00:11:07,940 --> 00:11:13,840 right? But it's fun. Defense blows, but when you start to 155 00:11:13,840 --> 00:11:16,940 turn it into a game of offense, it can be a lot of fun. And I 156 00:11:16,940 --> 00:11:19,560 have some pretty cool stories about that. And a market for 157 00:11:19,560 --> 00:11:22,840 in‑game currency, gold sellers, means that there is 158 00:11:22,840 --> 00:11:27,040 incentive for fraud, for cheating, for doing things you 159 00:11:27,040 --> 00:11:27,640 shouldn't be able to do. So that's a little bit of a 160 00:11:29,160 --> 00:11:36,840 story. So why do people cheat? The most common is to win, right? 161 00:11:37,200 --> 00:11:42,300 Except that those people tend to be small scale, not terribly 162 00:11:42,300 --> 00:11:47,960 destructive. Whereas RMT, real money transfer, sale of in‑game 163 00:11:47,960 --> 00:11:52,560 currency, there's real world money at stake here. People pull 164 00:11:52,560 --> 00:11:56,160 dirty tricks and try everything they can. And often they're in 165 00:11:56,160 --> 00:11:59,740 nation states that perhaps we don't have some sort of 166 00:11:59,740 --> 00:12:02,340 extradition treaty with or really don't give a shit about 167 00:12:02,340 --> 00:12:07,320 enforcing U.S. cyber crime laws. Other people prefer to cheat for 168 00:12:07,320 --> 00:12:10,840 griefing a captive audience. People love their video game 169 00:12:10,840 --> 00:12:15,700 and cry extra sweet tears when they've been griefed in that 170 00:12:15,700 --> 00:12:19,840 particular video game. Some people like to get an edge. Like 171 00:12:19,840 --> 00:12:23,700 I said, they like to win. And then some people, like myself, 172 00:12:24,000 --> 00:12:26,140 I'm sure some recreational type guys in here, they're probably 173 00:12:26,140 --> 00:12:30,260 here. You own it because it's fun. You're done playing the 174 00:12:30,260 --> 00:12:33,480 game. Now you're going to beat it in a different way. You're 175 00:12:33,480 --> 00:12:36,100 going to write automation tools, you're going to write cheats or 176 00:12:36,100 --> 00:12:42,000 whatever. Yeah. That doesn't tend to bother developers 177 00:12:42,000 --> 00:12:44,760 because they're mostly doing things for curiosity. It's only 178 00:12:44,760 --> 00:12:48,220 when you start selling or widely distributing a tool that it 179 00:12:48,220 --> 00:12:50,700 really starts to show up on their radar. Make no mistake 180 00:12:50,700 --> 00:12:52,360 though, they actually know when you are developing one. 181 00:12:54,200 --> 00:12:59,380 Security in the gaming industry is extremely new. Just like I'm 182 00:12:59,380 --> 00:13:02,000 sure a lot of you have growing pains, you know, the financial 183 00:13:02,000 --> 00:13:04,720 industry was the first one to really kind of jump on board 184 00:13:04,720 --> 00:13:08,540 years ago and now games are finally getting into it as they 185 00:13:08,540 --> 00:13:11,680 realize that it actually can affect their bottom line. It's 186 00:13:11,680 --> 00:13:16,040 not just an annoyance of cheaters. Right? And sadly, 187 00:13:16,180 --> 00:13:18,540 everyone has heard the term buffer overflow. Everyone has 188 00:13:18,540 --> 00:13:22,200 heard integer overrun. But few people, 189 00:13:22,360 --> 00:13:25,440 actually, know how to prevent it in practice. Oh, if I know 190 00:13:25,440 --> 00:13:28,760 what vulnerable code is, then certainly I can prevent it from 191 00:13:28,760 --> 00:13:33,340 being written, right? Nope. We don't write vulnerabilities, 192 00:13:33,480 --> 00:13:36,260 we're professionals. I write this for a living. I've been 193 00:13:36,260 --> 00:13:39,660 doing this for 15 years, to which I reply, yeah, I found 194 00:13:39,660 --> 00:13:42,820 the same bug 15 years ago. Also, whoever is attacking me 195 00:13:42,820 --> 00:13:45,660 right now, that's dirty bullshit because I can't hit B. With my 196 00:13:45,660 --> 00:13:50,640 lineage badge. Dirk Tangent, you know who you are. 197 00:13:53,860 --> 00:13:56,320 So knowledge of vulnerabilities isn't the same as being able to 198 00:13:56,320 --> 00:13:58,240 spot them in your own code and especially not in the code of 199 00:13:58,240 --> 00:14:02,060 others. Nobody wants to hear that they write code less 200 00:14:02,060 --> 00:14:05,320 secure than IE, right? Everyone trashes the browser and, oh, 201 00:14:05,340 --> 00:14:07,880 my God, that thing is a pile of shit. I can't believe it crashed 202 00:14:07,880 --> 00:14:10,660 when I went to Disney.com. Why are we going to Disney.com? 203 00:14:10,860 --> 00:14:15,000 That's not important. It crashed. And nobody wants to hear 204 00:14:15,000 --> 00:14:18,100 that if somebody was doing something equally malicious to 205 00:14:18,100 --> 00:14:21,220 your application that it would fall over. The one thing they 206 00:14:21,220 --> 00:14:22,260 have going for them is that they'd blind 207 00:14:22,360 --> 00:14:26,100 exploitation is virtually impossible. So they really have 208 00:14:26,100 --> 00:14:28,600 to worry about some sort of insider. But taking things down 209 00:14:28,600 --> 00:14:32,080 is very trivial. The one thing I will say for the games 210 00:14:32,080 --> 00:14:35,440 industry, at least they don't say cyber without meaning chat 211 00:14:35,440 --> 00:14:39,840 sex. That is bullshit. Stop doing it. We can fight this 212 00:14:39,840 --> 00:14:50,120 together. Yeah. Down with cyber as a single word. Okay. So what 213 00:14:50,120 --> 00:14:52,080 are some of the techniques and types of things that people do to 214 00:14:52,080 --> 00:14:52,220 cheat? 215 00:14:52,360 --> 00:14:57,340 Blind scripting. This is things like writing a script to emit key 216 00:14:57,340 --> 00:15:01,060 strokes. This is about as basic as it gets. You're just throwing 217 00:15:01,060 --> 00:15:06,960 input. Screen scraping and scripting. Auto it. If you're 218 00:15:06,960 --> 00:15:08,400 not familiar with auto it, go check it out. It's pretty cool. 219 00:15:08,600 --> 00:15:12,400 I've seen some amazing things for EVE that actually would 220 00:15:12,400 --> 00:15:15,900 account for the background color of the environment you were in to 221 00:15:15,900 --> 00:15:22,040 adjust the OCR to tell what the statistics were. And people have 222 00:15:22,040 --> 00:15:28,540 spent thousands of man hours trying to work around it in this way. And it's 223 00:15:28,540 --> 00:15:33,340 really the tool of the layman. Right? You can get so much more done more 224 00:15:33,340 --> 00:15:38,980 quickly elsewhere. Obviously the most direct, just reach in and touch 225 00:15:38,980 --> 00:15:44,780 memory. Go read state that's already there. Go modify state. That sort of 226 00:15:44,780 --> 00:15:47,580 thing. If you've ever had a game genie when you were a kid, same thing. 227 00:15:47,680 --> 00:15:51,700 It just locked a piece of memory. You can do the same sort of thing in modern PC 228 00:15:51,700 --> 00:15:56,080 games. So all of these are thwarted with a very simple are you there? 229 00:15:57,160 --> 00:16:01,380 Either by manually initiated by a game master or with some sort of 230 00:16:01,380 --> 00:16:05,840 automated query, which of course can be thwarted if it's 231 00:16:05,840 --> 00:16:09,440 automated. But asking people to do something semi-intelligent 232 00:16:09,980 --> 00:16:14,280 like basic math or name the color of something. That sort of 233 00:16:14,280 --> 00:16:18,520 thing. All of these make it very easy to detect when someone is 234 00:16:19,380 --> 00:16:19,900 automating. 235 00:16:21,820 --> 00:16:30,200 So the ways in which you tend to see things actually be exploited are actual 236 00:16:30,200 --> 00:16:34,820 takedowns in the form of like a classic exploitation with like a buffer overflow or 237 00:16:34,820 --> 00:16:39,960 numeric condition. And more common in actual use is taking advantage of race conditions 238 00:16:39,960 --> 00:16:46,340 and state flaws. Specifically any kind of item dupe is just because you've managed to 239 00:16:46,840 --> 00:16:51,360 add an item to another character without having it removed from yourself and then somehow 240 00:16:51,700 --> 00:16:54,900 ensuring that your character is not saved in that state where the item has been removed. 241 00:16:55,820 --> 00:17:02,420 We actually saw that some people tooling around with the Warhammer protocol were actually 242 00:17:02,420 --> 00:17:08,260 understood it better than some of the engineers in house. They were able to craft specific packets 243 00:17:08,260 --> 00:17:13,200 to ensure that such and such in zone 3 and such and such in zone 4 could transfer an item and 244 00:17:13,200 --> 00:17:17,780 then zone 3 guy would be replaced with some guy that was actually already logged on in zone 5 and 245 00:17:17,780 --> 00:17:21,600 he actually booted him off. And now you've got two people wielding 246 00:17:21,700 --> 00:17:25,500 the plus two sort of ownage which then sells for a million gold in the auction house which 247 00:17:25,500 --> 00:17:32,280 they then sell to you for $9.99. So I don't actually know where you can get a million 248 00:17:32,280 --> 00:17:38,160 gold for $9.99, don't ask. So some other things that people like to do, packet injection 249 00:17:38,640 --> 00:17:45,260 and sniffing. Sniffing way more popular. It's almost impossible to detect unless you're 250 00:17:45,260 --> 00:17:49,700 actually looking for someone running some sort of monitoring tool on the same box. You can 251 00:17:49,700 --> 00:17:51,600 put it on another box. Problem solved. 252 00:17:52,180 --> 00:17:58,640 So the way you thwart that, use SSL. Doesn't actually have to be, you know, incredibly strong. 253 00:17:58,740 --> 00:18:03,200 It just makes it so that you have some way of verifying that contents originated with you. 254 00:18:04,900 --> 00:18:10,340 What that does is forces the attacker to come into the client where you actually have some 255 00:18:10,340 --> 00:18:14,400 programmatic control and you can actually tell what's going on, how they're developing their 256 00:18:14,400 --> 00:18:18,620 tool. You can actually watch them as they do it. Also this poor camera guy, have you been 257 00:18:18,620 --> 00:18:20,660 drinking, sir? Or are you just really bored? 258 00:18:21,840 --> 00:18:23,300 Oh, fuck you, too. 259 00:18:27,440 --> 00:18:34,060 So an account theft. People will often fish, spearfish, whatever, get a key logger 260 00:18:34,060 --> 00:18:38,580 onto your system. They'll actually say, hey, this is a tool that will help you earn a million 261 00:18:38,580 --> 00:18:45,540 gold, download it, run it. And then it doesn't work. Or maybe it does. And next thing you know, 262 00:18:45,560 --> 00:18:50,760 your account is empty and your perps have been sharded. It's actually the most common attack 263 00:18:50,760 --> 00:18:51,400 that we saw. 264 00:18:55,520 --> 00:19:03,780 So what does BioWare currently field for MMOs? Ultima Online. Yeah, it's true. They didn't write 265 00:19:03,780 --> 00:19:10,260 it, but they maintain it. There is a full-time engineering team still writing code for this 266 00:19:10,260 --> 00:19:17,060 12-year-old 2D game. No shit. Dark Age Camelot is going to be nine years old this month, 267 00:19:17,060 --> 00:19:21,680 actually. Warhammer Online, three years old. Star Wars Old Republic. No shit. It's going to be 268 00:19:21,680 --> 00:19:25,620 never actually going to release. Not ever. Yes, I know Duke Nukem Forever has been canceled. 269 00:19:25,740 --> 00:19:35,020 That's what makes this especially delicious. It's never coming out. In reality, the guys working 270 00:19:35,020 --> 00:19:41,820 on this game down in Austin are doing a kick-ass job. They've fucked up a lot of things, but it's 271 00:19:41,820 --> 00:19:50,000 getting better. And some of the guys at BioWare in Virginia are pitching in, which is the office I 272 00:19:50,000 --> 00:19:51,660 worked at, are pitching in and are helping you get the MMOs out of your system. So that's kind of 273 00:19:52,920 --> 00:19:55,300 what's going to happen. It's actually going to be pretty good. I know I trash talk a lot. I'm 274 00:19:55,300 --> 00:20:03,800 sorry. So this has actually happened to multiple game companies. We know this because other 275 00:20:03,800 --> 00:20:09,260 people have asked us how we dealt with it. Website got owned. Either it was like some sort 276 00:20:09,260 --> 00:20:16,980 of PHPB type crap hosting forums or whatever forum software resulted in some sort of SQL 277 00:20:16,980 --> 00:20:21,640 injection. It was actually then used to escape. The box got rooted with an LPE. And then it got 278 00:20:21,660 --> 00:20:26,100 hacked. And now the damn thing is hosting viruses. You click on a news link and you're owned. 279 00:20:28,480 --> 00:20:33,060 Defense in Depth actually saved the day on this one. While we did manage to infect thousands of 280 00:20:33,060 --> 00:20:39,920 customers with viruses, we did also protect all of the critical information, including game 281 00:20:39,920 --> 00:20:43,680 database, credit card billing information, that sort of thing. So they didn't actually really get 282 00:20:43,680 --> 00:20:48,080 anything useful until they got you to install the key logger on your system and then they got it 283 00:20:48,080 --> 00:20:51,640 from you and not from us. So, yeah. So that's kind of what's going to happen. We're going to be 284 00:20:52,080 --> 00:20:58,860 working on that. It actually worked amazingly. So this one is my favorite. Like a lot of people, 285 00:20:59,520 --> 00:21:07,360 you know, I'm introduced to this monolithic decade old code base and told, okay, go ahead and 286 00:21:07,360 --> 00:21:12,460 implement this feature. And so it took a little while to get familiar. And like some people in 287 00:21:12,460 --> 00:21:15,800 this room I'm sure, the way I got familiar with it was just with a source audit. Just read 288 00:21:15,800 --> 00:21:20,220 through, look at it. And I guess I didn't really intend it to start that way, but that's how it 289 00:21:20,220 --> 00:21:20,540 wound up. 290 00:21:21,680 --> 00:21:26,240 And find a bug here, find a bug there. Hey, look, if someone's playing around with the 291 00:21:26,240 --> 00:21:29,480 protocol, they're going to be able to take it on the server. I've got a slide for that one, too. 292 00:21:29,960 --> 00:21:35,940 And until I found this one. And it was actually you could type a command and crash the 293 00:21:35,940 --> 00:21:41,740 server. And how this got by QA, I do not know. I'd like to think that he was in one of the 294 00:21:41,740 --> 00:21:51,640 layoffs, hopefully. But how did it get into the code? Some dipshit wrote it. So I'm going to 295 00:21:53,900 --> 00:21:59,900 check it. No, you have a follow-up question? I saw you put your hands up. Yes. So specifically it 296 00:21:59,900 --> 00:22:04,260 was just an unsigned signed comparison. Not checking that A to I, you know, actually returned 297 00:22:04,260 --> 00:22:12,220 negative numbers. It would use a signed index to index into an array. Crash. Fortunately, after 298 00:22:12,220 --> 00:22:16,040 the discovery, we started tracking it down, it turned out it was only in a GM command. So there 299 00:22:16,040 --> 00:22:21,140 was no immediate threat. But there are there's also historically been pretty terrible 300 00:22:21,660 --> 00:22:30,360 control on who has GM accounts. So this one is pretty awesome. Imagine, if you will, a 301 00:22:30,360 --> 00:22:37,500 structure that has a length ‑‑ okay. What the fuck, man? He's supposed to be a goon 302 00:22:37,500 --> 00:22:43,340 like helping me out and attacking me. Imagine if you will a structure that contains a 4 303 00:22:43,340 --> 00:22:48,960 byte length sitting at the front of a message and the remainder is used to store data. That 304 00:22:48,960 --> 00:22:57,340 means the length is specified by the client on the wire. Why do we do that? I don't know. But 305 00:22:57,340 --> 00:23:03,960 to change it apparently would break everything ever. So we essentially worked around it, 306 00:23:04,880 --> 00:23:10,120 ensuring that nothing would be received more than that and checking some length boundaries. But 307 00:23:10,120 --> 00:23:16,180 why we still let the client specify how much data is coming in in that fashion for a copy, I 308 00:23:16,180 --> 00:23:18,940 have no idea. And, of course, dest is the same thing. It's the same thing as the 309 00:23:18,940 --> 00:23:23,400 fixed size buffer. Actually lots of function pointers hanging out right after that. So it was 310 00:23:23,400 --> 00:23:29,840 pretty easy to actually do a quick POC. So. And, yeah, like I said, no O day. This has been 311 00:23:29,840 --> 00:23:40,160 fixed. So don't try this at home. Okay. So trial accounts. I mentioned earlier that we give 312 00:23:40,160 --> 00:23:44,840 away accounts to people who just ask ‑‑ they don't even have to ask nicely. They just ask. 313 00:23:45,220 --> 00:23:48,920 And the majority of trial accounts ‑‑ and I'm not going to go into too much detail on this. 314 00:23:48,920 --> 00:23:56,640 That's not 51%. That's like 85%. The majority of trial accounts belong to spammers and gold 315 00:23:56,640 --> 00:24:03,040 sellers. 10% of all accounts ‑‑ of all trial accounts created in a three‑month period belong 316 00:24:03,040 --> 00:24:09,600 to one IP. We assume that this is a sort of cafe because big surprise, you reverse it. Oh look, 317 00:24:09,680 --> 00:24:17,080 it's in China. Supplies. These accounts then get used to actually do the spamming and advertising 318 00:24:17,080 --> 00:24:18,900 for the gold that they're stealing from you. You don't get a lot of money from it. So if you're in the 319 00:24:18,900 --> 00:24:22,000 with the key loggers that they got to install on your system when you went and clicked on 320 00:24:22,000 --> 00:24:28,260 the link in the forum software. It's actually pretty sophisticated, pretty cool. Just really 321 00:24:28,260 --> 00:24:33,420 unfortunate that we were on the receiving end of it. So we suddenly started getting 322 00:24:34,320 --> 00:24:39,620 reports of players' accounts being emptied. And people are saying, well, I haven't played 323 00:24:39,620 --> 00:24:44,660 in X and Y months. There's no way that they got it from me and such and such. I didn't 324 00:24:44,660 --> 00:24:50,440 empty my account. So what we actually saw was that that same IP that had registered 325 00:24:50,440 --> 00:24:59,440 10% of the trial accounts would slowly, over time, log into a bunch of high level accounts. 326 00:24:59,740 --> 00:25:03,120 They would log in once, they would be there for about a minute or two and then log off. 327 00:25:03,440 --> 00:25:08,860 And then six, eight, nine months down the road, they would log on and transfer gold 328 00:25:08,860 --> 00:25:14,560 in one million increments to some random string of characters. 329 00:25:15,600 --> 00:25:19,320 Who would then, in turn, transfer it on to someone else. I don't know why they thought 330 00:25:19,320 --> 00:25:22,100 that was going to throw us off the trail when we have a fucking text log of what's going 331 00:25:22,100 --> 00:25:30,000 on, but they did. So what we suspect was that things were being harvested through key 332 00:25:30,000 --> 00:25:34,040 loggers, since we specifically checked how many failed authentication attempts happened 333 00:25:34,040 --> 00:25:38,720 against these accounts that were emptied. Zero. By and large, zero. Sometimes occasionally 334 00:25:38,720 --> 00:25:44,540 you'd find one, but it was from the real IP. So we assumed there was a kind of a 335 00:25:44,560 --> 00:25:48,240 was no brute forcing unless they were managing to do it in some incredibly stealthy way that 336 00:25:48,240 --> 00:25:55,420 evaded us knowing when they make a TCP connection. We suspect they were coming in and inventorying 337 00:25:55,420 --> 00:26:01,320 high level characters. And then once someone had made a request for gold, they would log 338 00:26:01,320 --> 00:26:05,520 back on to the character who they already knew how much they had and they would transfer 339 00:26:05,520 --> 00:26:08,660 it out in a million at a time. And actually my favorite thing was when you ordered more 340 00:26:08,660 --> 00:26:14,480 than a million, they would send you 1 million 1, 1 million 2, 1 million 3 so that you knew 341 00:26:14,480 --> 00:26:20,680 which thing was a batch of how many millions you had received. It just seemed incredibly 342 00:26:20,680 --> 00:26:27,140 pragmatic and like they're clearly business minded about it. So again, like I said, same 343 00:26:27,140 --> 00:26:30,980 IP. Not really that amazing. So we suspect it was actually a pretty large group. 344 00:26:32,140 --> 00:26:38,640 So how bad is it outside of where I actually got an inside peek? Senior producer over at 345 00:26:38,640 --> 00:26:44,460 CCP says we don't trust the client. Blizzard trusted their client and looked at it and 346 00:26:44,460 --> 00:26:48,560 look at the mess they're in. They're talking about wow glider, having to go and engage 347 00:26:48,560 --> 00:26:56,440 in real litigation to deal with a game being hacked. I mean really? I guess their paranoia 348 00:26:56,440 --> 00:27:02,420 is why I was able to inject Python and make the whole thing dance. Clearly they're doing 349 00:27:02,420 --> 00:27:14,440 something right. So there are a bunch of tools in the wild that things are actually being used. First one is all these 350 00:27:14,460 --> 00:27:20,220 auto Eve. Anybody who happens to follow my Twitter account, you've probably seen this. I 351 00:27:20,220 --> 00:27:23,400 may actually post up another link to it after I make sure it works in the latest version. 352 00:27:24,160 --> 00:27:29,860 It's just straight up Python injection. It does actually use V trace right now but could 353 00:27:29,860 --> 00:27:36,700 just as easily use something like debug help. Injects Python code and has a semi-sophisticated 354 00:27:37,380 --> 00:27:43,620 script for mining and automated travel and such. So my favorite story about this is that 355 00:27:44,560 --> 00:27:49,300 someone actually here in the crowd, if you've seen a guy running around with a thing to shirt 356 00:27:49,300 --> 00:27:55,920 on, he went and interviewed at CCP. And they looked at his resume and they said, oh, you're 357 00:27:55,920 --> 00:28:02,140 from Virginia. Okay. You're in the security industry. Have you played around with any, like, 358 00:28:02,140 --> 00:28:07,980 you know, hacking tools or game hacking before? And he replied kind of like a cautious yes. 359 00:28:08,580 --> 00:28:14,440 And they said, do you know Metro? So remember how I said they know Metro. They 360 00:28:14,440 --> 00:28:18,880 know when you're working on something. I promise. Now, of course, they've never done anything 361 00:28:18,880 --> 00:28:27,500 to me or retaliated in any way after this talk that may change. Oh, well. The tool is especially 362 00:28:27,500 --> 00:28:33,040 cool. It uses their own APIs. It's especially brittle because every time some programmer at 363 00:28:33,040 --> 00:28:37,640 CCP decides they want to change their API, I have to go change and use it and I don't have 364 00:28:37,640 --> 00:28:43,940 their docs. CCP, like a lot of other gaming companies, is hiring security professionals. They 365 00:28:43,940 --> 00:28:44,420 have slots. They have security professionals. They have security professionals. They have 366 00:28:44,440 --> 00:28:52,920 slots for people who are dedicated security personnel including code hardening and architectural 367 00:28:54,660 --> 00:28:58,640 approaches. It's changing. So if you're looking to get into games, you know, get your resume 368 00:28:58,640 --> 00:29:01,420 out there. There's actually a good chance right now in the hiring blitz that you can get in. 369 00:29:02,900 --> 00:29:12,300 And of course, like I said, came up just even in casual conversation. This is one of the more 370 00:29:12,860 --> 00:29:18,040 depressing things. I'd like to think that hackers out there are pretty sharp and pretty 371 00:29:18,040 --> 00:29:23,640 brilliant. This guy, this isn't the real name of the tool. I just didn't even want to give 372 00:29:23,640 --> 00:29:27,500 this guy the fucking hits from Google as he went and looked for it. You can find it if 373 00:29:27,500 --> 00:29:32,960 you're looking for it. It's just a simple scripting tool. And he bothered to XOR the 374 00:29:32,960 --> 00:29:39,160 strings used in get proc address for read memory, write memory. Because that took me a 375 00:29:39,160 --> 00:29:43,920 whole extra 90 seconds in IDA rather than just looking at the import table to just start the 376 00:29:43,920 --> 00:29:49,960 damn thing up and watch where he calls read and write process memory from. He of course went 377 00:29:49,960 --> 00:29:54,000 for direct reading and writing of memory. It actually was a pretty sophisticated little 378 00:29:54,000 --> 00:30:00,240 tool, did a good job. But if you're going to bother hardening it, at least make it fun for the 379 00:30:00,240 --> 00:30:06,620 guy who's going to be looking at it. This is nonsense. So undetectable, again, not the 380 00:30:06,620 --> 00:30:09,140 real tool name. This was something that was in the tool name for the first time. So it was 381 00:30:09,140 --> 00:30:14,160 someone who touted on his cheat and hack forum that he had come up with a way that he could 382 00:30:15,500 --> 00:30:21,460 manipulate the client in such a way that it would be 100% undetectable. There's no way that any of 383 00:30:21,460 --> 00:30:26,660 the engineers could ever figure out that you were running his hack. Except that all it did was 384 00:30:26,660 --> 00:30:32,800 register as a debugger. For anybody who's not familiar, there's a goddamn API call to tell 385 00:30:32,800 --> 00:30:39,120 when you're attached to a debugger. So we, having fun, we had a little bit of fun with the 386 00:30:39,140 --> 00:30:43,220 crash. Decided that we would let him continue development and let him continue to make this 387 00:30:43,220 --> 00:30:49,580 claim. And actually watch him as he logged on and in the different and interesting ways he 388 00:30:49,580 --> 00:30:57,020 would crash his client. So once he had distributed the latest version of his tool, and he 389 00:30:57,020 --> 00:31:01,880 said, you're absolutely undetectable, I've been running it for weeks and months, they're not 390 00:31:01,880 --> 00:31:06,820 catching me at all. We would let him distribute it for a week, and then we'd ban everybody that 391 00:31:06,820 --> 00:31:09,120 used it. And then this one guy, who was the biggest expert, he said, you're just a lot of 392 00:31:09,120 --> 00:31:13,580 is sitting there, I'm totally undetectable. I don't know how you got caught. We know, we 393 00:31:13,580 --> 00:31:18,780 just also know you're the tool developer. And so eventually you go through a couple cycles 394 00:31:18,780 --> 00:31:21,860 of this where you say, okay, okay, I changed something. Don't worry. You're undetectable 395 00:31:21,860 --> 00:31:27,060 again. Let them distribute it. Everybody gets banned. People stop going to a site and 396 00:31:27,060 --> 00:31:29,720 downloading this tool. It was actually pretty effective. 397 00:31:38,740 --> 00:31:41,520 So what are some of the mechanisms you're going to have to look out for when you 398 00:31:41,520 --> 00:31:44,660 inevitably decide you want to go home and write a hack for your favorite online game? 399 00:31:45,360 --> 00:31:50,700 Memory checksums. If you've ever tried to poke memory in a Warcraft client, you'll know that 400 00:31:50,700 --> 00:31:57,200 it won't even let you log on if you've modified it. I promise you the trick of logging on and 401 00:31:57,200 --> 00:31:59,700 then modifying it, and it seems to be okay, but it's not. It's not going to work. It's 402 00:31:59,720 --> 00:32:06,480 they're watching. But who cares? Timing. When you're in a debugger, anything gets paused or 403 00:32:06,480 --> 00:32:14,980 stopped for a ‑‑ did you bring enough to share, sir? No? Okay. In the future, please. 404 00:32:16,760 --> 00:32:21,840 Timing. So looking at the differential between any two API calls, if there's a debugger 405 00:32:21,840 --> 00:32:25,680 sitting in the middle, like somebody has in the middle of that, you're going to be able to 406 00:32:25,680 --> 00:32:29,420 notice that it took a second and a half instead of the normal millisecond and a half between 407 00:32:29,720 --> 00:32:36,260 said API calls. These are pretty easily detectable when you're looking for them. Get tick count 408 00:32:36,260 --> 00:32:42,320 is not usually used for a whole lot of other things. Anti‑debugging measures. Just crashing 409 00:32:42,320 --> 00:32:49,640 or closing in totally random nonsense ways when you detect that there is a debugger. Cheat 410 00:32:49,640 --> 00:32:54,340 detection shouldn't stop the cheat. If you want to actually be effective at catching the person 411 00:32:54,340 --> 00:32:59,700 that's doing it, you let them do it. You let them see ‑‑ let them actually develop the 412 00:32:59,700 --> 00:33:04,420 tool, watch what they're doing, and then figure out a new and interesting way to make their life 413 00:33:04,420 --> 00:33:09,840 extremely difficult. My favorite is the now industry standard of ‑‑ you never store 414 00:33:10,360 --> 00:33:14,840 pointers to strings that appear on the screen directly on your data structures. And the 415 00:33:14,840 --> 00:33:19,160 obvious reason for that is when I am looking for a toe hold in a data structure that's 416 00:33:19,160 --> 00:33:24,240 somewhere in this, you know, 700 megabyte heap, I look for things that I see on my screen. 417 00:33:24,340 --> 00:33:29,460 Maybe it's my character name, maybe it's the name of an item, that sort of thing. They would 418 00:33:29,460 --> 00:33:34,860 actually store pointers to pointers to pointers or just pointer pointers. And essentially 419 00:33:34,860 --> 00:33:40,300 causing a ‑‑ causing it to be incredibly difficult to work backward from the string to the 420 00:33:40,300 --> 00:33:46,020 original data structure when you're just in this morass of nonsense. And then actually 421 00:33:46,020 --> 00:33:53,200 managing your bottom line as it regards cheats is just effective PR. Tell people what's going 422 00:33:53,200 --> 00:33:58,940 on. The players will understand. Well, some of them will. But, I mean, there's always the troll. 423 00:33:59,460 --> 00:34:03,980 And then be quick in your turnaround once you've announced that there's an issue. You need to be 424 00:34:03,980 --> 00:34:13,080 agile. The one thing gamers aren't is patient. So. You can take the route Blizzard took to 425 00:34:13,080 --> 00:34:17,620 mitigate things. Write your own goddamn root kit. This is actually pretty effective at spotting 426 00:34:17,620 --> 00:34:22,220 apps that they know they're looking for. It's the warden. If anybody's not familiar with it, 427 00:34:22,280 --> 00:34:26,180 Hoagland has actually done a pretty good write up on it a couple years ago. It's changed since 428 00:34:26,180 --> 00:34:29,440 then. But it's, you know, still in the right area. So, you know, I think it's a really good 429 00:34:29,440 --> 00:34:35,920 read up. Then there are game play workarounds for impossible problems. There is no way that you 430 00:34:35,920 --> 00:34:41,800 can write a client where you can update state when someone whips their view around to look 431 00:34:41,800 --> 00:34:46,180 behind them in a 180, send them that information on demand, have it arrive in a timely manner, 432 00:34:46,360 --> 00:34:51,100 and continue processing. And thus obfuscating things that they should not be able to see on 433 00:34:51,100 --> 00:34:56,880 their screen. People write tools that will snarf the data for all of the surrounding characters 434 00:34:56,880 --> 00:35:01,780 and objects and display it on a radar. How do you stop that if you have to send the data? 435 00:35:01,920 --> 00:35:07,020 Give everybody radar. Level the playing field. Sure, it removes immersion, but it also means 436 00:35:07,020 --> 00:35:11,900 you don't have cheaters actually winning all the time. It doesn't become a mandatory thing to 437 00:35:11,900 --> 00:35:19,200 do to win at your favorite game. And then psychological warfare. Like I said before, leave 438 00:35:19,200 --> 00:35:29,320 the developers alone, ban their users, their users will abandon them. How can the very 439 00:35:30,540 --> 00:35:39,880 stressed, already overworked, underscheduled industry improve? Power assist. Source 440 00:35:39,880 --> 00:35:46,500 analysis. There are open source and academically provided, there are commercial tools for 441 00:35:46,500 --> 00:35:49,180 source analysis that would catch a whole band of你們. If the developers leave the game using 442 00:35:49,180 --> 00:35:54,960 bevy of really stupid shit that I found manually and I'm sure I missed other stuff in my hurry 443 00:35:54,960 --> 00:36:01,280 to scroll things down on a piece of paper. Basic fuzzing, it's worth it. Internal red 444 00:36:01,280 --> 00:36:05,200 teaming as you develop a security staff, they need stuff to do when they're not responding 445 00:36:05,200 --> 00:36:13,340 to incidents, be proactive. Educate the remainder of your developer base. At least get them 446 00:36:13,340 --> 00:36:20,440 in the habit of using secure APIs. Stir and copy where you provide a strlen of the incoming 447 00:36:20,440 --> 00:36:24,860 string does not actually do anything for you and it would be great if way more people understood 448 00:36:24,860 --> 00:36:31,660 that. But it says I can't use stir copy. And can I at least get somebody to write up a 449 00:36:31,660 --> 00:36:36,600 decent threat model for an online game? They just don't even ‑‑ they can't conceive 450 00:36:36,600 --> 00:36:41,680 of all of the things that have been going wrong for other people for the last decade 451 00:36:42,080 --> 00:36:43,320 because they just haven't had to worry about it. 452 00:36:43,320 --> 00:36:48,560 And then balancing code quality and release time. Realize that when there is a large‑scale 453 00:36:48,560 --> 00:36:54,460 exploit, it actually will alienate your user base. And ultimately your user base are the 454 00:36:54,460 --> 00:37:00,800 people that continue to decide to pay you $15 every month for making their monitor look 455 00:37:00,800 --> 00:37:04,880 the way they want it to look. Ultimately it's entertainment dollars and people will spend 456 00:37:04,880 --> 00:37:11,940 them elsewhere if they're not having fun anymore. So why want to get better? Mostly because 457 00:37:13,320 --> 00:37:20,420 it's actually way cheaper to have CSRs fix the things that result from hacks than to actually 458 00:37:20,420 --> 00:37:25,860 close all the vectors. This remains true in other industries, I imagine. But it's definitely 459 00:37:25,860 --> 00:37:33,460 true in an industry where people will beg and practically work for free to be CSRs. And 460 00:37:33,460 --> 00:37:36,180 these are ‑‑ you might be, you know, qualified at something else but choose to 461 00:37:36,180 --> 00:37:43,300 work in a game position and so they'll take their $10 an hour pay. The bad news is that, 462 00:37:43,320 --> 00:37:50,800 even if you beef up your introspection of your own code, you have people dedicated to 463 00:37:50,800 --> 00:37:55,180 red teaming and fuzzing, there may not actually be anything there to find. There probably is 464 00:37:55,180 --> 00:38:00,780 but there may not be. And so you have no quantifiable result to pass on to a board 465 00:38:00,780 --> 00:38:04,220 that's reviewing your expenses. Why did I give you all this money to review this code? 466 00:38:04,280 --> 00:38:09,160 You didn't even find anything. I guess we're just really good at writing code. And then 467 00:38:09,160 --> 00:38:13,280 measuring the true cost of lost reputation is actually ‑‑ you know, it's a little 468 00:38:13,280 --> 00:38:13,300 it actually is. And then measuring the true cost of lost reputation is actually ‑‑ you 469 00:38:13,320 --> 00:38:16,600 know, really difficult. And there's no ‑‑ there's not a whole lot of awareness and there's 470 00:38:16,600 --> 00:38:23,980 no good formula for figuring out how much getting owned actually hurts you. And of course, 471 00:38:24,020 --> 00:38:27,100 if you have cheaters, that means you can ban them and then say you banned them and 472 00:38:27,100 --> 00:38:31,460 everyone rejoices. Because even if you were to tell everyone, hey, guys, there are no 473 00:38:31,460 --> 00:38:34,260 cheaters, we've stamped them all out, no one is going to believe you because the guy that 474 00:38:34,260 --> 00:38:42,260 just beat them is obviously cheating. There's also the principle that there's no such thing as bad 475 00:38:42,260 --> 00:38:46,480 press. This is especially true ‑‑ I don't know if anybody in here actually plays Warhammer, 476 00:38:47,220 --> 00:38:54,600 but if you do, you probably had your checking account or credit card billed to about zero a 477 00:38:54,600 --> 00:39:00,280 couple months ago. This was all over gaming news. And it turned out that this giant snafu with 478 00:39:00,280 --> 00:39:04,260 the credit card processor wasn't our fault, was not actually our fault. It was the credit card 479 00:39:04,260 --> 00:39:10,380 processor. This giant snafu actually resulted in more subscribers as people ‑‑ thank you very 480 00:39:10,380 --> 00:39:12,240 much ‑‑ as people ‑‑ I just want to add this to the audience, if you want to get up to 481 00:39:12,600 --> 00:39:16,860 about it, read it in their favorite gaming news websites. They said, hey, you know, I 482 00:39:16,860 --> 00:39:19,900 meant to try out that Warhammer gamer. Man, I should really resub. And our sub numbers went 483 00:39:19,900 --> 00:39:24,820 up when in fact we had seriously just billed people thousands of dollars and took four days 484 00:39:24,820 --> 00:39:32,240 to get it back to them. Yeah. So last slide, which is good because I was just told I have 485 00:39:32,240 --> 00:39:40,120 ten minutes. I lied. There are shout outs. Camera guy is really happy that we're done. He 486 00:39:40,120 --> 00:39:44,000 just wanted to say you guys right here in the front row, the guys that couldn't be here, 487 00:39:44,120 --> 00:39:51,280 the guys who helped me run CTF, help me. We all ran it as a team. You're awesome. Yes, fuck 488 00:39:51,280 --> 00:39:55,760 you, too. Nurse Betty, that's the hot blonde up here. She's put up with my shit all weekend. 489 00:39:56,780 --> 00:40:00,720 You'll see her on the way out, I promise. DD Tech, you guys have done an awesome job taking 490 00:40:00,720 --> 00:40:04,080 over for us. I don't know if they're in here, if any of them are here. But they've done an 491 00:40:04,080 --> 00:40:09,000 awesome job. If you see them, congratulate them. They are finally seeing how much work it is 492 00:40:09,000 --> 00:40:10,020 to run CTF. 493 00:40:10,120 --> 00:40:15,540 And I hope they stick through it. Don't break our record. But, you know, go another year 494 00:40:15,540 --> 00:40:19,780 or two. And then the goons, you guys have been really, really awesome with me this weekend, 495 00:40:20,040 --> 00:40:23,400 especially you guys running around at the last minute trying to find me adapters and 496 00:40:23,400 --> 00:40:27,400 getting me set up with all this shit. I'm an idiot. I fail logistics just like every 497 00:40:27,400 --> 00:40:33,000 other nerd. So that's it for me, though. Does anybody have any questions before we 498 00:40:33,000 --> 00:40:38,960 have to give up the room for closing ceremonies? Not a one. Oh, one right here. Oh, I'm sorry. 499 00:40:39,120 --> 00:40:40,100 Yeah. Right here in the back. 500 00:40:40,120 --> 00:40:40,660 . 501 00:40:56,120 --> 00:41:03,760 No, to be honest, I'm ‑‑ what's that? I'm sorry. Oh, yeah, I'm sorry. The question 502 00:41:03,760 --> 00:41:08,580 was whether or not I was aware of RSA dump and whether I looked into it at all. Does that sum 503 00:41:08,580 --> 00:41:09,000 up your question? 504 00:41:09,180 --> 00:41:09,460 . 505 00:41:10,480 --> 00:41:17,800 Oh, you say dongle? Yeah, well, so that would ‑‑ yeah, okay. So just like Blizzard 506 00:41:17,800 --> 00:41:21,280 is doing with their real ID program, they're sending out their dongles. Okay. So the question 507 00:41:21,280 --> 00:41:25,000 was had I heard of RSA dongles and had we looked into them. The problem is the expense. 508 00:41:26,420 --> 00:41:31,680 Yeah. So they are getting cheaper. Except for when you have a ‑‑ unless you're 509 00:41:31,680 --> 00:41:36,340 willing to immediately pass that up front cost on to the customer or you have some assurance 510 00:41:36,340 --> 00:41:40,100 that they're going to continue for a while, it's tough to make that argument. It's going 511 00:41:40,100 --> 00:41:43,100 to be tough to make that argument with bean counters. Because like I said, it's actually 512 00:41:43,100 --> 00:41:47,320 to them, it's cheaper. They're paying those CSRs to do their job anyway. And if we need 513 00:41:47,320 --> 00:41:52,140 one more, sure, let's just get him for another 20 grand a year as opposed to that. I agree. 514 00:41:52,280 --> 00:41:55,200 I think that's actually a good solution and I bet customers would be happy for it. But 515 00:41:55,200 --> 00:41:59,220 I don't see it actually happening because it's an actual up front cost, which is the 516 00:41:59,220 --> 00:42:04,900 one thing that game companies actually despise. If you can avoid up front cost, it's the way 517 00:42:04,900 --> 00:42:08,800 to go. So I'm sorry. You had one right here? No, behind you. 518 00:42:09,020 --> 00:42:09,380 . 519 00:42:17,000 --> 00:42:26,300 So I was asked if I was affiliated with DFC. I was not, actually. I'm sorry. She looks 520 00:42:26,300 --> 00:42:31,160 so disappointed. Yeah, right here. . 521 00:42:35,640 --> 00:42:36,200 . 522 00:42:36,780 --> 00:42:37,340 . 523 00:42:41,920 --> 00:42:44,380 Okay, . So I was 524 00:42:44,380 --> 00:42:50,620 just asked all of the extra time you spend on anti-cheat stuff, how does that equate 525 00:42:50,620 --> 00:42:54,020 to, or how does that compare to the work to make a Linux client? 526 00:42:55,760 --> 00:42:58,300 And would an open source kernel change that? 527 00:42:59,960 --> 00:43:08,460 So the answer to that is, where I was, we did both. We used trans gaming to do our ports. 528 00:43:09,380 --> 00:43:13,960 And essentially what they do is they shim directX and some of the APIs if you're not 529 00:43:13,960 --> 00:43:14,560 familiar with it. 530 00:43:15,420 --> 00:43:22,020 So to be honest, in terms of actual effort, the port was way easier because trans gaming, 531 00:43:22,240 --> 00:43:27,300 they essentially get a small cut and they do all the work and we just make sure it isn't 532 00:43:27,300 --> 00:43:27,560 broken. 533 00:43:27,840 --> 00:43:31,060 So we used our QA resources and their dev time. 534 00:43:31,440 --> 00:43:37,920 So anybody that's not making a Linux port just doesn't want to give up a cut to trans 535 00:43:37,920 --> 00:43:38,160 gaming. 536 00:43:38,160 --> 00:43:39,540 That's pretty much it. 537 00:43:49,260 --> 00:43:54,200 So the question was, how much does it affect developer work flow when actually working 538 00:43:54,200 --> 00:43:56,120 with these anti-cheat mechanisms? 539 00:43:56,700 --> 00:43:59,440 And the answer is in debug mode, none at all. 540 00:44:00,000 --> 00:44:03,860 When you actually have symbols emitted, you've got everything macroed out that's done a lot 541 00:44:03,860 --> 00:44:04,280 of this stuff. 542 00:44:06,260 --> 00:44:07,740 So in actual ‑‑ 543 00:44:12,000 --> 00:44:13,680 How much of the ‑‑ 544 00:44:15,240 --> 00:44:19,700 Yeah, that sort of stuff actually does get done with C preprocessor foo. 545 00:44:19,820 --> 00:44:21,360 So in debug mode you're totally fine. 546 00:44:21,500 --> 00:44:22,340 Like you don't even notice it. 547 00:44:22,700 --> 00:44:24,580 And it's macros used to access it. 548 00:44:24,700 --> 00:44:27,040 Or they'll be wrapped in C++ wrapper classes, that sort of thing. 549 00:44:28,060 --> 00:44:28,660 Anyone else? 550 00:44:30,300 --> 00:44:31,060 Right here. 551 00:44:31,720 --> 00:44:36,440 How often do you see people actually trying to attack the protocol on the server? 552 00:44:36,580 --> 00:44:37,720 Trying to attack the server for the first time? 553 00:44:45,760 --> 00:44:49,680 So the question was ‑‑ finally got it this time. 554 00:44:50,220 --> 00:44:53,800 The question was how many times do you see people actually attack the protocol versus 555 00:44:53,800 --> 00:44:54,280 the client? 556 00:44:54,580 --> 00:44:58,540 And the answer to that is a lot. 557 00:44:59,220 --> 00:45:01,760 People would just seem to be fuzzing it to fuzz it. 558 00:45:02,100 --> 00:45:05,380 And a lot of our validation code would catch it and throw it out. 559 00:45:05,460 --> 00:45:07,640 And we'd note specific IPs of interest. 560 00:45:07,640 --> 00:45:11,340 And then, like I said, there were actually people that were ‑‑ actually seemed to 561 00:45:11,340 --> 00:45:17,380 know the protocol better than in‑house engineers with some incredibly sophisticated attacks 562 00:45:17,380 --> 00:45:21,780 against the state machine and realizing where characters were saved and how characters were 563 00:45:21,780 --> 00:45:24,380 saved and taking advantage of it for item duplication. 564 00:45:24,740 --> 00:45:32,540 So as a percentage, I would say a third ‑‑ I should say a percentage of effective attacks, 565 00:45:32,760 --> 00:45:33,680 I'd say like a third. 566 00:45:34,080 --> 00:45:36,140 But there was just like noise all the time. 567 00:45:36,140 --> 00:45:39,200 And we've got like a room for like a couple more questions and that's it. 568 00:45:39,260 --> 00:45:39,780 We've got four minutes. 569 00:45:47,380 --> 00:45:51,880 You know, I have not heard of that at BioWare Mythic. 570 00:45:52,640 --> 00:45:53,860 That's not to say it hasn't happened. 571 00:45:54,520 --> 00:45:55,720 I may have just not been involved. 572 00:45:56,060 --> 00:45:57,500 It may have been before my time as well. 573 00:45:57,620 --> 00:45:58,860 I was there for a whole seven months. 574 00:45:59,400 --> 00:46:01,920 So they didn't really involve me in a whole lot of high‑level discussion. 575 00:46:03,000 --> 00:46:03,840 So anyone else? 576 00:46:05,160 --> 00:46:05,780 All right, guys. 577 00:46:05,820 --> 00:46:06,120 Thank you for watching. 578 00:46:06,140 --> 00:46:06,400 Thank you very much.