1 00:00:00,000 --> 00:00:02,500 Okay, so what I'm going to be talking about is the commercial malware industry. 2 00:00:02,740 --> 00:00:05,880 So not so much people, you know, sitting in basements and hacking out viruses and whatever, 3 00:00:05,980 --> 00:00:09,700 but the actual commercial vendors or commercial operators doing this, 4 00:00:09,740 --> 00:00:11,020 mostly in the form of organised crime. 5 00:00:12,540 --> 00:00:16,160 So there's some historical perspective on this to sort of provide some background for this. 6 00:00:16,240 --> 00:00:19,000 In the 1920s and 1930s there was something called the numbers racket, 7 00:00:19,160 --> 00:00:21,660 which was basically lotto before the government got involved in it. 8 00:00:22,140 --> 00:00:25,780 And it was a small-scale industry, exactly as malware was maybe 10 years ago. 9 00:00:25,960 --> 00:00:28,860 And it was run through things like local barber shops, local grocer shops. 10 00:00:28,860 --> 00:00:32,360 And for people who aren't familiar with the way sort of things worked back then, 11 00:00:32,400 --> 00:00:33,640 you didn't have universal phone service. 12 00:00:33,700 --> 00:00:35,500 You might have one phone serving an entire neighbourhood, 13 00:00:35,640 --> 00:00:37,320 and that would be in the barber shop or the grocer shop. 14 00:00:37,540 --> 00:00:39,420 So that was a gathering point for the entire neighbourhood. 15 00:00:40,140 --> 00:00:41,920 And so they ran the numbers racket through that. 16 00:00:42,020 --> 00:00:43,660 You could bet for a couple of cents at a time. 17 00:00:43,980 --> 00:00:45,960 And the way it worked is you chose a three-digit number, 18 00:00:46,560 --> 00:00:51,760 and then the total amount bet at parimutuel gambling machines at racetracks 19 00:00:51,760 --> 00:00:53,940 was used to match that last three digits. 20 00:00:54,180 --> 00:00:57,020 And if that matched the least significant three digits of the total amount bet, 21 00:00:57,200 --> 00:00:58,640 then you won a certain amount. 22 00:00:59,500 --> 00:01:03,740 And the reason it was done that way was because that was just a publicly verifiable, 23 00:01:04,180 --> 00:01:05,300 effectively a lotto draw. 24 00:01:08,320 --> 00:01:09,840 And nobody really cared about this. 25 00:01:09,880 --> 00:01:12,200 The police and so on, occasionally they'd do some shakedown, 26 00:01:12,260 --> 00:01:14,620 but generally no one cared about it because it was a small-scale thing. 27 00:01:14,760 --> 00:01:17,440 The amounts involved were so small that nobody really bothered about it. 28 00:01:18,040 --> 00:01:19,620 And then organised crime moved in. 29 00:01:19,660 --> 00:01:22,220 This guy called Dutch Schultz took over from the existing operators. 30 00:01:22,420 --> 00:01:23,720 So he'd come in with the existing operators. 31 00:01:23,840 --> 00:01:24,660 He'd negotiate with them. 32 00:01:24,740 --> 00:01:28,080 He'd put a loaded gun on the table pointing at the operators and would say, 33 00:01:28,860 --> 00:01:29,980 you know, we're going to take over your racket. 34 00:01:30,100 --> 00:01:31,120 Do you have any objections to this? 35 00:01:31,200 --> 00:01:33,220 And the local operator would be a barbershop operator. 36 00:01:33,480 --> 00:01:36,920 He really wasn't used to that, so he basically said, yeah, no, go ahead, take over the business. 37 00:01:38,060 --> 00:01:41,280 And so once organised crime was running it, they had enough money to put into this 38 00:01:41,280 --> 00:01:43,420 that they could do things like hire mathematicians. 39 00:01:43,420 --> 00:01:45,920 There was a guy called Otto Berman, known as Abba Dabba Berman, 40 00:01:45,960 --> 00:01:46,920 who could fix the numbers racket. 41 00:01:47,780 --> 00:01:49,440 I still don't know exactly how he did this, 42 00:01:49,540 --> 00:01:52,300 but he would go to racetracks and make a series of last-minute bets 43 00:01:52,300 --> 00:01:55,460 to ensure that the frequently played numbers were less likely to win 44 00:01:55,460 --> 00:01:56,940 than relatively infrequent ones. 45 00:01:57,200 --> 00:01:58,600 So basically the house always won. 46 00:01:58,600 --> 00:02:00,240 He was tilting the odds in favour of the house. 47 00:02:01,360 --> 00:02:03,480 No one had ever considered this level of attack before. 48 00:02:03,640 --> 00:02:06,560 They assumed it was relatively safe from attack because it was a small-scale operation. 49 00:02:06,820 --> 00:02:10,020 It wasn't until organised crime moved in and put serious money behind this 50 00:02:10,020 --> 00:02:13,420 and serious expertise that you could go in and actually fix the numbers racket. 51 00:02:15,640 --> 00:02:18,500 And so the problem with this is that, yeah, once organised crime gets involved, 52 00:02:18,720 --> 00:02:19,420 everything changes. 53 00:02:19,580 --> 00:02:21,800 And we've got the same thing with sort of malware and with spam, 54 00:02:21,960 --> 00:02:24,480 that it's basically a worldwide organised, professionally run industry. 55 00:02:26,840 --> 00:02:28,240 So initially you had viruses. 56 00:02:28,240 --> 00:02:29,800 Well, basically publicity viruses. 57 00:02:29,980 --> 00:02:32,580 I mean, someone would write a virus and they'd do it to get their name in the press 58 00:02:32,580 --> 00:02:35,700 or their name in lights or whatever, or bragging rights, and that was it. 59 00:02:36,720 --> 00:02:37,960 These things were poorly tested. 60 00:02:38,000 --> 00:02:38,660 They barely worked. 61 00:02:38,820 --> 00:02:41,480 There was a whole bunch of stuff that came out around about 2000, 2001, 62 00:02:41,940 --> 00:02:44,420 where they did things like they hadn't tested the random number generator, 63 00:02:44,600 --> 00:02:47,340 so they'd only scan a subset of the IP address range. 64 00:02:47,700 --> 00:02:49,280 And it wouldn't work on different platforms. 65 00:02:49,360 --> 00:02:52,080 It worked on one specific version of Windows and nothing else, 66 00:02:52,120 --> 00:02:52,980 and a whole pile of other stuff. 67 00:02:53,060 --> 00:02:53,960 So these were poorly tested. 68 00:02:54,060 --> 00:02:55,380 They were written for bragging rights. 69 00:02:56,700 --> 00:02:57,960 The stuff that's being done now, 70 00:02:58,240 --> 00:02:59,880 mostly is done by paid professional programmers. 71 00:03:00,060 --> 00:03:01,120 These are well tested. 72 00:03:01,220 --> 00:03:02,540 They can be incredibly sophisticated. 73 00:03:03,100 --> 00:03:05,560 I'm going to give some examples to point out some of the things that these do 74 00:03:06,200 --> 00:03:06,940 throughout the talk. 75 00:03:07,540 --> 00:03:09,400 So, for example, there's a Babylonia virus, 76 00:03:09,560 --> 00:03:10,720 which has plug-in virus modules. 77 00:03:11,180 --> 00:03:13,380 So you'd unload a sort of a main controller virus, 78 00:03:13,460 --> 00:03:16,200 and then it goes out and gets these plug-ins to perform the various malware functions. 79 00:03:16,860 --> 00:03:19,060 There are ones that use digitally signed encrypted updates. 80 00:03:19,520 --> 00:03:23,940 So this was, Hybris, I think, was even before this was being done to some extent by vendors, 81 00:03:24,040 --> 00:03:25,280 where they do digitally signed updates. 82 00:03:25,420 --> 00:03:27,300 So the malware authors were already using this technology 83 00:03:27,300 --> 00:03:28,900 before the vendors themselves were. 84 00:03:30,980 --> 00:03:34,440 So the thing with this is, you know, again, once you've got serious money involved, 85 00:03:34,580 --> 00:03:36,420 you can buy serious expertise to do all this stuff. 86 00:03:36,840 --> 00:03:41,800 For example, spam vendors are employing people with PhDs in linguistics to bypass spam filters. 87 00:03:42,220 --> 00:03:42,800 Now, you think about this. 88 00:03:42,880 --> 00:03:44,440 You've got the spam filters are being written by hackers, 89 00:03:44,520 --> 00:03:47,780 sort of basically, you know, I don't mean this in a negative way, 90 00:03:47,860 --> 00:03:49,220 but enthusiastic amateurs, basically. 91 00:03:49,320 --> 00:03:50,480 They're sitting down there writing the code. 92 00:03:50,940 --> 00:03:53,940 The guys who are attacking them are getting people with PhDs in linguistics 93 00:03:53,940 --> 00:03:55,040 to get around the spam filters. 94 00:03:56,160 --> 00:03:57,140 Same thing with phishing. 95 00:03:57,140 --> 00:03:59,180 They're using psychology graduates to scam the victims. 96 00:03:59,320 --> 00:04:03,120 So you've got the first-level phishing guys who basically try and lure them in. 97 00:04:03,220 --> 00:04:05,700 And if they have problems, they pass them on to the second-level tech support, 98 00:04:05,880 --> 00:04:09,780 which are people with degrees in psychology to try and con people out of their money. 99 00:04:10,780 --> 00:04:12,620 So the exact figures of what people are making, 100 00:04:12,780 --> 00:04:16,660 and in particular the sort of, you know, developers and so on, is not really known. 101 00:04:16,760 --> 00:04:18,100 These are basically based on rumors, 102 00:04:18,220 --> 00:04:23,000 but apparently you can earn up to $200,000 a year as a malware author in Eastern Europe. 103 00:04:23,240 --> 00:04:25,360 Now, the general wages there aren't very good. 104 00:04:25,380 --> 00:04:27,040 So this is a spectacularly good wage. 105 00:04:27,140 --> 00:04:27,740 It's a good wage for Eastern Europe. 106 00:04:28,600 --> 00:04:32,240 And the same thing for sort of very commercially viable remote route zero days. 107 00:04:32,360 --> 00:04:34,800 Again, there are rumors that these go from $50,000 to $100,000 each. 108 00:04:34,920 --> 00:04:36,320 So you can make an awful amount of money, 109 00:04:36,400 --> 00:04:39,060 way more than you can ever make in any legitimate industry 110 00:04:39,060 --> 00:04:41,000 by selling to the malware industry. 111 00:04:43,120 --> 00:04:45,360 So here's a typical example of how you might get the recruits. 112 00:04:46,520 --> 00:04:47,740 Let's say you're somewhere in Russia. 113 00:04:47,860 --> 00:04:49,520 You're running some botnet just for the fun of it. 114 00:04:50,560 --> 00:04:53,760 Your local ISP either has an agreement with the local crime organization 115 00:04:53,760 --> 00:04:55,300 or they're being leaned on or whatever. 116 00:04:55,600 --> 00:04:57,120 So they report this to the ICR. 117 00:04:57,140 --> 00:04:57,620 Crime organization. 118 00:04:58,520 --> 00:05:00,800 They then turn up at your door and make you an offer you can't refuse. 119 00:05:01,040 --> 00:05:02,280 And suddenly you're working for the Russian mafia. 120 00:05:02,740 --> 00:05:03,980 So this is an example. 121 00:05:04,180 --> 00:05:06,320 You don't actually sort of go there and sign up. 122 00:05:06,440 --> 00:05:08,280 They don't put out recruitment posters. 123 00:05:08,700 --> 00:05:10,660 On the other hand, you could just be doing this in your spare time. 124 00:05:10,760 --> 00:05:14,280 And suddenly, without really wanting to, you're working for organized crime. 125 00:05:17,400 --> 00:05:20,780 This is a commercial sort of relatively white hat. 126 00:05:21,240 --> 00:05:25,200 The Wasabi Labby, whatever it is, online auction site. 127 00:05:25,280 --> 00:05:26,060 I've used this as an example. 128 00:05:26,060 --> 00:05:28,540 I don't see this as a very viable commercial business model. 129 00:05:29,280 --> 00:05:36,220 But that's an example anyway of, let's say, non-black market trade and exploits. 130 00:05:36,840 --> 00:05:40,220 There was, for example, there was a black market exploit for Vista, 131 00:05:40,300 --> 00:05:42,020 which was actually released before Vista was released. 132 00:05:42,120 --> 00:05:43,040 So it wasn't just a zero day. 133 00:05:43,080 --> 00:05:46,200 It was more of a minus one day, which sold for about $50,000. 134 00:05:48,740 --> 00:05:51,600 So this is a comment of the stuff where it's coming out of Russia 135 00:05:51,600 --> 00:05:55,780 and some examples of prices and distribution of the stuff out by Russian hacker groups. 136 00:05:58,500 --> 00:06:03,260 So because this is a complete industry, it's not one individual doing carding or spamming or whatever. 137 00:06:03,340 --> 00:06:04,020 It's a complete industry. 138 00:06:04,300 --> 00:06:05,860 It's broken down into different sectors. 139 00:06:05,960 --> 00:06:08,580 And the different sectors take care of different parts of the malware. 140 00:06:08,920 --> 00:06:10,840 So you can outsource pretty much anything you want. 141 00:06:11,440 --> 00:06:13,360 Some of it's done, for example, by the affiliate model. 142 00:06:13,640 --> 00:06:16,700 So what you do is you've got spyware and you pay affiliates to affect people 143 00:06:16,700 --> 00:06:19,000 that come to particular websites with your Trojans. 144 00:06:19,500 --> 00:06:22,900 This was pioneered by a Russian organization, iframedollars.biz. 145 00:06:23,140 --> 00:06:26,040 Iframe is kind of the number one attack vector of Trojans. 146 00:06:26,060 --> 00:06:27,020 It's the worst for getting stuff into browsers. 147 00:06:28,060 --> 00:06:30,860 What they do is they pay webmasters six cents for each infected machine. 148 00:06:31,180 --> 00:06:34,040 So they could check whether their malware had been loaded onto a machine. 149 00:06:34,220 --> 00:06:36,140 If it went through your website, they'd pay you six cents. 150 00:06:36,800 --> 00:06:39,140 And there's also all sorts of different payment rates. 151 00:06:39,260 --> 00:06:40,440 You can get fixed weekly payouts. 152 00:06:40,500 --> 00:06:42,320 You can get bonuses for installs on clean machines. 153 00:06:43,020 --> 00:06:45,560 And there's some quotes there from some of their advertising saying, 154 00:06:45,660 --> 00:06:47,840 basically, you know, if you're getting really good returns for us, 155 00:06:47,900 --> 00:06:51,120 we can negotiate and pay you more based on the fact that you're getting very good returns for us. 156 00:06:53,180 --> 00:06:55,800 And that's since extended from that to a vast mass. 157 00:06:56,060 --> 00:06:57,380 These are some examples. 158 00:06:57,520 --> 00:06:58,920 There's basically too many of these to list. 159 00:06:59,260 --> 00:07:01,640 And typically, they have certain published rates 160 00:07:01,640 --> 00:07:03,740 where they'll pay based on infection of machines. 161 00:07:04,040 --> 00:07:06,940 So, for example, if they infect in the U.S., you get 30 cents per infection. 162 00:07:07,300 --> 00:07:08,780 And then it drops lower and lower. 163 00:07:08,900 --> 00:07:11,720 So you don't necessarily want to infect a machine in Romania, for example. 164 00:07:11,720 --> 00:07:13,220 You're not going to get a very good return out of that. 165 00:07:13,300 --> 00:07:15,780 So the payback for that is a lot lower than infecting someone in the U.S. 166 00:07:17,200 --> 00:07:19,340 Typically, these things sort of pretend to be legal. 167 00:07:19,420 --> 00:07:21,040 So they've got terms and conditions saying that 168 00:07:21,040 --> 00:07:24,420 if any affiliates act unethically, then we'll terminate their contract, 169 00:07:24,720 --> 00:07:25,560 which is complete nonsense. 170 00:07:25,640 --> 00:07:26,040 It's just... 171 00:07:26,060 --> 00:07:26,520 It's there to look good. 172 00:07:27,880 --> 00:07:29,440 And they make serious money out of this. 173 00:07:29,480 --> 00:07:31,200 And one of the things with dealing with sort of Eastern European, 174 00:07:31,820 --> 00:07:34,360 not necessarily criminals, but let's say grey market groups, 175 00:07:34,560 --> 00:07:36,300 is they really know how to look after their customers. 176 00:07:36,440 --> 00:07:38,580 So there's a website near clickteamparty.com. 177 00:07:38,820 --> 00:07:40,060 I don't know if that's still up. 178 00:07:40,100 --> 00:07:40,860 They may have taken it down. 179 00:07:40,960 --> 00:07:43,760 But it shows the end-of-year party for their top business earners. 180 00:07:44,020 --> 00:07:46,840 And so they rented this castle and they brought in, you know, strippers 181 00:07:46,840 --> 00:07:48,240 and they had paintball competitions. 182 00:07:48,420 --> 00:07:51,720 They gave away a C-class Mercedes for their top earner. 183 00:07:51,760 --> 00:07:53,620 And they had, you know, like strippers wandering around 184 00:07:53,620 --> 00:07:55,720 carrying out VAIO laptops to give to their top earners. 185 00:07:56,060 --> 00:07:59,240 I mean, they really look after their, at least, affiliates, if not customers. 186 00:08:01,420 --> 00:08:03,240 So some of the examples of what some of the stuff does. 187 00:08:03,880 --> 00:08:05,980 They do things like they do context-sensitive spamming. 188 00:08:05,980 --> 00:08:08,580 So one of the things that Google does is you can pay to get a better ranking in Google. 189 00:08:08,980 --> 00:08:11,020 And what these guys do is they subvert that process 190 00:08:11,020 --> 00:08:13,800 so they inject ads into your web browser. 191 00:08:13,980 --> 00:08:16,100 So they'll, for example, rewrite Google search results 192 00:08:16,100 --> 00:08:19,940 so that their spammed search results rank higher than the official Google results. 193 00:08:20,940 --> 00:08:23,920 Or they'll do things like they'll notice that you're searching for a particular thing 194 00:08:23,920 --> 00:08:25,820 and then they'll spam you with ads based on this thing. 195 00:08:26,780 --> 00:08:29,460 Yeah, and there's a comment at the bottom of basically the way that sort of works. 196 00:08:32,600 --> 00:08:36,240 So there's this huge amount of grey market and sort of rather unethical practices. 197 00:08:36,500 --> 00:08:38,820 So I mentioned earlier that they'll put something in the EULA saying, 198 00:08:39,060 --> 00:08:41,540 you know, you understand that you're installing something 199 00:08:41,540 --> 00:08:43,500 that's going to save you ads and so on and so forth. 200 00:08:43,560 --> 00:08:44,300 That's the actual vendors. 201 00:08:44,580 --> 00:08:47,300 The affiliates then use OLA automation to bypass that. 202 00:08:47,420 --> 00:08:49,220 So they basically, the EULA pops up. 203 00:08:49,380 --> 00:08:51,460 There's OLA automation to click on OK 204 00:08:51,460 --> 00:08:53,180 and it goes away before the user even sees it. 205 00:08:53,540 --> 00:08:55,800 So, you know, the actual... 206 00:08:55,800 --> 00:08:57,580 the adware distributor can say 207 00:08:57,580 --> 00:08:59,480 we're acting ethically, we're displaying this licence agreement 208 00:08:59,480 --> 00:09:01,740 we're warning the user and it's not our fault if the other 209 00:09:01,740 --> 00:09:03,560 guys are subverting this and you 210 00:09:03,560 --> 00:09:05,660 piggyback it on legitimate software and a million other things 211 00:09:06,940 --> 00:09:07,700 so that's an 212 00:09:07,700 --> 00:09:09,780 example of the sort of, you know, at the very 213 00:09:09,780 --> 00:09:11,700 edges of the market, the sort of the adware 214 00:09:11,700 --> 00:09:13,700 and malware distribution but basically the whole thing 215 00:09:13,700 --> 00:09:15,280 works pretty much as malware as a service 216 00:09:15,280 --> 00:09:17,540 so you may have heard a whole pile of advertising of software 217 00:09:17,540 --> 00:09:19,600 as a service which legitimate vendors are getting 218 00:09:19,600 --> 00:09:21,700 into, are trying to get into because they can make more money 219 00:09:21,700 --> 00:09:23,680 from that. So what the malware vendors are 220 00:09:23,680 --> 00:09:24,900 doing, they've got malware as a service 221 00:09:25,900 --> 00:09:27,340 and it's advertised and distributed 222 00:09:27,340 --> 00:09:29,020 exactly like standard commercial software 223 00:09:29,020 --> 00:09:31,240 so there's an example from a Russian website, basically 224 00:09:31,240 --> 00:09:33,360 advertising the different types of malware and the services they 225 00:09:33,360 --> 00:09:34,120 can provide for you 226 00:09:35,560 --> 00:09:37,420 and they go to the level of having online 227 00:09:37,420 --> 00:09:39,380 video tutorials, so if you don't understand how 228 00:09:39,380 --> 00:09:41,280 their malware works or how to run the malware, you can download 229 00:09:41,280 --> 00:09:43,340 this video tutorial and there's a guy there doing a complete demo 230 00:09:43,340 --> 00:09:44,280 of how their malware works 231 00:09:45,400 --> 00:09:47,300 just to comment on this, a lot of this stuff 232 00:09:47,300 --> 00:09:49,380 is in Russian and if there's any Russian speakers in the 233 00:09:49,380 --> 00:09:51,380 audience, you may be sort of giggling at my 234 00:09:51,380 --> 00:09:53,480 attempts at translating this. One of the nasty 235 00:09:53,480 --> 00:09:54,740 things with this is during the cold 236 00:09:54,740 --> 00:09:56,880 war, things like the CIA and the NSA could go out 237 00:09:56,880 --> 00:09:58,980 and train their people to speak Russian, so they'd have 238 00:09:58,980 --> 00:10:00,760 specialists in a particular field and they'd send them on 239 00:10:00,760 --> 00:10:03,180 courses to learn not just Russian but Russian technical 240 00:10:03,180 --> 00:10:06,480 jargon pertaining to this. At the moment we really 241 00:10:06,480 --> 00:10:10,040 don't have anyone like this because there are a couple 242 00:10:10,040 --> 00:10:11,880 of companies like Kaspersky obviously who have Russian 243 00:10:11,880 --> 00:10:14,720 speaking staff and occasionally here and there you'll find 244 00:10:14,720 --> 00:10:17,140 a Russian speaker but in general, the people investigating 245 00:10:17,140 --> 00:10:20,320 this do not speak Russian. So you don't need any super 246 00:10:20,320 --> 00:10:22,980 duper 128 bit AES encryption, all you need to do is just 247 00:10:22,980 --> 00:10:23,820 write it in Cyrillic. 248 00:10:23,900 --> 00:10:24,440 In about 249 00:10:24,440 --> 00:10:27,060 99.9% of the people investigating this industry 250 00:10:27,060 --> 00:10:29,560 can't read any of that. And not only is it in Russian, 251 00:10:29,680 --> 00:10:32,060 it's in sort of Russian hacker jargon, so there's words 252 00:10:32,060 --> 00:10:34,140 in there that you won't find in any dictionary. It's 253 00:10:34,140 --> 00:10:36,020 very hard to figure out exactly what they're speaking 254 00:10:36,020 --> 00:10:38,680 about. So this is a very approximate attempt at 255 00:10:38,680 --> 00:10:39,780 translating some of this Russian. 256 00:10:42,400 --> 00:10:44,660 So okay, you get video demos and stuff like that, you get 257 00:10:44,660 --> 00:10:47,420 try before you buy offers. So there's things like, for 258 00:10:47,420 --> 00:10:49,120 example, you get a free trial, you get 100 visitors, 259 00:10:49,300 --> 00:10:51,760 100 exploits and then basically the more you buy, 260 00:10:51,880 --> 00:10:54,220 the cheaper it gets. So there's a rough translation there at the 261 00:10:54,220 --> 00:10:57,400 bottom. So you get both discounts and the more money you 262 00:10:57,400 --> 00:10:58,740 give them, the cheaper it gets. 263 00:11:00,500 --> 00:11:02,800 This is an example of the interfaces for these things. So 264 00:11:02,800 --> 00:11:04,860 at the end, the backing level typically there's a bunch of 265 00:11:04,860 --> 00:11:06,820 you know, Perl scripts and the usual binaries and so on and 266 00:11:06,820 --> 00:11:08,820 so forth. But they actually provide proper graphical 267 00:11:08,820 --> 00:11:11,400 interfaces to these things. And this is kind of a scary 268 00:11:11,400 --> 00:11:13,920 indication. This is a graphical interface for something called 269 00:11:13,920 --> 00:11:16,660 visual breeze. And you know, this is the level of 270 00:11:16,660 --> 00:11:18,560 sophistication that this stuff is getting at. They actually 271 00:11:18,560 --> 00:11:21,380 have skinnable interfaces. So you know, you consider the 272 00:11:21,380 --> 00:11:24,100 defenders are barely catching up and barely keeping the virus so 273 00:11:24,100 --> 00:11:26,700 which is not up to date. And the attackers are sitting there 274 00:11:26,700 --> 00:11:29,240 deciding on what sort of, you know, skinnable interfaces they 275 00:11:29,240 --> 00:11:31,580 can put on their management interfaces. That's the level of 276 00:11:31,580 --> 00:11:33,740 sort of, you know, that's what you get by throwing serious 277 00:11:33,740 --> 00:11:36,220 commercial money at this. You can get, you know, commercial 278 00:11:36,220 --> 00:11:39,000 programmers to do really good jobs on programming interfaces 279 00:11:39,000 --> 00:11:43,060 for these things. So here's an example of one of these ones. 280 00:11:43,120 --> 00:11:45,340 There's one that's been going around recently called the Gozi 281 00:11:45,340 --> 00:11:47,520 Trojan. So basically you buy the basic version for one or 282 00:11:47,520 --> 00:11:50,500 two thousand dollars. Everything's negotiable. And then 283 00:11:50,500 --> 00:11:52,500 you buy add-on services for this to do various different 284 00:11:52,500 --> 00:11:53,080 types of attacks. 285 00:11:54,100 --> 00:11:56,400 And again, there's a translation there. So basically, you know, 286 00:11:56,400 --> 00:11:58,220 generally they're selling to the Russian market, but you can 287 00:11:58,220 --> 00:12:01,200 also buy it overseas. And there's a huge variation in prices. 288 00:12:01,320 --> 00:12:02,860 So if you're looking for this stuff, you have to shop around 289 00:12:02,860 --> 00:12:05,900 different sites to find good prices. One general rule that works 290 00:12:05,900 --> 00:12:08,380 for all of these things is that if you're non-Russian, the prices 291 00:12:08,380 --> 00:12:10,760 become much higher. So you go to a Russian site, you see the 292 00:12:10,760 --> 00:12:13,120 Russian prices. You go to a site where the same prices are 293 00:12:13,120 --> 00:12:15,440 advertised in English and it's sort of twice as much because 294 00:12:15,440 --> 00:12:18,160 they can get a lot more out of foreigners. So if you want the 295 00:12:18,160 --> 00:12:20,140 discount rate for this stuff, go to a Russian site to buy it. 296 00:12:22,180 --> 00:12:24,020 Typically the prices are advertised in web money. 297 00:12:24,100 --> 00:12:28,580 So in the U.S. you have PayPal. Given the far more aggressive 298 00:12:28,580 --> 00:12:31,000 environment that's in operation in Russia, you know, if PayPal 299 00:12:31,000 --> 00:12:33,540 set up over there, then they'd be completely looted dry in about 300 00:12:33,540 --> 00:12:35,520 ten minutes because they're much more proficient at attacking 301 00:12:35,520 --> 00:12:37,780 these sites. So there's a Russian equivalent of this called 302 00:12:37,780 --> 00:12:40,540 web money, which is basically a version of PayPal, but it's 303 00:12:40,540 --> 00:12:43,060 heavily fortified and designed to be very resistant to the 304 00:12:43,060 --> 00:12:47,400 Russian business environment. And there's a bunch of standard 305 00:12:47,400 --> 00:12:50,600 currencies that they use. And usually these exports are 306 00:12:50,600 --> 00:12:53,900 traded in web money currency, and they have one that's tied to 307 00:12:54,100 --> 00:12:56,860 the U.S. dollar, WMZ. So whenever you see a price here quoted in 308 00:12:56,860 --> 00:12:59,340 dollars, it's basically web money, but tied to the U.S. dollar. 309 00:13:00,760 --> 00:13:03,640 And there's some examples there. Again, you get an ICQ spam free 310 00:13:03,640 --> 00:13:06,120 trial. The first 10,000 messages are free, and after that you pay 311 00:13:07,120 --> 00:13:09,500 various rates depending on how many of these things you're 312 00:13:09,500 --> 00:13:14,760 buying. Same thing for buying server compromised tools. So this 313 00:13:14,760 --> 00:13:19,140 is a front end for something called mTools, and you basically 314 00:13:19,140 --> 00:13:21,720 feed it a bunch of accounts and then it does the rest. So the 315 00:13:21,720 --> 00:13:24,860 thing with mTools is that it's a, I think it's a Unix toolkit, and 316 00:13:24,860 --> 00:13:27,260 as I said, it's mentioned, it's done in Perl and a bunch of other 317 00:13:27,260 --> 00:13:29,980 scripts, everything run together. So you really need some expertise 318 00:13:31,600 --> 00:13:35,760 to run this sort of stuff. Jeff got an exercise on that. So you 319 00:13:35,760 --> 00:13:39,560 can buy the basic FTP tools, front end, and mPack, which is the 320 00:13:39,560 --> 00:13:42,220 back end that does the actual work. And so you basically buy the 321 00:13:42,220 --> 00:13:45,620 tools as a service combined. So mPack itself costs $1,000 or 322 00:13:45,620 --> 00:13:48,120 whatever you can negotiate it for. And then you buy the GUI front 323 00:13:48,120 --> 00:13:50,940 end that does the management for it. I don't know if that's visible 324 00:13:50,940 --> 00:13:51,700 on that. It's a bit blurry. But it's a bit blurry. So you can buy the 325 00:13:51,700 --> 00:13:56,060 GUI, but they're actually running Opera. So you notice that on 326 00:13:56,060 --> 00:13:58,180 Russian sites, they really, really seem to like Opera. Presumably, 327 00:13:58,240 --> 00:14:00,960 I don't know, either because they simply like the browser or because 328 00:14:00,960 --> 00:14:04,820 it's least likely to be targeted by malware. So yeah, that's a web-based 329 00:14:04,820 --> 00:14:07,720 front end to the mPack exploit toolkit. And there's some examples 330 00:14:07,720 --> 00:14:10,320 there of these various things that they're selling, and they provide 331 00:14:10,320 --> 00:14:12,140 ratings for them. So they're saying, you know, this is reasonably 332 00:14:12,140 --> 00:14:14,060 good. This isn't bad. This one's really cool. You should buy this 333 00:14:14,060 --> 00:14:19,520 one, and so on and so forth. So here's some examples of what this 334 00:14:19,520 --> 00:14:21,680 sort of stuff does. So one of the things that I've been doing 335 00:14:21,700 --> 00:14:25,260 that happens with these things is that, you know, the victim's PCs 336 00:14:25,260 --> 00:14:28,020 are very badly secured. Well, the people running the malware, their 337 00:14:28,020 --> 00:14:30,800 servers are also really, really badly secured. They might run malware 338 00:14:30,800 --> 00:14:32,940 that can break into anything, but they're not very good at securing 339 00:14:32,940 --> 00:14:36,240 their own servers. So what investigators do is they go back to the 340 00:14:36,240 --> 00:14:39,320 servers at the malware contacts, and they go and see what's been 341 00:14:39,320 --> 00:14:44,260 deposited on these servers. So this is just from one single server. 342 00:14:44,360 --> 00:14:47,400 So from, I think this is, again, from the Gozi Trojan. One single 343 00:14:47,400 --> 00:14:50,860 server that this Trojan drops stuff onto. There's unknown numbers of 344 00:14:50,860 --> 00:14:51,680 these around. This is just one single server. So this is just one 345 00:14:51,700 --> 00:14:55,520 single one. And, well, you can read the numbers there. So they're 346 00:14:55,520 --> 00:14:57,520 basically at accounts, not just for the obvious banks and financial 347 00:14:57,520 --> 00:15:00,480 institutions. They had federal, state, and local government. They had 348 00:15:00,480 --> 00:15:03,480 national and local law enforcement within the U.S. They had medical 349 00:15:03,480 --> 00:15:06,180 information, social security numbers, basically everything you can 350 00:15:06,180 --> 00:15:09,700 possibly, you know, worry about losing on a PC. The bad guys already 351 00:15:09,700 --> 00:15:12,680 had this. There's a kind of a nasty catch-22 involved in this, that 352 00:15:12,680 --> 00:15:15,960 if you're an investigator and you go in and you find a PC full of, let's 353 00:15:15,960 --> 00:15:18,680 say, medical data, well, HIPAA says that you're not actually supposed 354 00:15:18,680 --> 00:15:21,420 to have this information. And they make it very difficult to communicate 355 00:15:22,020 --> 00:15:24,820 back to the victims, saying, we found this machine full of stolen 356 00:15:24,820 --> 00:15:28,080 information. Because, in theory, you're not supposed to have it. And so 357 00:15:28,080 --> 00:15:30,360 you can't then communicate that back to the actual victims. 358 00:15:32,300 --> 00:15:35,540 So the thing about this is you can outsource absolutely anything. If 359 00:15:35,540 --> 00:15:37,440 you want to get into the malware business and you don't know much 360 00:15:37,440 --> 00:15:39,900 about computers, okay, you can buy hosts for a phishing scam. You can 361 00:15:39,900 --> 00:15:44,860 buy the spam. You can buy drops to get the money into. And you can buy 362 00:15:44,860 --> 00:15:47,200 the cashiers to actually cash the drops out and give you the actual 363 00:15:47,200 --> 00:15:50,940 money result back out of that. I'll get onto that in a minute. So given 364 00:15:50,940 --> 00:15:51,680 how easy it is to do that, you can outsource absolutely anything. You 365 00:15:51,700 --> 00:15:54,460 wonder why anyone actually still burgles houses, because it's so much 366 00:15:54,460 --> 00:15:57,060 easier to just go online and buy all the malware and buy all the services 367 00:15:57,060 --> 00:16:02,260 and do everything yourself. So there's a rough diagram of how some of 368 00:16:02,260 --> 00:16:04,480 this stuff might be hooked together. It's actually a lot more diverse 369 00:16:04,480 --> 00:16:06,840 than that. Just like the legitimate industry, there's a whole bunch of 370 00:16:06,840 --> 00:16:10,000 suppliers and so on all tied together. This is very much a simplification 371 00:16:10,000 --> 00:16:13,400 of just a couple of aspects of this. The real money is in being the 372 00:16:13,400 --> 00:16:16,500 middleman. If you could automate the middleman and have something like 373 00:16:16,500 --> 00:16:18,620 a banking clearinghouse to handle this, you could make some serious 374 00:16:18,620 --> 00:16:21,340 money. The problem with this is once you've got this single point of 375 00:16:22,600 --> 00:16:26,480 focus, all the law enforcement guys will dive into that. So it's kind of a 376 00:16:26,480 --> 00:16:29,660 catch-22. You can't scale it beyond a certain point because you can't have a 377 00:16:29,660 --> 00:16:32,940 very large target in the middle. On the other hand, because it's extremely 378 00:16:32,940 --> 00:16:38,420 diversified, there isn't one single target that you can shut down. So here's 379 00:16:38,420 --> 00:16:39,680 an example of some of these different sites. 380 00:16:44,340 --> 00:16:47,900 No, a clearinghouse for actually running all the botnets and for handling 381 00:16:47,900 --> 00:16:49,780 the carding and the spam and all that sort of stuff. 382 00:16:57,380 --> 00:17:00,320 Right. So it's an example of sort of the different sites that this has 383 00:17:00,320 --> 00:17:03,340 pulled together. Most of these have been taken offline since then. The only one 384 00:17:03,340 --> 00:17:05,500 that's still working is Russian Business Network. So basically these are 385 00:17:05,500 --> 00:17:07,520 the different groups that provided the different components of this 386 00:17:07,520 --> 00:17:11,080 Trojan. Russian Business Network is kind of cool because it's located in 387 00:17:11,080 --> 00:17:14,160 St. Petersburg and it basically, as far as anyone can tell, it's an ISP for 388 00:17:14,160 --> 00:17:17,500 malware and an ISP for spammers and botnets and botnet hosting and so on 389 00:17:17,500 --> 00:17:21,680 and so forth. So I don't know if they did that because they have a very good sense of 390 00:17:21,700 --> 00:17:24,480 humor where, you know, sort of Russian business meaning malware or maybe it was 391 00:17:24,480 --> 00:17:27,100 just coincidence. But, you know, that's basically, this is the business network 392 00:17:27,100 --> 00:17:32,460 for running malware. So one of the things with malware is that if you go to the 393 00:17:32,460 --> 00:17:35,900 typical sort of victim of this stuff, they expect these Hollywood-style effects. 394 00:17:36,000 --> 00:17:38,820 They expect, you know, exploding computer panels and things catching fire and so 395 00:17:38,820 --> 00:17:42,100 on and so forth. The problem with, and that was the case with viruses five to ten 396 00:17:42,100 --> 00:17:44,860 years ago, they were designed to be impressive and to get your name in the 397 00:17:45,460 --> 00:17:49,460 news. Modern malware is designed to be as unobtrusive as possible. You're never 398 00:17:49,460 --> 00:17:50,420 supposed to notice it's there. 399 00:17:51,700 --> 00:17:54,440 The result is that, you know, you get people's machines who are absolutely crawling with 400 00:17:54,440 --> 00:17:57,680 viruses and they have no idea that they are because the viruses are designed to hide. 401 00:17:57,940 --> 00:18:02,200 And this is a genuine example from a virus vendor. They got this support call saying, 402 00:18:02,320 --> 00:18:05,540 you know, I've got this, heard about this anaconda-cova virus so I downloaded it and 403 00:18:05,540 --> 00:18:08,880 nothing happened. Why didn't anything happen? I want to see anaconda-cova. I've now downloaded 404 00:18:08,880 --> 00:18:13,060 this virus and I haven't got anything out of it. And that is the end user view of how 405 00:18:13,060 --> 00:18:18,640 viruses are supposed to work. So this is an interesting economic model because basically 406 00:18:18,640 --> 00:18:20,960 what these guys are going for is where the money is. 407 00:18:20,960 --> 00:18:24,340 So, you know, there's an argument that's saying, okay, Firefox is picking up market 408 00:18:24,340 --> 00:18:28,940 share so the malware guys will now go for Firefox because, you know, it's got a certain 409 00:18:28,940 --> 00:18:33,140 amount of market share. Well, that isn't the case because they really only care about 410 00:18:33,140 --> 00:18:36,400 the money. They only care about the market share. If you assume, well, there's a sample 411 00:18:36,400 --> 00:18:39,860 example there. Let's assume, let's say Internet Explorer has about an 80% market share, Firefox 412 00:18:39,860 --> 00:18:45,560 has a 20% market share. There's a high probability of success against Internet Explorer, a low 413 00:18:45,560 --> 00:18:50,140 probability of success against Firefox. So basically you can get, yeah, and using those 414 00:18:50,140 --> 00:18:50,680 sample figures. 415 00:18:50,680 --> 00:18:54,780 Those are purely sample figures. You know, 60% return against Internet Explorer or 2% 416 00:18:54,780 --> 00:18:58,720 return against Firefox. Nobody's going to bother attacking Firefox even if there are vulnerabilities 417 00:18:58,720 --> 00:19:04,820 in there because the money just isn't in there. So commercial attackers expend money 418 00:19:04,820 --> 00:19:08,540 to get the biggest market share. They really don't care about bragging rights. And that's, 419 00:19:08,540 --> 00:19:13,640 you know, if you look at some of the stuff in OS X and particularly in Safari, when Safari 420 00:19:13,640 --> 00:19:17,660 came out for Windows, there was, there were just instantly exploits for this. But nobody 421 00:19:17,660 --> 00:19:20,660 had ever bothered attacking it before because the market share was so small that it was 422 00:19:20,660 --> 00:19:23,660 there was no real money to be made in it. You got a lot more money from attacking Windows. 423 00:19:24,400 --> 00:19:27,960 So kind of, you get the kind of monoculture argument there. If you want to be secure against 424 00:19:27,960 --> 00:19:30,300 attacks, use a little used platform that there's no money in attacking. 425 00:19:33,120 --> 00:19:36,920 So I'm going to skip through some of the stuff that's well-known, or I guess reasonably 426 00:19:36,920 --> 00:19:41,020 well-known. Just, you know, for example, how the spam business works. So typically you 427 00:19:41,020 --> 00:19:45,400 go out and you buy a bunch of addresses. It's handled by a spam broker. So again, 10 years 428 00:19:45,400 --> 00:19:48,060 ago, you might have done the spamming yourself. But now you don't need to worry anymore. You 429 00:19:48,060 --> 00:19:50,640 can outsource the whole thing. So what you do is you go to a spam broker and you go to 430 00:19:50,640 --> 00:19:55,380 a spam broker. You buy a certain amount of spamming credits. And, you know, you can 431 00:19:55,380 --> 00:19:58,940 either buy credits so they do the spamming for you, or you can buy a botnet and do the 432 00:19:59,400 --> 00:20:03,280 spamming via a botnet. And once the target NPA accepts the spam, your credit is then 433 00:20:03,280 --> 00:20:08,040 deducted. So what happens is they have their various distribution networks, open proxies, 434 00:20:08,060 --> 00:20:12,360 relays, botnets, compromised PCs, whatever you want. They send you software. You stick 435 00:20:12,360 --> 00:20:16,900 on your machine. You then feed your software into that. It goes out to the spam broker's 436 00:20:16,900 --> 00:20:20,500 machines, their botnets, their relays, whatever, and goes out. And then you get charged. 437 00:20:20,640 --> 00:20:25,820 Once the spam is accepted by the target machine. And, for example, you do get various methods 438 00:20:25,820 --> 00:20:29,860 of obscuring that. If you've got a botnet of, let's say, 10,000 nodes, then 1,000 nodes 439 00:20:29,860 --> 00:20:33,940 fire up and spam as hard as they can for a minute. They shut down again. Another 1,000 440 00:20:33,940 --> 00:20:38,060 nodes fire up, spam, shut down again. So they're never around for long enough. And 441 00:20:38,060 --> 00:20:41,260 they're never around consistently enough for you to track down any one particular machine 442 00:20:41,260 --> 00:20:48,180 and shut them down. Carting business works basically the same way. You get prices that 443 00:20:48,180 --> 00:20:49,840 are published. You're subject to private negotiation. 444 00:20:49,840 --> 00:20:55,420 Again, these are sample prices. Sorry, these are actual real prices. But there's a huge 445 00:20:55,420 --> 00:20:59,700 variation in price ranges. So you can negotiate discounts. If you know where to go, you might 446 00:20:59,700 --> 00:21:04,300 get cheaper prices, better prices, discounts, bulk discounts, whatever. Typically, you 447 00:21:04,300 --> 00:21:07,740 buy a dump, which in card jargon means the dump of the mag stripe info on the back of 448 00:21:07,740 --> 00:21:11,500 the card, which is basically everything you need to loot out the card account. And, again, 449 00:21:11,540 --> 00:21:16,920 you can get bulk discounts. Because the people doing this are, well, crooks, you need to 450 00:21:16,920 --> 00:21:19,100 look out for deals. 451 00:21:19,840 --> 00:21:23,360 You grab your money and vanish with it. So typically, the IRC nets have a channel called 452 00:21:23,360 --> 00:21:26,540 Rippers or something equivalent. And it's basically an eBay-style reputation system. 453 00:21:26,680 --> 00:21:29,860 So you go to eBay and you can say, I've dealt with this guy before and it was okay. You 454 00:21:29,860 --> 00:21:32,660 go to some of these IRC channels and you get something saying, you know, I just bought 455 00:21:32,660 --> 00:21:36,760 10,000 cards off this guy and they're all fine. So they've got their own built-in reputation 456 00:21:36,760 --> 00:21:43,060 system for this. IRC bots doing card checks. I'll skip into this. IRC bounces hiding this 457 00:21:43,060 --> 00:21:48,960 stuff. So, yeah, basically, again, you can't really go after any particular IRC servers 458 00:21:49,840 --> 00:21:52,820 because you're running on compromised PCs and they bounce it through compromised PCs. 459 00:21:53,300 --> 00:21:56,720 So you trace all the stuff back and it doesn't come back to some central, you know, high 460 00:21:56,720 --> 00:22:01,980 command. You just trace it back to grandma's compromised PC. Once you've got the funds 461 00:22:01,980 --> 00:22:05,540 out of credit card accounts, you move them into drops, which are basically bank accounts 462 00:22:05,540 --> 00:22:09,640 used to launder funds. So crooks really, really like online banking, particularly if 463 00:22:09,640 --> 00:22:12,240 it's using someone else's bank account. So what they do is they use compromised bank 464 00:22:12,240 --> 00:22:16,700 accounts to launder the money. And the final step of the thing is you've got cashiers 465 00:22:16,700 --> 00:22:19,820 who basically cash out the contents of the drop. Typical going rate for a cashier is 466 00:22:19,840 --> 00:22:23,980 about 50% of the income. So you've got $10,000 in an account. They'll cash it out. They'll 467 00:22:23,980 --> 00:22:28,320 keep $5,000 and they'll give $5,000 back to you. And it's pretty much like an open labor 468 00:22:28,320 --> 00:22:31,320 market. And again, there's some examples. And these things tend to come and go. So 469 00:22:31,320 --> 00:22:35,100 I don't know if any of these are still current, but they were when I was doing the slides. 470 00:22:35,580 --> 00:22:38,680 And so you get an offer like, for example, I need someone to fill up Hotmail boxes with 471 00:22:38,680 --> 00:22:44,160 spam and I'll pay out of the profit of the carding that I get out of that. Here's an 472 00:22:44,160 --> 00:22:47,820 example from Cardoplanet, which as far as I know is shut down now. And these are basically 473 00:22:47,820 --> 00:22:49,820 just, you know, standard ads of people advertising. And I've got a few of them. I've got a few 474 00:22:49,840 --> 00:22:53,200 of them advertising the sort of stuff you can buy there. And it's complete, you know, 475 00:22:53,220 --> 00:22:58,460 card information, verification details, everything you need, credit cards overseas. This one's 476 00:22:58,460 --> 00:23:01,180 a lot more interesting. So these guys are advertising change of billing for credit cards. 477 00:23:01,340 --> 00:23:05,460 So one of the things that credit card vendors are doing, or effectively doing via merchants, 478 00:23:05,640 --> 00:23:08,420 is they're saying, we will only ship to the billing address of the card. That's kind 479 00:23:08,420 --> 00:23:12,000 of the last line of defense. Obviously, if you get 1,000 video cameras and you ship 480 00:23:12,000 --> 00:23:15,560 them to Eastern Europe, that's kind of fraudulent. So the way to lock that down is to say, you 481 00:23:15,560 --> 00:23:18,840 have to ship it to the billing address of the card. Well, these guys, if these guys 482 00:23:18,840 --> 00:23:19,820 can do change of billing, which is kind of fraudulent, they're going to be able to 483 00:23:19,820 --> 00:23:23,340 change the billing address of the card to anything you want. That means they've defeated 484 00:23:23,340 --> 00:23:28,020 that mechanism as well. And you can pretty much choose whatever you want. You want platinum 485 00:23:28,020 --> 00:23:32,840 cards, okay, you can grab those. Because they're selling compromised accounts, they can sell 486 00:23:32,840 --> 00:23:35,780 you eBay accounts, and you can say, I want an account with, let's say, 1,000 positive 487 00:23:36,160 --> 00:23:38,800 feedbacks that's been around for 10 years. So people are going to trust this account 488 00:23:38,800 --> 00:23:42,300 so they can run your scam through that account. So you can buy specifically those accounts 489 00:23:42,300 --> 00:23:46,560 rather than some newly opened eBay account. Active PayPal accounts, well, you can read 490 00:23:46,560 --> 00:23:49,420 the rest anyway. And they'll sell you the complete service. They'll sell you drops. 491 00:23:49,420 --> 00:23:53,680 They'll sell you, for example, you can get carded FedEx accounts. So when you're using 492 00:23:53,680 --> 00:23:58,000 your credit cards or the stolen credit cards to buy goods, you obviously don't want to 493 00:23:58,000 --> 00:24:00,860 pay to get them shipped either. So you can get carded FedEx accounts to FedEx them out 494 00:24:01,420 --> 00:24:06,440 and get them resold. Oh, yeah, so there's an example there. And basically, you can buy 495 00:24:06,440 --> 00:24:10,560 anything you want, social security numbers, anything you need in order to verify that 496 00:24:10,560 --> 00:24:15,260 you are the legitimate owner of this credit card. And as with the Russian guys, when you 497 00:24:15,260 --> 00:24:19,400 sign up, you get free trials. Some of this thing, you know, like Citibank, you know, 498 00:24:19,420 --> 00:24:22,680 credit cards, five cards, change of billing so you can get a cent wherever you want with 499 00:24:22,680 --> 00:24:27,260 $5,000 credit on the card. That's simply the free sign up. That shows how easy the access 500 00:24:27,260 --> 00:24:30,920 is to the stuff, how much of the stuff there is floating around. If they can afford to 501 00:24:30,920 --> 00:24:34,560 give away these credit cards with $5,000 lines of credit on them just for free as 502 00:24:34,560 --> 00:24:40,740 a free trial. So, okay, I mentioned the obvious fraud. You know, you get 25 PCs shipped to 503 00:24:40,740 --> 00:24:44,880 Eastern Europe. Obviously, that's not going to work anymore. There's far easier ways to 504 00:24:44,880 --> 00:24:48,480 actually monetize the information. One way of doing it is you take a legitimate company 505 00:24:48,480 --> 00:24:49,400 that doesn't do any on it. You take a legitimate company that doesn't do any on it. You take 506 00:24:49,420 --> 00:24:52,500 online trading at the moment, some, you know, Granny's Flower Shop and who knows where. 507 00:24:52,900 --> 00:24:56,940 And you set up credit card processing on their behalf. So, if anyone checks, they've got 508 00:24:56,940 --> 00:25:00,720 this legitimate established business, Granny's Flower Shop. It's been around for 20 years. 509 00:25:01,480 --> 00:25:04,340 Granny's Flower Shop doesn't even know that you've set up this credit card billing on 510 00:25:04,340 --> 00:25:07,940 their behalf. Therefore, they can't detect that there's any fraud. And you can carry 511 00:25:07,940 --> 00:25:14,020 out fraud for as long as you want, or at least until the account gets shut down. And 512 00:25:14,020 --> 00:25:18,880 there's commercial pre-internet crime that's been done for a long time. For example, something 513 00:25:18,880 --> 00:25:19,400 called try and get a cent. And there's a lot of people who are trying to get a cent. 514 00:25:19,880 --> 00:25:20,240 They've even done a big scam. And there's a fifteen dollar refund if they've given 515 00:25:20,240 --> 00:25:23,440 You advertise a digital camera, for example, on eBay. It's a thousand dollar camera. You 516 00:25:23,440 --> 00:25:27,580 advertise it for $800. It's an unwanted gift. You use a stolen credit card to buy 517 00:25:27,580 --> 00:25:30,540 it and get it sent you the victim's address. They send you the money. So you've basically 518 00:25:30,540 --> 00:25:36,100 used them as a proxy for money laundering. And you can monetise absolutely everything. 519 00:25:36,420 --> 00:25:40,300 The obvious one are credit cards, banks, and so on and so forth. Less obvious ones are 520 00:25:40,300 --> 00:25:43,280 things like stock brokerage accounts. So there's lots of pump and dump scams where you've 521 00:25:43,280 --> 00:25:47,800 got to spam out your pump part of the thing to people and convince other people to buy 522 00:25:47,800 --> 00:25:49,400 your useless stock. But the only way to help you is to call your publicbroker. We've had 523 00:25:49,400 --> 00:25:50,840 Well, there's a much easier way of doing this. 524 00:25:50,880 --> 00:25:52,380 You break into someone's stock brokerage account, 525 00:25:52,540 --> 00:25:54,820 you dump all the IBM and Shell and whatever stock, 526 00:25:55,000 --> 00:25:56,660 and you use it to buy your useless stock. 527 00:25:57,220 --> 00:26:00,020 And so basically that converted all the expensive, valuable stock 528 00:26:00,020 --> 00:26:02,740 into absolutely useless stock, and you're at the same time selling it. 529 00:26:02,780 --> 00:26:04,320 So you've used this as a kind of proxy, again, 530 00:26:04,380 --> 00:26:05,780 for converting your useless stock into money. 531 00:26:06,240 --> 00:26:08,860 Yeah, a good point on that is it also works for retirement accounts. 532 00:26:09,800 --> 00:26:10,440 Oh, OK. 533 00:26:11,160 --> 00:26:13,260 So, yeah, the comment was it also works for retirement accounts. 534 00:26:13,700 --> 00:26:15,140 Yeah, so there's a whole pile of stuff 535 00:26:15,140 --> 00:26:16,860 that normally you can't directly monetise, 536 00:26:16,860 --> 00:26:18,880 and this is kind of a monetisation by proxy. 537 00:26:20,900 --> 00:26:22,540 You can also use it for click fraud. 538 00:26:22,800 --> 00:26:26,200 And, again, I assume click fraud is reasonably well known, 539 00:26:26,220 --> 00:26:27,520 so basically you're getting paid per click. 540 00:26:27,600 --> 00:26:29,260 So what things like Google does, 541 00:26:29,380 --> 00:26:31,020 there's this kind of nasty moral hazard in here. 542 00:26:31,300 --> 00:26:33,440 I mean, the more clicks you get, the more vendors get paid, 543 00:26:33,520 --> 00:26:34,280 even things like Google. 544 00:26:34,440 --> 00:26:36,360 So what Google does is they recycle their ads 545 00:26:36,360 --> 00:26:38,480 to these very grey market sites, 546 00:26:38,640 --> 00:26:39,840 which are things like domain parkers, 547 00:26:39,900 --> 00:26:41,720 and they'll just get a park domain, fill it up with stuff, 548 00:26:42,060 --> 00:26:44,440 and then you click on that, and sure, you get paid a lot less, 549 00:26:44,540 --> 00:26:45,760 but you're still getting paid per each click. 550 00:26:46,000 --> 00:26:47,260 So you have botnets and whatnot. 551 00:26:47,500 --> 00:26:49,260 And there's also things like pay-to-click or pay-to-read, 552 00:26:49,400 --> 00:26:50,680 which are sites where you sign up, 553 00:26:50,760 --> 00:26:53,760 and you just get paid to sit there and click on ads all day long, 554 00:26:53,880 --> 00:26:54,940 and you get a certain amount. 555 00:26:55,140 --> 00:26:56,380 And, obviously, the person, the middleman, 556 00:26:56,420 --> 00:26:57,340 gets a certain amount as well. 557 00:26:57,580 --> 00:26:59,400 So that's another way of monetising accounts 558 00:27:00,020 --> 00:27:00,900 and monetising information. 559 00:27:04,180 --> 00:27:06,420 So this is some examples of spam technical mechanisms, 560 00:27:06,660 --> 00:27:07,600 and I'll skip this. 561 00:27:07,680 --> 00:27:09,140 So further on, I'll get on to some of the cool stuff 562 00:27:09,140 --> 00:27:10,480 that malware does and some of the, you know, 563 00:27:10,520 --> 00:27:12,260 the level of sophistication of some of this malware. 564 00:27:12,660 --> 00:27:15,020 But this is just some examples of the spam industry. 565 00:27:16,680 --> 00:27:17,760 Some examples of hosting. 566 00:27:19,480 --> 00:27:21,040 And, again, I'll skip this. 567 00:27:21,080 --> 00:27:21,840 It's not terribly interesting. 568 00:27:21,960 --> 00:27:22,560 You can read the slides. 569 00:27:23,560 --> 00:27:26,840 One thing that spammers really like doing is compromising routers. 570 00:27:27,000 --> 00:27:28,740 So the thing is, you compromise an end-user PC, 571 00:27:28,880 --> 00:27:30,580 and you get one single IP address, and that's it. 572 00:27:30,700 --> 00:27:31,780 You compromise on a router, 573 00:27:31,840 --> 00:27:34,140 and you get not just that router's address range, 574 00:27:34,220 --> 00:27:36,620 but via BGP, you can basically, you know, 575 00:27:36,620 --> 00:27:38,300 fool other routers in doing whatever you want. 576 00:27:40,460 --> 00:27:42,320 So, you know, for example, you send out a route update 577 00:27:42,320 --> 00:27:45,760 saying we're now responsible for this apparently unused block of address space, 578 00:27:45,960 --> 00:27:47,740 and within 5 to 10 minutes, the entire internet thinks 579 00:27:47,740 --> 00:27:48,980 that that router is responsible 580 00:27:48,980 --> 00:27:49,880 for that address space. 581 00:27:50,220 --> 00:27:51,800 You then take the first address in that space, 582 00:27:51,900 --> 00:27:53,640 and you spam like mad for as long as you can 583 00:27:53,640 --> 00:27:54,880 until it gets blacklisted. 584 00:27:55,060 --> 00:27:57,140 You take the second address in the space, you spam like mad, 585 00:27:57,240 --> 00:27:58,880 and you basically burn through the entire address space, 586 00:27:58,980 --> 00:28:01,840 one address after the other, sending out as much spam as you can. 587 00:28:02,900 --> 00:28:04,580 And there's various other ways of doing it. 588 00:28:04,680 --> 00:28:08,020 There's this kind of, you know, you can advertise a very huge net block, 589 00:28:08,180 --> 00:28:10,920 and the way it works is you get more specific prefixes 590 00:28:10,920 --> 00:28:13,400 within that net block will remain within the control of the owners. 591 00:28:13,560 --> 00:28:15,180 Any leftover gaps will be yours. 592 00:28:15,380 --> 00:28:17,680 And so, again, you get this chunk of IP addresses that you can burn 593 00:28:17,680 --> 00:28:18,880 out for sending spam or doing. 594 00:28:18,980 --> 00:28:20,220 Malware hosting or whatever. 595 00:28:23,920 --> 00:28:24,240 Okay. 596 00:28:25,640 --> 00:28:28,080 Yeah, the standard thing, you break into someone else's PCs to do it. 597 00:28:28,300 --> 00:28:30,160 So one of the things with this, you know, the value of a router 598 00:28:30,160 --> 00:28:31,840 versus the value of an individual PC, 599 00:28:32,020 --> 00:28:33,980 you can see the black market value of some of these systems. 600 00:28:34,480 --> 00:28:36,640 A Cisco router typically will sell for about $5. 601 00:28:36,880 --> 00:28:39,340 On the other hand, you go down to a single individual compromised PC, 602 00:28:39,380 --> 00:28:40,240 and it's too cheap to meet. 603 00:28:40,280 --> 00:28:42,180 I mean, seriously, these things are so easy to get. 604 00:28:42,300 --> 00:28:44,260 You buy them in lots of 1,000 or 10,000 605 00:28:44,260 --> 00:28:46,460 because you can't price an individual one. 606 00:28:47,200 --> 00:28:48,860 Unix boxes, on the other hand, are worth a bit more. 607 00:28:48,980 --> 00:28:50,820 They're worth, in some cases, almost as much as a router 608 00:28:51,260 --> 00:28:52,740 because they've got all the tools in there 609 00:28:52,740 --> 00:28:54,320 to effectively turn the box into a router. 610 00:28:54,460 --> 00:28:57,700 So you're buying a proto-router that you can then turn into a router. 611 00:28:57,820 --> 00:29:00,560 So the value is a lot higher than the value of a single Windows PC. 612 00:29:03,020 --> 00:29:03,860 Okay, typical examples. 613 00:29:04,000 --> 00:29:05,260 I've already mentioned this for control links. 614 00:29:05,320 --> 00:29:07,640 This is how these things were being run a couple of years ago. 615 00:29:07,740 --> 00:29:08,920 So it's all done via IRC. 616 00:29:09,300 --> 00:29:12,040 And, again, these are done via bounces, IRC proxies. 617 00:29:12,040 --> 00:29:13,980 So you can't actually trace it back to one single server. 618 00:29:16,120 --> 00:29:18,440 There's a neat example there of a piece of malware. 619 00:29:18,980 --> 00:29:21,860 With the text, it looks exactly like a standard, legitimate piece of software. 620 00:29:22,000 --> 00:29:24,740 It provides a subsystem for a versatile internet technology deployment 621 00:29:24,740 --> 00:29:25,740 across multiple systems. 622 00:29:26,280 --> 00:29:28,580 It doesn't actually mention malware, but basically that's what they're saying. 623 00:29:28,680 --> 00:29:30,220 This is a malware distribution system, 624 00:29:30,340 --> 00:29:34,280 but it's advertised as if it was some white hat, useful piece of software. 625 00:29:35,960 --> 00:29:37,900 So there's an interesting comment from the RAND Corporation, 626 00:29:38,180 --> 00:29:39,940 one of the studies that led to the creation of the internet, 627 00:29:40,060 --> 00:29:42,380 saying that basically we can build incredibly reliable networks 628 00:29:42,380 --> 00:29:43,560 through the use of redundancy. 629 00:29:43,660 --> 00:29:46,060 This is from 1960, and the malware authors know this. 630 00:29:46,320 --> 00:29:47,980 And so now they're going almost exclusively 631 00:29:47,980 --> 00:29:48,820 to peer-to-peer based. 632 00:29:48,980 --> 00:29:49,440 They're going to build much more botnets. 633 00:29:49,740 --> 00:29:52,100 And thanks to the, you know, the sterling efforts of the MPAA, 634 00:29:52,280 --> 00:29:55,380 they've actually, you know, sort of trained up this generation of people 635 00:29:55,380 --> 00:29:57,520 who are good at building really, really good peer-to-peer systems 636 00:29:57,520 --> 00:29:59,220 that are very, very difficult to shut down. 637 00:29:59,460 --> 00:30:02,280 And so, obviously, the malware authors are using the same peer-to-peer technology 638 00:30:02,280 --> 00:30:04,980 to build malware botnets that are very, very hard to shut down. 639 00:30:06,700 --> 00:30:07,500 So here's an example. 640 00:30:07,620 --> 00:30:09,200 This is from a couple of years ago, but I've used this one 641 00:30:09,200 --> 00:30:10,380 because it's very widely available. 642 00:30:10,540 --> 00:30:12,440 This has spawned an entire generation of extra bots. 643 00:30:13,560 --> 00:30:16,980 A lot of the earlier ones were really badly written and buggy and so on and so forth. 644 00:30:17,040 --> 00:30:18,100 This is extremely well written. 645 00:30:18,180 --> 00:30:18,960 It's cross-platform. 646 00:30:18,980 --> 00:30:19,480 It's modular. 647 00:30:19,600 --> 00:30:20,160 It's GPL. 648 00:30:20,540 --> 00:30:22,480 It's basically, you know, it's a nice piece of software. 649 00:30:22,600 --> 00:30:24,400 I mean, it's malware, but it's a nicely written piece of malware. 650 00:30:25,620 --> 00:30:28,380 So this has spawned vast numbers of other bots based on this. 651 00:30:28,460 --> 00:30:29,940 You can't, it's actually very hard to count them 652 00:30:29,940 --> 00:30:31,180 because there's so many little variations. 653 00:30:31,460 --> 00:30:32,960 There could be hundreds or thousands of these things. 654 00:30:33,260 --> 00:30:34,900 And they will be extended in different ways. 655 00:30:36,080 --> 00:30:38,900 So it's pretty much what you'd expect, you know, packet sniffing, rootkit, 656 00:30:38,980 --> 00:30:41,500 whatever it was, keyboard interception. 657 00:30:41,860 --> 00:30:42,840 And it's script-driven. 658 00:30:42,960 --> 00:30:45,360 So there's a typical example of some of the commands you can tell this thing. 659 00:30:45,440 --> 00:30:47,640 So basically, you can say, go out and harvest a bunch of email addresses, 660 00:30:47,840 --> 00:30:48,860 or alternatively, 661 00:30:48,980 --> 00:30:52,660 buy, get a pre-harvested list of addresses maybe that you've bought from a spam broker. 662 00:30:53,740 --> 00:30:55,240 Create an email message template. 663 00:30:55,360 --> 00:30:58,000 So dear, insert name here, and so on and so forth. 664 00:30:58,080 --> 00:30:59,320 So basically, just fill in the blanks. 665 00:31:02,200 --> 00:31:05,940 And then just start spamming via this agobot botnet and stop spamming. 666 00:31:05,960 --> 00:31:06,900 So it's completely script-driven. 667 00:31:07,140 --> 00:31:09,420 And some of these things have been extended to use macros. 668 00:31:09,420 --> 00:31:10,980 So you don't have to even type in all of this stuff. 669 00:31:11,080 --> 00:31:13,780 You just have a little macro command language, and that does all of it for you. 670 00:31:15,220 --> 00:31:17,880 And yeah, there's a whole bunch of additional commands, which I won't go into. 671 00:31:18,980 --> 00:31:22,100 One of the neat things that these things do, this is one of the evolutions of GoBot. 672 00:31:22,160 --> 00:31:24,640 It does things like unsecure commands. 673 00:31:24,840 --> 00:31:28,640 So Microsoft finally started shipping vaguely secure versions of Windows 674 00:31:28,640 --> 00:31:31,440 where they closed down public shares and decom and so on and so forth. 675 00:31:31,560 --> 00:31:33,920 So what this unsecure command does is it undoes all of that. 676 00:31:33,980 --> 00:31:37,260 So it turns on all the insecure defaults again that used to be in Windows a couple of years ago. 677 00:31:38,960 --> 00:31:40,400 And there's various other things. 678 00:31:40,460 --> 00:31:43,580 For example, you can download initial add-on bits for the bot from other sites. 679 00:31:43,720 --> 00:31:44,940 There's a neat one, HTTP visits. 680 00:31:45,060 --> 00:31:48,320 So occasionally, you'll get someone saying that, you know, I used this PC, 681 00:31:48,320 --> 00:31:50,360 but I didn't download all the sheep porn that's on it. 682 00:31:50,420 --> 00:31:51,160 It must have been someone else. 683 00:31:51,380 --> 00:31:53,180 Well, with this bot, you can actually do that. 684 00:31:53,220 --> 00:31:56,140 You can go into someone else's machine and download a whole pile of porn on that machine, 685 00:31:56,240 --> 00:31:57,860 and then presumably they get blamed for it. 686 00:31:58,700 --> 00:31:59,900 That's more of a malicious thing. 687 00:31:59,940 --> 00:32:02,680 Most of this stuff is commercially driven, so they're not really interested in doing that. 688 00:32:02,720 --> 00:32:05,320 They're interested in being as unobtrusive and indetectable as possible. 689 00:32:07,460 --> 00:32:08,480 There's one called SpyBot. 690 00:32:08,520 --> 00:32:11,140 Again, this is a variation of this, but it's more towards spying. 691 00:32:13,240 --> 00:32:16,880 Again, some common examples of what SpamWorms do, SOX proxies. 692 00:32:16,880 --> 00:32:18,300 Basically, they just enable spamming. 693 00:32:19,660 --> 00:32:22,040 I'll get on to some of the more interesting ones here, pay-per-click fraud. 694 00:32:22,240 --> 00:32:25,940 So I've already mentioned this sort of distributed spam bots where you get 10,000 machines and 695 00:32:25,940 --> 00:32:27,020 a couple of them spam at a time. 696 00:32:27,240 --> 00:32:28,280 It's the same thing for websites. 697 00:32:28,940 --> 00:32:32,200 Obviously, if you've got a spyware or malware website, you can't have one single server 698 00:32:32,200 --> 00:32:33,200 because that's going to be taken out. 699 00:32:33,500 --> 00:32:36,020 So what they do is they act as reverse HTTP proxies. 700 00:32:36,020 --> 00:32:39,860 So you've got, again, this bot made of 10,000 machines, and they're acting as a reverse 701 00:32:39,860 --> 00:32:40,260 proxy. 702 00:32:40,340 --> 00:32:42,540 So you've got this basically distributed fault-tolerant website. 703 00:32:42,880 --> 00:32:46,640 For maybe a couple of minutes, there'll be 1,000 machines active, acting as this virtual 704 00:32:46,640 --> 00:32:47,120 web server. 705 00:32:47,120 --> 00:32:50,020 They shut down, another 1,000 fire up and act as a virtual web server. 706 00:32:50,100 --> 00:32:51,160 They shut down, and so on. 707 00:32:52,060 --> 00:32:53,260 And there's an example of this. 708 00:32:53,260 --> 00:32:57,360 The MIGMATH worm, for example, changed its website, meaning its virtual website, every 709 00:32:57,360 --> 00:32:57,780 10 minutes. 710 00:32:58,120 --> 00:33:00,320 So it's basically like frequency hopping or spread spectrum. 711 00:33:00,520 --> 00:33:02,160 You can't trace it back to one individual source. 712 00:33:04,040 --> 00:33:07,760 The standard thing is you disable antivirus software, you disable firewall software, you 713 00:33:07,760 --> 00:33:10,120 bypass firewall software, and there's various tricks, for example. 714 00:33:10,580 --> 00:33:15,220 One neat trick is lots of firewall software will check things like the endos.sys and 715 00:33:15,220 --> 00:33:15,700 memory image. 716 00:33:15,800 --> 00:33:16,200 This is all. 717 00:33:17,120 --> 00:33:19,460 All this stuff refers to Windows-based stuff, because that's where it's all being done. 718 00:33:20,040 --> 00:33:25,820 So you can walk the endos.sys memory image and patch yourself in underneath the firewall. 719 00:33:25,960 --> 00:33:26,720 That's the obvious one. 720 00:33:27,060 --> 00:33:30,420 Much less obvious one is you page your own private copy of this thing in from disk. 721 00:33:30,600 --> 00:33:34,180 So the firewall is very carefully sitting here watching the legitimate copy, making 722 00:33:34,180 --> 00:33:35,200 sure nothing happens to this. 723 00:33:35,360 --> 00:33:38,620 There's a second shadow copy sitting down here, which is doing all the work, and the 724 00:33:38,620 --> 00:33:40,640 firewall software doesn't even know that this other copy exists. 725 00:33:43,240 --> 00:33:46,400 Yeah, the standard one, again, with antivirus software, you modify the antivirus database, 726 00:33:46,400 --> 00:33:47,560 so it can't detect you anymore. 727 00:33:48,040 --> 00:33:50,740 And there's some neat variations on this, which I'll get into in a minute. 728 00:33:51,800 --> 00:33:56,260 So I've already mentioned you re-enable unsafe defaults, lowering browser security settings. 729 00:33:56,340 --> 00:34:01,320 So again, this is the first, I think it was the first sort of pop-up virus that was written 730 00:34:01,320 --> 00:34:04,700 by Diablo, and that guy was actually being paid for each pop-up delivered. 731 00:34:04,880 --> 00:34:09,040 So all that thing did is it went in, went to Internet Explorer, re-enabled unsafe defaults, 732 00:34:09,040 --> 00:34:10,120 so pop-ups would keep coming in. 733 00:34:10,240 --> 00:34:11,820 And this guy was paid for each pop-up delivered. 734 00:34:13,000 --> 00:34:15,640 So some of the more interesting and cool tricks that some of these do, some of these are 735 00:34:15,640 --> 00:34:16,380 only proof of concept. 736 00:34:16,500 --> 00:34:17,780 Some of them are actually deployed in the wild. 737 00:34:18,740 --> 00:34:22,040 A fairly standard one is you run multiple instances of yourself, or multiple threads. 738 00:34:22,120 --> 00:34:24,660 So you inject a thread into each process running on the Windows machine. 739 00:34:24,980 --> 00:34:28,540 So the antivirus software can't really kill it anymore, because it's running inside Word, 740 00:34:28,620 --> 00:34:30,900 inside Internet Explorer, inside Notepad, inside everything else. 741 00:34:31,120 --> 00:34:32,920 And these processes all monitor each other. 742 00:34:33,000 --> 00:34:34,940 If one of them gets killed, the other ones come in and resurrect it. 743 00:34:35,160 --> 00:34:38,620 So these are basically unkillable, because the antivirus software can't simultaneously 744 00:34:38,620 --> 00:34:40,540 kill every single process on the system. 745 00:34:41,080 --> 00:34:44,640 As long as there's one single process infected still running, it can resurrect all the others. 746 00:34:45,640 --> 00:34:49,060 There was one, this is a proof of concept of a virus called RDA Fighter, which actually 747 00:34:49,060 --> 00:34:50,620 used error-correcting code to repair itself. 748 00:34:51,020 --> 00:34:52,080 This is really creepy. 749 00:34:52,200 --> 00:34:54,860 I mean, if you're investigating this stuff, and you go in and you maybe patch out some 750 00:34:54,860 --> 00:34:58,880 of the malicious payload, and the thing runs, and it's repaired itself, and it keeps running 751 00:34:58,880 --> 00:35:00,880 the malicious payload, even though you think you've patched it out. 752 00:35:01,180 --> 00:35:02,100 That's kind of an extreme. 753 00:35:02,180 --> 00:35:03,280 That was done as a proof of concept. 754 00:35:03,360 --> 00:35:04,520 It's way excessive. 755 00:35:05,380 --> 00:35:08,280 So you don't generally need to do that in actual deployed stuff, but that's an example 756 00:35:08,280 --> 00:35:09,820 of how sophisticated some of these things are. 757 00:35:12,140 --> 00:35:15,620 Some of the earlier virus checkers and, you know, integrity checks. 758 00:35:15,640 --> 00:35:17,080 Integrity protection programs would use CRC32s. 759 00:35:17,640 --> 00:35:21,080 Well, the problem with CRC32s is that they're okay for detecting accidental corruption. 760 00:35:21,220 --> 00:35:24,060 They're pretty much useless for detecting deliberate malicious corruption. 761 00:35:24,380 --> 00:35:28,700 You can take a file with a CRC32 checksum and modify a part of it and make sure that 762 00:35:28,700 --> 00:35:29,720 the checksum remains the same. 763 00:35:29,880 --> 00:35:32,960 So there are viruses that will infect right through a CRC32 checksum. 764 00:35:33,040 --> 00:35:34,200 So your virus checker's sitting there. 765 00:35:34,240 --> 00:35:37,120 It thinks the file hasn't been modified, and it's actually been infected by the virus. 766 00:35:40,220 --> 00:35:41,580 Again, this one was from a while back. 767 00:35:41,660 --> 00:35:45,360 There are viruses that will engage users in chat sessions to convince them that this isn't 768 00:35:45,360 --> 00:35:47,240 malware, so, you know, hey, here's this cool file. 769 00:35:47,320 --> 00:35:47,800 Try and run it. 770 00:35:47,920 --> 00:35:48,680 Is this a virus? 771 00:35:48,860 --> 00:35:49,600 No, it's not a virus. 772 00:35:49,700 --> 00:35:50,040 Trust me. 773 00:35:50,380 --> 00:35:53,840 And, you know, the typical sort of AOL sort of level of interaction that it's not that 774 00:35:53,840 --> 00:35:55,220 hard to actually fake a human user. 775 00:35:55,580 --> 00:35:57,720 So you can actually talk people into running this malware. 776 00:35:59,060 --> 00:36:01,420 And variations of this is you rewrite users' email. 777 00:36:01,540 --> 00:36:05,020 You rewrite the contents of users' chat sessions to inject the virus into the chat session. 778 00:36:05,400 --> 00:36:09,260 So I'm sitting there chatting to you, and the virus injects itself into my chat session. 779 00:36:09,380 --> 00:36:11,300 So as far as the other side can tell, it's talking to me. 780 00:36:11,580 --> 00:36:14,520 There's just a bit of extra stuff coming in, which is the virus that's propagating itself 781 00:36:14,520 --> 00:36:15,220 out to your machine. 782 00:36:18,300 --> 00:36:19,520 Again, various bits and pieces. 783 00:36:24,900 --> 00:36:25,300 Sorry. 784 00:36:26,160 --> 00:36:28,620 So this is an example of how sophisticated some of this stuff is. 785 00:36:28,860 --> 00:36:33,760 If you look at the sort of, let's say, amateur-written viruses, the non-commercial stuff that was 786 00:36:33,760 --> 00:36:37,760 around 2000, 2001, this stuff was really badly debugged. 787 00:36:37,780 --> 00:36:39,240 It only worked on one particular platform. 788 00:36:39,940 --> 00:36:40,980 It was kind of flaky. 789 00:36:41,720 --> 00:36:45,260 This is a commercially-written virus, again, this Gozi one that's been around, that's been 790 00:36:45,360 --> 00:36:47,040 sort of creeping around for about the past six months or so. 791 00:36:47,840 --> 00:36:51,320 So what this does is it registers itself as a layered service provider under Windows, 792 00:36:51,760 --> 00:36:56,300 and it uses that to see through SSL, because the SSL level lives below the LSP level. 793 00:36:56,380 --> 00:36:59,180 So it gets the data that's coming out of the web browser before it gets into the SSL 794 00:36:59,180 --> 00:36:59,380 layer. 795 00:36:59,700 --> 00:37:01,760 The thing is, it doesn't just assume that that's going to work. 796 00:37:01,780 --> 00:37:02,520 It actually tests it. 797 00:37:02,700 --> 00:37:05,460 So what you've got is you've got the main Gozi infection running on your machine. 798 00:37:06,160 --> 00:37:08,720 It goes out to the server and gets some bogus HTTP data. 799 00:37:08,940 --> 00:37:10,020 It's random garbage. 800 00:37:10,120 --> 00:37:10,760 It doesn't really matter. 801 00:37:10,880 --> 00:37:14,020 It's just information like, go to this bank and send in this username and password. 802 00:37:14,380 --> 00:37:15,340 It then pushes it to the other end of the network. 803 00:37:15,340 --> 00:37:18,600 It pulls it through the MSIE server, and it goes down to the layered service provider, 804 00:37:18,860 --> 00:37:22,220 and it feeds the result back to the Gozi main program, and it compares the two. 805 00:37:22,720 --> 00:37:26,000 And what it pushed in through Internet Explorer is what comes out through the layered service 806 00:37:26,000 --> 00:37:26,380 provider. 807 00:37:26,600 --> 00:37:28,460 It knows that it's basically bypassed SSL. 808 00:37:28,600 --> 00:37:32,500 So it's getting at the data before it goes into the SSL layer, and that it can then see 809 00:37:32,500 --> 00:37:36,960 any information that goes into that browser normally protected via SSL, the Trojan can 810 00:37:36,960 --> 00:37:38,740 actually pull out before it gets to the SSL layer. 811 00:37:38,920 --> 00:37:41,120 So this doesn't just install stuff and hope it works. 812 00:37:41,180 --> 00:37:44,820 It actually runs these fairly sophisticated configuration tests and self-tests to make 813 00:37:44,820 --> 00:37:46,160 sure that the malware is actually working. 814 00:37:46,380 --> 00:37:50,400 If the self-test doesn't work, it simply shuts itself down, so it's effectively not there 815 00:37:50,400 --> 00:37:53,600 anymore for the purposes of things like virus scanning and integrity checking. 816 00:37:55,020 --> 00:37:59,380 And again, the sort of monoculture thing that if everyone uses the Windows built-in 817 00:37:59,380 --> 00:38:02,480 SSL layer, then everyone's vulnerable to this particular attack. 818 00:38:02,640 --> 00:38:06,540 If your application carries its own SSL around with it, it's not vulnerable to this LSP 819 00:38:06,540 --> 00:38:08,460 injection, and so it's not vulnerable to the attack. 820 00:38:11,400 --> 00:38:14,480 This is another thing that's been happening within the last maybe month or two. 821 00:38:14,480 --> 00:38:15,180 You may have seen this. 822 00:38:15,240 --> 00:38:19,660 If you check your spam email, you may have been getting password resets from Amazon and 823 00:38:19,660 --> 00:38:21,000 eBay and PayPal and whatnot. 824 00:38:22,020 --> 00:38:25,060 There's some malware out there, and people are still trying to figure out what it is, 825 00:38:25,100 --> 00:38:28,180 which goes into these sites and performs password resets on your behalf. 826 00:38:28,820 --> 00:38:31,820 So the typical reset process, and this is basically the fault of the people running 827 00:38:31,820 --> 00:38:32,240 these sites. 828 00:38:32,300 --> 00:38:33,180 You go to somewhere like Amazon. 829 00:38:33,380 --> 00:38:36,800 If you can post in an email address, that's all you need to do to get a password reset. 830 00:38:37,200 --> 00:38:39,760 And then if you're controlling the user's machine, you sit there, you monitor incoming 831 00:38:39,760 --> 00:38:43,700 email for something from Amazon.com, that gives you a cookie that you paste into a web browser, 832 00:38:43,700 --> 00:38:45,420 and you've now got access to that person's account. 833 00:38:45,660 --> 00:38:46,620 You don't need phishing. 834 00:38:46,660 --> 00:38:47,840 You don't need password stealing at all. 835 00:38:47,940 --> 00:38:51,460 All you need is the ability to do a post to a web page and to get back the resulting mail 836 00:38:51,460 --> 00:38:53,080 via malware running on the user's machines. 837 00:38:54,280 --> 00:38:58,580 Anyone from Amazon or PayPal or anything sitting in this room, for God's sake, put reverse 838 00:38:58,580 --> 00:39:02,180 Turing tests or CAPTCHAs on your password reset facilities, because basically at the 839 00:39:02,180 --> 00:39:05,580 moment these sites are all handing out, not necessarily passwords, but account access 840 00:39:05,580 --> 00:39:07,420 to anyone who can run this kind of stuff. 841 00:39:09,340 --> 00:39:13,380 The obvious things, you prevent antivirus software and malware removal programs from 842 00:39:13,380 --> 00:39:13,600 running. 843 00:39:13,700 --> 00:39:14,840 There's a bunch of standard ones. 844 00:39:15,260 --> 00:39:16,560 And there's some more inventive ones. 845 00:39:18,620 --> 00:39:22,620 Oh, actually, another interesting thing that the Gozi Trojan does is it steals client keys 846 00:39:22,620 --> 00:39:23,020 and certificates. 847 00:39:23,320 --> 00:39:27,300 So currently there's this sort of theory that client certificates on PCs are supposed to 848 00:39:27,300 --> 00:39:28,020 protect us from this. 849 00:39:28,160 --> 00:39:31,180 The problem is client certificates are so hard to use and so painful to use that no 850 00:39:31,180 --> 00:39:32,520 one bothers with them. 851 00:39:32,620 --> 00:39:35,040 And even if they did, there's a Trojan that steals your private keys and certificates 852 00:39:35,040 --> 00:39:35,640 off your machine. 853 00:39:36,020 --> 00:39:40,160 So the scary thing about this is that the Trojan that steals these keys is probably 854 00:39:40,160 --> 00:39:43,340 more widely used and widely deployed than the actual client certificates themselves 855 00:39:43,340 --> 00:39:43,640 are. 856 00:39:43,920 --> 00:39:47,620 So, you know, this is like a minus one day attack we've lost before we've even started. 857 00:39:49,460 --> 00:39:50,800 So here's an example of a Trojan. 858 00:39:50,940 --> 00:39:51,880 Again, this is from a while back. 859 00:39:51,940 --> 00:39:53,380 This is a thing called the Glitter Trojan. 860 00:39:53,780 --> 00:39:55,460 And this worked in multiple phases. 861 00:39:55,640 --> 00:39:59,340 So phase one was this very fast, well, it's actually a bunch of very fast-deploying variants, 862 00:39:59,440 --> 00:40:03,380 so basically zero days, that came in extremely quickly, very, very tiny, very compact, came 863 00:40:03,380 --> 00:40:07,280 in under the AV software, and they disabled the Windows XP firewall and security center. 864 00:40:07,380 --> 00:40:08,020 That's all they did. 865 00:40:08,140 --> 00:40:08,660 They had no other function. 866 00:40:08,900 --> 00:40:12,960 So because they were very small, fast-moving, zero days, they couldn't be detected and they'd 867 00:40:12,960 --> 00:40:14,420 turned off the first line of defense. 868 00:40:15,060 --> 00:40:18,440 That then connected to a second line, that then employed the second line of this thing. 869 00:40:18,780 --> 00:40:23,620 It connected to a bunch of URLs and it downloaded this piece of malware, which was a bit more 870 00:40:23,620 --> 00:40:24,020 sophisticated. 871 00:40:24,040 --> 00:40:24,680 It was larger. 872 00:40:24,820 --> 00:40:27,760 But once the first line of defense is gone, you could get in through that hole. 873 00:40:28,080 --> 00:40:31,580 And that then turned off the antivirus software and various other protection measures. 874 00:40:32,540 --> 00:40:35,700 It also blocked access, and again, this is a standard thing a lot of malware does. 875 00:40:35,740 --> 00:40:39,200 It blocked access to Windows updates, so once you're vulnerable, you can't fix it anymore. 876 00:40:39,380 --> 00:40:41,400 And it blocked access to antivirus vendor sites. 877 00:40:41,580 --> 00:40:42,940 And again, you can't update your antivirus vendor sites. 878 00:40:42,940 --> 00:40:45,180 You can't update your antivirus database, so you can't detect this stuff afterwards. 879 00:40:46,100 --> 00:40:48,980 And finally, there was this thing called , which was phase three, and that was the 880 00:40:48,980 --> 00:40:53,520 actual malware, which did the usual botnets and password stealing and so on and so forth. 881 00:40:55,440 --> 00:40:57,440 And again, this has become reasonably standard. 882 00:40:57,620 --> 00:41:00,740 You've got this multi-phase bootstrap approach, so you've got a very fast-moving zero day, 883 00:41:00,900 --> 00:41:04,240 and that then opens the gates, and then more and more serious stuff comes in after that. 884 00:41:05,000 --> 00:41:06,720 So you know, people have said SQL Slammer. 885 00:41:06,740 --> 00:41:07,780 That was 376 bytes. 886 00:41:08,200 --> 00:41:09,900 How can something that tiny be a threat? 887 00:41:10,020 --> 00:41:12,680 You can't put a botnet into 376 bytes. 888 00:41:12,940 --> 00:41:14,100 The answer is you don't need to. 889 00:41:14,140 --> 00:41:17,000 All you need to do is open the door for the really scary stuff to come in afterwards. 890 00:41:18,540 --> 00:41:21,660 And some of these things are incredibly complicated. 891 00:41:21,900 --> 00:41:24,820 These things, you know, like Glitter was an example that uses a three-phase infection 892 00:41:24,820 --> 00:41:25,280 strategy. 893 00:41:25,600 --> 00:41:28,640 Some of these things use 10 to 15 phase infection strategies. 894 00:41:29,780 --> 00:41:33,120 I think not so much because it's necessary, but mainly because it is commoditized. 895 00:41:33,340 --> 00:41:36,080 And so you have different vendors providing different parts of this. 896 00:41:36,140 --> 00:41:39,200 So you have someone that provides zero days, and someone that provides the next level of 897 00:41:39,200 --> 00:41:41,160 bootstrap, and someone that provides the password stealing. 898 00:41:41,160 --> 00:41:45,080 And so you buy it all from different vendors, and each vendor that you deal with adds another 899 00:41:45,080 --> 00:41:45,920 phase to this process. 900 00:41:47,580 --> 00:41:48,980 Here's a vague idea. 901 00:41:49,060 --> 00:41:52,580 I tried to do a diagram of this, and I ended up with this whole A4 page full of arrows 902 00:41:52,580 --> 00:41:54,580 with spaghetti all over the place of a typical infection. 903 00:41:55,300 --> 00:42:00,360 So this is way too complicated to actually diagram, but that's a very simplified sort 904 00:42:00,360 --> 00:42:01,460 of flowchart of how this happens. 905 00:42:01,520 --> 00:42:05,160 So you've got basically a bunch of bait and spam sites with, you know, porn or free EF, 906 00:42:05,160 --> 00:42:06,980 cheap EF EAs, or whatever it is to get the people in. 907 00:42:07,800 --> 00:42:11,140 They then go through redirect sites that go to, that, that, that go to, that, that, that, 908 00:42:11,140 --> 00:42:13,860 another layer of sites that have the actual exploits, so the zero days that come in and 909 00:42:13,860 --> 00:42:14,400 open the doors. 910 00:42:14,820 --> 00:42:18,020 And then finally there's downloaders, and then the actual adware and spyware and malware 911 00:42:18,020 --> 00:42:18,820 that does everything else. 912 00:42:18,880 --> 00:42:22,200 So this is an example of this, of this sort of multi-phase bootstrap, where you go to 913 00:42:22,200 --> 00:42:25,220 one site, and then you get pushed through this entire chain, and getting this entire 914 00:42:25,540 --> 00:42:27,220 industry's worth of malware loaded onto your machine. 915 00:42:29,800 --> 00:42:31,540 So this is an example of one particular worm. 916 00:42:31,560 --> 00:42:32,480 This is from a couple of years ago. 917 00:42:32,540 --> 00:42:34,700 This was, I think this was the first worm that used encrypted modules. 918 00:42:34,840 --> 00:42:37,860 So basically they used encrypted modules, and they were digitally signed. 919 00:42:38,060 --> 00:42:41,120 So this is, I think for, I think, what was it? 920 00:42:41,120 --> 00:42:43,140 Windows Update digitally signs it, but it doesn't encrypt it. 921 00:42:43,200 --> 00:42:46,520 So this is, you know, more sophisticated than, than, than Windows Update, which itself is 922 00:42:46,520 --> 00:42:47,240 relatively sophisticated. 923 00:42:49,000 --> 00:42:51,140 And it created this thing called a programmable virus. 924 00:42:51,320 --> 00:42:54,600 So you had this kind of a mothership that went in, and it didn't actually do much 925 00:42:54,600 --> 00:42:54,840 itself. 926 00:42:55,020 --> 00:42:57,320 All it did was have a pile of, know where a pile of plug-ins were. 927 00:42:57,480 --> 00:43:00,200 So it would go out and it would fetch the appropriate plug-ins for that machine or 928 00:43:00,200 --> 00:43:01,960 the attack that the person was carrying out. 929 00:43:02,160 --> 00:43:04,400 And these were the signed encrypted plug-ins from different sites. 930 00:43:04,760 --> 00:43:06,680 And that would then carry out the payload attack. 931 00:43:07,540 --> 00:43:09,200 And there's, there's basically a shopping list. 932 00:43:09,260 --> 00:43:11,020 Because there were a wide variety of plug-ins. 933 00:43:11,020 --> 00:43:14,220 Um, you could pretty much do anything you want and provide the appropriate plug-in for 934 00:43:14,220 --> 00:43:14,380 it. 935 00:43:15,760 --> 00:43:17,640 Um, yeah, different auto-start mechanisms. 936 00:43:18,240 --> 00:43:21,800 So the one interesting thing that, um, there, there's a piece of malware called WGA which 937 00:43:21,800 --> 00:43:25,180 pops up this message under Windows and demands payment of money or it'll disable your copy 938 00:43:25,180 --> 00:43:25,500 of Windows. 939 00:43:25,920 --> 00:43:27,700 Um, so people are actually exploiting this. 940 00:43:27,740 --> 00:43:30,640 There's some malware that fakes that out and says, you know, enter your credit card details 941 00:43:30,640 --> 00:43:32,320 here or your copy of Windows will be disabled. 942 00:43:32,420 --> 00:43:32,980 Love, Microsoft. 943 00:43:33,320 --> 00:43:36,900 Um, so they're taking the official Windows mechanism and they're actually pretending 944 00:43:36,900 --> 00:43:38,660 to be that to steal people's credit card details. 945 00:43:42,720 --> 00:43:46,120 Um, an interesting, one interesting thing, again, some of the, these are sort of more 946 00:43:46,120 --> 00:43:48,580 just illustrations of some of the creative things these guys are doing. 947 00:43:48,740 --> 00:43:51,860 One of the things is if you've got malware on a machine, um, obviously you don't want 948 00:43:51,860 --> 00:43:55,280 someone else's malware sitting there chewing up CPU time or network bandwidth or whatever. 949 00:43:55,620 --> 00:44:00,160 Um, so one of the things your malware should do, if, if you can get away with it, is remove 950 00:44:00,160 --> 00:44:02,000 competing malware from the, from the, uh, system. 951 00:44:02,360 --> 00:44:03,960 So there's a trojan called spam through. 952 00:44:04,080 --> 00:44:06,880 And what that does is it takes a pirated copy of Kaspersky antivirus. 953 00:44:07,440 --> 00:44:11,000 And the reason it takes Kaspersky is that, uh, most of the malware authors don't know 954 00:44:11,000 --> 00:44:12,340 how to use it. 955 00:44:13,900 --> 00:44:14,380 They don't know how to use it. 956 00:44:14,460 --> 00:44:16,820 So they're pretty much useless in detecting viruses. 957 00:44:17,220 --> 00:44:17,340 So they're pretty much useless in detecting viruses. 958 00:44:17,580 --> 00:44:18,900 Kaspersky is not a mainstream product. 959 00:44:19,020 --> 00:44:21,340 So nobody chews their viruses to not be detected by it. 960 00:44:21,360 --> 00:44:22,320 So it's very good at detecting viruses. 961 00:44:22,720 --> 00:44:25,080 So they'll take Kaspersky, an unregistered copy. 962 00:44:25,260 --> 00:44:27,920 They'll patch the in-mem, in the, uh, in-memory license check code. 963 00:44:28,200 --> 00:44:30,880 And then they'll just run it and use it to remove everything but themselves from the 964 00:44:30,880 --> 00:44:31,080 system. 965 00:44:31,180 --> 00:44:32,380 So they're guaranteed a very clean machine. 966 00:44:33,620 --> 00:44:35,860 Um, and there's companies like, for example, Direct Revenue. 967 00:44:35,960 --> 00:44:39,100 And they actually have a separate division called Dark Arts which is dedicated to removing 968 00:44:39,100 --> 00:44:40,740 everyone else's malware from the system. 969 00:44:40,740 --> 00:44:43,080 So you get the direct revenue malware, but no one else's. 970 00:44:45,300 --> 00:44:47,100 There are ones that record geolocation information. 971 00:44:47,240 --> 00:44:49,380 We don't know exactly why they do this yet. 972 00:44:49,400 --> 00:44:51,640 The theory is that for credit card purchases, 973 00:44:51,780 --> 00:44:54,780 if you've got a credit card that's registered in, say, New York, 974 00:44:54,800 --> 00:44:57,340 and suddenly you're buying a whole bunch of stuff in LA, 975 00:44:57,580 --> 00:45:00,500 then it may be detected by anomaly detection software 976 00:45:00,500 --> 00:45:02,640 that's being used somewhere a long way from where it's registered. 977 00:45:03,960 --> 00:45:05,980 So there are viruses that do geolocation information. 978 00:45:06,280 --> 00:45:08,400 So the theory is, as far as we can tell, 979 00:45:08,440 --> 00:45:10,120 maybe they're doing this stuff just because they're interested 980 00:45:10,120 --> 00:45:11,760 and because why not? 981 00:45:11,880 --> 00:45:12,960 I mean, they're not paying for the bandwidth. 982 00:45:13,040 --> 00:45:14,360 They're not paying for the service, so why not? 983 00:45:15,280 --> 00:45:17,860 But you could also use this to defeat anomaly detection botnets. 984 00:45:17,940 --> 00:45:18,740 So if you've got a botnet, 985 00:45:18,880 --> 00:45:21,040 you make sure that you're carrying out the credit card fraud 986 00:45:21,040 --> 00:45:23,520 from a location close to where the credit card owner actually lives, 987 00:45:23,660 --> 00:45:26,960 and that defeats this location-based malware detection, 988 00:45:27,180 --> 00:45:27,940 or at least fraud detection. 989 00:45:30,540 --> 00:45:31,420 Yeah, various things. 990 00:45:31,540 --> 00:45:32,960 So here's an example that detects that. 991 00:45:33,060 --> 00:45:34,040 This is actually kind of a neat one. 992 00:45:34,120 --> 00:45:35,940 So it hijacks Windows updates. 993 00:45:36,040 --> 00:45:38,220 So the thing with Windows updates is they always have to get through. 994 00:45:38,340 --> 00:45:40,100 Obviously, you can't firewall or block off Windows. 995 00:45:40,120 --> 00:45:42,140 So if you've hijacked Windows updates, 996 00:45:42,340 --> 00:45:45,300 then you've got a virus propagation mechanism that can't be stopped 997 00:45:45,300 --> 00:45:47,800 because no firewall will prevent Windows updates from working. 998 00:45:48,060 --> 00:45:49,780 So there are ones that do that. 999 00:45:53,140 --> 00:45:54,240 Okay, various bits and pieces. 1000 00:45:54,480 --> 00:45:56,560 So this is an example, again, of an identity theft trojan 1001 00:45:56,560 --> 00:45:57,280 and rootkit stuff. 1002 00:45:58,360 --> 00:45:59,640 One of the neat things this one does, 1003 00:45:59,760 --> 00:46:00,840 it's all standard rootkit stuff, 1004 00:46:00,940 --> 00:46:02,400 but it has one kind of neat trick that it does. 1005 00:46:03,600 --> 00:46:05,520 If antivirus software tries to terminate it, 1006 00:46:05,560 --> 00:46:06,920 what it's doing is it's sitting in the system, 1007 00:46:06,980 --> 00:46:08,960 because it's a rootkit, it's underneath the antivirus software. 1008 00:46:09,140 --> 00:46:10,100 So it swaps the process. 1009 00:46:10,120 --> 00:46:11,900 It swaps the process handles of itself and the antivirus software. 1010 00:46:12,100 --> 00:46:13,800 So the antivirus software terminates it. 1011 00:46:13,820 --> 00:46:14,700 It swaps the process handle, 1012 00:46:14,880 --> 00:46:16,460 and the antivirus software terminates itself 1013 00:46:16,460 --> 00:46:18,040 rather than terminating the malware. 1014 00:46:19,060 --> 00:46:20,300 These guys have a sense of humor. 1015 00:46:21,620 --> 00:46:23,740 And there are ones, you know, they're context-aware, for example. 1016 00:46:23,860 --> 00:46:25,720 They'll hook into your browser and they'll recognize. 1017 00:46:25,960 --> 00:46:28,500 They won't just send back information about any old rubbish you're surfing 1018 00:46:28,500 --> 00:46:29,380 because they're really not interested. 1019 00:46:29,540 --> 00:46:30,680 They're interested about banking sites. 1020 00:46:30,760 --> 00:46:33,180 So they'll recognize strings like trading and merchant and banks 1021 00:46:33,180 --> 00:46:33,980 and so on and so forth 1022 00:46:33,980 --> 00:46:36,020 and only record information related to that. 1023 00:46:36,300 --> 00:46:39,200 And, again, these are some examples of the trojan that did that 1024 00:46:39,200 --> 00:46:40,100 and the information that they did. 1025 00:46:40,100 --> 00:46:40,660 And the information they got from that. 1026 00:46:42,840 --> 00:46:43,900 Standard rootkit mechanisms. 1027 00:46:45,680 --> 00:46:46,320 More rootkit. 1028 00:46:46,360 --> 00:46:47,840 Again, I've just listed these for completeness. 1029 00:46:50,780 --> 00:46:52,620 So the RDA phytos, which I mentioned earlier, 1030 00:46:52,760 --> 00:46:54,720 that was the first one that used error correction codes. 1031 00:46:54,920 --> 00:46:56,900 It also did something called randomized decryption, 1032 00:46:57,740 --> 00:46:59,500 which these are basically you want to create a virus 1033 00:46:59,500 --> 00:47:01,840 that can't be detected by any kind of standard virus scanner. 1034 00:47:02,380 --> 00:47:05,740 So the outer layer, on the outer layer, they're always polymorphic. 1035 00:47:05,780 --> 00:47:07,500 So basically there's no standard pattern to search for. 1036 00:47:07,540 --> 00:47:08,980 The inner layer, typically it's encrypted. 1037 00:47:09,100 --> 00:47:09,780 Well, RDA did. 1038 00:47:10,100 --> 00:47:12,040 It encrypted it with a random 16-bit key. 1039 00:47:12,140 --> 00:47:14,460 So it had to brute force break its own encryption in order to run. 1040 00:47:14,700 --> 00:47:16,220 The thing is, for the virus, that's fine. 1041 00:47:16,320 --> 00:47:17,440 It's running on someone else's machine. 1042 00:47:17,500 --> 00:47:19,100 It's an X gigahertz Pentium 4. 1043 00:47:19,700 --> 00:47:21,300 It can race through that in no time at all. 1044 00:47:21,360 --> 00:47:24,480 For a virus scanner to brute force theoretically present encryption 1045 00:47:24,480 --> 00:47:27,540 on every single executable that it has to scan is more or less unworkable. 1046 00:47:27,820 --> 00:47:30,640 So this is something where the load for scanning becomes so high 1047 00:47:30,640 --> 00:47:32,340 that it doesn't become effective to scan for it anymore. 1048 00:47:34,240 --> 00:47:37,180 So because of polymorphism, the way virus scanners work today, 1049 00:47:37,300 --> 00:47:38,980 no one scans for fixed patterns anymore. 1050 00:47:39,040 --> 00:47:39,940 You basically run this thing. 1051 00:47:40,100 --> 00:47:42,420 It's inside a sandbox, so inside an x86 CPU emulator. 1052 00:47:42,700 --> 00:47:44,340 And you either check for certain behavior. 1053 00:47:45,240 --> 00:47:47,840 For example, if you're rewriting your own code, 1054 00:47:47,980 --> 00:47:48,660 then that's not Microsoft. 1055 00:47:49,120 --> 00:47:49,520 Thanks. 1056 00:47:50,160 --> 00:47:53,060 If a program starts up and starts rewriting its own code, 1057 00:47:53,200 --> 00:47:54,440 that's not Microsoft Word starting up. 1058 00:47:54,520 --> 00:47:56,100 That's something very peculiar. 1059 00:47:56,480 --> 00:47:58,180 So there's a good suspicion that that's a virus. 1060 00:47:59,200 --> 00:48:00,880 Or you wait until it's fully decrypted itself, 1061 00:48:01,140 --> 00:48:02,780 and then you can scan for the malware payload. 1062 00:48:03,640 --> 00:48:06,300 And so what current scanners do is they use behavioral analysis. 1063 00:48:07,420 --> 00:48:09,760 And there have been viruses written specifically to defeat this. 1064 00:48:09,780 --> 00:48:10,020 There's one. 1065 00:48:10,100 --> 00:48:11,000 There's one from Russia called Xemist, 1066 00:48:11,140 --> 00:48:12,760 which luckily is a proof of concept. 1067 00:48:12,860 --> 00:48:13,500 It hasn't been deployed. 1068 00:48:13,940 --> 00:48:16,660 And that requires about 2 million code cycles to detect reliably. 1069 00:48:17,580 --> 00:48:19,740 So now you consider, OK, 2 million code cycles, again, 1070 00:48:19,800 --> 00:48:20,840 on a multi-gigahertz P4. 1071 00:48:20,920 --> 00:48:21,420 That's no problem. 1072 00:48:21,780 --> 00:48:23,640 Well, you actually have to run this inside an emulator. 1073 00:48:23,720 --> 00:48:25,580 Obviously, you can't run the virus natively on the CPU. 1074 00:48:26,100 --> 00:48:27,920 So you multiply that by about a factor of 100 1075 00:48:27,920 --> 00:48:29,500 because it's running inside software emulation. 1076 00:48:29,980 --> 00:48:32,300 And then if you've got 10,000 files on that system, 1077 00:48:32,400 --> 00:48:33,940 again, you multiply it by a factor of 10,000. 1078 00:48:34,100 --> 00:48:35,880 So basically, this is an undetectable virus. 1079 00:48:36,040 --> 00:48:37,960 You cannot effectively scan for this virus 1080 00:48:37,960 --> 00:48:39,900 because it would take about six months to scan one machine. 1081 00:48:40,980 --> 00:48:42,660 And, you know, you talk to antivirus vendors. 1082 00:48:42,820 --> 00:48:43,580 How do you detect this? 1083 00:48:43,680 --> 00:48:45,140 Well, we just hope it doesn't get into the wild 1084 00:48:45,140 --> 00:48:47,360 because at the moment, we have no strategy for detecting this 1085 00:48:47,360 --> 00:48:49,040 or no effective strategy for detecting this. 1086 00:48:51,180 --> 00:48:52,340 And so, you know, again, 1087 00:48:52,440 --> 00:48:53,660 there are various ways of getting around this. 1088 00:48:53,740 --> 00:48:55,540 So obviously, if you've got viruses that decrypt themselves, 1089 00:48:55,780 --> 00:48:57,080 then the access pattern is going to be 1090 00:48:57,080 --> 00:48:58,000 you start in the code segment, 1091 00:48:58,080 --> 00:48:59,420 you run right through it decrypting it, 1092 00:48:59,480 --> 00:49:01,140 you go to the end, and then you execute that code. 1093 00:49:01,260 --> 00:49:02,200 Very easy to detect. 1094 00:49:02,600 --> 00:49:03,920 So there are ones that use, for example, 1095 00:49:04,000 --> 00:49:05,520 maximum sequence random number generators. 1096 00:49:05,560 --> 00:49:07,020 So they randomly jump all over memory, 1097 00:49:07,540 --> 00:49:08,540 decrypting a byte at a time. 1098 00:49:08,840 --> 00:49:10,000 So you've completely covered up. 1099 00:49:10,000 --> 00:49:10,080 You've covered up. 1100 00:49:10,100 --> 00:49:11,040 You've covered up any memory access patterns. 1101 00:49:11,260 --> 00:49:12,860 So the virus software can't detect anymore 1102 00:49:12,860 --> 00:49:15,680 that that's decrypting a linear chunk of code. 1103 00:49:15,820 --> 00:49:17,520 All it's seeing is a bunch of random memory reads. 1104 00:49:18,440 --> 00:49:20,480 A much simpler technique than what Xemist used 1105 00:49:20,480 --> 00:49:22,360 is you simply only run the virus 1106 00:49:22,360 --> 00:49:23,440 a certain percentage of the time. 1107 00:49:24,340 --> 00:49:27,660 So there's a virus called eTap or Simile. 1108 00:49:27,740 --> 00:49:28,420 And the guy that wrote this 1109 00:49:28,420 --> 00:49:29,900 has this particular thing he likes doing, 1110 00:49:30,000 --> 00:49:31,880 which is you read the timestamp counter on a Pentium. 1111 00:49:32,080 --> 00:49:34,440 And based on a effectively random bit 1112 00:49:34,440 --> 00:49:35,380 down towards the low end, 1113 00:49:35,500 --> 00:49:36,860 you either run the virus or you don't. 1114 00:49:37,120 --> 00:49:38,860 So you can say 50% of the time 1115 00:49:38,860 --> 00:49:40,080 when this virus starts up, 1116 00:49:40,080 --> 00:49:41,460 it will behave like a virus. 1117 00:49:41,580 --> 00:49:42,460 And 50% of the time, 1118 00:49:42,480 --> 00:49:43,800 it will behave like a completely normal, 1119 00:49:43,960 --> 00:49:45,320 non-malicious piece of software. 1120 00:49:45,740 --> 00:49:48,040 So once you've infected 100 different files on the machine, 1121 00:49:48,280 --> 00:49:50,460 again, it's effectively impossible to scan for this 1122 00:49:50,460 --> 00:49:52,560 because you'd have to scan and re-scan and re-scan 1123 00:49:52,560 --> 00:49:53,560 this thing hundreds of times 1124 00:49:54,520 --> 00:49:56,220 in order to actually trigger the virus behavior 1125 00:49:56,220 --> 00:49:57,020 in the worst case. 1126 00:49:57,440 --> 00:49:59,780 Obviously, if I say read timestamp counter, 1127 00:49:59,880 --> 00:50:01,100 yes or no, that sounds very simple. 1128 00:50:01,200 --> 00:50:02,360 Well, this is obviously polymorphic 1129 00:50:02,360 --> 00:50:03,420 and infinitely obfuscated. 1130 00:50:03,480 --> 00:50:05,400 So you can't just check for that particular code sequence. 1131 00:50:06,220 --> 00:50:07,880 So again, that's another way of creating a virus 1132 00:50:07,880 --> 00:50:09,640 that really can't be detected or can't be scanned for. 1133 00:50:10,980 --> 00:50:12,680 And antivirus vendors are actually knowing this. 1134 00:50:12,680 --> 00:50:13,520 I mentioned earlier that, 1135 00:50:13,540 --> 00:50:14,840 okay, actually there's a quote there from, 1136 00:50:14,920 --> 00:50:17,420 well, he doesn't actually mention this most popular brand, 1137 00:50:17,540 --> 00:50:19,460 but you can probably fill in the blanks yourself. 1138 00:50:20,620 --> 00:50:22,700 And they typically have an 80% failure rate 1139 00:50:23,140 --> 00:50:24,240 for detecting viruses. 1140 00:50:24,440 --> 00:50:25,740 Not so much because they're junk, 1141 00:50:25,860 --> 00:50:27,580 but because the people writing the malware 1142 00:50:27,580 --> 00:50:29,820 are actually getting the commercial vendor software 1143 00:50:29,820 --> 00:50:31,020 and they're tuning their malware 1144 00:50:31,020 --> 00:50:32,720 so it doesn't work, it's not detected anymore. 1145 00:50:33,060 --> 00:50:35,120 And antivirus vendors, in some cases, 1146 00:50:35,120 --> 00:50:36,100 you can perform online scans. 1147 00:50:36,240 --> 00:50:38,180 So what this does is you go for a trial thing 1148 00:50:38,180 --> 00:50:39,620 or it makes sure you've got the latest, 1149 00:50:40,640 --> 00:50:42,360 antivirus software by using the online version. 1150 00:50:42,600 --> 00:50:44,160 And then there's people coming in and connecting 1151 00:50:44,160 --> 00:50:46,100 and running some code against it that detects a virus. 1152 00:50:46,460 --> 00:50:48,680 Slight variation comes in, slight variation comes in, 1153 00:50:48,740 --> 00:50:49,760 eventually something comes in 1154 00:50:49,760 --> 00:50:51,160 that isn't detected as a virus anymore. 1155 00:50:51,520 --> 00:50:52,660 And that's basically malware authors 1156 00:50:52,660 --> 00:50:53,920 tuning their code to not be detected 1157 00:50:53,920 --> 00:50:55,060 by the virus scanners anymore. 1158 00:50:56,960 --> 00:50:58,980 And there's other rootkit vendors where, again, 1159 00:50:59,080 --> 00:51:01,140 this is a service, so you can pay the rootkit vendor 1160 00:51:01,140 --> 00:51:02,500 to make their thing undetectable. 1161 00:51:02,580 --> 00:51:03,540 So you buy the basic rootkit 1162 00:51:03,540 --> 00:51:04,840 and then you pay them a certain amount 1163 00:51:04,840 --> 00:51:06,820 and they guarantee that this version, 1164 00:51:06,960 --> 00:51:08,560 customised for you, can't be detected 1165 00:51:08,560 --> 00:51:10,060 by these brands of antivirus. 1166 00:51:10,080 --> 00:51:10,600 This is an antivirus software. 1167 00:51:13,200 --> 00:51:14,560 Hacker Defender, this is an older one. 1168 00:51:14,700 --> 00:51:16,600 I provided this as an example because this was, 1169 00:51:16,640 --> 00:51:18,320 I think, one of the first ones that had the, 1170 00:51:18,400 --> 00:51:20,020 that actually exploited this commercial model 1171 00:51:20,020 --> 00:51:21,860 and, you know, sort of malware as a, well, 1172 00:51:21,900 --> 00:51:23,600 in this case, just rootkit as a service. 1173 00:51:24,340 --> 00:51:26,640 It's not updated anymore because, as far as anyone knows, 1174 00:51:26,760 --> 00:51:28,820 this guy was killed in a traffic accident 1175 00:51:28,820 --> 00:51:30,420 in New Year's Eve 2007. 1176 00:51:31,420 --> 00:51:34,820 However, he has basically proven the business model 1177 00:51:34,820 --> 00:51:36,320 and now lots of other sites, 1178 00:51:36,380 --> 00:51:37,740 also other vendors, are doing the same thing. 1179 00:51:38,300 --> 00:51:39,700 Yeah. Okay, so that's the comment. 1180 00:51:40,340 --> 00:51:41,420 Hang up team being the one. 1181 00:51:41,480 --> 00:51:42,760 These are the guys who did the Gozi Trojan. 1182 00:51:42,820 --> 00:51:44,600 That's another group that does, basically, 1183 00:51:44,720 --> 00:51:45,580 malware to design. 1184 00:51:48,760 --> 00:51:50,760 Okay, and the rest of it is just generic stuff on phishing. 1185 00:51:50,820 --> 00:51:52,440 The cool interesting bits were basically the Russian, 1186 00:51:52,500 --> 00:51:53,700 you know, the Russian malware authors 1187 00:51:53,700 --> 00:51:55,920 and some of the interesting things that this malware does. 1188 00:51:56,040 --> 00:51:57,340 The rest of it, if you want the other details, 1189 00:51:57,440 --> 00:51:58,900 it's pretty standard stuff, just read the slides. 1190 00:52:00,560 --> 00:52:02,220 Okay, do we have time for questions or is that it? 1191 00:52:05,280 --> 00:52:06,420 Quick question? Yeah. 1192 00:52:06,600 --> 00:52:09,340 Yes. So, if you're saying that with, 1193 00:52:09,800 --> 00:52:15,260 would it be possible to put a preemptive tool 1194 00:52:15,260 --> 00:52:18,480 in the space of all the devices that are now on the set? 1195 00:52:18,660 --> 00:52:21,240 Not that anybody has that, but if you're out of mind, 1196 00:52:21,340 --> 00:52:22,440 or if you're seeing this, 1197 00:52:22,480 --> 00:52:25,260 would it be possible to put a preemptive tool 1198 00:52:25,260 --> 00:52:27,320 in the space of all the devices that are now on the set? 1199 00:52:28,700 --> 00:52:29,760 So, okay, the question was, 1200 00:52:29,820 --> 00:52:31,840 can you put in some sort of preemptive defence module? 1201 00:52:32,360 --> 00:52:33,880 Isn't that more or less what anti-virus software 1202 00:52:33,880 --> 00:52:35,000 is supposed to be, though? No. 1203 00:52:35,680 --> 00:52:36,040 It's... 1204 00:52:37,360 --> 00:52:39,320 . . . . . . . . . . . . . . . . . . . 1205 00:52:47,440 --> 00:52:49,280 . . . . . . . . . . . . . . . . . . . . . . . . 1206 00:52:50,900 --> 00:52:53,200 Okay. Yeah. Sorry. 1207 00:52:56,120 --> 00:52:58,440 Thank you. 1208 00:52:58,500 --> 00:52:59,880 Thank you. 1209 00:52:59,880 --> 00:53:00,000 .