1 00:00:00,520 --> 00:00:07,980 This is my talk. My life as a spyware developer, or why I'm probably going to hell. 2 00:00:10,740 --> 00:00:16,080 So here is what we'll be covering in the next hour. I will be doing my presentation. 3 00:00:21,500 --> 00:00:24,140 I wasn't sure if that was going to work or not, so I'm glad it did. 4 00:00:28,060 --> 00:00:37,600 Okay. So who am I? Currently my career, I am integrated solutions lead for MageCon in the office in Toronto and Chicago. 5 00:00:38,920 --> 00:00:41,960 Although this is slightly out of date because we just got purchased by Honeywell. 6 00:00:43,080 --> 00:00:45,200 So who knows what that job title will be shortly. 7 00:00:45,980 --> 00:00:49,760 And basically what that means is I write custom software for power plants. 8 00:00:51,240 --> 00:00:54,120 Not part of the talk, but kind of like traffic. 9 00:00:54,140 --> 00:00:59,860 Tracking D-rates, outages, fuel consumption, energy produced, and reports based on that. 10 00:01:01,140 --> 00:01:04,000 I've also been doing a lot of NERC SIP work in the past year or so. 11 00:01:04,580 --> 00:01:18,180 And in case you don't know, NERC SIP is a federal security regulation, I guess, that all the power plants are now obligated to comply with. 12 00:01:18,440 --> 00:01:22,700 And if you don't, the fines could potentially be up to... 13 00:01:24,140 --> 00:01:25,940 A million dollars per day per infraction. 14 00:01:26,140 --> 00:01:27,200 So they're not messing around. 15 00:01:30,220 --> 00:01:36,040 Previously, I have developed pharmacy systems, online casinos, and dating websites. 16 00:01:37,480 --> 00:01:38,700 A little bit of everything. 17 00:01:40,040 --> 00:01:41,780 And also spyware. 18 00:01:43,180 --> 00:01:49,460 And I use the term spyware mainly because a lot of my friends are not technical and that's a word that they understood. 19 00:01:49,840 --> 00:01:52,840 So malware is probably more appropriate, but... 20 00:01:54,360 --> 00:01:56,380 That's the term I've used throughout my presentation. 21 00:01:56,660 --> 00:01:59,160 So replace that as you feel necessary. 22 00:02:01,080 --> 00:02:02,640 And this is my fourth DEF CON. 23 00:02:03,900 --> 00:02:06,200 Yeah, and it's an honor to be presenting here. 24 00:02:08,780 --> 00:02:09,440 Thank you. 25 00:02:11,960 --> 00:02:12,900 So why am I here? 26 00:02:14,280 --> 00:02:19,400 I've never seen a talk about this subject, at least not from someone who admitted to actually doing this. 27 00:02:19,780 --> 00:02:21,840 I'm sure there may be a few of you in the audience. 28 00:02:24,140 --> 00:02:28,600 And I guess, potentially someone could have done this talk already, but I haven't seen it. 29 00:02:30,260 --> 00:02:34,840 And if you're here looking to find out any tricks, there aren't any, so sorry about that. 30 00:02:36,400 --> 00:02:37,660 And I thought it was interesting. 31 00:02:38,240 --> 00:02:43,780 And I only mention this because, you know, I never thought I would be the type that would present at this conference. 32 00:02:43,980 --> 00:02:46,720 And, you know, maybe you're thinking the same thing. 33 00:02:46,840 --> 00:02:52,840 So if you have an interesting story, I definitely recommend that you present, or at least attempt to. 34 00:02:54,320 --> 00:02:56,140 Yeah, it's been a good experience so far. 35 00:02:57,880 --> 00:03:00,280 And also say, don't do what I did. 36 00:03:01,880 --> 00:03:04,080 That's kind of the main lessons learned throughout this. 37 00:03:05,980 --> 00:03:06,980 As you will see. 38 00:03:09,100 --> 00:03:09,740 All right. 39 00:03:10,320 --> 00:03:12,840 So this story kind of is a bit out of date. 40 00:03:13,000 --> 00:03:16,260 So the whole thing started back in 2004. 41 00:03:18,140 --> 00:03:20,020 I lived in Edmonton up in Canada. 42 00:03:20,120 --> 00:03:23,380 And then I moved to Vancouver. 43 00:03:25,560 --> 00:03:27,240 And basically I was broke. 44 00:03:28,700 --> 00:03:32,280 And this is where I discovered, like, it's not what you know, it's who you know. 45 00:03:33,780 --> 00:03:39,580 All my academic friends and social worker friends were not too useful in helping me get a development job. 46 00:03:41,180 --> 00:03:45,940 So, you know, I had some money saved up, but it was running out. 47 00:03:48,180 --> 00:03:50,040 So I was getting a bit desperate. 48 00:03:50,280 --> 00:03:51,680 And also I want to say, 49 00:03:53,140 --> 00:03:55,340 Emphasize the fact that I had no security background whatsoever. 50 00:03:55,940 --> 00:03:56,740 No spyware. 51 00:03:56,820 --> 00:03:57,460 I had no idea. 52 00:03:57,620 --> 00:03:59,700 Like, I was just, really was just a developer. 53 00:04:02,100 --> 00:04:06,540 So I had no, like, specific skill set before I got into this whole thing. 54 00:04:08,420 --> 00:04:10,260 Yeah, I found a job on Craigslist. 55 00:04:10,460 --> 00:04:15,440 And like many things on Craigslist, you can get yourself into a lot of trouble. 56 00:04:17,580 --> 00:04:18,900 I was looking at other places. 57 00:04:19,020 --> 00:04:19,780 I had a headhunter. 58 00:04:19,940 --> 00:04:21,660 But they didn't really know development. 59 00:04:21,660 --> 00:04:23,980 So they were not super useful. 60 00:04:24,780 --> 00:04:25,660 Monster.com. 61 00:04:27,200 --> 00:04:28,620 But this is what came up. 62 00:04:28,760 --> 00:04:29,560 So I applied. 63 00:04:31,000 --> 00:04:32,900 Went down to the office. 64 00:04:36,420 --> 00:04:39,900 Yeah, the guy, I think it was on a Thursday, interviewed me. 65 00:04:40,000 --> 00:04:41,660 And basically at the end of the interview, he's like, 66 00:04:41,780 --> 00:04:43,400 You can have the job if you want. 67 00:04:43,640 --> 00:04:45,600 If you accept, just show up on Monday. 68 00:04:46,860 --> 00:04:47,720 And I did. 69 00:04:48,580 --> 00:04:55,460 And I think it seemed like to him, who was completely non-technical, that I seemed to know the most. 70 00:04:55,520 --> 00:04:56,820 So they made me lead developer. 71 00:04:58,520 --> 00:05:00,840 So that's about as diligent as they got. 72 00:05:01,520 --> 00:05:03,600 And there was five other programmers as well. 73 00:05:05,800 --> 00:05:08,360 So the history of this company that hired me. 74 00:05:10,600 --> 00:05:12,820 So he had these software people. 75 00:05:13,040 --> 00:05:15,720 And they were doing some other stuff as well that I wasn't involved with. 76 00:05:15,720 --> 00:05:20,840 So there was some other shady character out there funding the whole deal. 77 00:05:21,100 --> 00:05:24,660 But my boss was just kind of running the business that was putting the software together. 78 00:05:26,680 --> 00:05:31,480 So they tried previously with a group of outsourced developers from India. 79 00:05:31,720 --> 00:05:35,820 And they put it together and apparently it worked quite well. 80 00:05:37,720 --> 00:05:40,700 But my boss said the time difference was too much. 81 00:05:40,700 --> 00:05:42,420 And they had some kind of falling out. 82 00:05:43,180 --> 00:05:44,640 So that relationship ended. 83 00:05:44,640 --> 00:05:47,820 And it turned out that the falling out was that he didn't pay them. 84 00:05:51,020 --> 00:05:53,000 So he didn't get the source code. 85 00:05:54,520 --> 00:05:59,720 Which should have kind of a bit of foreshadowing if you can't guess. 86 00:06:01,660 --> 00:06:07,200 But again, my landlord was expecting me to pay money at the end of the month. 87 00:06:09,040 --> 00:06:10,580 So that's why we got put together. 88 00:06:11,220 --> 00:06:13,160 His former developers were no longer there. 89 00:06:13,160 --> 00:06:15,000 And he wanted some local people. 90 00:06:17,080 --> 00:06:21,440 So here's just some of the overall features of the spyware we developed. 91 00:06:22,860 --> 00:06:23,980 Nothing too shocking. 92 00:06:25,560 --> 00:06:28,040 The client application, where the nasty stuff happens. 93 00:06:29,180 --> 00:06:30,800 Run any application we wanted. 94 00:06:30,940 --> 00:06:36,340 So once it was installed, you basically download an EXE, whatever one we wanted, and it would run it. 95 00:06:38,000 --> 00:06:38,880 Not shocking. 96 00:06:39,480 --> 00:06:42,740 And this was mainly with the intention that we would update our own software. 97 00:06:42,740 --> 00:06:45,360 But we could have done whatever we wanted with that. 98 00:06:46,180 --> 00:06:48,600 Adding links to your favorite list. 99 00:06:49,220 --> 00:06:51,120 Icons to your browser. 100 00:06:52,100 --> 00:06:53,200 Shortcuts on your desktop. 101 00:06:54,140 --> 00:06:56,760 Change your homepage search provider. 102 00:06:58,480 --> 00:07:01,840 And also keyword search pop-ups and hyperlinking. 103 00:07:02,100 --> 00:07:06,280 So we had the massive XML file with all these keywords in it. 104 00:07:07,520 --> 00:07:08,740 For example, flowers. 105 00:07:08,880 --> 00:07:11,840 So if you did a Google search or a Yahoo search or whatever. 106 00:07:11,840 --> 00:07:15,020 Whatever search engine we were configured for. 107 00:07:19,340 --> 00:07:24,120 After you searched it, it would give you a pop-up with the banner ad related to your search term. 108 00:07:25,820 --> 00:07:28,560 And it wasn't like a standard HTML pop-up. 109 00:07:28,640 --> 00:07:29,800 Because it was modal. 110 00:07:29,980 --> 00:07:31,960 So you couldn't click it into the background. 111 00:07:34,260 --> 00:07:35,060 And hyperlinking. 112 00:07:35,260 --> 00:07:39,480 So if we found the word flowers, for example, on the page, we would turn it into a hyperlink. 113 00:07:39,600 --> 00:07:40,300 You click on it. 114 00:07:40,300 --> 00:07:43,040 It would go through an affiliate link, which I'll get into later. 115 00:07:44,120 --> 00:07:47,360 Where if you bought something off that web page, we would get commission for it. 116 00:07:48,400 --> 00:07:49,140 So that was... 117 00:07:49,140 --> 00:07:52,440 Affiliate abuse was kind of the crux of this application. 118 00:07:53,620 --> 00:07:55,780 And it was also checked for updates daily. 119 00:07:56,000 --> 00:08:00,380 So the application could be updated or this XML file with all the data in there. 120 00:08:01,940 --> 00:08:05,160 On the server side, we could track installs. 121 00:08:05,880 --> 00:08:06,360 Updates. 122 00:08:06,380 --> 00:08:07,920 Like how often they were updating. 123 00:08:09,740 --> 00:08:10,220 IDs. 124 00:08:10,300 --> 00:08:10,700 IP address. 125 00:08:10,840 --> 00:08:11,700 Where it was coming from. 126 00:08:12,260 --> 00:08:13,480 Manage multiple campaigns. 127 00:08:13,780 --> 00:08:16,060 As was the term that was used. 128 00:08:18,280 --> 00:08:22,860 So I guess different sources of where the spyware was getting installed from. 129 00:08:22,980 --> 00:08:24,680 You could see how effective each source was. 130 00:08:25,980 --> 00:08:28,220 And we could upload new versions of the software. 131 00:08:28,220 --> 00:08:29,380 Any file we wanted. 132 00:08:29,520 --> 00:08:30,880 And it would get run. 133 00:08:34,160 --> 00:08:35,820 So when we were writing this. 134 00:08:35,820 --> 00:08:41,360 A lot of like antivirus and malware protection software. 135 00:08:43,860 --> 00:08:45,300 It's pretty stupid. 136 00:08:45,460 --> 00:08:48,460 It will basically look for specific files and specific locations. 137 00:08:48,920 --> 00:08:49,920 And maybe do a hash check. 138 00:08:50,260 --> 00:08:52,840 And if it matches something in their bad list. 139 00:08:53,000 --> 00:08:55,600 It will delete the file or attempt to remove it. 140 00:08:55,940 --> 00:08:57,240 So to get around this. 141 00:08:57,960 --> 00:09:02,720 We made each install kind of unique. 142 00:09:02,900 --> 00:09:03,720 And a variation. 143 00:09:03,980 --> 00:09:05,400 So no two installs would be alike. 144 00:09:05,400 --> 00:09:09,380 The file would never have the same file name. 145 00:09:09,860 --> 00:09:11,620 It would never be in the same location. 146 00:09:13,160 --> 00:09:14,120 System 32. 147 00:09:14,920 --> 00:09:16,540 Program file slash common. 148 00:09:17,160 --> 00:09:19,860 Like basically any directory on the computer. 149 00:09:20,960 --> 00:09:22,560 The software could be installed to. 150 00:09:22,660 --> 00:09:24,540 And each file would have a separate location. 151 00:09:26,360 --> 00:09:28,240 And then to get by a hash check. 152 00:09:29,000 --> 00:09:34,460 Some antivirus and malware protection will just check every file regardless. 153 00:09:34,740 --> 00:09:35,380 And so. 154 00:09:35,400 --> 00:09:36,640 And see if it matches its hash check. 155 00:09:36,900 --> 00:09:38,980 So if you just throw some garbage at the end of your file. 156 00:09:39,140 --> 00:09:39,860 You'll get by that. 157 00:09:39,920 --> 00:09:40,300 No problem. 158 00:09:42,020 --> 00:09:42,640 And again. 159 00:09:42,760 --> 00:09:43,100 Like. 160 00:09:44,680 --> 00:09:47,100 This is just me as like a regular developer. 161 00:09:47,460 --> 00:09:47,660 I just. 162 00:09:48,300 --> 00:09:48,980 It's not like. 163 00:09:49,160 --> 00:09:50,680 It just made sense to me. 164 00:09:50,740 --> 00:09:51,560 It's not like I was. 165 00:09:51,840 --> 00:09:54,460 Like a security researcher or anything like that. 166 00:09:54,720 --> 00:09:55,340 Like it was just. 167 00:09:56,240 --> 00:09:57,260 Made common sense. 168 00:09:58,660 --> 00:10:00,640 So while I worked there with these basic tricks. 169 00:10:00,880 --> 00:10:04,100 No malware protection software was able to remove it or detect it. 170 00:10:04,100 --> 00:10:05,880 So I don't know if they needed more time. 171 00:10:06,040 --> 00:10:07,320 It was running for a few months. 172 00:10:07,440 --> 00:10:07,800 So. 173 00:10:08,560 --> 00:10:09,260 I don't know. 174 00:10:09,340 --> 00:10:09,620 If. 175 00:10:10,280 --> 00:10:14,740 If your protection against evil software is defeated by changing a single bit. 176 00:10:15,020 --> 00:10:16,420 Like it's not very effective. 177 00:10:19,180 --> 00:10:22,180 We started looking into hiding files into alternate data streams. 178 00:10:22,340 --> 00:10:23,020 Which is basically. 179 00:10:23,740 --> 00:10:26,100 A not very much used feature of NTFS. 180 00:10:26,380 --> 00:10:28,440 Where you can basically hide files in the file system. 181 00:10:29,020 --> 00:10:31,280 And I think the only thing it's really used for is if you. 182 00:10:32,160 --> 00:10:33,780 In newer versions of Windows. 183 00:10:34,100 --> 00:10:35,260 You download a file off the internet. 184 00:10:35,320 --> 00:10:36,220 And you go to execute it. 185 00:10:36,260 --> 00:10:36,600 It will say. 186 00:10:37,020 --> 00:10:38,840 This file was downloaded off the internet. 187 00:10:39,000 --> 00:10:40,100 Do you want to execute it or not? 188 00:10:40,300 --> 00:10:43,340 And that flag is set within alternative data. 189 00:10:43,660 --> 00:10:45,060 Or alternate data streams. 190 00:10:47,320 --> 00:10:48,460 But we ran out of time. 191 00:10:48,560 --> 00:10:49,940 And just didn't really get anywhere with that. 192 00:10:50,920 --> 00:10:52,520 So the big money making scheme. 193 00:10:52,840 --> 00:10:55,660 That this piece of software was supposed to do was affiliate hijacking. 194 00:11:00,300 --> 00:11:01,020 So basically. 195 00:11:01,380 --> 00:11:02,140 Every site. 196 00:11:02,280 --> 00:11:03,380 Like Amazon.com. 197 00:11:03,420 --> 00:11:03,860 For example. 198 00:11:04,100 --> 00:11:04,980 Has an affiliate program. 199 00:11:05,720 --> 00:11:08,420 So if you run like a Twilight fan page. 200 00:11:08,740 --> 00:11:10,400 At the bottom of the page. 201 00:11:10,580 --> 00:11:10,800 You're going to. 202 00:11:10,900 --> 00:11:13,020 Do you want to buy Twilight the movie or the book? 203 00:11:13,280 --> 00:11:14,360 You click on that. 204 00:11:14,920 --> 00:11:17,560 It goes through your referral ID. 205 00:11:18,020 --> 00:11:19,720 And you'll get commission on the purchases. 206 00:11:21,460 --> 00:11:22,220 So basically. 207 00:11:22,560 --> 00:11:24,060 That's what we were hoping to abuse. 208 00:11:24,220 --> 00:11:25,800 To make money off other people's purchases. 209 00:11:29,160 --> 00:11:30,960 So we had a list of domain names. 210 00:11:31,140 --> 00:11:32,260 And a separate XML file. 211 00:11:32,260 --> 00:11:35,220 And a list of affiliate links that we had set up. 212 00:11:35,340 --> 00:11:37,280 And we had done this for hundreds and hundreds of websites. 213 00:11:37,520 --> 00:11:38,220 Well not me. 214 00:11:38,360 --> 00:11:40,960 But the business people that were working for my boss. 215 00:11:42,020 --> 00:11:43,780 So if you typed in Amazon.com. 216 00:11:44,520 --> 00:11:45,960 Our software would pick that up. 217 00:11:46,040 --> 00:11:47,440 And redirect you through your affiliate link. 218 00:11:51,140 --> 00:11:52,400 The only problem with this. 219 00:11:52,440 --> 00:11:54,380 Is if you went to a direct product link. 220 00:11:54,540 --> 00:11:55,900 Like you had actually clicked on. 221 00:11:58,500 --> 00:12:01,180 Like the Twilight book that you were going to purchase off the fan site. 222 00:12:01,180 --> 00:12:03,100 It would redirect you through our affiliate link. 223 00:12:03,160 --> 00:12:04,500 And then bring you back to the Amazon homepage. 224 00:12:04,960 --> 00:12:07,200 So that would probably be a clue that something was going on. 225 00:12:07,900 --> 00:12:09,880 And we could have made that smarter as well I assume. 226 00:12:10,060 --> 00:12:11,800 But we didn't get that far. 227 00:12:13,380 --> 00:12:14,360 And like I said. 228 00:12:14,400 --> 00:12:15,980 You'll get commission off anything we purchased. 229 00:12:17,820 --> 00:12:18,540 And yeah. 230 00:12:18,900 --> 00:12:19,960 There was hundreds of links. 231 00:12:20,120 --> 00:12:21,260 And you can get these in bundles. 232 00:12:21,360 --> 00:12:23,220 So you sign up for one program. 233 00:12:23,340 --> 00:12:26,680 And you'll get affiliate links to dozens of websites for example. 234 00:12:27,140 --> 00:12:28,380 And this was in 2004. 235 00:12:28,660 --> 00:12:30,080 I'm not sure how this is run now. 236 00:12:32,820 --> 00:12:34,820 And we also created a kernel module. 237 00:12:35,540 --> 00:12:38,040 So basically this would hide all the files from the users. 238 00:12:38,500 --> 00:12:40,060 So if you opened up Windows Explorer. 239 00:12:40,320 --> 00:12:43,140 And browsed through the directories that our files were hiding in. 240 00:12:43,420 --> 00:12:44,800 They would no longer show up. 241 00:12:45,100 --> 00:12:48,200 Like if you cracked open like a DOS command prompt. 242 00:12:48,760 --> 00:12:49,940 And did a directory command. 243 00:12:50,100 --> 00:12:50,980 It wouldn't show up there either. 244 00:12:51,260 --> 00:12:52,240 And even when they were executing. 245 00:12:52,320 --> 00:12:53,680 They wouldn't show up in the task manager. 246 00:12:55,680 --> 00:12:57,800 And if you managed to delete them. 247 00:12:57,940 --> 00:12:59,560 Or managed to show them somehow. 248 00:12:59,720 --> 00:13:00,360 It would automatically download. 249 00:13:00,360 --> 00:13:01,480 And replace. 250 00:13:01,940 --> 00:13:04,200 And re-randomize the files once more. 251 00:13:05,720 --> 00:13:08,080 And this would probably be called a root kit now. 252 00:13:08,320 --> 00:13:09,220 Like a lot of this stuff. 253 00:13:09,340 --> 00:13:10,700 I have terminology for it. 254 00:13:10,800 --> 00:13:11,520 But back then. 255 00:13:11,580 --> 00:13:12,340 This was just me. 256 00:13:12,500 --> 00:13:12,900 Like oh. 257 00:13:13,040 --> 00:13:14,080 Well this makes sense to do. 258 00:13:14,320 --> 00:13:18,240 I wasn't really thinking in any of these terms I guess. 259 00:13:20,200 --> 00:13:23,480 So the technology we used on the client side. 260 00:13:24,520 --> 00:13:26,560 Basically an Internet Explorer plug-in. 261 00:13:27,220 --> 00:13:29,760 And Microsoft calls these browser helper objects. 262 00:13:30,660 --> 00:13:32,460 There's not a lot of documentation on them. 263 00:13:33,360 --> 00:13:33,780 Online. 264 00:13:34,040 --> 00:13:34,700 But we were just. 265 00:13:35,160 --> 00:13:37,120 We found out that this is what we needed to do. 266 00:13:37,180 --> 00:13:38,180 To create our add-on. 267 00:13:38,260 --> 00:13:38,900 Our malware. 268 00:13:39,800 --> 00:13:41,740 To get into IE and integrate with it. 269 00:13:42,320 --> 00:13:45,100 But we found enough information to do everything we needed to do. 270 00:13:46,740 --> 00:13:49,160 We programmed this in Visual C++ 6. 271 00:13:49,400 --> 00:13:50,440 Which is a bit archaic. 272 00:13:51,680 --> 00:13:53,740 And the other developers definitely resisted this. 273 00:13:54,240 --> 00:13:55,700 They wanted to do it all in .NET. 274 00:13:55,780 --> 00:13:58,320 Which is a much easier language for sure. 275 00:13:58,540 --> 00:13:58,920 But. 276 00:13:58,920 --> 00:14:03,600 Also requires that you download the 200 plus meg .NET library. 277 00:14:03,840 --> 00:14:05,280 Which is not something you really want to do. 278 00:14:05,360 --> 00:14:07,700 If you're trying to infect someone's computer. 279 00:14:09,540 --> 00:14:15,640 Every version of Windows since 95 has Visual Studio 6 libraries built into it. 280 00:14:15,700 --> 00:14:19,560 So anything you build in C++ 6 or PB 6. 281 00:14:19,940 --> 00:14:21,460 Will just run out of the box. 282 00:14:22,680 --> 00:14:23,620 On the server side. 283 00:14:23,760 --> 00:14:26,900 The web interface was done in PHP and MySQL backend. 284 00:14:27,300 --> 00:14:28,340 So just tracking statistics. 285 00:14:29,860 --> 00:14:30,740 Uploading new versions. 286 00:14:31,220 --> 00:14:34,200 And the GUI to maintain this whole system. 287 00:14:36,060 --> 00:14:37,820 And everything was hosted on Russian servers. 288 00:14:38,080 --> 00:14:39,520 Guaranteed to never take down content. 289 00:14:39,960 --> 00:14:42,360 And no matter how many nasty letters they got. 290 00:14:42,520 --> 00:14:43,380 Or who they came from. 291 00:14:43,820 --> 00:14:45,100 And true to their promise. 292 00:14:45,160 --> 00:14:45,700 They never did. 293 00:14:47,580 --> 00:14:48,800 I don't know if they're still around. 294 00:14:49,060 --> 00:14:51,200 I probably have that in some archived email somewhere. 295 00:14:51,940 --> 00:14:54,600 It would be interesting to see what their name is. 296 00:14:54,700 --> 00:14:56,300 Because I don't remember off the top of my head. 297 00:14:58,940 --> 00:15:00,340 So you might be wondering. 298 00:15:00,420 --> 00:15:02,880 Why would anyone want to install this wonderful software? 299 00:15:05,580 --> 00:15:09,840 And basically my boss said he would pay $10,000. 300 00:15:10,020 --> 00:15:12,300 To whoever found a way to remotely install our software. 301 00:15:13,040 --> 00:15:14,560 And I took that challenge up. 302 00:15:16,920 --> 00:15:18,640 When you take a job like this for money. 303 00:15:18,820 --> 00:15:21,080 An offer like this is enticing. 304 00:15:22,660 --> 00:15:24,400 So this is another surprise. 305 00:15:25,000 --> 00:15:27,060 It exploits an Internet Explorer flaw. 306 00:15:29,140 --> 00:15:29,540 Shocking. 307 00:15:31,260 --> 00:15:35,700 So our exploit and any exploit with remote execution requires two things. 308 00:15:35,920 --> 00:15:37,600 You need to get the file on the computer. 309 00:15:38,280 --> 00:15:40,000 And out of the protected IE zones. 310 00:15:40,280 --> 00:15:45,400 Like if you go into the security panel of Internet Explorer. 311 00:15:45,520 --> 00:15:46,420 You've got like trusted sites. 312 00:15:46,580 --> 00:15:47,380 Local Internet. 313 00:15:47,540 --> 00:15:48,060 That kind of thing. 314 00:15:48,180 --> 00:15:49,360 Those are the zones we're talking about. 315 00:15:49,740 --> 00:15:51,800 So we want to bust out of those zones. 316 00:15:52,840 --> 00:15:55,460 And you also want to execute the file once you get it on the hard drive. 317 00:15:58,500 --> 00:15:58,900 So that's it. 318 00:15:58,900 --> 00:16:01,160 So again, me not really being a hacker. 319 00:16:01,320 --> 00:16:03,400 And I don't claim to be leet at all. 320 00:16:04,860 --> 00:16:08,140 But I basically signed up for security mailing lists. 321 00:16:08,180 --> 00:16:12,800 And just sat there until something came along that looked like it could be used for this. 322 00:16:13,040 --> 00:16:14,720 And we found one pretty quickly. 323 00:16:15,860 --> 00:16:18,740 But basically you'd create a custom CHM file. 324 00:16:19,000 --> 00:16:21,660 Which I think had the EXE embedded into it. 325 00:16:22,920 --> 00:16:24,680 And those are basically help files. 326 00:16:24,900 --> 00:16:27,620 I think it stands for compiled HTML. 327 00:16:29,760 --> 00:16:35,560 And for some reason Windows Media Player would be able to execute it once it was embedded in this CHM. 328 00:16:36,140 --> 00:16:38,620 I can't remember the exact name of this exploit. 329 00:16:40,800 --> 00:16:44,140 It came out just before Service Pack 2 for XP came out. 330 00:16:44,240 --> 00:16:47,420 And Microsoft actually made security a bit of a priority. 331 00:16:48,680 --> 00:16:50,260 And that shut down this exploit. 332 00:16:50,400 --> 00:16:52,940 But people don't patch their machines. 333 00:16:53,040 --> 00:16:55,680 So it's not actually that big of a deal. 334 00:16:57,940 --> 00:16:58,420 Yeah. 335 00:16:58,420 --> 00:17:00,280 And my boss was convinced that this was not illegal. 336 00:17:00,900 --> 00:17:04,780 And, you know, I'm not a lawyer. 337 00:17:04,960 --> 00:17:05,580 Who knows? 338 00:17:06,460 --> 00:17:07,620 I'm also from Canada. 339 00:17:07,760 --> 00:17:09,700 So I don't know if the laws are different there than they are here. 340 00:17:11,460 --> 00:17:13,560 Plus everything was hosted in Russia. 341 00:17:13,800 --> 00:17:16,220 So that adds more fun to the mix. 342 00:17:17,400 --> 00:17:19,420 And I'll show you why he didn't think it was illegal. 343 00:17:22,100 --> 00:17:24,880 We basically created a custom installation dialogue. 344 00:17:27,080 --> 00:17:29,180 And my boss never paid the $10,000. 345 00:17:31,100 --> 00:17:35,420 And I don't say this to make you feel bad for me because I definitely don't expect that. 346 00:17:35,600 --> 00:17:42,040 I just want to, like, this industry, surprise, surprise, attracts a lot of scumbags. 347 00:17:42,320 --> 00:17:45,260 And, yeah, don't trust their word. 348 00:17:46,600 --> 00:17:51,220 I think basically what happened is the guy who was funding the operation gave him the money. 349 00:17:51,300 --> 00:17:52,560 And then he gambled it all away. 350 00:17:53,580 --> 00:17:56,820 Because apparently I found out later that he was also a gambling addict. 351 00:17:58,380 --> 00:17:58,900 Yeah. 352 00:17:59,040 --> 00:18:04,520 So there was lots of promises for the money but not actually any of the money, which is slightly different. 353 00:18:05,200 --> 00:18:06,520 Not worth nearly as much. 354 00:18:07,900 --> 00:18:19,060 So if you remember back in the glory days of Internet Explorer 6, whenever something asked to basically become integrated with Internet Explorer 6, you would get this dialogue. 355 00:18:19,200 --> 00:18:21,940 Which was, like... 356 00:18:21,940 --> 00:18:22,540 Yeah. 357 00:18:22,560 --> 00:18:25,600 I'm not a usability expert, but this is insane. 358 00:18:25,820 --> 00:18:32,640 Like, do you want to install and run a .cab file, which your grandma is not going to know what that is. 359 00:18:32,960 --> 00:18:36,240 And it says the publisher cannot be determined due to the problems below. 360 00:18:36,560 --> 00:18:39,480 The test route has not been enabled as trusted route. 361 00:18:40,420 --> 00:18:40,860 Yeah. 362 00:18:40,900 --> 00:18:42,260 So very clear. 363 00:18:43,380 --> 00:18:48,940 Anyway, like, I don't even think you really need to use an exploit. 364 00:18:49,080 --> 00:18:52,520 Like, I think there's a certain percentage of people that will click yes no matter what. 365 00:18:55,200 --> 00:18:58,900 But anyway, we had our exploit and we were using it. 366 00:19:00,780 --> 00:19:03,220 So this is our installation dialogue. 367 00:19:03,400 --> 00:19:04,340 And it's a bit more devious. 368 00:19:05,980 --> 00:19:10,580 I didn't put this together and I didn't word it, but it's pretty hilarious. 369 00:19:12,100 --> 00:19:13,660 So it starts at the top. 370 00:19:13,740 --> 00:19:14,560 Browser enhancer. 371 00:19:14,600 --> 00:19:16,800 I'll read this out because I don't know if people at the back can see it. 372 00:19:17,040 --> 00:19:18,800 So browser enhancer in big bold letters. 373 00:19:18,880 --> 00:19:19,900 Like, that sounds awesome. 374 00:19:21,640 --> 00:19:22,200 Congratulations. 375 00:19:23,220 --> 00:19:26,020 You have been awarded a browser enhancement exclamation mark. 376 00:19:27,480 --> 00:19:37,600 Key features of our software include, number one, giving the user another opinion while they surf the web, broadening their experience and knowledge of the web. 377 00:19:37,860 --> 00:19:39,640 I don't know what that means. 378 00:19:39,760 --> 00:19:41,180 And broadening is also spelled wrong. 379 00:19:43,800 --> 00:19:49,220 Number two, giving options to search the web with great search engines. 380 00:19:50,780 --> 00:19:55,360 And three, providing the user with other partner software free of charge. 381 00:19:58,040 --> 00:20:05,660 You have previously agreed to our terms and conditions to get this step of installation and can review these terms by clicking right on this link. 382 00:20:05,840 --> 00:20:07,640 So this actually would bring up our terms and conditions. 383 00:20:07,820 --> 00:20:09,800 And it was long. 384 00:20:10,040 --> 00:20:12,480 Like, it was like 20 pages if you probably printed it out. 385 00:20:12,760 --> 00:20:15,640 And basically boiled down to, like, we own your machine. 386 00:20:16,540 --> 00:20:17,020 . 387 00:20:18,140 --> 00:20:21,380 And if you can close all the pop-ups, we'll let you use it once in a while. 388 00:20:24,240 --> 00:20:25,940 And the last paragraph is pretty good. 389 00:20:26,160 --> 00:20:31,400 Like, if you change your mind and would like to continue the installation, please uncheck the box below and close this window. 390 00:20:31,620 --> 00:20:35,580 If you leave the box checked and close the window, we will finish your installation free of charge. 391 00:20:38,840 --> 00:20:41,540 And there's a little check box just off to the bottom left there. 392 00:20:41,700 --> 00:20:43,580 And I think it was even more devious than that. 393 00:20:43,940 --> 00:20:47,000 So, like, back in the day, there was a lot of pop-ups. 394 00:20:47,000 --> 00:20:49,460 Pop-up blockers weren't really integrated into browsers. 395 00:20:49,960 --> 00:20:53,380 So when you saw something pop up, you would automatically just close it right away. 396 00:20:53,520 --> 00:20:55,780 Like, it was, like, almost completely subconscious. 397 00:20:57,680 --> 00:21:00,260 So if you had done that, you would have installed the software. 398 00:21:00,420 --> 00:21:03,140 And I, like, I probably would have fell for this. 399 00:21:05,220 --> 00:21:10,760 So if you click the X in the top right or the big close this window button, it would have the same effect. 400 00:21:11,080 --> 00:21:15,940 And I think even if you unchecked the box, what you actually had to do was... 401 00:21:17,320 --> 00:21:22,360 Go to the left-hand icon at the top left, the little MFC icon there. 402 00:21:22,820 --> 00:21:27,640 There's a custom context menu item added saying exit without installing. 403 00:21:27,800 --> 00:21:30,040 So you had to uncheck the box and then close it from there. 404 00:21:30,800 --> 00:21:36,540 So it's even more diabolical because everyone uses that left-hand context menu all the time, right? 405 00:21:38,640 --> 00:21:39,940 So I covered most of this. 406 00:21:39,960 --> 00:21:42,440 Custom installer bypasses standard install method. 407 00:21:43,040 --> 00:21:43,920 Legal disclaimer. 408 00:21:44,260 --> 00:21:45,760 And my boss claimed this was not needed. 409 00:21:45,940 --> 00:21:46,880 But just in case. 410 00:21:47,080 --> 00:21:48,680 And you know what? 411 00:21:48,720 --> 00:21:49,780 He might actually be right. 412 00:21:49,920 --> 00:21:50,520 Like, this... 413 00:21:51,380 --> 00:21:54,620 And this dialogue probably only would... 414 00:21:55,660 --> 00:21:58,700 Like, the vast majority of people probably would have still got hung up by it. 415 00:21:59,220 --> 00:22:01,080 But it does present the terms and conditions. 416 00:22:01,340 --> 00:22:01,780 So you know what? 417 00:22:01,920 --> 00:22:03,720 Like, he could have been right. 418 00:22:04,960 --> 00:22:06,180 But, again, I'm not a lawyer. 419 00:22:06,560 --> 00:22:09,120 And it's tricky not to install, obviously. 420 00:22:11,140 --> 00:22:13,120 So how do we deploy this installer? 421 00:22:13,920 --> 00:22:14,780 Because, again... 422 00:22:14,780 --> 00:22:17,460 Even with this message, you're not going to want to do it. 423 00:22:18,000 --> 00:22:21,940 So this is another thing that I've since learned to call drive-by downloads. 424 00:22:22,200 --> 00:22:23,800 But back then, it just... 425 00:22:24,720 --> 00:22:26,700 It just seemed like the way to do it. 426 00:22:26,780 --> 00:22:27,980 And I didn't come up with this idea. 427 00:22:29,160 --> 00:22:33,560 I think one of my bosses got this idea from some other scam they were pulling. 428 00:22:34,840 --> 00:22:36,840 So putting the exploit in banner ads. 429 00:22:38,240 --> 00:22:40,880 So basically, websites don't know what ads they run. 430 00:22:41,060 --> 00:22:42,500 They sign up with an ad network. 431 00:22:42,500 --> 00:22:45,500 And they agree to host their ads. 432 00:22:45,660 --> 00:22:46,460 And they get paid for it. 433 00:22:47,180 --> 00:22:48,540 And I think there was... 434 00:22:48,540 --> 00:22:50,880 You can configure, like, I only want certain categories. 435 00:22:51,580 --> 00:22:52,040 I don't... 436 00:22:52,040 --> 00:22:56,380 They definitely don't have anything like they get to view every single ad before it shows up on their website. 437 00:22:57,980 --> 00:22:59,740 This was five years ago. 438 00:22:59,840 --> 00:23:01,300 Or almost six years ago now. 439 00:23:01,800 --> 00:23:03,380 So I don't know if it's different. 440 00:23:03,620 --> 00:23:05,060 But that's how it was back then. 441 00:23:05,760 --> 00:23:10,740 And also, as someone who was serving up these ads, we didn't know what websites they would show up on. 442 00:23:10,840 --> 00:23:11,360 I think... 443 00:23:11,360 --> 00:23:15,820 The biggest site we got put on was yellowpages.com or whitepages.com. 444 00:23:16,580 --> 00:23:19,900 And the installs went through the roof once it got on there. 445 00:23:22,080 --> 00:23:26,440 So basically, the ads are hosted on our servers. 446 00:23:26,520 --> 00:23:28,580 The ad networks, I guess, don't want to host them themselves. 447 00:23:29,760 --> 00:23:33,780 If they did, they probably could have detected half this stuff and done something about it. 448 00:23:34,740 --> 00:23:36,080 And maybe they do that now. 449 00:23:36,200 --> 00:23:37,680 But that's how it was done back then. 450 00:23:38,560 --> 00:23:40,980 So you would run the ad campaign for a few days. 451 00:23:40,980 --> 00:23:45,700 And once, I guess, they were satisfied that it was legit, we would then open up our 0x0 iframe. 452 00:23:46,120 --> 00:23:49,340 Which is essentially another page that had the exploit into it. 453 00:23:51,380 --> 00:23:55,040 And we could set it up so that it was only configurable to a fraction of viewers. 454 00:23:55,300 --> 00:23:57,100 So like .05%. 455 00:23:57,100 --> 00:23:58,860 If you knew you were going to get a lot of traffic. 456 00:24:00,060 --> 00:24:01,980 Only because it would be harder to track down... 457 00:24:01,980 --> 00:24:04,160 For people to track down where it was coming from. 458 00:24:04,540 --> 00:24:06,960 So if you went to another machine, you wouldn't get exposed to it again. 459 00:24:09,120 --> 00:24:10,240 But my boss was greedy. 460 00:24:10,240 --> 00:24:12,520 And that was basically cranked up to 100 all the time. 461 00:24:14,240 --> 00:24:16,000 And we would check for like... 462 00:24:16,000 --> 00:24:19,040 If you were running a Mozilla browser or Opera or something like that. 463 00:24:19,120 --> 00:24:20,760 We wouldn't expose the iframe to you. 464 00:24:20,840 --> 00:24:22,340 Because it clearly wouldn't work. 465 00:24:22,440 --> 00:24:24,360 It was IE6 specific. 466 00:24:25,380 --> 00:24:27,960 And we would also keep track of the IP addresses on the server. 467 00:24:28,060 --> 00:24:30,460 And not show it to the same IP address twice. 468 00:24:31,400 --> 00:24:32,760 And we'd set a cookie as well. 469 00:24:32,920 --> 00:24:35,500 But we didn't really rely on that. 470 00:24:35,580 --> 00:24:37,780 Because the user actually has control over their cookies. 471 00:24:38,580 --> 00:24:39,340 Or maybe not. 472 00:24:40,240 --> 00:24:40,380 We'll keep seeing. 473 00:24:42,400 --> 00:24:44,260 So how does this whole business make money? 474 00:24:46,060 --> 00:24:49,040 So we ended up with over 12 million installs of this software. 475 00:24:51,340 --> 00:24:52,880 Which I don't know. 476 00:24:53,680 --> 00:24:56,420 With our ability to run whatever executable we wanted. 477 00:24:56,560 --> 00:24:58,440 I guess you could maybe even call this a botnet. 478 00:24:58,560 --> 00:24:58,920 I don't know. 479 00:24:59,060 --> 00:25:00,700 We weren't thinking in those terms at all. 480 00:25:01,580 --> 00:25:04,980 So guess how much money our software made with 12 million installs. 481 00:25:05,320 --> 00:25:06,620 Does anyone want to shout out some numbers? 482 00:25:11,120 --> 00:25:12,440 Not a dime. 483 00:25:16,680 --> 00:25:21,940 So it's really depressing that you have this evil, shitty software. 484 00:25:22,140 --> 00:25:27,760 And you've installed it on 12 million of grandma's computers. 485 00:25:27,960 --> 00:25:30,520 And no money was made on it. 486 00:25:32,300 --> 00:25:38,860 So the funny thing is, like, affiliate programs for these websites like Amazon.com and everyone else. 487 00:25:38,860 --> 00:25:42,080 They know people are going to abuse their affiliate system. 488 00:25:42,460 --> 00:25:44,460 So they have all this fraud protection in place. 489 00:25:44,660 --> 00:25:45,880 So they're watching out for it. 490 00:25:46,440 --> 00:25:50,820 So they'll watch out to the degree that they will not pay you. 491 00:25:50,940 --> 00:25:55,080 But they will still continue to allow these pieces of software to serve up their ads. 492 00:25:55,260 --> 00:25:58,820 And allow people to buy whatever they're selling through them. 493 00:26:00,100 --> 00:26:02,700 So they could easily just shut off the banner ads. 494 00:26:02,900 --> 00:26:04,320 Because they're the ones actually hosting them. 495 00:26:04,600 --> 00:26:08,240 Or, like, at least put up a message saying, like, you've been infected with something. 496 00:26:08,860 --> 00:26:11,140 Something illegitimate is giving you these pop-ups. 497 00:26:11,200 --> 00:26:13,300 But they're willing to take your money. 498 00:26:13,380 --> 00:26:17,580 But they're not willing to pay the scam artists that are actually making it happen. 499 00:26:17,740 --> 00:26:18,940 So that's interesting. 500 00:26:19,900 --> 00:26:21,360 Again, I don't know if it's different now. 501 00:26:21,460 --> 00:26:22,580 But that's how it was back then. 502 00:26:26,180 --> 00:26:27,840 But my boss still made a lot of money. 503 00:26:28,320 --> 00:26:29,360 So this is interesting. 504 00:26:30,220 --> 00:26:31,340 So how is this done? 505 00:26:34,340 --> 00:26:37,840 So our software would make money by installing other people's software. 506 00:26:39,960 --> 00:26:44,720 Basically, you can make around $0.10 per install of someone else's software. 507 00:26:45,600 --> 00:26:50,340 I think it ranged from as little as $0.05 to as much as $0.25 depending on the package. 508 00:26:51,220 --> 00:26:54,300 And, you know, some of this might have been, like, legitimate software. 509 00:26:54,620 --> 00:26:56,920 But the majority of it was other spyware. 510 00:26:56,980 --> 00:27:01,120 With people convinced that they can make money where we did not using the same techniques. 511 00:27:03,340 --> 00:27:06,600 So my boss would package as much spyware as he could get paid for. 512 00:27:06,720 --> 00:27:08,040 Around 20 different packages. 513 00:27:08,040 --> 00:27:09,400 Into one big payload. 514 00:27:09,860 --> 00:27:11,840 And then try to get paid for all of it. 515 00:27:13,420 --> 00:27:14,940 And he probably would have done more. 516 00:27:15,060 --> 00:27:17,680 But at that point, your computer is essentially unusable. 517 00:27:22,320 --> 00:27:23,760 And they would only... 518 00:27:23,760 --> 00:27:26,640 The companies would always argue about the number of actual installs they had. 519 00:27:27,060 --> 00:27:27,500 But... 520 00:27:29,500 --> 00:27:32,600 So they would generally only pay around 60% of installs. 521 00:27:32,600 --> 00:27:33,240 But when you're... 522 00:27:33,720 --> 00:27:37,020 Simply by opening up an iframe, you're getting 20 million installs. 523 00:27:37,020 --> 00:27:38,140 And this was over a couple months. 524 00:27:39,700 --> 00:27:43,100 Times about $0.10 per 20 different packages. 525 00:27:43,420 --> 00:27:44,760 Like, that's... 526 00:27:44,760 --> 00:27:46,580 That's very easy money. 527 00:27:47,040 --> 00:27:48,120 And a lot of it. 528 00:27:49,660 --> 00:27:52,640 So what happens when you install 20 pieces of spyware at once? 529 00:27:53,860 --> 00:27:56,540 So some programmers were a bit lazier than ours. 530 00:27:56,640 --> 00:27:58,020 And they actually would install... 531 00:27:58,020 --> 00:27:59,340 They would have, like, a... 532 00:28:00,080 --> 00:28:02,380 Like a 900K executable. 533 00:28:02,420 --> 00:28:05,160 And attempt to download the .NET framework. 534 00:28:05,160 --> 00:28:07,460 Which is, like, 200 megs. 535 00:28:07,520 --> 00:28:08,780 And you can't... 536 00:28:08,780 --> 00:28:10,180 They didn't even do it silently. 537 00:28:10,420 --> 00:28:11,360 So you can see, like... 538 00:28:11,800 --> 00:28:14,080 If you let it download it, it would actually... 539 00:28:14,080 --> 00:28:17,740 Like, you'd see the progress bar and the .NET framework getting installed. 540 00:28:18,040 --> 00:28:18,480 Like... 541 00:28:19,880 --> 00:28:24,000 And I'm actually convinced that the .NET framework allows you to do silent installs. 542 00:28:24,100 --> 00:28:25,080 They were just lazy. 543 00:28:26,280 --> 00:28:27,860 Your computer will never be slower. 544 00:28:28,100 --> 00:28:30,320 We had a series of test machines. 545 00:28:30,480 --> 00:28:34,220 And with images, we would just refresh all the time to test this out. 546 00:28:34,220 --> 00:28:34,880 And it was... 547 00:28:34,880 --> 00:28:35,520 It was brutal. 548 00:28:35,760 --> 00:28:39,260 Like, you'd open up Internet Explorer and it would just be nothing but search toolbars. 549 00:28:41,620 --> 00:28:44,460 And even some of the pop-ups that would happen would have them, too. 550 00:28:46,100 --> 00:28:48,280 And they would try to uninstall each other. 551 00:28:51,880 --> 00:28:56,420 Because they know if your machine's vulnerable and you've got their software installed on it. 552 00:28:56,480 --> 00:28:59,900 Like, there's a good chance that they had other people's stuff installed on it, too. 553 00:29:00,300 --> 00:29:03,040 But they only want their pop-up showing, not other people's. 554 00:29:03,040 --> 00:29:05,460 So, they would try to uninstall each other. 555 00:29:06,060 --> 00:29:08,160 And this included installing antivirus. 556 00:29:09,060 --> 00:29:09,540 So... 557 00:29:11,120 --> 00:29:11,600 If... 558 00:29:12,300 --> 00:29:16,520 If your software using basic polymorphic techniques like we were... 559 00:29:16,520 --> 00:29:16,840 Like... 560 00:29:16,840 --> 00:29:19,060 And I was an expert on this stuff. 561 00:29:19,920 --> 00:29:20,400 Like... 562 00:29:20,820 --> 00:29:23,260 And they knew that antivirus wasn't picking up their software. 563 00:29:23,420 --> 00:29:28,600 They would install antivirus with the hopes that it would remove everyone else's. 564 00:29:29,300 --> 00:29:30,660 And I don't know. 565 00:29:30,740 --> 00:29:33,020 But maybe they were getting paid to install the antivirus. 566 00:29:33,040 --> 00:29:35,120 Which would be really interesting, actually. 567 00:29:38,300 --> 00:29:38,780 So... 568 00:29:38,780 --> 00:29:40,260 Do you want to be a millionaire? 569 00:29:41,100 --> 00:29:42,300 Because you can. 570 00:29:44,500 --> 00:29:47,320 So, all the technical stuff I've covered is easy. 571 00:29:47,580 --> 00:29:49,780 Like, any developer should be capable of this. 572 00:29:49,880 --> 00:29:52,760 All you need is access to Google and you can figure this stuff out yourself. 573 00:29:53,140 --> 00:29:54,620 Like, it's not rocket science at all. 574 00:29:54,700 --> 00:29:55,140 Like, there's... 575 00:29:55,840 --> 00:29:59,000 There's nothing difficult on a technical level of any of this stuff. 576 00:30:00,340 --> 00:30:02,260 All the work is making, like... 577 00:30:02,260 --> 00:30:05,860 Having the business people sitting there and make sure they get paid for all the installs. 578 00:30:06,740 --> 00:30:08,960 And I think that's mainly what my boss was dealing with. 579 00:30:10,040 --> 00:30:12,220 But the technical part is, like... 580 00:30:13,280 --> 00:30:14,660 It's all out there on the Internet. 581 00:30:14,920 --> 00:30:15,260 Like, it's... 582 00:30:15,260 --> 00:30:18,700 Even on, like, Microsoft sites, this is how you create Internet Explorer add-ons. 583 00:30:19,040 --> 00:30:21,660 Like, once you've got that, you can do whatever you want with it. 584 00:30:23,340 --> 00:30:25,600 And my boss was convinced that no laws were broken. 585 00:30:25,760 --> 00:30:27,860 And that's mainly because of the custom installer. 586 00:30:29,680 --> 00:30:31,780 And I think it didn't really even hurt the... 587 00:30:31,780 --> 00:30:34,820 You probably lost, like, maybe 5% of installs by throwing it up there. 588 00:30:34,900 --> 00:30:36,060 Which is, like, insignificant. 589 00:30:37,520 --> 00:30:38,840 If it covers your ass legally. 590 00:30:39,100 --> 00:30:40,180 And he was very... 591 00:30:40,720 --> 00:30:42,020 He did not want to get... 592 00:30:42,020 --> 00:30:42,560 Go to jail. 593 00:30:43,280 --> 00:30:44,180 And, you know what? 594 00:30:44,220 --> 00:30:44,840 That may have worked. 595 00:30:45,280 --> 00:30:45,980 I'm not sure. 596 00:30:47,520 --> 00:30:49,200 And all you need is basically no conscience. 597 00:30:51,940 --> 00:30:53,460 I've worked for a few Internet companies. 598 00:30:53,740 --> 00:30:54,780 And it just seems to attract... 599 00:30:55,340 --> 00:30:55,700 Especially... 600 00:30:55,700 --> 00:30:56,960 Well, web startups, I'll say. 601 00:30:57,180 --> 00:30:59,200 And it just seems to attract, like, the worst scumbags. 602 00:30:59,800 --> 00:31:01,200 They seem to think, like... 603 00:31:01,200 --> 00:31:02,900 The Internet's this big get-rich-quick scheme. 604 00:31:04,020 --> 00:31:04,900 And, yeah. 605 00:31:05,080 --> 00:31:07,740 I basically have a policy of not working for web startups anymore. 606 00:31:08,320 --> 00:31:09,640 I've been burned too many times. 607 00:31:11,200 --> 00:31:12,740 And you also need people you can trust. 608 00:31:13,180 --> 00:31:16,700 Like, as I've said, all of this stuff is super easy to put together. 609 00:31:19,120 --> 00:31:21,040 And once people are working in... 610 00:31:21,040 --> 00:31:22,600 Or doing this, they... 611 00:31:22,600 --> 00:31:24,800 Like, everyone gets the same idea at around the same time. 612 00:31:24,920 --> 00:31:29,500 Like, my boss is making how many millions of dollars for no effort? 613 00:31:29,640 --> 00:31:30,740 Like, why do I need him? 614 00:31:31,260 --> 00:31:36,060 So, everyone that was working for my boss basically went off on their own and tried to do the same thing. 615 00:31:36,920 --> 00:31:39,760 To the point where my boss only worked with family at that point. 616 00:31:40,960 --> 00:31:42,300 Because he knew he could trust them. 617 00:31:42,400 --> 00:31:46,360 Everyone else, like, tried to go out on their own. 618 00:31:48,240 --> 00:31:49,500 So, how did this all end? 619 00:31:52,060 --> 00:31:53,360 Yeah, and I covered this. 620 00:31:53,560 --> 00:31:58,060 But, much like other Internet companies I've worked for, they basically locked their doors and stopped paying everyone. 621 00:31:58,660 --> 00:32:01,120 Once it became apparent, the venture capital ran out. 622 00:32:01,200 --> 00:32:04,480 Or, they just thought they'd take the money and run or whatever. 623 00:32:05,280 --> 00:32:07,000 Again, I don't want you to feel bad for me. 624 00:32:07,140 --> 00:32:10,140 But, that is what happened. 625 00:32:10,720 --> 00:32:12,160 And, of course, it was on payday. 626 00:32:12,500 --> 00:32:13,960 Like, he was around every day that month. 627 00:32:14,060 --> 00:32:15,540 Except that one day for some reason. 628 00:32:16,700 --> 00:32:20,520 And it also happens to be the time that your rent is due as well. 629 00:32:23,000 --> 00:32:26,660 So, I found out after the fact that the company was founded at an AA meeting. 630 00:32:29,160 --> 00:32:30,440 That's not really relevant. 631 00:32:30,640 --> 00:32:33,520 But, I thought it was interesting and weird. 632 00:32:33,740 --> 00:32:35,360 But, apparently, that's what happened. 633 00:32:36,060 --> 00:32:41,020 And, I guess, probably, like, you know, my boss fell off the wagon. 634 00:32:41,160 --> 00:32:43,600 That's why he took off. 635 00:32:43,840 --> 00:32:46,900 So, but I didn't know this until after the fact. 636 00:32:48,100 --> 00:32:52,340 So, I went on to work for the person who was paying my boss and funding the whole operation. 637 00:32:54,180 --> 00:32:55,680 Again, like, I was determined to. 638 00:32:55,680 --> 00:32:57,460 I knew what I was doing was not great. 639 00:32:58,000 --> 00:33:00,000 But, I also needed money to eat and live. 640 00:33:00,420 --> 00:33:05,000 So, once I saved up enough money and gave myself some time to find a new job. 641 00:33:05,260 --> 00:33:06,360 I was going to do that. 642 00:33:07,640 --> 00:33:10,820 So, this surprise kind of messed up those plans. 643 00:33:13,880 --> 00:33:15,620 So, yeah, I went on to work for him. 644 00:33:15,680 --> 00:33:17,200 He knew I was doing most of the work anyway. 645 00:33:17,900 --> 00:33:19,080 Software was basically done. 646 00:33:19,340 --> 00:33:21,480 So, what did he need everyone else for? 647 00:33:23,180 --> 00:33:24,680 And, I did that for a few months. 648 00:33:24,680 --> 00:33:26,500 I think two and a half months. 649 00:33:26,640 --> 00:33:31,860 Until I saved up enough money to finally get out of there and, like, start a real job search. 650 00:33:32,880 --> 00:33:34,760 And, I was working, like, about 80 hours a week. 651 00:33:34,860 --> 00:33:36,720 Because I was doing the work of about five people. 652 00:33:37,580 --> 00:33:38,740 And, I can do that for a while. 653 00:33:38,880 --> 00:33:40,140 But, I can't do it for a few months. 654 00:33:40,460 --> 00:33:41,520 It was a bit of a wreck. 655 00:33:42,760 --> 00:33:44,360 And, I like to be able to sleep at night. 656 00:33:45,680 --> 00:33:49,800 So, the fact is, like, all of us know we should keep our patches up to date. 657 00:33:49,900 --> 00:33:51,760 And, we know how to browse safely. 658 00:33:52,040 --> 00:33:52,360 Or... 659 00:33:53,560 --> 00:33:55,060 At least we think we do. 660 00:33:55,400 --> 00:33:59,580 So, most of this stuff is going on, like, grandma's computer that only has a computer. 661 00:33:59,680 --> 00:34:02,620 So, she can look at her grandkids' pictures on Facebook. 662 00:34:02,740 --> 00:34:05,200 So, it's a pretty scummy thing to do. 663 00:34:05,300 --> 00:34:07,540 And, you know, I never liked it. 664 00:34:07,580 --> 00:34:09,260 But, I had definitely had enough at the end. 665 00:34:10,840 --> 00:34:13,620 And, this period on my resume is listed as contract work. 666 00:34:15,060 --> 00:34:15,960 Which is accurate. 667 00:34:16,220 --> 00:34:18,780 But, I definitely don't get into the specifics at all. 668 00:34:22,740 --> 00:34:24,900 So, my boss was also doing other scams. 669 00:34:25,020 --> 00:34:25,940 And, I wasn't involved on these. 670 00:34:26,020 --> 00:34:27,320 But, I thought I'd list them out for you anyway. 671 00:34:27,880 --> 00:34:30,600 So, trying to throw search engine results. 672 00:34:30,920 --> 00:34:32,420 I don't know the specifics of it. 673 00:34:32,560 --> 00:34:39,640 But, like, certain search terms, like asbestos lawsuits, are highly valuable to search engines. 674 00:34:39,720 --> 00:34:43,460 Because the ads that are associated with them are, I think, the highest in the business. 675 00:34:46,220 --> 00:34:48,480 So, this is also known as search engine optimization. 676 00:34:49,600 --> 00:34:54,160 So, I don't know where the legit version starts and ends. 677 00:34:55,600 --> 00:34:58,100 And, they add their own search engines with paid top results. 678 00:34:58,300 --> 00:35:03,260 So, they would get other people to pay for top links to their search engine. 679 00:35:03,420 --> 00:35:05,800 And, they were, like, I saw a couple of them. 680 00:35:05,900 --> 00:35:08,120 And, they were never websites I'd ever heard of. 681 00:35:08,420 --> 00:35:12,760 And, I'm assuming they only ever got used through other malware that got installed. 682 00:35:14,900 --> 00:35:17,320 And, this other thing with news video pop-ups. 683 00:35:19,100 --> 00:35:22,700 Where, apparently, the most valuable pop-up to show is a video. 684 00:35:23,300 --> 00:35:29,820 So, they had a specific version of software to force users to watch a video a day. 685 00:35:30,020 --> 00:35:33,880 And, that's where all the biggest money is for advertising, I guess. 686 00:35:34,400 --> 00:35:35,520 At least four years ago. 687 00:35:37,940 --> 00:35:39,920 So, what can be done about spyware or malware? 688 00:35:42,240 --> 00:35:45,080 So, as long as there's money to be made, someone will try. 689 00:35:45,960 --> 00:35:48,060 Even if money can't actually be made. 690 00:35:48,480 --> 00:35:49,700 Which is kind of what we saw. 691 00:35:49,940 --> 00:35:53,880 As long as they can get a venture capitalist person to give them money to attempt it. 692 00:35:54,500 --> 00:35:55,740 This software will exist. 693 00:35:59,440 --> 00:36:02,180 Yeah. So, I don't think this is going away anytime soon, unfortunately. 694 00:36:03,740 --> 00:36:07,120 Or, even if you think you can make money off people who think they can. 695 00:36:07,600 --> 00:36:09,180 So, this is kind of where we ended up. 696 00:36:09,240 --> 00:36:11,320 Because, our software didn't make any money. 697 00:36:11,700 --> 00:36:14,900 But, we were making our money off people who thought they could. 698 00:36:15,160 --> 00:36:16,280 So, it's very meta. 699 00:36:16,460 --> 00:36:16,920 And, like. 700 00:36:16,920 --> 00:36:18,500 It's basically a big pyramid scheme. 701 00:36:18,680 --> 00:36:20,580 As long as someone's willing to pay you to do it. 702 00:36:21,820 --> 00:36:23,280 Even if it never makes a dime. 703 00:36:24,740 --> 00:36:25,600 They will try. 704 00:36:27,240 --> 00:36:30,280 And, I think blacklisting is just useless. 705 00:36:31,100 --> 00:36:31,980 You know. 706 00:36:32,060 --> 00:36:33,460 Maybe it's a bit smarter now. 707 00:36:33,720 --> 00:36:35,280 But, as I mentioned. 708 00:36:35,360 --> 00:36:38,880 If your evil software can get by the system by changing a single bit. 709 00:36:39,120 --> 00:36:39,720 Like, it's. 710 00:36:40,340 --> 00:36:42,180 Your blacklist will always be out of date. 711 00:36:42,340 --> 00:36:44,700 There's always ways around it. 712 00:36:45,200 --> 00:36:45,640 Um. 713 00:36:46,380 --> 00:36:49,680 So, basically you have a list of software that you don't want your computer to run. 714 00:36:50,680 --> 00:36:51,080 Um. 715 00:36:51,900 --> 00:36:53,460 And, it will always be behind. 716 00:36:53,720 --> 00:36:55,280 The attacker will always have the advantage. 717 00:36:56,060 --> 00:36:56,460 Um. 718 00:36:56,620 --> 00:36:58,080 So, I think whitelisting is the future. 719 00:36:58,260 --> 00:36:58,940 Or, at least should be. 720 00:36:59,160 --> 00:36:59,560 Um. 721 00:36:59,660 --> 00:37:00,520 I've seen whitelisting. 722 00:37:01,360 --> 00:37:02,500 So, it's basically. 723 00:37:02,580 --> 00:37:04,340 Rather than you can't run these programs. 724 00:37:04,600 --> 00:37:06,260 It's you can only run these programs. 725 00:37:06,480 --> 00:37:08,300 And, any other executable that gets on the system. 726 00:37:08,700 --> 00:37:09,100 Um. 727 00:37:09,220 --> 00:37:10,900 Is basically denied access of anything. 728 00:37:11,840 --> 00:37:12,240 Um. 729 00:37:12,320 --> 00:37:14,420 And, I think these can be made consumer friendly. 730 00:37:14,420 --> 00:37:14,940 Um. 731 00:37:15,300 --> 00:37:17,060 I've seen some enterprise versions of the software. 732 00:37:17,160 --> 00:37:17,960 And, it works quite well. 733 00:37:18,500 --> 00:37:19,320 It's not perfect. 734 00:37:19,520 --> 00:37:23,320 But, at least I know if I got a bad piece of software on my machine. 735 00:37:23,460 --> 00:37:24,240 I can go to a list. 736 00:37:24,340 --> 00:37:24,620 And, see. 737 00:37:25,480 --> 00:37:25,840 Like. 738 00:37:25,960 --> 00:37:26,180 Oh. 739 00:37:26,240 --> 00:37:26,740 It's that one. 740 00:37:26,860 --> 00:37:27,540 And, I can remove it. 741 00:37:27,620 --> 00:37:29,140 And, it's no longer a problem. 742 00:37:31,300 --> 00:37:31,660 Um. 743 00:37:31,960 --> 00:37:34,240 And, as for why whitelisting software is not. 744 00:37:34,360 --> 00:37:34,680 Like. 745 00:37:35,220 --> 00:37:37,860 Out there nearly as much as antivirus or malware protection. 746 00:37:38,060 --> 00:37:39,880 Even though I see it as vastly more significant. 747 00:37:40,280 --> 00:37:40,640 Uh. 748 00:37:40,820 --> 00:37:41,180 Effective. 749 00:37:41,840 --> 00:37:42,200 Um. 750 00:37:42,960 --> 00:37:46,820 I guess you just can't make money selling virus signature updates with it. 751 00:37:48,460 --> 00:37:48,820 So. 752 00:37:50,280 --> 00:37:51,560 I imagine at some point. 753 00:37:51,600 --> 00:37:53,720 This will be baked into Windows or something like that. 754 00:37:53,780 --> 00:37:54,660 It almost has to be. 755 00:37:55,060 --> 00:37:55,280 Um. 756 00:37:56,160 --> 00:37:59,220 Because it doesn't make sense for all this software to not be polymorphic. 757 00:37:59,960 --> 00:38:00,680 And, it's. 758 00:38:00,780 --> 00:38:01,140 Like. 759 00:38:01,200 --> 00:38:01,740 I could do it. 760 00:38:01,760 --> 00:38:02,560 So, anyone can do it. 761 00:38:03,140 --> 00:38:03,500 Um. 762 00:38:03,540 --> 00:38:05,500 So, it's only a matter of time before all this stuff is. 763 00:38:05,800 --> 00:38:07,320 And, then blacklisting gets you nowhere. 764 00:38:08,860 --> 00:38:09,220 Um. 765 00:38:09,320 --> 00:38:10,060 So, what did I learn? 766 00:38:10,980 --> 00:38:11,340 Um. 767 00:38:11,540 --> 00:38:13,060 Creating spyware is not hard. 768 00:38:13,300 --> 00:38:13,740 Um. 769 00:38:14,660 --> 00:38:15,500 I did it. 770 00:38:15,540 --> 00:38:17,200 I had no specific security background. 771 00:38:17,640 --> 00:38:18,080 Um. 772 00:38:18,420 --> 00:38:20,380 This vague idea is what I thought it should do. 773 00:38:20,480 --> 00:38:21,460 And, I made it do it. 774 00:38:22,360 --> 00:38:22,800 Um. 775 00:38:23,200 --> 00:38:25,520 It wasn't rocket science in the least. 776 00:38:26,520 --> 00:38:26,960 Um. 777 00:38:27,080 --> 00:38:29,040 And, you can easily make a lot of money on the internet. 778 00:38:29,160 --> 00:38:30,400 If you've got no scruples. 779 00:38:30,640 --> 00:38:31,480 It's kind of depressing. 780 00:38:32,320 --> 00:38:32,760 Um. 781 00:38:33,660 --> 00:38:34,100 So. 782 00:38:34,240 --> 00:38:34,600 Yeah. 783 00:38:34,620 --> 00:38:35,860 The software will be here always. 784 00:38:37,820 --> 00:38:38,260 Um. 785 00:38:38,780 --> 00:38:39,220 AV. 786 00:38:39,580 --> 00:38:40,340 And, uh. 787 00:38:40,380 --> 00:38:40,980 Malware protection. 788 00:38:41,120 --> 00:38:41,320 Same thing. 789 00:38:41,320 --> 00:38:41,940 Seems almost useless. 790 00:38:43,140 --> 00:38:43,540 Um. 791 00:38:44,120 --> 00:38:44,840 I don't know. 792 00:38:44,920 --> 00:38:45,620 Maybe I'm wrong. 793 00:38:45,740 --> 00:38:47,140 Or, maybe it's smarter than I think it is. 794 00:38:47,240 --> 00:38:47,420 But. 795 00:38:48,220 --> 00:38:48,780 And, then. 796 00:38:48,800 --> 00:38:49,220 I wasn't. 797 00:38:50,060 --> 00:38:52,740 It was shockingly easy to get around it. 798 00:38:53,900 --> 00:38:54,300 Um. 799 00:38:54,660 --> 00:38:56,020 The software is not going away. 800 00:38:56,220 --> 00:38:56,640 And, again. 801 00:38:56,960 --> 00:38:59,060 Back to people thinking they can make money on it. 802 00:38:59,340 --> 00:39:00,320 It's just kind of depressing. 803 00:39:00,520 --> 00:39:00,760 Like. 804 00:39:00,820 --> 00:39:02,620 As much of this stuff gums up our machines. 805 00:39:02,900 --> 00:39:06,300 And, all the spam we get to think that it's all for nothing. 806 00:39:06,540 --> 00:39:06,800 Like. 807 00:39:07,300 --> 00:39:10,900 Like not even a single person at the other end is benefiting from it monetarily. 808 00:39:11,040 --> 00:39:11,300 Like. 809 00:39:13,100 --> 00:39:13,780 Slightly depressing. 810 00:39:14,940 --> 00:39:16,900 And, this is kind of the note I want to end on. 811 00:39:17,160 --> 00:39:17,280 Um. 812 00:39:17,520 --> 00:39:19,560 It's not worth compromising your ethics for money. 813 00:39:19,820 --> 00:39:20,180 Um. 814 00:39:20,500 --> 00:39:21,740 I did it because I was broke. 815 00:39:22,000 --> 00:39:22,920 I knew it was wrong. 816 00:39:23,040 --> 00:39:23,760 I did it anyway. 817 00:39:24,480 --> 00:39:25,100 I don't know. 818 00:39:25,120 --> 00:39:26,860 Maybe I should have asked my parents for money or something. 819 00:39:27,100 --> 00:39:27,360 But. 820 00:39:27,520 --> 00:39:27,940 You know. 821 00:39:28,020 --> 00:39:28,380 It's. 822 00:39:28,380 --> 00:39:29,300 It's just not worth it. 823 00:39:29,500 --> 00:39:29,860 So. 824 00:39:30,760 --> 00:39:32,160 Stay away from these scumbags. 825 00:39:32,240 --> 00:39:33,880 Because they'll rip you off in the end anyway. 826 00:39:34,340 --> 00:39:34,700 And. 827 00:39:34,740 --> 00:39:34,880 Uh. 828 00:39:35,860 --> 00:39:36,220 Yeah. 829 00:39:36,620 --> 00:39:36,980 Yeah. 830 00:39:37,020 --> 00:39:37,100 It's. 831 00:39:38,080 --> 00:39:38,440 Your. 832 00:39:38,540 --> 00:39:39,800 Your honor is worth more. 833 00:39:40,120 --> 00:39:40,480 So. 834 00:39:41,920 --> 00:39:42,240 Um. 835 00:39:42,380 --> 00:39:42,500 And. 836 00:39:42,600 --> 00:39:43,220 That's basically it. 837 00:39:43,520 --> 00:39:43,840 Um. 838 00:39:44,060 --> 00:39:44,960 I'll be in the question. 839 00:39:45,140 --> 00:39:45,460 Uh. 840 00:39:45,580 --> 00:39:47,320 Room at the end of the hallway. 841 00:39:47,520 --> 00:39:47,700 So. 842 00:39:47,800 --> 00:39:48,720 If you have any questions. 843 00:39:48,940 --> 00:39:49,200 Or. 844 00:39:49,680 --> 00:39:50,840 Want more technical details. 845 00:39:51,080 --> 00:39:52,100 Because I was pretty light on that. 846 00:39:52,220 --> 00:39:52,520 I'm. 847 00:39:52,740 --> 00:39:53,540 More than willing to. 848 00:39:53,780 --> 00:39:54,880 To be there for an hour.