1 00:00:00,540 --> 00:00:05,960 My name is Ferdinand Chova and I'm a researcher, security researcher to be more precise. 2 00:00:06,860 --> 00:00:12,880 I used to work in the game industry and I took a look at the general state of security in the game industry 3 00:00:12,880 --> 00:00:14,880 and that's the presentation you're going to see today. 4 00:00:15,100 --> 00:00:16,620 It's pretty scary what's out there. 5 00:00:17,740 --> 00:00:23,620 I'll take questions at the end, so if you've got anything that's pressing, please write it down, remember it at the end. 6 00:00:24,740 --> 00:00:26,000 Okay, let's get started. 7 00:00:27,680 --> 00:00:31,980 I want to give you a quick idea of how this talk is going to be structured. 8 00:00:32,300 --> 00:00:36,760 First of all, I'm going to talk about the history of games, which explains kind of the mess we are in. 9 00:00:37,220 --> 00:00:41,140 Then I'm going to give you a quick idea of what the gamers out there are thinking 10 00:00:41,140 --> 00:00:45,980 and if you're a gamer yourself, you probably have a slight idea of what's going on there. 11 00:00:46,040 --> 00:00:48,380 Just out of curiosity, who plays games in here? 12 00:00:50,140 --> 00:00:51,000 That's what I expected. 13 00:00:52,380 --> 00:00:53,480 Yeah, who doesn't? 14 00:00:53,760 --> 00:00:54,160 Anybody? 15 00:00:57,140 --> 00:01:00,760 Then I'm going to talk a bit about the developers that actually make games 16 00:01:00,760 --> 00:01:06,360 because it's interesting to go a bit into their mindset and look at the specific challenges that they actually have 17 00:01:06,360 --> 00:01:07,980 compared to a regular developer. 18 00:01:08,180 --> 00:01:10,900 It's not too vastly different, but it's interesting to look at. 19 00:01:11,180 --> 00:01:15,820 The next step is what is crystallizing to become game engines. 20 00:01:16,180 --> 00:01:22,340 Think of it like the backbone of the game that in the future will be shared between multiple games 21 00:01:22,340 --> 00:01:24,540 for mostly financial reasons. 22 00:01:25,540 --> 00:01:30,500 Then, obviously, once you see how bad this is, the question is, what do we actually get from it? 23 00:01:30,700 --> 00:01:31,100 Profit. 24 00:01:33,040 --> 00:01:39,020 And then I'm going to take a quick look at the malware that's out there, which is quite interesting and very surprising. 25 00:01:39,820 --> 00:01:42,580 And then I'm going to go into what I call Games 2.0. 26 00:01:42,620 --> 00:01:45,280 You'll see what that is in a bit. 27 00:01:45,880 --> 00:01:50,280 And then I'm going to go into an exercise in exploits. 28 00:01:50,600 --> 00:01:53,900 The thing to note about here, I kind of like neutered this 29 00:01:53,900 --> 00:01:54,360 because 30 00:01:54,540 --> 00:01:57,480 I didn't want to go into anything that you could really replicate out there 31 00:01:57,480 --> 00:01:58,760 because it will just get me in trouble. 32 00:02:00,020 --> 00:02:00,500 Sorry. 33 00:02:03,220 --> 00:02:03,700 Okay. 34 00:02:03,820 --> 00:02:07,420 The clarifications before I go into the talk is 35 00:02:07,420 --> 00:02:09,780 I will be talking about PC games. 36 00:02:09,920 --> 00:02:12,200 So if you have been thinking about your console, sorry, 37 00:02:12,320 --> 00:02:15,580 I tried to scope this down because there's so much to talk about 38 00:02:15,580 --> 00:02:17,160 and I cannot touch everything. 39 00:02:18,740 --> 00:02:23,160 In the spirit of this, I'm also going to look at non-casual games mostly. 40 00:02:23,240 --> 00:02:24,040 This is like... 41 00:02:24,040 --> 00:02:28,660 the games that you actually buy at EB, that you preorder, that you pay premium price for. 42 00:02:28,920 --> 00:02:32,280 Think of your Call of Duty, your Crysis, or something along that line. 43 00:02:34,920 --> 00:02:38,700 I'll also not be talking specifically about web-based games. 44 00:02:38,840 --> 00:02:41,480 There is a lot of things in common here and 45 00:02:42,080 --> 00:02:47,580 they're kind of merging together, but so far, I'm going to stay with the client view on the PC. 46 00:02:48,320 --> 00:02:51,840 I'll also not be genre-specific so 47 00:02:52,540 --> 00:02:53,600 I will look into 48 00:02:53,600 --> 00:02:56,460 to shooters, MMOs, what have you. 49 00:02:58,720 --> 00:03:00,060 For the MMOs themselves, 50 00:03:00,460 --> 00:03:02,180 I'll be looking at the client only for now. 51 00:03:02,320 --> 00:03:03,800 There's a whole slew of problems 52 00:03:03,800 --> 00:03:04,900 that you get with the server 53 00:03:04,900 --> 00:03:06,380 if you actually just think about 54 00:03:06,380 --> 00:03:09,100 you have your own client that you attack the server with. 55 00:03:10,120 --> 00:03:12,920 Since this is not directly exposed to us, 56 00:03:13,120 --> 00:03:18,060 it's more interesting to think around on the client for now. 57 00:03:18,060 --> 00:03:23,820 Now, here you see the historical development of games 58 00:03:23,820 --> 00:03:29,660 in a very visual aspect between the late 1990s and 2008. 59 00:03:30,940 --> 00:03:34,060 Does anybody have an idea of what the left game is? 60 00:03:34,880 --> 00:03:35,180 Anybody? 61 00:03:35,880 --> 00:03:37,320 Yes, and the right game? 62 00:03:39,160 --> 00:03:39,460 Perfect. 63 00:03:41,880 --> 00:03:46,960 So historically, games in the late 1990s 64 00:03:46,960 --> 00:03:48,020 have not been mainstream. 65 00:03:48,680 --> 00:03:50,040 Nowadays, they actually are. 66 00:03:50,220 --> 00:03:52,680 If you have been paying attention to the news coverage 67 00:03:52,680 --> 00:03:56,700 for GTA 4, you'll actually note that the first review 68 00:03:56,700 --> 00:03:58,760 for GTA 4 was in the New York Times. 69 00:03:59,400 --> 00:04:04,440 This is pretty indicative of where the whole industry 70 00:04:04,440 --> 00:04:04,940 is moving. 71 00:04:05,400 --> 00:04:07,280 In the 1990s, you used to have nerds 72 00:04:07,280 --> 00:04:08,720 play their own niche video games, 73 00:04:08,820 --> 00:04:09,660 which I kind of miss now, 74 00:04:10,260 --> 00:04:13,160 and now it's just this mass market phenomenon. 75 00:04:13,660 --> 00:04:17,200 This also explains why the costs of games, 76 00:04:17,280 --> 00:04:18,040 or to produce games, are so high. 77 00:04:18,040 --> 00:04:19,260 Those games have exploded. 78 00:04:19,860 --> 00:04:23,920 You used to usually get a game between $2 to $3 million, 79 00:04:24,280 --> 00:04:27,300 and I'm talking about the really popular games out there 80 00:04:27,300 --> 00:04:29,540 that are selling a lot, 81 00:04:29,680 --> 00:04:32,420 and nowadays, you have to almost tenfold that. 82 00:04:32,580 --> 00:04:34,960 I mean, you're talking about $15, $20, 83 00:04:35,060 --> 00:04:36,360 sometimes even $40 million. 84 00:04:37,520 --> 00:04:39,480 The development time, on the other hand, 85 00:04:39,500 --> 00:04:41,200 has not increased significantly. 86 00:04:41,580 --> 00:04:44,080 Gamers still want their newest iteration of their game 87 00:04:44,080 --> 00:04:47,900 to be released roughly in a one to three year cycle. 88 00:04:47,900 --> 00:04:51,440 This is actually one of the problems already, 89 00:04:51,580 --> 00:04:52,920 because you see there's more pressure 90 00:04:52,920 --> 00:04:53,900 on the development team. 91 00:04:54,060 --> 00:04:55,560 You need to reuse more code, 92 00:04:55,720 --> 00:04:59,340 and in general, you just don't have so much time 93 00:04:59,340 --> 00:05:03,980 to pay to engineering and proper security practices, 94 00:05:04,080 --> 00:05:04,560 for example. 95 00:05:05,120 --> 00:05:09,080 This also ties in with the publishing that you have, 96 00:05:09,200 --> 00:05:11,000 and the publishers, for the people that don't know, 97 00:05:11,400 --> 00:05:14,500 that's usually a company that takes the games 98 00:05:14,980 --> 00:05:16,500 from the developers, 99 00:05:16,500 --> 00:05:18,600 pays them to develop the games, 100 00:05:18,700 --> 00:05:20,060 will give them a cut of the profit, 101 00:05:20,200 --> 00:05:22,440 and does everything like the marketing and so on. 102 00:05:23,260 --> 00:05:26,080 Nowadays, you pretty much have three major publishers, 103 00:05:26,200 --> 00:05:28,020 and the biggest one is EA. 104 00:05:29,040 --> 00:05:32,220 Because of those three publishers, 105 00:05:32,320 --> 00:05:34,220 you have a lot of homogenization, 106 00:05:34,400 --> 00:05:36,540 homogenization, tricky word, 107 00:05:38,000 --> 00:05:41,920 which pretty much tries to toss everything into one bucket, 108 00:05:42,020 --> 00:05:43,620 and you'll see more of that later on. 109 00:05:46,900 --> 00:05:49,680 Earlier, you had a lot of custom graphics solutions. 110 00:05:50,060 --> 00:05:52,360 Every game came pretty much with their own engine, 111 00:05:52,900 --> 00:05:55,320 and the only thing you shared was the low-level graphic stuff 112 00:05:55,320 --> 00:05:56,600 that you still have to share now. 113 00:05:58,000 --> 00:06:00,080 Nowadays, you are pretty much limited 114 00:06:00,080 --> 00:06:02,640 to a set number of engines. 115 00:06:03,020 --> 00:06:04,860 You usually have two choices. 116 00:06:05,020 --> 00:06:06,920 You'll either reuse the engine that you've used 117 00:06:06,920 --> 00:06:08,140 in the previous game, 118 00:06:08,220 --> 00:06:11,000 because most of the games nowadays have sequels. 119 00:06:11,360 --> 00:06:15,240 For example, this would be, if I use a name, Splinter Cell. 120 00:06:15,620 --> 00:06:16,480 Splinter Cell has two choices. 121 00:06:16,480 --> 00:06:18,520 has used the same engine for all installments. 122 00:06:18,680 --> 00:06:20,240 They've upgraded it, but usually they've 123 00:06:20,240 --> 00:06:22,760 used the same engine or derivatives of the same engine. 124 00:06:23,080 --> 00:06:25,100 The other engine type that you have 125 00:06:25,100 --> 00:06:32,060 is you just have an engine that is something that is 126 00:06:32,060 --> 00:06:34,040 shared between multiple games. 127 00:06:34,440 --> 00:06:37,260 So for example, you have the Unreal engine 128 00:06:37,550 --> 00:06:39,660 that is shared between multiple games that do not 129 00:06:39,660 --> 00:06:40,640 have something in common. 130 00:06:42,300 --> 00:06:45,300 The number of those games, the number of those engines 131 00:06:45,300 --> 00:06:46,880 is actually dropping significantly. 132 00:06:47,200 --> 00:06:50,780 And that's due to the fact that it is very expensive 133 00:06:50,780 --> 00:06:53,860 to build an engine, and people want to share it. 134 00:06:54,500 --> 00:06:56,360 The problem with this is obviously, 135 00:06:56,560 --> 00:07:01,520 one exploit on one game binary, more specifically 136 00:07:01,520 --> 00:07:04,160 on one engine, will cover multiple games. 137 00:07:05,180 --> 00:07:08,260 This is just a fact of life if you use the same engine. 138 00:07:11,600 --> 00:07:13,380 Middleware, and for the people that 139 00:07:13,380 --> 00:07:15,280 don't know who, what middleware is, 140 00:07:15,280 --> 00:07:17,200 specifically, it's usually something 141 00:07:17,200 --> 00:07:18,880 that you drop on top of your engine, 142 00:07:18,980 --> 00:07:21,200 or in general, on top of your game 143 00:07:21,200 --> 00:07:22,440 that provides extra functionality 144 00:07:22,440 --> 00:07:23,960 that you can't create yourself. 145 00:07:25,380 --> 00:07:28,580 It's typically AI physics or something along those lines. 146 00:07:30,080 --> 00:07:34,240 Used to be not that prevalent back in the 90s. 147 00:07:34,460 --> 00:07:36,520 Nowadays, you have to have it in every game. 148 00:07:36,600 --> 00:07:38,420 And that's partially also due to the gamer. 149 00:07:38,500 --> 00:07:42,800 We have an increased sensibility about we 150 00:07:42,800 --> 00:07:44,980 want to have neat physics in games, we want to have 151 00:07:44,980 --> 00:07:48,040 of awesome AI, and the game developers simply 152 00:07:48,040 --> 00:07:49,240 don't have time to do this. 153 00:07:49,740 --> 00:07:54,720 Yet again, if you use the same middleware 154 00:07:54,720 --> 00:07:59,140 across multiple games, if you identify the binaries, 155 00:07:59,280 --> 00:08:02,720 you can just attack multiple games with one simple exploit. 156 00:08:06,500 --> 00:08:08,880 Now looking at the distribution of games. 157 00:08:09,500 --> 00:08:11,780 Back in the 90s, you used to have physical media, 158 00:08:11,900 --> 00:08:13,760 pretty much, it's like 99%. 159 00:08:13,760 --> 00:08:17,640 Nowadays, you see the advent of digital distribution 160 00:08:17,640 --> 00:08:18,460 of full games. 161 00:08:18,640 --> 00:08:21,760 It's a bit tricky because they're big, so downloads are long. 162 00:08:22,160 --> 00:08:25,200 But it's mostly due to piracy, which I'll 163 00:08:25,200 --> 00:08:26,940 talk to you about in a bit. 164 00:08:27,320 --> 00:08:31,000 You have two big delivery mechanisms right now 165 00:08:31,000 --> 00:08:32,560 that are pushing really for the market, 166 00:08:32,640 --> 00:08:36,320 and that's Games for Windows Live and Steam. 167 00:08:36,400 --> 00:08:38,740 Steam being significantly bigger at this point. 168 00:08:40,520 --> 00:08:43,220 You have this underlying game platform 169 00:08:43,760 --> 00:08:45,700 that basically allows you to play the game, 170 00:08:45,800 --> 00:08:47,680 unlocks the game, and to some extent, 171 00:08:47,800 --> 00:08:50,100 imposes some artificial restrictions on the games. 172 00:08:50,500 --> 00:08:53,880 But they also allow you to go into something 173 00:08:53,880 --> 00:08:55,900 that's bigger than the game itself, like a community. 174 00:08:56,140 --> 00:08:59,340 And that's what I call Games 2.0, sort of like Web 2.0. 175 00:09:00,100 --> 00:09:02,060 The thing that I don't like about this 176 00:09:02,060 --> 00:09:06,280 is you have content protection on top of those platforms, which 177 00:09:06,280 --> 00:09:08,980 is an artificial restriction, which gets you 178 00:09:08,980 --> 00:09:09,880 into all kinds of trouble. 179 00:09:10,720 --> 00:09:13,620 And you have automatic patching, which is awesome, 180 00:09:13,760 --> 00:09:14,600 for the noobs out there. 181 00:09:14,840 --> 00:09:17,500 But if you actually realize what automatic patching is, 182 00:09:17,660 --> 00:09:19,480 then that can get you into big trouble 183 00:09:19,480 --> 00:09:23,520 once you actually figure out some way of exploiting 184 00:09:23,520 --> 00:09:24,380 automatic patching. 185 00:09:24,400 --> 00:09:27,120 Because then you have got an awesome delivery mechanism 186 00:09:27,120 --> 00:09:29,280 to just push your exploits out. 187 00:09:32,380 --> 00:09:35,560 Hand in hand with this, you have, back in the 90s, 188 00:09:35,560 --> 00:09:36,140 offline games. 189 00:09:36,400 --> 00:09:38,080 You had the advent of MMOs. 190 00:09:38,100 --> 00:09:38,960 They weren't very common. 191 00:09:39,680 --> 00:09:42,900 You had your Ultima Online, your first step in that direction. 192 00:09:42,900 --> 00:09:46,640 And you had a lot of multiplayer games out there 193 00:09:46,640 --> 00:09:47,720 that were your typical shooter. 194 00:09:48,180 --> 00:09:51,580 Nowadays, online is default. Pretty much every game 195 00:09:51,580 --> 00:09:52,880 ships with an online aspect. 196 00:09:53,040 --> 00:09:55,280 If you don't have online, it's not a real game anymore. 197 00:09:55,720 --> 00:09:58,680 And MMOs are huge, hands down. 198 00:09:59,900 --> 00:10:01,140 Like, for example, WoW. 199 00:10:02,840 --> 00:10:05,760 The problem with this is, if you're online all the time, 200 00:10:05,920 --> 00:10:07,900 everybody can track what you're doing. 201 00:10:08,040 --> 00:10:09,880 You just need to have a packet sniffer. 202 00:10:09,960 --> 00:10:12,360 You can see when they're connecting to, for example, 203 00:10:12,360 --> 00:10:12,760 the gameplay. 204 00:10:12,760 --> 00:10:15,120 You can see when they're connecting to the WoW server. 205 00:10:15,340 --> 00:10:17,680 You can see when they're just doing anything 206 00:10:17,680 --> 00:10:18,260 over the network. 207 00:10:18,420 --> 00:10:20,620 You don't even need to break the encryption on it 208 00:10:20,620 --> 00:10:21,760 or the protection on it. 209 00:10:21,840 --> 00:10:25,880 You can just develop usage patterns out 210 00:10:25,880 --> 00:10:26,740 of sniffing the network. 211 00:10:32,120 --> 00:10:34,200 Looking at custom content, which is also 212 00:10:34,200 --> 00:10:37,960 one of the problems that it's good and it's bad. 213 00:10:38,140 --> 00:10:41,960 So I don't want to speak against custom content here. 214 00:10:42,760 --> 00:10:44,120 But the problem with custom content 215 00:10:44,120 --> 00:10:46,860 is that it opens up this whole new attack vector. 216 00:10:47,420 --> 00:10:50,440 Back in the 90s, you had a very limited group of people 217 00:10:50,440 --> 00:10:53,200 that constructed custom content. 218 00:10:53,300 --> 00:10:57,380 And it was for editors that were put on top of the game 219 00:10:57,380 --> 00:10:58,360 as a pure bonus. 220 00:10:58,460 --> 00:11:00,220 You needed to have a significant expertise, 221 00:11:00,910 --> 00:11:03,780 actually getting those to even run and work correctly. 222 00:11:04,140 --> 00:11:07,420 While on the other hand, nowadays, games pride 223 00:11:07,420 --> 00:11:09,020 themselves on having an editor. 224 00:11:09,320 --> 00:11:11,980 There are games out there that are virtually just a sandbox. 225 00:11:11,980 --> 00:11:15,420 That allow you to just create anything 226 00:11:15,420 --> 00:11:16,920 and share it with the community. 227 00:11:17,680 --> 00:11:19,820 I won't say any names here because then people 228 00:11:19,820 --> 00:11:20,380 will get offended. 229 00:11:20,640 --> 00:11:25,400 But in general, the problem here is that you take content, 230 00:11:25,640 --> 00:11:27,440 you integrate it into the game, and you 231 00:11:27,440 --> 00:11:29,100 have this awesome delivery mechanism 232 00:11:29,100 --> 00:11:32,200 that if you figure out how to exploit content, 233 00:11:32,500 --> 00:11:34,280 you can just push it out for free. 234 00:11:34,360 --> 00:11:36,640 You just put it onto your game vault 235 00:11:36,640 --> 00:11:38,640 and it will be pushed to all other people. 236 00:11:39,840 --> 00:11:41,760 It's also interesting to note that you 237 00:11:41,760 --> 00:11:44,700 have XMLification of content, which 238 00:11:44,700 --> 00:11:48,680 means that everything that is bad or good about XML 239 00:11:49,320 --> 00:11:50,600 comes with that. 240 00:11:51,500 --> 00:11:55,300 And since game developers love to have the quickest 241 00:11:55,300 --> 00:11:57,720 algorithms out there, they will be probably tempted 242 00:11:57,720 --> 00:12:01,660 to write their own XML parses, which we know is not 243 00:12:01,660 --> 00:12:02,720 necessarily a good thing. 244 00:12:05,210 --> 00:12:08,200 But in general, the biggest problem here 245 00:12:08,200 --> 00:12:09,340 is the automatic pull-in. 246 00:12:09,420 --> 00:12:11,740 If you give people a break and say, hey, I want to know 247 00:12:11,740 --> 00:12:13,220 the option to download it manually, 248 00:12:13,840 --> 00:12:15,520 which is an inconvenience, 249 00:12:16,120 --> 00:12:18,620 then you have at least some level of protection there. 250 00:12:18,840 --> 00:12:20,880 But automatic pulling of content 251 00:12:20,880 --> 00:12:23,020 just gives you a delivery mechanism. 252 00:12:26,160 --> 00:12:28,020 The same applies for community. 253 00:12:28,880 --> 00:12:32,420 Back in the 90s, you had a community 254 00:12:32,420 --> 00:12:34,220 that was built purely around web. 255 00:12:34,320 --> 00:12:36,040 You had a couple of portals opening, 256 00:12:36,180 --> 00:12:37,260 like Battle.net, for example, 257 00:12:37,440 --> 00:12:39,640 but it was mostly web-based stuff. 258 00:12:39,640 --> 00:12:41,900 Nowadays, you have these gaming platforms, 259 00:12:42,080 --> 00:12:45,140 and they pride themselves on giving you community. 260 00:12:45,360 --> 00:12:48,260 Actually, for some of them, it was more like an afterthought, 261 00:12:48,320 --> 00:12:51,740 because they originally were created to protect the content. 262 00:12:52,460 --> 00:12:54,140 And here, it's very obvious. 263 00:12:54,280 --> 00:12:58,660 You don't even need to play a game to log on to this. 264 00:12:58,880 --> 00:13:01,540 So you might be playing a game 265 00:13:01,540 --> 00:13:03,160 that you think is purely offline, 266 00:13:03,360 --> 00:13:04,800 something that is single-player, 267 00:13:04,900 --> 00:13:06,820 and you don't touch the network in your mind. 268 00:13:07,060 --> 00:13:08,560 But underneath the hood, 269 00:13:08,700 --> 00:13:09,620 the game service actually 270 00:13:09,640 --> 00:13:11,480 connects up, and for example, for Steam, 271 00:13:11,680 --> 00:13:13,820 if you haven't been online for a week, 272 00:13:14,020 --> 00:13:15,800 you're locked out of all your games, 273 00:13:15,860 --> 00:13:17,380 because it needs to verify it again, 274 00:13:17,500 --> 00:13:19,140 needs to pull down the keys, and so on. 275 00:13:19,900 --> 00:13:22,080 And again, I can see what you play, 276 00:13:22,200 --> 00:13:23,820 in detail, even. 277 00:13:26,120 --> 00:13:28,340 So what did not change, over time? 278 00:13:29,960 --> 00:13:32,560 Game developers are still spending a lot of time 279 00:13:32,560 --> 00:13:33,440 to making it pretty. 280 00:13:33,900 --> 00:13:34,580 Pretty sells. 281 00:13:34,840 --> 00:13:36,420 I mean, that's just a fact of life. 282 00:13:37,260 --> 00:13:38,920 If you get a game out there, 283 00:13:38,920 --> 00:13:40,080 and it has on the sticker, 284 00:13:40,620 --> 00:13:41,420 awesome engineering, 285 00:13:41,660 --> 00:13:43,600 look at how good our game architecture is, 286 00:13:43,720 --> 00:13:44,740 but it looks like crap, 287 00:13:44,880 --> 00:13:45,880 you probably won't buy it. 288 00:13:46,960 --> 00:13:48,420 Security is not a major concern, 289 00:13:48,580 --> 00:13:50,520 because my favorite quote here is like, 290 00:13:50,600 --> 00:13:51,800 it's just a game, right? 291 00:13:52,480 --> 00:13:53,840 What should we worry about security? 292 00:13:55,020 --> 00:13:57,200 And because of all the pressure that you have, 293 00:13:57,260 --> 00:13:59,600 you also need to use significantly more middleware 294 00:13:59,600 --> 00:14:01,380 in production of these games. 295 00:14:03,420 --> 00:14:05,660 The other problem here is also that games 296 00:14:05,660 --> 00:14:07,880 are not really stable, which... 297 00:14:08,920 --> 00:14:10,700 lowers the bar kind of a bit for attacks, 298 00:14:10,980 --> 00:14:13,860 because if your test manager crashes, 299 00:14:13,920 --> 00:14:18,480 or your internet browser just goes down, 300 00:14:18,820 --> 00:14:20,340 you might be kind of suspicious. 301 00:14:20,800 --> 00:14:22,600 But, to be honest, 302 00:14:22,840 --> 00:14:25,540 how many people have seen games crash constantly? 303 00:14:26,180 --> 00:14:28,060 It's not really that far-fetched 304 00:14:28,060 --> 00:14:31,180 to have just a crash because it was poorly coded. 305 00:14:33,460 --> 00:14:35,700 Patching is, because of this, also common, 306 00:14:35,800 --> 00:14:37,700 either for stability or for new features. 307 00:14:37,700 --> 00:14:39,840 Usually, most of the patches are for both, 308 00:14:39,940 --> 00:14:42,760 but it's not for security in most cases. 309 00:14:45,760 --> 00:14:49,140 Hacks, cracks, and trainers are also still available 310 00:14:49,140 --> 00:14:51,300 pretty much throughout the network. 311 00:14:51,500 --> 00:14:52,540 You just go onto Google, 312 00:14:52,660 --> 00:14:55,520 you type in your favorite trainer for a game, 313 00:14:55,600 --> 00:14:56,760 and you will just get it. 314 00:14:56,940 --> 00:14:58,960 You type in a game and say, 315 00:14:59,020 --> 00:15:01,560 no CD patch, and you will usually find it. 316 00:15:01,680 --> 00:15:03,580 It's very hard not to find a game 317 00:15:03,580 --> 00:15:04,840 that doesn't have these. 318 00:15:06,100 --> 00:15:07,680 But, while this might be true, 319 00:15:07,700 --> 00:15:08,460 and this might be something awesome 320 00:15:08,460 --> 00:15:11,320 that saves you from always putting the disc in, 321 00:15:11,380 --> 00:15:12,900 assuming that you have legally purchased it, 322 00:15:14,240 --> 00:15:16,500 do you really trust the guy that actually wrote this? 323 00:15:16,720 --> 00:15:19,300 Do you think the guy in Russia that provided you 324 00:15:19,300 --> 00:15:21,440 that kind of executable or that patch 325 00:15:21,440 --> 00:15:22,640 didn't put anything in there? 326 00:15:22,880 --> 00:15:25,300 Most gamers will just download it and be happy 327 00:15:25,300 --> 00:15:27,180 and never worry about the consequences. 328 00:15:29,680 --> 00:15:32,040 And this ties in with piracy. 329 00:15:32,340 --> 00:15:34,820 A lot of those online platforms, like I talked about, 330 00:15:34,880 --> 00:15:36,360 have been built not because 331 00:15:37,700 --> 00:15:38,640 there are new features, 332 00:15:38,720 --> 00:15:40,160 there is something cool for the gamer, 333 00:15:40,280 --> 00:15:43,620 but because companies wanted to protect their investment 334 00:15:43,620 --> 00:15:46,040 and wanted to have something where they can prevent you 335 00:15:46,040 --> 00:15:47,840 from actually going ahead 336 00:15:47,840 --> 00:15:49,520 and just ripping this from a disc, 337 00:15:49,660 --> 00:15:51,300 dropping another disc patch on it, 338 00:15:51,360 --> 00:15:53,300 and go. 339 00:15:55,140 --> 00:15:57,000 So, a lot of those platforms 340 00:15:57,000 --> 00:15:58,540 were just built for the wrong reason. 341 00:16:01,440 --> 00:16:02,260 It's not pretty. 342 00:16:07,700 --> 00:16:08,960 Now let's take a look at the gamer. 343 00:16:09,080 --> 00:16:10,520 And that wasn't a gamer, by the way. 344 00:16:12,260 --> 00:16:15,040 Generally, PC gamers are significantly more hardcore 345 00:16:15,040 --> 00:16:16,520 than your average console gamers. 346 00:16:16,660 --> 00:16:19,240 That's why I kind of like this market more than the console gamers. 347 00:16:19,600 --> 00:16:21,700 You actually need to have significant expertise 348 00:16:21,700 --> 00:16:23,120 to get a game running. 349 00:16:23,300 --> 00:16:24,620 This is decreasing over time, 350 00:16:24,820 --> 00:16:26,820 and developers try to make it easier, 351 00:16:26,980 --> 00:16:29,480 but it's still true that you need to have knowledge 352 00:16:29,480 --> 00:16:30,740 of your operating system, 353 00:16:31,040 --> 00:16:32,840 of your configuration, and so on. 354 00:16:34,840 --> 00:16:38,640 You also usually have significantly higher hardware 355 00:16:38,640 --> 00:16:41,320 than your base market out there, 356 00:16:41,340 --> 00:16:43,320 because you need to have a decent graphics card, 357 00:16:43,440 --> 00:16:45,400 you need to have a decent hard drive speed, 358 00:16:45,520 --> 00:16:48,500 memory, you usually need to tinker with your OS. 359 00:16:48,620 --> 00:16:51,480 In general, the system is beefier. 360 00:16:53,780 --> 00:16:55,380 Gamers also tend to, 361 00:16:55,500 --> 00:16:57,960 or the really hardcore market, I should say, 362 00:16:58,040 --> 00:17:01,040 tends to tinker around with the settings on their OS 363 00:17:01,040 --> 00:17:01,940 quite a lot. 364 00:17:03,060 --> 00:17:04,980 They will disable pretty much anything 365 00:17:05,800 --> 00:17:07,780 to get more frame rate. 366 00:17:07,920 --> 00:17:10,780 And this is usually all the security features 367 00:17:10,780 --> 00:17:12,520 and everything else on top of that. 368 00:17:12,660 --> 00:17:14,780 They will run it in the mode that will get them 369 00:17:14,780 --> 00:17:16,480 the highest performance, which in general 370 00:17:16,480 --> 00:17:19,120 is administrative mode. 371 00:17:19,460 --> 00:17:21,000 And I'll get to this in a bit, 372 00:17:21,100 --> 00:17:22,840 which is obviously not good. 373 00:17:24,400 --> 00:17:26,620 The other thing that is interesting about PCs 374 00:17:26,620 --> 00:17:28,520 from a security standpoint is, 375 00:17:28,680 --> 00:17:30,520 and that hasn't changed over time, 376 00:17:30,580 --> 00:17:31,820 it's only like increased, 377 00:17:32,840 --> 00:17:34,560 is that it's a multi-purpose system. 378 00:17:35,140 --> 00:17:36,920 You use your PC to play games, 379 00:17:37,340 --> 00:17:39,960 and you use your PC to do your online banking, 380 00:17:40,040 --> 00:17:40,320 theoretically. 381 00:17:40,620 --> 00:17:43,060 I mean, if you trust your PC enough, 382 00:17:43,220 --> 00:17:44,400 but that's what people out there do. 383 00:17:44,580 --> 00:17:45,660 You do it for shopping. 384 00:17:45,720 --> 00:17:49,320 There is a wealth of personal information up on your PC. 385 00:17:50,780 --> 00:17:53,500 And so it's not like a console where you just pop the disc in 386 00:17:53,500 --> 00:17:55,800 and if you own the console you have like a box sitting out there. 387 00:17:55,880 --> 00:17:57,880 You have all that information that's stored there 388 00:17:57,880 --> 00:18:00,840 and you might even be able to siphon more information out of it. 389 00:18:04,240 --> 00:18:07,160 Speaking also to what I said earlier about the crashes, 390 00:18:07,420 --> 00:18:09,020 the gamers are generally not paranoid, 391 00:18:09,220 --> 00:18:11,000 especially if they tinker with the system, 392 00:18:11,120 --> 00:18:12,420 if they overclock their hardware. 393 00:18:12,940 --> 00:18:16,540 They are just used to having stuff blow up on them 394 00:18:16,540 --> 00:18:17,740 because they overclocked it, 395 00:18:17,800 --> 00:18:19,180 because they disabled some service 396 00:18:19,180 --> 00:18:21,220 that the operating system desperately needs. 397 00:18:22,640 --> 00:18:24,740 And they're also used to frequent patching. 398 00:18:25,920 --> 00:18:28,860 They will usually drop custom content on there 399 00:18:28,860 --> 00:18:30,840 as long as it's pretty, like I've already said. 400 00:18:32,040 --> 00:18:35,420 And they really think what harm can it do 401 00:18:35,420 --> 00:18:37,100 because it's not an executable, right? 402 00:18:37,160 --> 00:18:38,740 I'll just drop stuff on there. 403 00:18:39,300 --> 00:18:40,700 It won't harm my system. 404 00:18:40,820 --> 00:18:41,820 It's just the texture. 405 00:18:42,020 --> 00:18:43,400 Well, we'll get to that. 406 00:18:46,000 --> 00:18:49,200 Games also need to be run by default with the highest privileges. 407 00:18:49,940 --> 00:18:53,400 Luckily, I must say, this is changing. 408 00:18:53,680 --> 00:18:57,740 Back in the day, all games were just admin only 409 00:18:57,740 --> 00:19:00,560 and if you didn't run it as admin they would break badly 410 00:19:00,840 --> 00:19:03,540 and so once you own a game, you've got admin rights, 411 00:19:03,700 --> 00:19:04,360 everything is over. 412 00:19:05,480 --> 00:19:07,060 Nowadays, this is actually shifting 413 00:19:07,060 --> 00:19:08,740 and I must say thanks to Vista 414 00:19:08,740 --> 00:19:11,460 because you don't really want to play a game 415 00:19:11,460 --> 00:19:14,180 that halfway through pops a EULA dialogue up 416 00:19:14,180 --> 00:19:16,640 and asks you for, 417 00:19:19,780 --> 00:19:20,720 do you really want to do this? 418 00:19:20,960 --> 00:19:23,100 So it usually runs in limited mode, 419 00:19:23,200 --> 00:19:24,840 which actually helps you for security quite a bit. 420 00:19:27,780 --> 00:19:29,820 Most gamers also spend more time online, 421 00:19:29,820 --> 00:19:32,760 which just makes them a bigger attack surface 422 00:19:32,760 --> 00:19:37,780 because you are even forced to be online with those platforms. 423 00:19:38,060 --> 00:19:39,240 You don't even have a choice 424 00:19:39,240 --> 00:19:42,160 and that's the thing I personally don't like 425 00:19:42,160 --> 00:19:45,640 because you're stuck with the system if you like it or not. 426 00:19:45,860 --> 00:19:47,460 If you don't have an internet connection, 427 00:19:47,680 --> 00:19:49,900 you might be able to play your game for a week, 428 00:19:50,040 --> 00:19:52,600 but in the worst case, 429 00:19:52,780 --> 00:19:54,380 you might not be able to play it at all. 430 00:19:57,380 --> 00:19:59,320 The other thing that's also true about gamers, 431 00:19:59,320 --> 00:20:02,260 if they have the choice between cool hardware 432 00:20:02,260 --> 00:20:04,320 or an increase in performance, 433 00:20:04,620 --> 00:20:05,760 they will take that over security. 434 00:20:06,100 --> 00:20:08,040 They will take something pretty and fancy. 435 00:20:11,680 --> 00:20:13,180 On the other side of the fence, 436 00:20:13,280 --> 00:20:14,520 you've got the game developers. 437 00:20:15,660 --> 00:20:17,700 They are pretty much like any other developer. 438 00:20:17,820 --> 00:20:19,280 That means they still make mistakes 439 00:20:19,280 --> 00:20:20,920 like all humans do, 440 00:20:21,020 --> 00:20:22,820 except if they would be cyborgs, 441 00:20:22,880 --> 00:20:24,420 but we are not yet. 442 00:20:25,880 --> 00:20:28,300 They are also under severe time pressure. 443 00:20:28,300 --> 00:20:29,620 They have hard deadlines. 444 00:20:29,980 --> 00:20:33,680 They need to make Christmas most of the time 445 00:20:33,680 --> 00:20:35,360 or some other date 446 00:20:35,360 --> 00:20:38,180 that the game publisher usually has set 447 00:20:38,180 --> 00:20:40,640 or they have set because then they'll just run out of money. 448 00:20:41,340 --> 00:20:43,320 This is true for other software as well, 449 00:20:43,440 --> 00:20:44,880 but here it's critical 450 00:20:44,880 --> 00:20:48,060 and it makes or breaks a game company 451 00:20:48,060 --> 00:20:49,380 to be able to do that. 452 00:20:50,080 --> 00:20:52,440 Most games still run late, 453 00:20:52,580 --> 00:20:54,040 which makes you kind of worried 454 00:20:54,040 --> 00:20:57,220 because you have games that are under severe time pressure 455 00:20:57,220 --> 00:20:57,800 where you can't go, 456 00:20:57,800 --> 00:21:01,000 do a lot of in-depth engineering 457 00:21:01,000 --> 00:21:02,840 and then they still run late. 458 00:21:05,240 --> 00:21:09,200 This also talks to the usage of canned code 459 00:21:09,200 --> 00:21:11,180 because the more canned code you use, 460 00:21:11,240 --> 00:21:13,320 the faster you will be able to push out a game, 461 00:21:13,420 --> 00:21:16,400 but you can't really review that canned code. 462 00:21:18,780 --> 00:21:23,660 The developers also love the latest and greatest, 463 00:21:23,700 --> 00:21:25,620 and I've doubted this, the shiny complex, 464 00:21:25,800 --> 00:21:27,220 and I've seen this over and over again. 465 00:21:27,800 --> 00:21:28,900 It's kind of amusing. 466 00:21:29,100 --> 00:21:30,100 You have the developer, 467 00:21:30,280 --> 00:21:32,880 they home in on something that they think is really awesome 468 00:21:32,880 --> 00:21:34,280 because it's this newest feature. 469 00:21:34,580 --> 00:21:36,380 They might even home in on it 470 00:21:36,380 --> 00:21:38,560 three weeks before they want to ship 471 00:21:38,560 --> 00:21:40,640 because they just saw this awesome thing 472 00:21:40,640 --> 00:21:43,300 that adds sparkles to the main character 473 00:21:43,300 --> 00:21:44,140 that looks awesome 474 00:21:44,140 --> 00:21:45,540 and gamers will just drool over it. 475 00:21:46,980 --> 00:21:49,100 And while it seems like a cool idea 476 00:21:49,100 --> 00:21:51,240 to get that out there and push it to the gamer, 477 00:21:51,400 --> 00:21:53,060 it causes a slew of problems. 478 00:21:53,900 --> 00:21:56,200 It does not help with the schedule and the testing, 479 00:21:56,340 --> 00:21:57,780 which it does doesn't make sense. 480 00:21:57,780 --> 00:21:58,280 It makes it more secure. 481 00:21:58,600 --> 00:22:02,600 Quick design usually means that you have quick exploits, 482 00:22:02,700 --> 00:22:04,820 and quick coding usually means 483 00:22:04,820 --> 00:22:06,060 you have significantly more bugs. 484 00:22:09,420 --> 00:22:10,700 Moving on to the engine. 485 00:22:12,480 --> 00:22:17,060 In 2007, there were roughly 810 PC games out there. 486 00:22:17,740 --> 00:22:20,280 And this is based on Wikipedia numbers, 487 00:22:20,580 --> 00:22:22,440 so this is roughly accurate. 488 00:22:23,800 --> 00:22:25,520 Hopefully, if you trust Wikipedia. 489 00:22:28,400 --> 00:22:29,840 Forty-two of those games 490 00:22:29,840 --> 00:22:33,160 are considered major selling games. 491 00:22:33,420 --> 00:22:35,300 And to give you an idea of what this means, 492 00:22:35,420 --> 00:22:37,660 this would be like Crisis, like we've seen earlier, 493 00:22:37,860 --> 00:22:39,840 your Call of Duty, something along those lines. 494 00:22:40,940 --> 00:22:42,580 The results are actually interesting. 495 00:22:43,040 --> 00:22:45,820 Down on the right, you have the graphics engines. 496 00:22:46,980 --> 00:22:50,280 And 30 out of those 42 major selling games 497 00:22:50,280 --> 00:22:53,380 were reusing some kind of previous engines. 498 00:22:54,440 --> 00:22:57,100 In these 30, there are 499 00:22:57,100 --> 00:22:59,980 the three major engines that I talked about 500 00:22:59,980 --> 00:23:02,420 that are also used across games. 501 00:23:02,620 --> 00:23:04,780 At the moment, it hasn't crystallized out yet, 502 00:23:04,840 --> 00:23:08,200 but you see the push more and more towards having 503 00:23:09,020 --> 00:23:10,820 a reduced number of engines there 504 00:23:10,820 --> 00:23:12,700 because it's not economically feasible 505 00:23:12,700 --> 00:23:13,920 to create your own engine. 506 00:23:14,340 --> 00:23:19,080 Only 12 games had a custom build of whatever engine 507 00:23:19,080 --> 00:23:20,840 that was used for one game only. 508 00:23:21,740 --> 00:23:24,240 Most likely, if they get into a second iteration, 509 00:23:24,440 --> 00:23:25,360 they'll reuse it. 510 00:23:26,340 --> 00:23:28,180 On the right side, 511 00:23:28,260 --> 00:23:29,700 you've got the distribution platforms. 512 00:23:30,220 --> 00:23:32,780 And this is kind of counter what I said before 513 00:23:32,780 --> 00:23:36,560 in terms of games being more and more digital, 514 00:23:36,700 --> 00:23:38,040 but you need to understand here 515 00:23:38,040 --> 00:23:41,300 that about a year or two years ago, 516 00:23:41,360 --> 00:23:47,120 this would have been 99% only media, like discs. 517 00:23:48,420 --> 00:23:50,800 Nowadays, that little chunk 518 00:23:50,800 --> 00:23:54,780 that is like 130 or 138 games of digital media 519 00:23:54,780 --> 00:23:55,940 is just exploding. 520 00:23:56,120 --> 00:23:57,760 I expect this to be by next year 521 00:23:57,760 --> 00:23:59,080 probably twice the number, 522 00:23:59,160 --> 00:24:00,540 and the year after that even more. 523 00:24:00,660 --> 00:24:02,380 It's just huge and big and coming 524 00:24:02,380 --> 00:24:05,540 because both the developers and the publishers 525 00:24:05,540 --> 00:24:07,340 have realized that that's the best way 526 00:24:07,340 --> 00:24:09,120 to curb-stomp piracy. 527 00:24:10,500 --> 00:24:11,920 And as you can also see here, 528 00:24:12,040 --> 00:24:14,600 the biggest platform at the moment is Steam. 529 00:24:20,980 --> 00:24:23,080 Game engines usually look a bit like this. 530 00:24:23,260 --> 00:24:24,600 You've got the usual stuff 531 00:24:24,600 --> 00:24:26,960 that you would expect for game engines to have here, 532 00:24:27,120 --> 00:24:31,760 like graphics, animations, physics, audio, and so on. 533 00:24:33,040 --> 00:24:36,040 While you note here that physics usually is a third party, 534 00:24:36,120 --> 00:24:37,360 it might also come with the engine. 535 00:24:38,300 --> 00:24:40,140 The other thing that's interesting here 536 00:24:40,140 --> 00:24:41,460 is the scripting language. 537 00:24:41,800 --> 00:24:43,960 You've got a scripting language in most games 538 00:24:43,960 --> 00:24:46,280 that allows you to do specific stuff, 539 00:24:46,460 --> 00:24:48,820 and this might even be a C derivative 540 00:24:48,820 --> 00:24:51,680 or something that's very, very close to C 541 00:24:51,680 --> 00:24:53,860 underneath the hood that runs in a sandbox. 542 00:24:54,600 --> 00:24:56,460 Well, you might already guess the problem. 543 00:24:56,780 --> 00:24:58,300 No sandbox is perfect, 544 00:24:58,380 --> 00:25:01,380 and this can cause huge issues 545 00:25:01,380 --> 00:25:04,660 if you manage to exploit this 546 00:25:04,660 --> 00:25:07,580 or just get full disk access with this. 547 00:25:08,720 --> 00:25:10,400 The things that are new here 548 00:25:10,400 --> 00:25:13,880 is in-game ad systems, for example. 549 00:25:14,960 --> 00:25:17,400 In-game ads are up and coming. 550 00:25:17,460 --> 00:25:20,240 It's still a question if they will stick around 551 00:25:20,240 --> 00:25:22,520 because if you run through the magic forest 552 00:25:22,520 --> 00:25:24,380 and suddenly you get an advertisement 553 00:25:24,600 --> 00:25:25,620 for Coke on a billboard, 554 00:25:25,760 --> 00:25:26,800 it probably isn't that good. 555 00:25:27,540 --> 00:25:29,440 But if you play Madden, 556 00:25:29,540 --> 00:25:32,320 and the ads in the background are actually real ads 557 00:25:32,320 --> 00:25:33,820 that are served to you in real time, 558 00:25:33,900 --> 00:25:34,740 you probably don't care. 559 00:25:34,940 --> 00:25:37,180 So there's still some shakeout to do, 560 00:25:37,260 --> 00:25:39,300 but this is probably going to stay around 561 00:25:39,300 --> 00:25:40,840 because it's just another revenue stream. 562 00:25:41,860 --> 00:25:44,260 The other thing that is definitely going to stay around 563 00:25:44,260 --> 00:25:46,000 and is new is the online platform. 564 00:25:46,300 --> 00:25:48,000 And this is so wide at the bottom 565 00:25:48,500 --> 00:25:51,180 because this goes across the whole engine. 566 00:25:51,360 --> 00:25:54,360 This might even in the future be integrated into the engine. 567 00:25:54,600 --> 00:25:56,980 At the moment, this is still third party, 568 00:25:57,200 --> 00:25:58,640 so they add it onto a game, 569 00:25:58,720 --> 00:25:59,320 but in general, 570 00:26:00,020 --> 00:26:02,520 it's just something that is going to stick around. 571 00:26:06,040 --> 00:26:08,360 Another thing that's interesting about engines 572 00:26:08,360 --> 00:26:10,440 is that fixes by users, 573 00:26:10,580 --> 00:26:11,880 and users in this case, 574 00:26:11,900 --> 00:26:13,100 are the game developers. 575 00:26:13,820 --> 00:26:14,900 They are not shared 576 00:26:15,380 --> 00:26:18,860 because you usually patch games, 577 00:26:19,540 --> 00:26:20,740 not engines. 578 00:26:21,260 --> 00:26:22,940 And you might have 579 00:26:24,600 --> 00:26:25,720 fixes that are even custom 580 00:26:25,720 --> 00:26:26,880 to the developer 581 00:26:27,420 --> 00:26:28,600 or the game. 582 00:26:28,880 --> 00:26:31,820 So even though they might have found an exploit 583 00:26:31,820 --> 00:26:33,880 in game A that they release, 584 00:26:34,220 --> 00:26:37,840 game B might not be able to fix it with the same patch 585 00:26:37,840 --> 00:26:38,820 and it's just too much effort. 586 00:26:42,180 --> 00:26:45,620 The other thing about game engines that's interesting 587 00:26:45,620 --> 00:26:48,600 is that the binaries are not hard to trace. 588 00:26:48,800 --> 00:26:49,960 You can just go ahead, 589 00:26:50,480 --> 00:26:52,540 go into your favorite game directory, 590 00:26:53,480 --> 00:26:54,360 go down, 591 00:26:54,540 --> 00:26:56,560 try to figure out where the physics engine is 592 00:26:56,560 --> 00:26:58,920 once you have got a name for it, 593 00:26:59,020 --> 00:27:00,160 click on the properties 594 00:27:00,160 --> 00:27:02,220 and you will have the file version there. 595 00:27:02,400 --> 00:27:03,880 This file version is usually 596 00:27:04,520 --> 00:27:05,520 indicative of 597 00:27:07,320 --> 00:27:08,580 very detailed information 598 00:27:08,580 --> 00:27:09,720 that you can get out of. 599 00:27:10,200 --> 00:27:11,180 So for example, 600 00:27:11,320 --> 00:27:13,700 if you have a file version of 1.5 there 601 00:27:13,700 --> 00:27:16,700 and the next game has a file version of 1.51, 602 00:27:17,400 --> 00:27:18,960 then it's very likely that the exploit 603 00:27:18,960 --> 00:27:21,880 you just found in 1.5 is also 604 00:27:21,880 --> 00:27:23,680 applicable to 1.51. 605 00:27:25,120 --> 00:27:27,920 And sometimes game developers will just 606 00:27:27,920 --> 00:27:29,800 drop this onto their games 607 00:27:29,800 --> 00:27:31,480 so you don't even have to worry about 608 00:27:31,480 --> 00:27:33,660 different changes in the binary 609 00:27:33,660 --> 00:27:35,080 although they have the same version number. 610 00:27:39,300 --> 00:27:40,540 Like I've already said, 611 00:27:40,740 --> 00:27:42,740 shared engines provide easy exploits. 612 00:27:43,080 --> 00:27:44,180 Middleware and so on. 613 00:27:45,560 --> 00:27:47,920 The thing that I want to add on here 614 00:27:47,920 --> 00:27:49,780 is that customization of the game engines 615 00:27:49,780 --> 00:27:51,120 that developers actually do 616 00:27:51,120 --> 00:27:51,940 for performance reasons 617 00:27:51,940 --> 00:27:53,020 might actually help you here. 618 00:27:53,160 --> 00:27:54,820 Because they could obfuscate 619 00:27:54,820 --> 00:27:57,220 some of the problems that you encounter. 620 00:27:58,540 --> 00:28:00,120 So the question you might ask is 621 00:28:00,120 --> 00:28:01,520 can we patch the engine? 622 00:28:01,720 --> 00:28:02,840 Can we have something where we 623 00:28:02,840 --> 00:28:04,680 patch the underlying fundamental problem 624 00:28:04,680 --> 00:28:06,480 and then just be done with it? 625 00:28:08,140 --> 00:28:10,400 Historically, you patch games, not engines. 626 00:28:10,700 --> 00:28:12,300 It might not be a bad idea 627 00:28:12,300 --> 00:28:14,780 in the future to look into some kind of mechanism 628 00:28:14,780 --> 00:28:15,740 to patch engines, 629 00:28:15,920 --> 00:28:17,260 but that would require developers 630 00:28:17,260 --> 00:28:18,540 not to modify engines. 631 00:28:18,900 --> 00:28:20,960 And at the moment, I think they couldn't make 632 00:28:21,120 --> 00:28:22,500 the games as pretty or as fast 633 00:28:22,500 --> 00:28:24,840 if they would just stick with a generic engine 634 00:28:24,840 --> 00:28:27,020 that works for everything out there. 635 00:28:29,940 --> 00:28:32,280 In some cases, the engine developer 636 00:28:32,280 --> 00:28:33,100 and the game developer 637 00:28:33,100 --> 00:28:34,800 might be the same development studio 638 00:28:34,800 --> 00:28:36,140 so you have an advantage there. 639 00:28:36,340 --> 00:28:38,940 But in general, this is not rolled back 640 00:28:38,940 --> 00:28:41,080 into the overall business. 641 00:28:41,440 --> 00:28:43,660 So if you look at an engine 642 00:28:43,660 --> 00:28:47,180 that's used by two different game developers 643 00:28:47,180 --> 00:28:49,520 and published by an engine developer, 644 00:28:49,520 --> 00:28:51,880 then a fix from one of them 645 00:28:51,880 --> 00:28:54,720 will usually not be pushed over 646 00:28:54,720 --> 00:28:55,640 to the second one of them. 647 00:28:55,720 --> 00:28:57,180 At the best, the engine developer 648 00:28:57,180 --> 00:28:59,460 will actually get some kind of hint 649 00:28:59,460 --> 00:29:00,320 that there is something wrong 650 00:29:00,320 --> 00:29:01,440 and fix it in the next version. 651 00:29:02,860 --> 00:29:05,160 And again, automatic patching can be spoofed too. 652 00:29:07,040 --> 00:29:08,620 Well, the question now is 653 00:29:09,280 --> 00:29:10,040 where's the profit? 654 00:29:10,520 --> 00:29:11,360 It's just a game. 655 00:29:11,440 --> 00:29:12,540 There's nothing to gain, right? 656 00:29:16,400 --> 00:29:16,800 Yes. 657 00:29:21,160 --> 00:29:22,420 Profit here is two-fold. 658 00:29:22,840 --> 00:29:23,840 You've got the game side 659 00:29:23,840 --> 00:29:25,920 and you've got the system side. 660 00:29:26,160 --> 00:29:27,040 On the game side, 661 00:29:27,240 --> 00:29:30,020 the first two points might be pretty obvious 662 00:29:30,020 --> 00:29:31,440 depending on the game you're playing on. 663 00:29:31,860 --> 00:29:32,600 Griefing and cheating. 664 00:29:32,760 --> 00:29:34,120 That's usually not something 665 00:29:34,120 --> 00:29:36,420 that I don't really worry that much about. 666 00:29:36,520 --> 00:29:38,280 It might piss you off terribly in game 667 00:29:38,280 --> 00:29:40,400 and you might want to drive down to the little kid 668 00:29:40,400 --> 00:29:42,440 that just cheated the heck out of you 669 00:29:42,440 --> 00:29:43,500 and gave his head in. 670 00:29:43,880 --> 00:29:48,080 But that is not that much of a problem 671 00:29:48,080 --> 00:29:49,200 in comparison to 672 00:29:49,200 --> 00:29:50,700 your payment information, 673 00:29:51,200 --> 00:29:52,580 your full personal information, 674 00:29:52,960 --> 00:29:55,180 all your virtual assets that you spend 675 00:29:55,180 --> 00:29:56,940 hours, countless of hours, 676 00:29:58,160 --> 00:29:59,340 creating in the game, 677 00:29:59,460 --> 00:30:02,380 or even that you spend real money on 678 00:30:02,380 --> 00:30:03,840 buying in the game. 679 00:30:03,920 --> 00:30:06,060 Think of something like Second Life. 680 00:30:07,900 --> 00:30:09,080 On the system side, 681 00:30:09,260 --> 00:30:10,880 you have pretty much everything you can gain 682 00:30:10,880 --> 00:30:12,160 from hacking a regular system. 683 00:30:13,880 --> 00:30:16,300 And, like I already mentioned a bit earlier, 684 00:30:16,460 --> 00:30:18,380 is systems of gamers 685 00:30:18,380 --> 00:30:21,140 are usually significantly beefier. 686 00:30:21,320 --> 00:30:22,620 You have better hardware. 687 00:30:22,720 --> 00:30:23,940 They have a better staging system. 688 00:30:24,840 --> 00:30:26,900 You have a broadband network connection. 689 00:30:27,620 --> 00:30:30,240 It's just a cool place to start out from 690 00:30:30,240 --> 00:30:32,260 and do more malicious stuff from. 691 00:30:35,280 --> 00:30:37,020 Virtual economies are the other thing 692 00:30:37,020 --> 00:30:38,600 that you can get huge profit on. 693 00:30:39,080 --> 00:30:39,880 At the moment, 694 00:30:39,980 --> 00:30:43,420 there are about 14 plus million MMO gamers out there, 695 00:30:43,460 --> 00:30:44,000 which is huge. 696 00:30:44,160 --> 00:30:46,140 And to give you an aspect here, 697 00:30:46,220 --> 00:30:48,260 I think 10 million of those are actually involved 698 00:30:48,380 --> 00:30:48,780 in World of Warcraft. 699 00:30:49,300 --> 00:30:50,580 It's quite insane. 700 00:30:51,860 --> 00:30:55,000 The user base is a huge target for Malware. 701 00:30:55,160 --> 00:30:57,520 I mean, there's just tons of stuff out there. 702 00:31:00,300 --> 00:31:03,260 And those virtual economies obviously also create 703 00:31:03,260 --> 00:31:04,660 a significant stream of revenue. 704 00:31:04,960 --> 00:31:07,120 On one hand, you have the stream of revenue 705 00:31:07,120 --> 00:31:08,800 that is directly to the game publishers 706 00:31:08,800 --> 00:31:09,900 and the game developers, 707 00:31:10,020 --> 00:31:11,040 which is the monthly fees. 708 00:31:11,540 --> 00:31:14,300 But you also create a lot of money 709 00:31:14,300 --> 00:31:15,540 through game assets. 710 00:31:15,860 --> 00:31:17,100 I mean, you had this whole discussion 711 00:31:17,100 --> 00:31:19,960 about one, one and a half years ago 712 00:31:19,960 --> 00:31:22,340 about taxing in-game property. 713 00:31:23,380 --> 00:31:25,400 That's because there's so much value there. 714 00:31:25,560 --> 00:31:27,300 You spend time, 715 00:31:27,980 --> 00:31:29,780 you create wealth in the game 716 00:31:29,780 --> 00:31:31,820 that you can actually sell on eBay, for example. 717 00:31:32,040 --> 00:31:34,400 And the other thing that you might spend money on 718 00:31:34,400 --> 00:31:36,440 is services that are rendered to you, 719 00:31:36,540 --> 00:31:38,700 which is gold farming, auto-leveling, 720 00:31:38,700 --> 00:31:39,460 and stuff like that. 721 00:31:40,320 --> 00:31:42,400 And this revenue is in real money. 722 00:31:42,480 --> 00:31:44,540 It's not something that you can't cash out on. 723 00:31:44,900 --> 00:31:47,040 . . . 724 00:31:47,040 --> 00:31:49,520 This is especially true for in-game microtransactions. 725 00:31:49,780 --> 00:31:52,520 There are a lot of games in Korea, actually. 726 00:31:52,580 --> 00:31:54,520 It's really popular there that you get free games, 727 00:31:54,660 --> 00:31:57,180 and then you actually pay for pretty much everything 728 00:31:57,180 --> 00:31:59,120 that you have in-game with microtransactions. 729 00:31:59,420 --> 00:32:01,440 So you might be spending, without noticing, 730 00:32:01,680 --> 00:32:03,880 hundreds of dollars on a little game 731 00:32:03,880 --> 00:32:05,140 with fluffy pink balls. 732 00:32:05,380 --> 00:32:05,760 I don't know. 733 00:32:07,020 --> 00:32:10,280 There's some interesting stuff in Korean MMOs, 734 00:32:10,280 --> 00:32:10,880 if you're interested. 735 00:32:13,500 --> 00:32:16,340 Obviously, this means that in virtual economies, 736 00:32:16,340 --> 00:32:19,280 every exploit can get you quick gains. 737 00:32:20,020 --> 00:32:21,060 Stealing assets, 738 00:32:21,680 --> 00:32:23,800 selling assets that you have just acquired, 739 00:32:24,840 --> 00:32:26,460 leveraging players' accounts, 740 00:32:26,700 --> 00:32:29,740 just creating assets in the games 741 00:32:29,740 --> 00:32:30,920 that you will sell later on, 742 00:32:31,000 --> 00:32:34,100 and obviously, the all-important payment information. 743 00:32:36,160 --> 00:32:37,440 That's why, usually, 744 00:32:37,760 --> 00:32:40,380 developers of those games are really easy to react 745 00:32:40,380 --> 00:32:42,400 if there's anything wrong with the server 746 00:32:42,400 --> 00:32:44,100 or the service in general. 747 00:32:44,660 --> 00:32:45,260 But... 748 00:32:46,340 --> 00:32:47,840 they usually are slower to react 749 00:32:47,840 --> 00:32:51,480 to actually fix something like exploits on the client 750 00:32:51,480 --> 00:32:53,740 that will just own your information. 751 00:32:56,080 --> 00:32:58,760 And this brings me directly to the current malware. 752 00:32:59,940 --> 00:33:03,040 The top-of-the-line malware that is out there at the moment, 753 00:33:03,080 --> 00:33:04,600 and the biggest chunk, clearly, 754 00:33:04,740 --> 00:33:06,520 is the account stealers. 755 00:33:06,800 --> 00:33:09,000 These are small, little malware pieces 756 00:33:09,000 --> 00:33:11,920 that go ahead and will just try to grab 757 00:33:11,920 --> 00:33:14,840 the account information for MMOs. 758 00:33:14,920 --> 00:33:16,320 And they usually span multiple years. 759 00:33:16,320 --> 00:33:16,920 Multiple MMOs. 760 00:33:18,620 --> 00:33:22,220 There is a lot of different stuff out there, 761 00:33:22,320 --> 00:33:24,380 but there are eight big families. 762 00:33:24,940 --> 00:33:27,520 And the scary part here is that, 763 00:33:27,620 --> 00:33:32,020 according to the Microsoft Malware Protection Center, 764 00:33:32,200 --> 00:33:33,540 and if you don't know who those guys are, 765 00:33:33,620 --> 00:33:35,360 those are the guys from Windows Defender, 766 00:33:35,420 --> 00:33:37,940 that little, like, thing that chips with Windows by default, 767 00:33:39,460 --> 00:33:41,780 have identified, in June alone, 768 00:33:42,500 --> 00:33:45,880 2.5 million systems out there, 769 00:33:45,880 --> 00:33:49,500 which is 18% of the user base of MMO players 770 00:33:49,500 --> 00:33:52,340 that had been infected with account stealers. 771 00:33:52,960 --> 00:33:56,200 It is unknown how many accounts have been stolen from those, 772 00:33:56,280 --> 00:33:59,480 because sometimes these accounts are just leveraged 773 00:33:59,480 --> 00:34:01,380 to post something to a message board 774 00:34:01,380 --> 00:34:02,220 or something like this. 775 00:34:02,660 --> 00:34:04,120 But this is a huge number, 776 00:34:04,240 --> 00:34:08,020 and there are indications that for July, 777 00:34:08,200 --> 00:34:10,680 this number might be twice as much, 778 00:34:10,760 --> 00:34:12,620 and that's just the stuff we know about. 779 00:34:12,760 --> 00:34:15,480 That's not the stuff that we haven't noticed yet, 780 00:34:15,480 --> 00:34:17,900 because it's not covered in those eight families, 781 00:34:18,000 --> 00:34:20,480 or it's very well hidden. 782 00:34:26,140 --> 00:34:28,920 The propagation of this type of malware 783 00:34:28,920 --> 00:34:31,040 is actually not that complex and not that tricky. 784 00:34:31,160 --> 00:34:32,960 It's mostly done through the community, 785 00:34:33,100 --> 00:34:35,400 through community sites, through social engineering, 786 00:34:35,640 --> 00:34:39,660 through what you usually would expect from malware. 787 00:34:39,840 --> 00:34:41,240 There's nothing that, like, 788 00:34:41,240 --> 00:34:43,600 pushes it automatically to your system in most cases. 789 00:34:44,080 --> 00:34:45,160 It's pretty straightforward. 790 00:34:48,120 --> 00:34:51,940 This is pretty much the state we're in right now with malware. 791 00:34:57,020 --> 00:34:59,040 Now moving on to Games 2.0, 792 00:34:59,080 --> 00:35:02,100 which is something that's very dear to me, 793 00:35:02,140 --> 00:35:03,260 because I like privacy. 794 00:35:05,040 --> 00:35:06,460 Games 2.0, to repeat, 795 00:35:06,680 --> 00:35:09,380 are the games that are fully integrated with online platforms, 796 00:35:09,620 --> 00:35:10,940 for example, MMOs, 797 00:35:11,400 --> 00:35:13,580 or games that run on anything like Steam, 798 00:35:13,600 --> 00:35:14,940 or games for Windows Live. 799 00:35:16,260 --> 00:35:18,800 The privacy concerns here are mostly 800 00:35:18,800 --> 00:35:22,620 that the system knows when the game is run, 801 00:35:22,780 --> 00:35:25,180 and it is required to unlock the game, 802 00:35:25,260 --> 00:35:27,580 which is purely something artificial that is done 803 00:35:27,580 --> 00:35:29,940 because there are too many people out there 804 00:35:29,940 --> 00:35:31,420 that will just pirate a game otherwise. 805 00:35:32,920 --> 00:35:35,520 The online status of a game is usually published, 806 00:35:35,800 --> 00:35:37,740 and you might be able to deactivate this, 807 00:35:37,840 --> 00:35:38,680 but underneath the hood, 808 00:35:38,760 --> 00:35:40,400 the system always knows if you're online, 809 00:35:40,560 --> 00:35:41,780 because otherwise you can't play it. 810 00:35:41,780 --> 00:35:44,880 It might be even anonymous underneath the hood, 811 00:35:45,000 --> 00:35:47,220 but you can still sniff the network 812 00:35:47,220 --> 00:35:49,860 and find out when people connect to the service, 813 00:35:49,980 --> 00:35:52,900 and voila, you've got a full, nice user profile. 814 00:35:53,340 --> 00:35:56,640 The other part of this that's interesting 815 00:35:56,640 --> 00:35:58,300 is that all of those systems, 816 00:35:58,380 --> 00:35:59,280 or most of the systems, 817 00:35:59,360 --> 00:36:01,180 actually keep some kind of track 818 00:36:01,180 --> 00:36:02,540 of what you have done in the game, 819 00:36:02,600 --> 00:36:04,220 like achievements or something like this. 820 00:36:04,480 --> 00:36:07,340 This allows you to create a nice user profile, 821 00:36:07,480 --> 00:36:08,940 sometimes even with time slices. 822 00:36:09,260 --> 00:36:10,980 So if you have discovered 823 00:36:10,980 --> 00:36:12,900 that little kid that just pranked you earlier, 824 00:36:13,100 --> 00:36:15,080 you could look into his user profile, 825 00:36:15,480 --> 00:36:17,020 figure out when he's not at home, 826 00:36:17,120 --> 00:36:19,240 and torch his house, or something like that. 827 00:36:19,940 --> 00:36:21,660 I don't recommend you do that. 828 00:36:25,120 --> 00:36:28,020 Also, a list of friends is very easy to obtain. 829 00:36:28,180 --> 00:36:29,700 That might not be real-life friends, 830 00:36:29,840 --> 00:36:32,120 but you might be able to, with this list of friends, 831 00:36:32,280 --> 00:36:34,420 relatively easily socially engineer somebody 832 00:36:34,800 --> 00:36:36,740 and drop even more malware on top of him. 833 00:36:38,880 --> 00:36:40,100 Basically, you get everything 834 00:36:40,100 --> 00:36:42,280 from these platforms that you would expect 835 00:36:42,280 --> 00:36:44,760 to get from a social platform like Facebook. 836 00:36:45,380 --> 00:36:47,120 And you get significantly more, too. 837 00:36:48,580 --> 00:36:49,540 It's hard to get, 838 00:36:49,640 --> 00:36:51,700 or almost impossible to get around this. 839 00:36:51,820 --> 00:36:52,860 You have to do this, 840 00:36:52,940 --> 00:36:54,140 and that's the thing that bugs me. 841 00:36:54,300 --> 00:36:55,660 If you want to play those games, 842 00:36:55,760 --> 00:36:57,740 you have to be part of this platform. 843 00:36:58,180 --> 00:37:00,620 You cannot opt out of it unless you say, 844 00:37:00,700 --> 00:37:01,720 I'm not playing this game. 845 00:37:02,400 --> 00:37:04,160 While for a social platform, 846 00:37:04,360 --> 00:37:05,880 you always have the option to opt out. 847 00:37:08,920 --> 00:37:12,560 Now to something that should be pretty interesting. 848 00:37:14,540 --> 00:37:15,760 Exercise and exploits. 849 00:37:15,860 --> 00:37:17,660 I've got three examples here 850 00:37:17,660 --> 00:37:18,980 that are not necessarily something 851 00:37:18,980 --> 00:37:21,220 that you could do right away, 852 00:37:21,340 --> 00:37:22,900 but it should give you a rough idea 853 00:37:22,900 --> 00:37:27,300 of how the biggest exploits are in the games right now. 854 00:37:27,520 --> 00:37:29,400 And I'll start off with the little nude patch that could, 855 00:37:30,020 --> 00:37:31,080 then go to the post, 856 00:37:31,180 --> 00:37:32,480 and then give you an ad from hell. 857 00:37:34,420 --> 00:37:34,820 Well, 858 00:37:34,820 --> 00:37:38,940 this is an engine exploit, 859 00:37:39,160 --> 00:37:41,080 or a scenario for an engine exploit. 860 00:37:41,920 --> 00:37:44,280 So the idea here is that you've got Alice, 861 00:37:45,440 --> 00:37:46,820 who plays this game, 862 00:37:47,440 --> 00:37:49,600 and she's not happy with the scene on the right, 863 00:37:49,700 --> 00:37:51,680 for purely academical reasons. 864 00:37:52,600 --> 00:37:55,780 And she goes up to nudepatchworld.com, 865 00:37:55,960 --> 00:37:58,100 which, by the way, doesn't exist right now, 866 00:37:58,160 --> 00:38:00,100 so if somebody in the audience wants to start a business, 867 00:38:00,300 --> 00:38:00,900 go ahead, 868 00:38:02,220 --> 00:38:04,720 and finds a patch that has been provided by Bob. 869 00:38:05,900 --> 00:38:06,720 She looks, 870 00:38:06,820 --> 00:38:09,040 because she actually knows about 871 00:38:11,360 --> 00:38:13,920 threats that could come through patches like this, 872 00:38:14,020 --> 00:38:17,700 she knows how to disassemble them, 873 00:38:17,760 --> 00:38:18,480 and looks through them, 874 00:38:18,600 --> 00:38:20,760 and she actually finds that there is a character file, 875 00:38:20,940 --> 00:38:24,160 and a modification to her game settings 876 00:38:24,160 --> 00:38:25,700 that will reference that character file. 877 00:38:25,920 --> 00:38:28,280 And the character file only seems to contain a texture, 878 00:38:28,420 --> 00:38:29,540 so no big deal, right? 879 00:38:29,680 --> 00:38:30,780 She drops it in there, 880 00:38:30,920 --> 00:38:33,280 but actually, as it turns out, 881 00:38:33,300 --> 00:38:34,720 Bob just pwned her machine, 882 00:38:34,820 --> 00:38:38,260 and Bob just pwned her machine, 883 00:38:38,440 --> 00:38:39,960 and is enjoying her credit limit. 884 00:38:41,660 --> 00:38:42,680 So what happened? 885 00:38:43,000 --> 00:38:44,380 Looking deeper into this, 886 00:38:44,560 --> 00:38:46,100 you had the character file, 887 00:38:46,300 --> 00:38:47,940 but the interesting thing here is that 888 00:38:47,940 --> 00:38:49,120 there was script code in there, 889 00:38:49,220 --> 00:38:51,260 because, as I mentioned earlier, 890 00:38:51,520 --> 00:38:54,320 engines also have script engines in there. 891 00:38:55,320 --> 00:38:57,720 And this script code is actually the problem. 892 00:39:00,820 --> 00:39:02,620 It's executed in the game, 893 00:39:02,680 --> 00:39:03,820 with the game permissions, 894 00:39:03,820 --> 00:39:04,960 and that's usually administrator, 895 00:39:05,260 --> 00:39:06,420 even on newer systems. 896 00:39:07,000 --> 00:39:09,620 And it also is crafted so it gets executed 897 00:39:09,620 --> 00:39:10,900 before the model is loaded. 898 00:39:11,120 --> 00:39:12,900 And ideally, if you want to be sneaky about this, 899 00:39:13,020 --> 00:39:14,520 execute it once and once only. 900 00:39:18,320 --> 00:39:20,780 Well, script code is run in the sandbox, right? 901 00:39:20,840 --> 00:39:21,840 So this shouldn't be a problem. 902 00:39:24,380 --> 00:39:25,320 Not necessarily. 903 00:39:25,860 --> 00:39:28,460 Because the script engines are highly complex 904 00:39:28,460 --> 00:39:31,220 and can cause severe issues 905 00:39:31,220 --> 00:39:32,960 if they're not engineered properly. 906 00:39:32,960 --> 00:39:35,420 It is just a matter of time 907 00:39:35,420 --> 00:39:37,320 until you find something that allows you 908 00:39:37,320 --> 00:39:39,380 to get access to something deeper down. 909 00:39:39,620 --> 00:39:41,200 So grab your favorite fuzzer, 910 00:39:41,340 --> 00:39:43,020 run it on the scripting engine, 911 00:39:43,100 --> 00:39:44,040 and you will find something. 912 00:39:44,680 --> 00:39:46,260 Ideally, this will just allow you 913 00:39:46,260 --> 00:39:47,440 to create a one-time hack, 914 00:39:47,600 --> 00:39:49,560 but you might even be able 915 00:39:50,320 --> 00:39:52,420 to do something significantly more sinister. 916 00:39:53,100 --> 00:39:54,200 And once you're there, 917 00:39:54,360 --> 00:39:55,320 you own the box, 918 00:39:55,420 --> 00:39:57,060 because you're usually already administrator. 919 00:39:59,440 --> 00:40:01,460 The next one is social engineering, 920 00:40:01,700 --> 00:40:02,940 which is the biggest one out there. 921 00:40:02,960 --> 00:40:03,960 Like you've already seen. 922 00:40:04,160 --> 00:40:06,800 The scenario is that Alice is playing an MMO 923 00:40:06,800 --> 00:40:08,600 with roughly nine million users. 924 00:40:08,760 --> 00:40:09,360 No names here. 925 00:40:10,940 --> 00:40:13,440 And she goes to the message boards 926 00:40:13,440 --> 00:40:15,300 and browses them quite a lot for information. 927 00:40:16,500 --> 00:40:18,500 There's a little flash tag in one of the posts 928 00:40:18,500 --> 00:40:20,120 that she is looking at, 929 00:40:20,180 --> 00:40:23,380 and there's nothing specific going on. 930 00:40:24,200 --> 00:40:25,640 She responds to that post, 931 00:40:25,840 --> 00:40:27,500 and suddenly Bob actually has 932 00:40:27,500 --> 00:40:29,620 all her account information and everything. 933 00:40:30,340 --> 00:40:32,940 And he also uses that account to make more posts. 934 00:40:32,960 --> 00:40:36,060 The problem here is very, very straightforward. 935 00:40:36,640 --> 00:40:38,400 Bob just exploited a flash vulnerability, 936 00:40:39,600 --> 00:40:41,400 and this is actually critical, 937 00:40:41,620 --> 00:40:44,640 because even if your game is secure, 938 00:40:45,220 --> 00:40:46,740 your website might not be. 939 00:40:47,580 --> 00:40:49,740 Or even if you have patched your game 940 00:40:49,740 --> 00:40:51,380 to be the safest thing on Earth 941 00:40:51,380 --> 00:40:52,860 that nobody can hack, 942 00:40:53,040 --> 00:40:54,420 even if they are totally elite 943 00:40:54,420 --> 00:40:55,440 and have awesome skills, 944 00:40:56,260 --> 00:40:58,460 you could still have a user out there 945 00:40:58,460 --> 00:41:00,760 that runs the crappiest browser on Earth 946 00:41:00,760 --> 00:41:02,460 and gets pwned immediately 947 00:41:02,460 --> 00:41:03,980 if you just sneeze at the browser. 948 00:41:04,720 --> 00:41:07,400 And so securing games is not everything. 949 00:41:07,540 --> 00:41:08,780 And this is actually, to some extent, 950 00:41:08,880 --> 00:41:10,540 outside of the hand of the developer. 951 00:41:10,680 --> 00:41:13,700 And that can be a very big problem, too, 952 00:41:13,800 --> 00:41:15,580 as some MMOs have experienced. 953 00:41:17,160 --> 00:41:18,380 And the last thing here, 954 00:41:18,480 --> 00:41:22,340 and I'm blazing through this in the sense of time, 955 00:41:22,420 --> 00:41:23,320 is a middleware exploit. 956 00:41:24,680 --> 00:41:26,840 The scenario is that Alice actually 957 00:41:27,500 --> 00:41:28,720 has her favorite game, 958 00:41:28,740 --> 00:41:29,980 and it just got in-game ads, 959 00:41:30,160 --> 00:41:31,080 like you see in the screenshot. 960 00:41:32,500 --> 00:41:33,940 This is provided by middleware. 961 00:41:34,040 --> 00:41:36,320 Well, Bob uploads a custom image 962 00:41:36,320 --> 00:41:36,960 to the middleware, 963 00:41:37,000 --> 00:41:38,160 and he might do some sneaky stuff 964 00:41:38,160 --> 00:41:39,240 to sneak it into the system. 965 00:41:39,280 --> 00:41:40,680 He might just purely upload it. 966 00:41:41,260 --> 00:41:42,820 But the interesting thing is that 967 00:41:42,820 --> 00:41:44,280 whenever Alice views the picture, 968 00:41:44,320 --> 00:41:44,900 she crashes, 969 00:41:45,460 --> 00:41:47,120 and what happens underneath the hood 970 00:41:47,120 --> 00:41:49,520 is that Bob just pwned her machine. 971 00:41:50,660 --> 00:41:51,800 And, by the way, 972 00:41:51,820 --> 00:41:52,640 this is true for everybody 973 00:41:52,640 --> 00:41:54,420 that watches that image. 974 00:41:56,240 --> 00:41:57,480 Well, what happened? 975 00:41:57,560 --> 00:42:00,440 And this is what you might have already expected. 976 00:42:01,180 --> 00:42:05,420 There's an image rendering flaw in the ad system, 977 00:42:06,780 --> 00:42:08,880 and one flaw covers all gamers 978 00:42:08,880 --> 00:42:10,400 because it's an automatic delivery system. 979 00:42:10,920 --> 00:42:12,840 And the user can only prevent the attack 980 00:42:12,840 --> 00:42:14,100 by not playing the game. 981 00:42:17,120 --> 00:42:19,060 The biggest problem here is that 982 00:42:19,060 --> 00:42:21,120 one exploit can put the whole cloud at risk. 983 00:42:21,240 --> 00:42:22,660 You've got this automatic delivery system, 984 00:42:23,100 --> 00:42:26,700 and you also have to make sure 985 00:42:26,700 --> 00:42:27,900 on the back-end side 986 00:42:27,900 --> 00:42:30,420 that nobody is able to either spoof this, 987 00:42:30,420 --> 00:42:31,480 or upload stuff. 988 00:42:31,720 --> 00:42:33,120 And this is sometimes really critical 989 00:42:33,120 --> 00:42:36,320 because developers will not necessarily 990 00:42:36,320 --> 00:42:38,640 think immediately about their bad implications. 991 00:42:38,840 --> 00:42:40,240 Because if I've got enough money, 992 00:42:40,280 --> 00:42:42,840 I can just make up a bad company, 993 00:42:43,580 --> 00:42:44,920 submit something to them, 994 00:42:45,020 --> 00:42:46,540 and pwn the whole cloud. 995 00:42:46,600 --> 00:42:47,540 By the time they figure it out, 996 00:42:47,580 --> 00:42:48,640 I'll be on the Cayman Islands 997 00:42:49,340 --> 00:42:50,740 and enjoying my new accounts. 998 00:42:52,440 --> 00:42:55,380 So in-game advertisement engines 999 00:42:55,380 --> 00:42:58,620 also have additional code in there 1000 00:42:58,620 --> 00:43:00,120 that will tell you when, where, how, 1001 00:43:00,420 --> 00:43:02,260 and who watched pictures, 1002 00:43:02,420 --> 00:43:04,280 and that just increases their tech surface. 1003 00:43:08,400 --> 00:43:10,860 This is pretty much the end of my talk, 1004 00:43:10,960 --> 00:43:12,880 so I'll open the floor to questions. 1005 00:43:16,980 --> 00:43:17,560 Anybody? 1006 00:43:18,080 --> 00:43:18,800 Go ahead. 1007 00:43:19,660 --> 00:43:22,720 Has anyone done an analysis of 1008 00:43:22,720 --> 00:43:22,960 . 1009 00:43:27,660 --> 00:43:30,180 I haven't seen anything specific 1010 00:43:30,420 --> 00:43:31,420 for this, 1011 00:43:37,580 --> 00:43:40,080 but it would be very interesting 1012 00:43:40,080 --> 00:43:41,220 to take a look at that 1013 00:43:41,220 --> 00:43:43,380 and see how they're actually 1014 00:43:43,380 --> 00:43:44,460 filtering the content, 1015 00:43:44,620 --> 00:43:45,520 which is to some extent 1016 00:43:45,520 --> 00:43:48,000 not exposed to the regular user out there 1017 00:43:48,000 --> 00:43:49,440 because you're just on the receiving end. 1018 00:43:53,780 --> 00:43:54,620 Anybody else? 1019 00:43:57,260 --> 00:43:57,780 Cool. 1020 00:43:57,860 --> 00:43:58,380 Thank you. 1021 00:44:00,420 --> 00:44:01,660 Thank you.