1 00:00:00,000 --> 00:00:03,860 Question for you guys. You see there's two names here. I'm Joseph Muniz. Has anybody seen Amir? 2 00:00:05,580 --> 00:00:11,160 I have not seen him all night. I'm kidding. Amir actually was part of an investigation. 3 00:00:11,980 --> 00:00:16,100 So he works for Fortinet and they caught some cyber criminals in the Philippines. 4 00:00:17,100 --> 00:00:21,480 So he's not going to be here. He's unfortunately with some Filipino boys in the Philippines 5 00:00:21,920 --> 00:00:29,300 while I'm here by myself. So I'm doing this by myself. So you have me. And as Ming was saying 6 00:00:29,300 --> 00:00:36,040 before we kick them off, this is my third time doing this. We talked a couple years back on 7 00:00:36,040 --> 00:00:41,240 hacking through social media. So if you look up either name and Emily Williams, as well as RSA 8 00:00:41,240 --> 00:00:46,840 Europe, you'll see that data. And then last year we did one on hacking with Raspberry Pis. So how 9 00:00:46,840 --> 00:00:52,740 you can do a really cheap penetration test using Raspberry Pis. Today's topic that I'm literally 10 00:00:52,740 --> 00:00:59,120 cut down because of the move on is on data. Now you're like, data, that sounds boring as hell. 11 00:00:59,760 --> 00:01:07,300 Data. Here's the deal. We all create data. Since you woke up this morning to when you go to bed 12 00:01:07,300 --> 00:01:12,000 tonight, if you do, when you use your phones, when you use your computers, when you use social 13 00:01:12,000 --> 00:01:17,940 media, you create data. And that data, that footprint is going to be the topic of abuse for 14 00:01:17,940 --> 00:01:24,580 today. True story and how the numbers look. Today, we all have about 15 billion IP addresses. 15 00:01:29,300 --> 00:01:29,440 All right. I can start this way because you said an emperor a glass. From what I've heard, 16 00:01:29,440 --> 00:01:32,960 if you pitch your phone, a laptop off because it's DefCon- beam. I'm sure that you guys have 17 00:01:32,960 --> 00:01:38,280 three or four IP addresses. The average person 1 or 2 IP addresses. You take all that. You take 18 00:01:38,280 --> 00:01:44,140 the entire world's IP addresses. They're saying 15, 16 billion IP addresses. What they're saying 19 00:01:44,140 --> 00:01:50,800 by 2030, there are going to be 500 billion IP addresses. What that means is, a lot of stuff the 20 00:01:50,800 --> 00:01:58,260 hack, yay. But what that means is, this chandelier, the water dispenser, all have IP addresses. The 21 00:01:58,260 --> 00:02:00,780 the flowers in front of the casino will have IP addresses. 22 00:02:01,160 --> 00:02:02,740 They will tell you when they need sunlight 23 00:02:02,740 --> 00:02:03,580 and when they need water. 24 00:02:04,280 --> 00:02:08,100 When you go home in 2030 to your IP address-enabled house, 25 00:02:08,400 --> 00:02:11,040 your stove, your lights, everything will have IP addresses. 26 00:02:11,360 --> 00:02:12,900 That also is gonna create a footprint. 27 00:02:13,300 --> 00:02:15,420 So if the right person's looking, 28 00:02:15,640 --> 00:02:17,960 I can see how you cook and figure out 29 00:02:17,960 --> 00:02:19,380 you may have some kind of health problem 30 00:02:19,380 --> 00:02:20,880 because you cook the same way 31 00:02:20,880 --> 00:02:21,800 and you're creating a footprint. 32 00:02:22,280 --> 00:02:24,700 So this whole idea of footprint and data 33 00:02:24,700 --> 00:02:27,440 and the data we leave is gonna become more and more 34 00:02:27,440 --> 00:02:29,480 as all these devices go online. 35 00:02:29,760 --> 00:02:31,680 This is just the reality, whether you wanna go there or not. 36 00:02:31,820 --> 00:02:32,860 That's the future. 37 00:02:33,960 --> 00:02:35,460 And the problem is is a lot of people 38 00:02:35,460 --> 00:02:36,280 don't think about security. 39 00:02:36,620 --> 00:02:37,920 They do and they don't. 40 00:02:38,040 --> 00:02:40,700 And what I mean is they don't think about like, 41 00:02:40,840 --> 00:02:41,980 oh yeah, this phone was hacked 42 00:02:41,980 --> 00:02:43,600 and some celebrities' pictures are up there, 43 00:02:43,740 --> 00:02:45,320 but they don't actually relate it to themselves. 44 00:02:46,380 --> 00:02:49,240 We see family members, especially like young teens, 45 00:02:49,520 --> 00:02:53,180 they just add apps, they just friend connect apps. 46 00:02:53,460 --> 00:02:54,980 They don't think about the security involved, 47 00:02:55,780 --> 00:02:56,860 companies being owned. 48 00:02:56,860 --> 00:02:59,280 It's either big or it's extreme, like Target, 49 00:02:59,380 --> 00:03:00,600 or it's like in a celebrity. 50 00:03:00,860 --> 00:03:01,940 They don't think about this. 51 00:03:02,140 --> 00:03:03,960 So the premise of what I'm gonna talk about now 52 00:03:03,960 --> 00:03:06,620 is proving and abusing this idea of data. 53 00:03:06,780 --> 00:03:08,780 And basically, you think you deleted the data, 54 00:03:08,860 --> 00:03:09,740 but it's still really there. 55 00:03:11,400 --> 00:03:12,660 My name is Joseph Muniz. 56 00:03:12,920 --> 00:03:13,920 I work at Cisco. 57 00:03:14,420 --> 00:03:15,260 I'm an architect. 58 00:03:15,360 --> 00:03:17,120 I cover America, South America, and Canada, 59 00:03:17,260 --> 00:03:18,040 talk to a bunch of people. 60 00:03:19,160 --> 00:03:22,580 I'm there with the Filipino boys, works at Fortinet. 61 00:03:23,300 --> 00:03:24,860 And we've done a few books together. 62 00:03:25,060 --> 00:03:26,300 Those are some of the books we've done together. 63 00:03:26,300 --> 00:03:29,080 We have a new book coming out in the spring 64 00:03:29,080 --> 00:03:30,900 on forensics for the engineer, 65 00:03:31,060 --> 00:03:33,180 so like a network engineer forensics book 66 00:03:33,880 --> 00:03:34,800 that'll be coming out. 67 00:03:35,040 --> 00:03:36,540 I just did a Cisco Press book. 68 00:03:36,660 --> 00:03:37,980 I'll give one away at some point today 69 00:03:37,980 --> 00:03:39,240 for some random reason. 70 00:03:39,380 --> 00:03:40,280 But it's my book. 71 00:03:40,440 --> 00:03:41,280 So we've done books. 72 00:03:41,380 --> 00:03:42,040 We've done a lot of stuff. 73 00:03:43,700 --> 00:03:45,400 The ask for you today is, 74 00:03:45,480 --> 00:03:47,040 think about this topic for yourself, 75 00:03:47,560 --> 00:03:49,420 as well as for people around you. 76 00:03:49,560 --> 00:03:51,180 Like Thanksgiving, Christmas time, 77 00:03:51,400 --> 00:03:53,660 you may wanna talk to your cousins or nephews. 78 00:03:53,820 --> 00:03:55,980 Talk about this as well, because I'm gonna show, 79 00:03:55,980 --> 00:03:58,760 some of the people that we did research on, 80 00:03:58,920 --> 00:03:59,900 they were pretty good, 81 00:04:00,060 --> 00:04:02,080 but their associations were their vulnerability. 82 00:04:04,200 --> 00:04:05,800 So, here's how we'll start the topic. 83 00:04:06,140 --> 00:04:06,620 Deleting. 84 00:04:07,160 --> 00:04:07,920 Deleting 101. 85 00:04:08,160 --> 00:04:10,440 When you press delete, when you slide delete, 86 00:04:11,360 --> 00:04:12,600 the reality is this. 87 00:04:12,840 --> 00:04:14,060 The data is still there. 88 00:04:14,380 --> 00:04:15,600 A lot of people know that, 89 00:04:15,680 --> 00:04:16,760 but you don't really think about that. 90 00:04:17,300 --> 00:04:19,500 When you hit delete, the data's there 91 00:04:19,500 --> 00:04:20,840 until something replaces it. 92 00:04:21,080 --> 00:04:22,020 So it's a vulnerability, 93 00:04:22,840 --> 00:04:24,760 because unless you're forensically cleaning, 94 00:04:24,760 --> 00:04:26,020 every time you delete something, 95 00:04:26,300 --> 00:04:27,600 the data's still there. 96 00:04:28,300 --> 00:04:30,760 And mentally, you're saying it's not there anymore, 97 00:04:31,000 --> 00:04:34,140 but it's still there, and somebody can access that data. 98 00:04:34,660 --> 00:04:36,520 Same goes for when people delete stuff, 99 00:04:36,740 --> 00:04:38,040 and then sell stuff on eBay, 100 00:04:38,180 --> 00:04:39,880 which is what I'm gonna use here in a few minutes. 101 00:04:40,680 --> 00:04:42,120 Or people use burner phones, 102 00:04:42,360 --> 00:04:44,700 not thinking that stuff they associate the phone with 103 00:04:44,700 --> 00:04:46,720 could actually relate back to who they are. 104 00:04:47,480 --> 00:04:48,600 So the premise is, 105 00:04:49,380 --> 00:04:52,140 let's look to zero touch hacking, as Amir likes to say. 106 00:04:52,620 --> 00:04:54,220 Let's look at hard drives, 107 00:04:54,220 --> 00:04:56,720 phones, apps, and social media, 108 00:04:56,920 --> 00:04:58,580 and basically abuse this concept. 109 00:04:59,200 --> 00:05:00,240 So for hard drives, 110 00:05:00,520 --> 00:05:02,620 we're gonna talk about what we bought hard drives, 111 00:05:02,840 --> 00:05:05,300 and we're gonna talk about some tactics we used 112 00:05:05,300 --> 00:05:06,320 to buy the right hard drive, 113 00:05:06,520 --> 00:05:08,340 and then the forensics tools we used, 114 00:05:08,500 --> 00:05:10,040 and what we found from those hard drives. 115 00:05:12,080 --> 00:05:13,360 Phones, phones are expensive. 116 00:05:13,800 --> 00:05:14,960 So we didn't buy a lot. 117 00:05:15,140 --> 00:05:17,980 I mean, even like an old iPhone in third world countries 118 00:05:17,980 --> 00:05:18,920 is still pretty expensive. 119 00:05:19,180 --> 00:05:21,580 But we bought phones, and same kind of concept. 120 00:05:21,660 --> 00:05:23,560 We wanna see what kind of data we can find. 121 00:05:24,920 --> 00:05:26,660 Apps is an interesting topic. 122 00:05:27,540 --> 00:05:30,360 So you guys probably know the Pokemon Go app. 123 00:05:30,600 --> 00:05:32,080 When that app first came out, 124 00:05:32,160 --> 00:05:33,920 the privilege levels in that app were stupid. 125 00:05:34,200 --> 00:05:36,760 It was asking to not only have access to like your email, 126 00:05:36,980 --> 00:05:38,760 it was able to email on your behalf. 127 00:05:39,240 --> 00:05:41,600 It was able to access your entire Gmail account, 128 00:05:41,840 --> 00:05:43,640 so all of your G storage drives, 129 00:05:43,960 --> 00:05:45,240 just stuff it didn't need. 130 00:05:45,920 --> 00:05:49,220 And this problem continues to happen. 131 00:05:49,420 --> 00:05:51,160 We're gonna talk about abusing this, 132 00:05:51,300 --> 00:05:53,840 including like looking for apps that are very, 133 00:05:53,840 --> 00:05:56,520 very vulnerable, or apps that have too much privileges, 134 00:05:56,700 --> 00:05:58,580 and using them as proxies to attack you. 135 00:05:58,820 --> 00:06:00,140 So we'll talk about that concept. 136 00:06:00,540 --> 00:06:02,280 I keep saying we, he's not here. 137 00:06:02,480 --> 00:06:03,640 I'm gonna talk about this. 138 00:06:03,700 --> 00:06:04,720 I'm here somewhere else. 139 00:06:04,860 --> 00:06:06,040 I'm gonna talk about this. 140 00:06:06,900 --> 00:06:08,620 Also the idea of cloud connecting. 141 00:06:08,960 --> 00:06:11,000 Like Cisco, we just acquired CloudLock 142 00:06:11,000 --> 00:06:12,320 literally like four days ago, 143 00:06:12,480 --> 00:06:14,640 because there's this problem that people 144 00:06:14,640 --> 00:06:16,560 will auto connect apps. 145 00:06:16,860 --> 00:06:18,320 So like you're an admin, 146 00:06:18,440 --> 00:06:20,680 and you got like Salesforce or Dropbox, 147 00:06:20,860 --> 00:06:23,560 and then one of your users signs in with some other app 148 00:06:23,560 --> 00:06:25,260 and connects that cloud, that cloud connection, 149 00:06:25,380 --> 00:06:27,880 that CASB problem, and as an admin you don't know that. 150 00:06:27,960 --> 00:06:29,340 Your data is basically being leaked 151 00:06:29,340 --> 00:06:31,140 because your users are cloud connecting. 152 00:06:31,360 --> 00:06:33,320 So that's a problem as well, and we're gonna abuse that. 153 00:06:34,160 --> 00:06:36,920 And then lastly, social media is social media. 154 00:06:37,140 --> 00:06:39,520 That should be a given on how bad that is. 155 00:06:40,260 --> 00:06:41,740 So those are the four areas. 156 00:06:42,300 --> 00:06:43,380 We'll start with hard drives. 157 00:06:44,740 --> 00:06:46,980 Now, hard drives, initially what we want, 158 00:06:47,100 --> 00:06:49,260 and we looked for somebody re-selling a hard drive, 159 00:06:49,440 --> 00:06:51,200 we bought the hard drive, and we found crap. 160 00:06:51,960 --> 00:06:52,760 Most likely, 161 00:06:52,760 --> 00:06:54,280 it was a floor model hard drive, 162 00:06:54,480 --> 00:06:56,300 something that really didn't have anything interesting. 163 00:06:56,880 --> 00:06:58,360 So the idea is, is well, 164 00:06:58,460 --> 00:06:59,980 how do we actually find a hard drive 165 00:06:59,980 --> 00:07:01,320 that has interesting data? 166 00:07:01,920 --> 00:07:03,940 So the fourth topic is gonna be around 167 00:07:03,940 --> 00:07:05,200 finding people on social media. 168 00:07:05,580 --> 00:07:06,840 We use those tactics. 169 00:07:07,040 --> 00:07:07,840 So to kind of summarize, 170 00:07:08,400 --> 00:07:10,420 you'll see like on eBay, people have a username. 171 00:07:10,920 --> 00:07:11,900 We'll take the username, 172 00:07:12,060 --> 00:07:13,440 and then try to ask them a question 173 00:07:13,440 --> 00:07:14,240 to get their phone number. 174 00:07:14,460 --> 00:07:16,100 And then we'll use the phone number and username 175 00:07:16,100 --> 00:07:17,480 and start searching social media, 176 00:07:17,660 --> 00:07:19,600 because social media naturally wants 177 00:07:19,600 --> 00:07:20,820 to find the missing elements. 178 00:07:20,900 --> 00:07:22,180 It's about finding that lost friend, 179 00:07:22,180 --> 00:07:24,860 or finding that lost college person. 180 00:07:25,180 --> 00:07:26,520 So if you give it a phone number, 181 00:07:26,640 --> 00:07:29,220 like you, for example, create a Gmail account that's fake, 182 00:07:29,360 --> 00:07:31,380 put that phone number, and add it to Twitter, 183 00:07:31,540 --> 00:07:33,380 Twitter will go search and deceive us other people. 184 00:07:33,660 --> 00:07:35,980 So by doing that, we can find who the people are 185 00:07:35,980 --> 00:07:37,660 that own the devices that are being sold, 186 00:07:37,840 --> 00:07:40,140 and actually see why they're selling those. 187 00:07:40,480 --> 00:07:42,800 So the gold mine would be finding somebody 188 00:07:42,800 --> 00:07:44,760 who works in HR that's selling hard drives. 189 00:07:45,080 --> 00:07:46,560 And by doing that tactic, 190 00:07:46,780 --> 00:07:49,100 we found a lot of interesting hard drives. 191 00:07:50,300 --> 00:07:52,160 Now, the tool we use is F2.0. 192 00:07:52,180 --> 00:07:53,440 It's an FTK imager. 193 00:07:53,940 --> 00:07:55,720 You can use many tools. 194 00:07:56,040 --> 00:07:57,360 That's just one that we chose. 195 00:07:59,000 --> 00:08:02,780 One thing about this is we did follow forensics guidelines. 196 00:08:03,360 --> 00:08:04,920 So if you're going to do this, it 197 00:08:04,920 --> 00:08:07,180 will make sense for you to not mess with the original. 198 00:08:07,340 --> 00:08:08,900 You do make a forensic copy. 199 00:08:09,060 --> 00:08:10,980 You can do DD, or it's built in here. 200 00:08:11,140 --> 00:08:12,960 But you want to make copies and mess with the copies. 201 00:08:13,660 --> 00:08:14,300 I don't know. 202 00:08:14,340 --> 00:08:16,160 If we found child porn and we wanted 203 00:08:16,160 --> 00:08:18,780 to do something about it, if we mess with the original, 204 00:08:18,940 --> 00:08:20,360 then we can't do anything about it. 205 00:08:20,440 --> 00:08:21,900 So from a forensics perspective, 206 00:08:21,900 --> 00:08:23,100 you make copies. 207 00:08:23,340 --> 00:08:25,620 And at that point, you do a bit-by-bit copy. 208 00:08:25,940 --> 00:08:27,300 You access the hard drive. 209 00:08:27,520 --> 00:08:31,380 And basically, you're going to find the data that is there. 210 00:08:32,020 --> 00:08:33,720 And if you've had the right target, 211 00:08:33,820 --> 00:08:35,320 you can find very interesting data. 212 00:08:36,200 --> 00:08:38,760 These are other tools, in case, red line. 213 00:08:39,020 --> 00:08:39,940 I mean, there's many of you can do this. 214 00:08:40,180 --> 00:08:42,300 But the concept is knowing your target. 215 00:08:42,440 --> 00:08:44,940 If you just buy hard drives, that's like playing the water. 216 00:08:45,020 --> 00:08:45,800 You're not going to find anything. 217 00:08:48,740 --> 00:08:51,400 On the FTK imager piece, again, straightforward. 218 00:08:51,700 --> 00:08:51,880 You found something. 219 00:08:51,880 --> 00:08:52,120 You found that. 220 00:08:53,820 --> 00:08:57,100 What we found, especially from the HR drive, 221 00:08:57,440 --> 00:09:00,620 you think about what you would find in an HR drive, 222 00:09:00,860 --> 00:09:01,680 like human resources. 223 00:09:02,080 --> 00:09:02,840 We found it. 224 00:09:03,580 --> 00:09:06,000 Half the images are stocked, half are not. 225 00:09:06,880 --> 00:09:09,620 On the left-hand side, it says the greatest lesbian movies 226 00:09:09,620 --> 00:09:09,940 ever. 227 00:09:10,680 --> 00:09:11,300 That's real. 228 00:09:11,660 --> 00:09:14,720 I guess somebody at HR was going to fire somebody 229 00:09:14,720 --> 00:09:16,060 and have the evidence on their hard drive. 230 00:09:16,480 --> 00:09:18,920 That links to actually the greatest lesbian movies ever. 231 00:09:19,320 --> 00:09:20,340 I may have actually watched them all 232 00:09:20,340 --> 00:09:20,900 and thought they were great. 233 00:09:22,520 --> 00:09:25,100 But we had your regular social media. 234 00:09:25,380 --> 00:09:27,880 We think with this, the social security and all this, 235 00:09:28,040 --> 00:09:29,820 most likely this is when people are getting hired 236 00:09:29,820 --> 00:09:30,880 and getting their stuff scanned in. 237 00:09:31,080 --> 00:09:32,560 We believe that that's the data. 238 00:09:33,160 --> 00:09:35,160 We also got one printer drive as well. 239 00:09:35,320 --> 00:09:37,000 And the printer drive actually had some interesting stuff. 240 00:09:37,540 --> 00:09:39,620 We thought it was an HR person, but it wasn't. 241 00:09:39,680 --> 00:09:41,020 It was somebody in management, but it still 242 00:09:41,020 --> 00:09:41,680 had interesting stuff. 243 00:09:42,220 --> 00:09:45,380 So if you know the target, find the hard drive, a lot of fun. 244 00:09:47,000 --> 00:09:48,240 Next topic is phones. 245 00:09:49,260 --> 00:09:51,860 Now, phones, again, are pretty expensive. But we're going to talk about that in just a second. 246 00:09:51,860 --> 00:09:53,780 We got some phones using the same tactics, 247 00:09:53,920 --> 00:09:54,900 finding people of interest. 248 00:09:56,260 --> 00:10:00,640 So we purchased phones, both iPhone and Android. 249 00:10:02,280 --> 00:10:04,340 The goal is not only with the phone 250 00:10:04,340 --> 00:10:07,500 to see what's on the hard drive, but to also find an older image 251 00:10:07,500 --> 00:10:08,500 and reload that image. 252 00:10:08,700 --> 00:10:10,460 Because then the apps that are auto-signed, 253 00:10:10,560 --> 00:10:12,120 you can auto get back into those apps. 254 00:10:13,060 --> 00:10:14,880 You can do geolocation stuff, which 255 00:10:14,880 --> 00:10:15,860 I'll talk about in a few minutes. 256 00:10:15,980 --> 00:10:18,580 You can track the person, get a lifestyle of that person. 257 00:10:19,320 --> 00:10:20,680 So in this case, we used Blade. 258 00:10:21,860 --> 00:10:23,760 Blade, maybe because the alphabetical order B, 259 00:10:23,920 --> 00:10:24,560 we chose Blade. 260 00:10:24,680 --> 00:10:26,920 But there's many tools out there that can do this. 261 00:10:27,480 --> 00:10:30,440 Very similar, you want to not mess with the original. 262 00:10:30,640 --> 00:10:31,260 You clone it. 263 00:10:31,420 --> 00:10:34,520 You then go back, look for older images, load the image, 264 00:10:34,680 --> 00:10:36,400 see what you can find, voicemail, et cetera. 265 00:10:37,940 --> 00:10:39,580 Couple interesting things with the phones. 266 00:10:40,060 --> 00:10:44,040 So the phones have the IME number, the hardware number. 267 00:10:44,240 --> 00:10:46,800 So when you add a phone, the carrier tracks you. 268 00:10:47,540 --> 00:10:49,200 We've done some work with the authorities. 269 00:10:49,440 --> 00:10:51,120 So we checked out every phone we had. 270 00:10:51,120 --> 00:10:54,240 And every single phone was stolen and blacklisted. 271 00:10:54,540 --> 00:10:56,820 And what's supposed to happen is, when a phone is stolen, 272 00:10:57,040 --> 00:10:59,520 if you try to put in a SIM card, it's supposed to not work. 273 00:11:00,000 --> 00:11:00,980 Every phone worked. 274 00:11:02,180 --> 00:11:03,560 So goes to show how that is. 275 00:11:03,660 --> 00:11:05,640 So AT&T and T-Mobile were the ones we did. 276 00:11:05,780 --> 00:11:08,140 Because they're part of the same GM, 277 00:11:08,280 --> 00:11:09,480 we could put the same SIM card in. 278 00:11:09,740 --> 00:11:12,320 But every phone, we checked with the authorities, was stolen. 279 00:11:12,500 --> 00:11:13,760 Every phone was on the blacklist. 280 00:11:13,960 --> 00:11:16,160 Every phone still worked regardless, 281 00:11:16,440 --> 00:11:17,660 which is, what's the point? 282 00:11:19,360 --> 00:11:21,100 So with the phones, very similar. 283 00:11:21,760 --> 00:11:23,240 There's other tools you can use. 284 00:11:23,560 --> 00:11:24,560 Blade is a good one. 285 00:11:25,060 --> 00:11:25,720 Many others. 286 00:11:26,280 --> 00:11:28,020 I'm gonna talk about some of the app stuff here 287 00:11:28,020 --> 00:11:28,520 in a few minutes. 288 00:11:28,880 --> 00:11:32,720 But just from a phone perspective, we found a lot. 289 00:11:35,080 --> 00:11:36,360 To kind of show the findings, 290 00:11:37,420 --> 00:11:38,900 pretty much everything you can think of. 291 00:11:39,980 --> 00:11:42,540 Photos, contacts, your life. 292 00:11:42,620 --> 00:11:44,420 I mean, this is your life, if you think about it. 293 00:11:44,500 --> 00:11:47,220 And if I can pull up an older image, we can get into it. 294 00:11:48,080 --> 00:11:50,860 Now, one concept that also came up with this is, 295 00:11:51,600 --> 00:11:51,920 tracking. 296 00:11:52,280 --> 00:11:53,620 I want you all to do this right now. 297 00:11:53,660 --> 00:11:54,660 We'll start with the iPhone users. 298 00:11:54,780 --> 00:11:55,600 If you're an iPhone user, 299 00:11:56,140 --> 00:11:57,740 you may think you're not being tracked, 300 00:11:58,200 --> 00:11:59,280 but you may not realize this. 301 00:11:59,340 --> 00:12:00,580 When you shut off tracking in the app, 302 00:12:00,720 --> 00:12:02,160 the phone is still tracking you. 303 00:12:02,440 --> 00:12:04,040 So let's all do this right now. 304 00:12:04,280 --> 00:12:06,760 Settings, privacy, location, and systems. 305 00:12:07,040 --> 00:12:08,060 See if you have this on. 306 00:12:08,600 --> 00:12:10,540 If you have it on, right under it, 307 00:12:10,620 --> 00:12:12,680 you're gonna see everything you've been doing in Vegas. 308 00:12:12,840 --> 00:12:14,280 So last night, when you were with the prostitute 309 00:12:14,280 --> 00:12:15,560 or whatever, or you went to the strip club, 310 00:12:15,900 --> 00:12:16,980 you're gonna see the location. 311 00:12:17,320 --> 00:12:18,780 And I tell you, every time I tell people this, 312 00:12:18,860 --> 00:12:20,200 they look at it and they go, oh, shit. 313 00:12:20,200 --> 00:12:22,460 And you can literally see their history. 314 00:12:23,100 --> 00:12:26,280 So again, iPhone users, settings, privacy, 315 00:12:26,940 --> 00:12:28,400 locations, system services, 316 00:12:28,760 --> 00:12:31,140 see if you have frequent locations checked on. 317 00:12:31,440 --> 00:12:33,620 If you do, you're gonna see your history. 318 00:12:33,900 --> 00:12:35,920 And if I steal your phone and pull up, 319 00:12:35,980 --> 00:12:38,260 I can literally go back in time and do this. 320 00:12:38,440 --> 00:12:40,380 Android users, same for you. 321 00:12:40,880 --> 00:12:42,180 And actually, to be cute about this, 322 00:12:42,400 --> 00:12:43,640 when Amir was on a trip, 323 00:12:43,760 --> 00:12:48,520 I took his data and put it in the Google Maps, 324 00:12:48,740 --> 00:12:49,720 and I could literally see, 325 00:12:49,720 --> 00:12:51,380 I could see him shopping around New York City 326 00:12:51,380 --> 00:12:52,400 and over here and all that. 327 00:12:52,700 --> 00:12:54,480 So think about somebody Google mapping you 328 00:12:54,480 --> 00:12:55,980 here the last week at DEF CON. 329 00:12:56,540 --> 00:12:58,300 You know, we see a lot of stuff here, 330 00:12:58,420 --> 00:13:00,360 and then the strip club here and the strip club here, 331 00:13:00,480 --> 00:13:02,000 and literally we can map it that way as well. 332 00:13:02,160 --> 00:13:04,240 So for Android, this is how to do that. 333 00:13:04,500 --> 00:13:08,000 For iOS, make sure your phone is not tracking you, 334 00:13:08,080 --> 00:13:10,280 because if it is, that's a footprint that's there 335 00:13:10,280 --> 00:13:12,140 that could be pulled up to figure out 336 00:13:12,140 --> 00:13:12,800 what you've been doing. 337 00:13:13,220 --> 00:13:14,920 Especially if you have like a husband or wife 338 00:13:14,920 --> 00:13:17,120 and they wanna see about things and they understand this, 339 00:13:17,300 --> 00:13:18,640 they can actually answer that question, 340 00:13:18,700 --> 00:13:19,380 what you did last night. 341 00:13:21,240 --> 00:13:22,340 What about app security? 342 00:13:23,160 --> 00:13:25,300 Now, app security is a really funny one, 343 00:13:25,400 --> 00:13:27,140 because as with the Pokemon Go, 344 00:13:27,420 --> 00:13:30,320 there are a lot of apps that have too much privileges. 345 00:13:31,080 --> 00:13:33,300 So we've decided to pick on the flashlight apps. 346 00:13:33,800 --> 00:13:37,560 So we went to the Android store and typed in flashlight, 347 00:13:37,840 --> 00:13:39,140 and a bunch of apps came up. 348 00:13:39,600 --> 00:13:41,440 Now, you guys think they have the same privilege levels? 349 00:13:42,160 --> 00:13:42,920 What do you think? 350 00:13:44,600 --> 00:13:45,280 Look at that. 351 00:13:46,440 --> 00:13:47,200 Is that crazy? 352 00:13:47,340 --> 00:13:49,580 The first one was the first app to come up. 353 00:13:49,720 --> 00:13:52,860 And it asked for all sorts of stuff it does not need. 354 00:13:53,460 --> 00:13:54,380 Now, it's been fixed. 355 00:13:54,480 --> 00:13:58,340 We did contact them, but at the time, that was there. 356 00:13:58,560 --> 00:14:00,520 So a general flashlight would ask for this. 357 00:14:00,720 --> 00:14:03,760 So the idea is, how can we abuse this? 358 00:14:03,920 --> 00:14:05,060 Well, all you gotta do is write, 359 00:14:05,120 --> 00:14:06,260 which we did in the pen test, 360 00:14:06,720 --> 00:14:09,240 write a piece of malware that looks for that flashlight app 361 00:14:09,240 --> 00:14:11,600 and literally proxy those settings 362 00:14:11,600 --> 00:14:13,220 so literally you're using the flashlight app 363 00:14:13,220 --> 00:14:15,440 to attack the phone, because the app is already there. 364 00:14:16,240 --> 00:14:18,940 So it's really interesting that these apps basically have 365 00:14:18,940 --> 00:14:20,920 various requests, and you have really no way to know it 366 00:14:20,920 --> 00:14:22,280 unless you do the research on it. 367 00:14:23,140 --> 00:14:26,780 So flashlight app was the one that we were looking at. 368 00:14:27,680 --> 00:14:30,580 But there's, again, many other apps that have this issue. 369 00:14:31,820 --> 00:14:33,020 I was told to keep this quick. 370 00:14:33,420 --> 00:14:35,000 All right, so social media. 371 00:14:36,200 --> 00:14:37,220 This one is interesting. 372 00:14:38,040 --> 00:14:40,360 This started actually out with a real story 373 00:14:40,360 --> 00:14:42,540 where a friend of mine's sister started dating this guy. 374 00:14:43,000 --> 00:14:44,260 And because it was being recorded, 375 00:14:44,340 --> 00:14:45,940 I had to kind of hide some stuff, 376 00:14:46,080 --> 00:14:47,820 but the guy faded out. 377 00:14:48,940 --> 00:14:49,960 But he was on Cheetah Report. 378 00:14:51,280 --> 00:14:54,380 And the person, the girl, wanted to date him, 379 00:14:54,500 --> 00:14:55,880 but saw the Cheetah Report. 380 00:14:56,840 --> 00:14:59,160 And she goes to him, hey, you're on Cheetah Report. 381 00:14:59,440 --> 00:15:01,260 And his excuse was, oh, my ex-girlfriend's 382 00:15:01,260 --> 00:15:02,040 trying to make me look bad. 383 00:15:02,560 --> 00:15:04,320 But he said he's a VP at a company 384 00:15:04,320 --> 00:15:05,980 and had all this bull crap info. 385 00:15:06,540 --> 00:15:10,200 So basically, he came to us and said, hey, research this guy. 386 00:15:10,640 --> 00:15:11,780 He did a really good job. 387 00:15:11,920 --> 00:15:13,020 His company was pretty legit. 388 00:15:13,340 --> 00:15:15,400 I did a go-back machine, saw he appeared. 389 00:15:15,780 --> 00:15:18,060 He had a lot of kind of fake data going around. 390 00:15:18,060 --> 00:15:20,980 So I was able to create a profile to show her, 391 00:15:21,100 --> 00:15:21,880 but she's not technical. 392 00:15:22,020 --> 00:15:23,260 She wanted a smoking gun. 393 00:15:23,360 --> 00:15:25,960 She wanted to see his face in a different name, like that. 394 00:15:26,260 --> 00:15:28,820 Like, I can show her all day long that it's fake. 395 00:15:28,920 --> 00:15:30,400 She doesn't understand botnets and all that. 396 00:15:30,980 --> 00:15:33,480 So in this use case, the way we tracked this guy down was, 397 00:15:33,640 --> 00:15:36,240 every time there was employees and certain people commenting, 398 00:15:36,580 --> 00:15:37,880 we started researching them. 399 00:15:38,100 --> 00:15:41,440 And that's when we found the bullshit, where literally, 400 00:15:41,560 --> 00:15:42,680 that was like one of his co-workers. 401 00:15:42,820 --> 00:15:43,700 I took him out the night before. 402 00:15:44,420 --> 00:15:47,080 That was one of his other colleagues. 403 00:15:47,080 --> 00:15:50,920 So this goes back to that association thing, where like, 404 00:15:51,100 --> 00:15:53,600 maybe you're secure, but is your cousin, your wife, 405 00:15:53,640 --> 00:15:54,320 your friends not? 406 00:15:54,640 --> 00:15:56,940 Because we'll just, social media, go after you 407 00:15:56,940 --> 00:15:58,920 and do some of the tactics I'm going to talk about now 408 00:15:58,920 --> 00:15:59,900 to find data. 409 00:16:00,020 --> 00:16:00,780 And that's how we got this guy. 410 00:16:02,160 --> 00:16:03,380 So what are those tactics? 411 00:16:03,660 --> 00:16:05,260 Well, first thing is this. 412 00:16:05,740 --> 00:16:10,140 Even burner phones, any time that you associate a device 413 00:16:10,140 --> 00:16:12,440 with something, you can use social media 414 00:16:12,440 --> 00:16:13,100 to be your hunter. 415 00:16:13,360 --> 00:16:15,320 This goes back to the first part of the conversation. 416 00:16:15,640 --> 00:16:16,760 You can create. 417 00:16:16,760 --> 00:16:19,440 If you get a phone number, if you get a username, 418 00:16:19,960 --> 00:16:23,420 if you get some form of data, what you can do is, 419 00:16:23,420 --> 00:16:25,780 because social media has no platform. 420 00:16:25,940 --> 00:16:29,360 Every version of social media, Facebook, Twitter, et cetera, 421 00:16:29,520 --> 00:16:31,120 will ask you for some form of data 422 00:16:31,120 --> 00:16:32,940 and will give you back some form of data. 423 00:16:33,180 --> 00:16:35,240 When you do a password reset and don't finish it, 424 00:16:35,320 --> 00:16:36,600 you may get back some form of data. 425 00:16:36,940 --> 00:16:39,820 So if you can literally breadcrumb together all of that, 426 00:16:39,860 --> 00:16:42,020 the Twitter stuff you get back, the Facebook stuff you get back, 427 00:16:42,080 --> 00:16:44,520 et cetera, you can start to get some interesting data. 428 00:16:45,260 --> 00:16:46,400 And that's an example. 429 00:16:46,400 --> 00:16:48,520 With burner phones, we've been told by the authorities, 430 00:16:48,600 --> 00:16:50,140 we can't tell which group, but when 431 00:16:50,140 --> 00:16:51,160 we're told to track burner phones, 432 00:16:51,440 --> 00:16:53,180 usually the way that we can find these devices 433 00:16:53,180 --> 00:16:54,720 is based on the associations. 434 00:16:55,000 --> 00:16:56,320 Meaning, take that burner phone number 435 00:16:56,320 --> 00:16:59,140 and run it through all social media doing password resets 436 00:16:59,140 --> 00:16:59,420 and stuff. 437 00:16:59,760 --> 00:17:01,840 And at that point, we can find some piece of evidence 438 00:17:01,840 --> 00:17:04,140 about the person and then use that to continue 439 00:17:04,140 --> 00:17:06,720 to do social media search so we can find out who it is. 440 00:17:06,920 --> 00:17:09,140 And nine times out of 10, we find out 441 00:17:09,140 --> 00:17:09,960 who is using these phones. 442 00:17:10,400 --> 00:17:12,100 So it's not necessarily tracking the phone. 443 00:17:12,300 --> 00:17:13,400 It's tracking the associations. 444 00:17:15,660 --> 00:17:16,380 That's what the authority is. 445 00:17:16,400 --> 00:17:17,120 The authorities are doing, by the way. 446 00:17:17,540 --> 00:17:18,480 That's how they're tracking you. 447 00:17:19,140 --> 00:17:21,240 At least when we helped out, that's what they told us. 448 00:17:22,380 --> 00:17:24,520 So again, the tracking, the social media aspects, 449 00:17:24,960 --> 00:17:28,440 using that as a way of doing it, phone tracking, 450 00:17:28,720 --> 00:17:30,820 searching websites, there's a lot of this. 451 00:17:30,840 --> 00:17:31,760 You can Google this online. 452 00:17:32,580 --> 00:17:35,320 Creating a fake Gmail account, creating the number there, 453 00:17:35,540 --> 00:17:38,640 importing that into social media apps, and let it hunt for you 454 00:17:38,640 --> 00:17:40,420 are good tactics for you to find people. 455 00:17:41,560 --> 00:17:45,080 Now, another fun one was app security and abusing apps. 456 00:17:45,080 --> 00:17:48,620 So some of these apps have auto settings to just share stuff. 457 00:17:49,340 --> 00:17:51,280 Flickr kind of hardened this, but Photobucket's 458 00:17:51,280 --> 00:17:53,720 the one I'm going to pick on, where we wanted to basically 459 00:17:53,720 --> 00:17:56,960 see, well, Photobucket can have a setting where 460 00:17:56,960 --> 00:17:59,360 it will auto-share any photo you take to the cloud 461 00:17:59,360 --> 00:18:01,580 and puts it on a publicly accessible drive. 462 00:18:02,220 --> 00:18:04,860 So we decided to track some people using this tactic. 463 00:18:06,460 --> 00:18:09,680 And we found all sorts of stuff. 464 00:18:10,820 --> 00:18:13,500 First question is, there's these people with these horse masks 465 00:18:13,500 --> 00:18:13,760 on. 466 00:18:14,000 --> 00:18:14,920 Question I had was. 467 00:18:14,960 --> 00:18:15,060 Who's this? 468 00:18:15,080 --> 00:18:15,640 Who's taking the picture? 469 00:18:15,760 --> 00:18:17,300 And is that person also wearing a horse mask? 470 00:18:17,520 --> 00:18:17,920 I don't know. 471 00:18:18,940 --> 00:18:21,460 But of searching all this data, the one interesting one 472 00:18:21,460 --> 00:18:24,100 was we started tracking one guy who was selling copious amounts 473 00:18:24,100 --> 00:18:24,480 of marijuana. 474 00:18:25,460 --> 00:18:29,420 And what we think he was doing was he was tweeting or friending 475 00:18:29,420 --> 00:18:31,300 or texting his friends this data. 476 00:18:31,500 --> 00:18:32,660 But every time he took a picture, 477 00:18:32,780 --> 00:18:34,600 that picture would also go to Photobucket, 478 00:18:34,600 --> 00:18:35,160 and he didn't know it. 479 00:18:35,480 --> 00:18:37,460 So if he was doing like a deposit, a bank deposit, 480 00:18:37,720 --> 00:18:40,200 he would do a deposit, and the bank would do the deposit, 481 00:18:40,260 --> 00:18:41,400 and Photobucket would get a copy. 482 00:18:41,740 --> 00:18:43,940 When he would be like, dude, I just scored some cool cash, 483 00:18:44,220 --> 00:18:44,820 he would take a picture. 484 00:18:44,820 --> 00:18:46,020 He'd take a picture of the cash with himself, 485 00:18:46,380 --> 00:18:47,780 and it would go to Photobucket. 486 00:18:48,720 --> 00:18:50,760 And surprisingly, we just kept watching 487 00:18:50,760 --> 00:18:53,640 this guy post stuff that was crazy until one day we 488 00:18:53,640 --> 00:18:54,400 got the all-in-one. 489 00:18:54,680 --> 00:18:56,640 He was doing his taxes or something, 490 00:18:57,060 --> 00:18:58,920 and then had his taxes with the money. 491 00:18:59,320 --> 00:19:01,160 So this reminds me of the Dave Chappelle episode 492 00:19:01,160 --> 00:19:02,560 where you had R. Kelly. 493 00:19:02,820 --> 00:19:03,620 He's pretending he's R. Kelly. 494 00:19:03,840 --> 00:19:05,620 And he says, all right, I'm going to pee on you, 495 00:19:05,680 --> 00:19:07,360 but you have to show your ID, and the girls have the ID, 496 00:19:07,540 --> 00:19:09,300 and I'll have to make sure you know they're of age. 497 00:19:09,620 --> 00:19:10,560 Exact same thing. 498 00:19:10,640 --> 00:19:13,080 You know who the guy is because there is his social info. 499 00:19:13,280 --> 00:19:14,120 There is the money. 500 00:19:14,120 --> 00:19:15,620 He had a picture before with the drugs. 501 00:19:15,880 --> 00:19:18,240 Literally, the cops can just go here and just download that 502 00:19:18,240 --> 00:19:19,040 and say you're under arrest. 503 00:19:20,160 --> 00:19:21,480 So we thought this was humorous. 504 00:19:21,660 --> 00:19:26,160 Again, we think it's tweeting, and we think it's texting, 505 00:19:26,320 --> 00:19:28,560 but any picture taken, that app 506 00:19:28,560 --> 00:19:29,680 would share that picture online. 507 00:19:30,140 --> 00:19:33,260 So if you want to have some fun, go to the Photobucket. 508 00:19:33,260 --> 00:19:34,360 Look for people's public apps. 509 00:19:34,640 --> 00:19:36,400 A lot of these people don't know what they're sharing. 510 00:19:36,480 --> 00:19:38,480 So any picture they take, it goes online. 511 00:19:38,840 --> 00:19:39,480 A lot of fun. 512 00:19:41,240 --> 00:19:43,840 So to wrap things up here, how do you defend against this stuff? 513 00:19:44,220 --> 00:19:48,160 You know, I talked about hard drives, phones, apps, and cloud. 514 00:19:49,120 --> 00:19:51,340 On the hard drive side, people ask, 515 00:19:51,460 --> 00:19:54,000 should I do three passes, five passes? 516 00:19:54,060 --> 00:19:55,540 How many passes to erase stuff? 517 00:19:56,020 --> 00:19:57,740 The hard drives are so cheap, destroy the hard drive. 518 00:19:57,940 --> 00:19:59,420 There is no reason to sell the hard drive. 519 00:19:59,860 --> 00:20:02,480 Drill into the disk or hammer the disk and break the drive. 520 00:20:02,660 --> 00:20:03,720 There's no reason to do it. 521 00:20:03,800 --> 00:20:05,660 But if you have to, then you want 522 00:20:05,660 --> 00:20:08,360 to do multiple passes to basically to sort of data. 523 00:20:08,880 --> 00:20:10,240 We're going to tell you to destroy the drive. 524 00:20:10,420 --> 00:20:11,480 There's really no reason. 525 00:20:11,560 --> 00:20:12,180 It's not profitable. 526 00:20:12,500 --> 00:20:13,240 Destroy the drive. 527 00:20:15,100 --> 00:20:17,080 Also, if you're like that guy selling 528 00:20:17,080 --> 00:20:19,760 the copious amounts of marijuana, use like tails. 529 00:20:19,960 --> 00:20:20,740 Use a secure butte. 530 00:20:20,780 --> 00:20:22,460 Don't even store the data in the first place. 531 00:20:23,040 --> 00:20:24,320 Don't use your personal phone. 532 00:20:24,480 --> 00:20:25,200 Don't use your laptop. 533 00:20:25,440 --> 00:20:26,280 This is obvious stuff. 534 00:20:26,500 --> 00:20:27,560 And don't use Photo Bucket. 535 00:20:29,980 --> 00:20:32,780 For mobile devices, the usual suspects 536 00:20:32,780 --> 00:20:36,800 for securing the phones, as well as don't use them unless you're 537 00:20:36,800 --> 00:20:37,240 going to use them. 538 00:20:37,340 --> 00:20:39,420 And realize, if you're going to buy a burner phone for $30, 539 00:20:39,540 --> 00:20:41,980 don't actually associate that phone number with anything. 540 00:20:42,260 --> 00:20:42,480 Don't. 541 00:20:42,540 --> 00:20:43,780 Like, a lot of times, people will 542 00:20:43,780 --> 00:20:44,780 come to a conference like this. 543 00:20:44,900 --> 00:20:46,560 And they'll go, I'm going to use a burner phone for that, as well. 544 00:20:46,800 --> 00:20:48,860 And then they do stuff at this conference. 545 00:20:49,060 --> 00:20:51,440 And they sign in to a capture the packet 546 00:20:51,440 --> 00:20:53,560 contest with their name with that phone number. 547 00:20:54,960 --> 00:20:55,880 That's how they're catching you. 548 00:20:56,180 --> 00:20:59,260 So think about how you use this phone, as well. 549 00:20:59,620 --> 00:21:01,200 And think about the apps that are on there. 550 00:21:01,360 --> 00:21:03,480 And if you're going to have to sell it, hi. 551 00:21:04,680 --> 00:21:05,820 I know, it's a five-minute warning. 552 00:21:06,080 --> 00:21:10,180 But those are basically some of the phone things you can do. 553 00:21:10,580 --> 00:21:11,860 And then lastly, social media. 554 00:21:11,980 --> 00:21:13,100 Now, this is a personal thing I do. 555 00:21:13,880 --> 00:21:16,420 Around Thanksgiving, Christmas time, I'll go to my niece 556 00:21:16,420 --> 00:21:16,980 and nephews. 557 00:21:17,100 --> 00:21:19,180 And I'll say, hey, guys, let me check your phone 558 00:21:19,180 --> 00:21:19,940 and make sure it's secure. 559 00:21:20,200 --> 00:21:20,860 They'll be like, no. 560 00:21:21,120 --> 00:21:24,080 I'll be like, well, did you know that if you share pictures 561 00:21:24,080 --> 00:21:26,600 and you have certain things set, your mom and dad and everybody 562 00:21:26,600 --> 00:21:27,260 will see those pictures? 563 00:21:27,760 --> 00:21:28,460 And they're like, really? 564 00:21:28,580 --> 00:21:29,280 Can I see the phone? 565 00:21:29,900 --> 00:21:30,420 Do that. 566 00:21:31,820 --> 00:21:33,780 The people that you're with, the people you associated, 567 00:21:34,080 --> 00:21:35,300 can be linked to you, as well. 568 00:21:35,580 --> 00:21:37,440 If somebody is searching you, like that one guy, 569 00:21:37,520 --> 00:21:39,720 that douche bag guy, if I can't find who he is, 570 00:21:39,820 --> 00:21:41,180 I'm going to go through all of his contacts 571 00:21:41,180 --> 00:21:42,460 and do the exact same analyst. 572 00:21:42,460 --> 00:21:44,140 So you would think that if I'm going 573 00:21:44,140 --> 00:21:46,380 to do an analysis on your friends and family, 574 00:21:46,740 --> 00:21:48,120 you should also secure them, as well. 575 00:21:48,340 --> 00:21:49,060 So do that. 576 00:21:49,760 --> 00:21:51,860 Don't use untrusted devices. 577 00:21:52,300 --> 00:21:55,340 I go to airports and hotels, and I see people log into that. 578 00:21:55,540 --> 00:21:58,820 I'm like, you realize some hotel guy set up that computer. 579 00:21:59,040 --> 00:22:00,220 You really trust that person? 580 00:22:00,400 --> 00:22:01,460 OK, have fun. 581 00:22:01,780 --> 00:22:04,580 So use trusted devices and segment your contacts. 582 00:22:04,940 --> 00:22:06,380 One of the problems we have is when 583 00:22:06,380 --> 00:22:09,620 people segment their contacts, I can't hit your associations. 584 00:22:09,640 --> 00:22:11,720 Because you have your private contacts and your friends. 585 00:22:11,720 --> 00:22:13,220 But most people don't do that. 586 00:22:13,640 --> 00:22:15,020 You do network segmentation. 587 00:22:15,060 --> 00:22:16,640 Why don't you do contact segmentation? 588 00:22:16,740 --> 00:22:19,100 You do that, then the people that you're associated, 589 00:22:19,380 --> 00:22:21,180 like your actual close friends and family, 590 00:22:21,360 --> 00:22:23,040 won't see the same posts and all that, 591 00:22:23,140 --> 00:22:24,240 so an outsider can't get in. 592 00:22:24,820 --> 00:22:26,060 So think about that, as well. 593 00:22:27,780 --> 00:22:29,680 So the wrap up, what I have here, basically, 594 00:22:29,720 --> 00:22:31,860 is the problem is this. 595 00:22:31,960 --> 00:22:33,420 When you hit Delete, there's a time. 596 00:22:33,540 --> 00:22:35,380 Regardless of who you are, how secure you are, 597 00:22:35,540 --> 00:22:36,740 there's a time from when you hit Delete 598 00:22:36,740 --> 00:22:38,360 to when that data is actually deleted. 599 00:22:39,100 --> 00:22:41,340 And you should be more mindful of it, because there's 600 00:22:41,340 --> 00:22:43,500 a lot of tools out there that make it really easy for people 601 00:22:43,500 --> 00:22:46,820 to get it, as well as tactics to basically search and find 602 00:22:46,820 --> 00:22:47,100 your data. 603 00:22:47,260 --> 00:22:48,380 So think about the footprint you have. 604 00:22:48,780 --> 00:22:50,400 Think about how you should secure that footprint. 605 00:22:51,040 --> 00:22:54,080 And then lastly, do the same thing for your friends 606 00:22:54,080 --> 00:22:55,080 and family, as well as yourself. 607 00:22:56,400 --> 00:22:58,020 Due to the nature of time, that's what I have. 608 00:22:58,220 --> 00:22:59,800 Any quick questions? 609 00:22:59,840 --> 00:23:02,460 If not, I'll be around here to talk to me about. 610 00:23:03,500 --> 00:23:04,260 Questions, quickly? 611 00:23:04,780 --> 00:23:05,440 Yeah, what's up? 612 00:23:06,180 --> 00:23:07,760 What about SSDs? 613 00:23:07,760 --> 00:23:09,060 Because they always destroy. 614 00:23:09,900 --> 00:23:10,820 What about SSD? 615 00:23:11,340 --> 00:23:11,420 Yeah. 616 00:23:11,540 --> 00:23:12,300 Like an SSD drive? 617 00:23:12,600 --> 00:23:12,640 Yeah. 618 00:23:12,860 --> 00:23:13,360 What do you mean? 619 00:23:13,400 --> 00:23:15,060 What about, can we do forensically look up an SSD? 620 00:23:15,160 --> 00:23:15,520 Absolutely. 621 00:23:15,560 --> 00:23:16,780 Or how do you destroy it? 622 00:23:16,980 --> 00:23:19,220 Because it's always a good idea just because they're 623 00:23:19,220 --> 00:23:21,240 much more reliable than the traditional hard drives. 624 00:23:21,880 --> 00:23:24,180 So do you still recommend physically destroying an SSD? 625 00:23:24,880 --> 00:23:26,800 So the question is, do we still recommend physically 626 00:23:26,800 --> 00:23:27,660 destroying an SSD? 627 00:23:27,840 --> 00:23:30,060 Or if not, in the end, we're going 628 00:23:30,060 --> 00:23:31,140 to recommend destroy a hard drive, 629 00:23:31,260 --> 00:23:31,920 because that's the absolute. 630 00:23:32,140 --> 00:23:34,440 But if not, the multiple wipe stuff is OK. 631 00:23:34,740 --> 00:23:36,520 Hitting Delete is just saying it's still open. 632 00:23:36,700 --> 00:23:38,600 You have to actually run a program that 633 00:23:38,600 --> 00:23:39,680 replaces a 1 and 0. 634 00:23:39,800 --> 00:23:40,960 So we're always going to recommend that. 635 00:23:41,340 --> 00:23:43,280 And run multiple paths of that, if you have to. 636 00:23:43,420 --> 00:23:45,120 But hard drive, we're always going to say destroy. 637 00:23:46,420 --> 00:23:47,040 Other questions? 638 00:23:48,100 --> 00:23:48,480 What's up? 639 00:23:49,040 --> 00:23:50,700 You mentioned using biometrics. 640 00:23:50,860 --> 00:23:52,380 Can't you be compelled by law and court 641 00:23:52,380 --> 00:23:54,460 to surrender a fingerprint but not your fingerprint? 642 00:23:54,760 --> 00:23:55,880 Question about biometrics. 643 00:23:55,940 --> 00:23:56,760 Yes, and that's true. 644 00:23:56,920 --> 00:23:58,320 So the question is, if you use biometrics, 645 00:23:58,780 --> 00:24:00,720 can they be compelled to use your finger for that? 646 00:24:00,820 --> 00:24:02,380 I hear yes, they'll handcuff you and they'll do your phone. 647 00:24:02,780 --> 00:24:04,000 That's why you use your weird finger. 648 00:24:04,340 --> 00:24:05,880 Because after two or three, it locks out. 649 00:24:06,120 --> 00:24:07,220 So they're going to try your thumb. 650 00:24:07,280 --> 00:24:08,080 They're going to try your other thumb. 651 00:24:08,280 --> 00:24:10,840 So do you like this finger or middle finger or something? 652 00:24:11,380 --> 00:24:14,060 By that point, you purposely hit it and you get unlocked. 653 00:24:15,040 --> 00:24:16,200 Amir actually went through that. 654 00:24:16,400 --> 00:24:17,920 And that was the tactic to get them. 655 00:24:18,020 --> 00:24:18,740 And we're like, screw you. 656 00:24:18,900 --> 00:24:20,080 So yeah, don't use your thumb. 657 00:24:20,320 --> 00:24:20,940 Yeah, next one. 658 00:24:22,460 --> 00:24:23,180 Yeah, you. 659 00:24:23,380 --> 00:24:24,100 Raise your hand high. 660 00:24:24,660 --> 00:24:27,360 How much of the software used to get checked 661 00:24:27,360 --> 00:24:29,420 to get upload photos to Photobucket? 662 00:24:30,780 --> 00:24:33,240 So the question I hear you is, how many of these apps 663 00:24:33,240 --> 00:24:34,420 do we find that autoload? 664 00:24:35,400 --> 00:24:37,360 So Flickr was doing it, but they fixed it. 665 00:24:37,500 --> 00:24:39,180 I think Amir actually was the one that talked to them about it. 666 00:24:40,280 --> 00:24:40,920 Photobucket was it. 667 00:24:40,920 --> 00:24:41,880 But we found about three or four. 668 00:24:42,380 --> 00:24:44,540 I'm being recorded, so if I say the wrong one, 669 00:24:44,620 --> 00:24:45,140 they're going to get mad at me. 670 00:24:45,500 --> 00:24:47,100 But there's ones out there. 671 00:24:47,320 --> 00:24:49,720 Do they keep the Exif data and the metadata on the photos 672 00:24:49,720 --> 00:24:50,760 like that long ? 673 00:24:51,240 --> 00:24:52,300 Is the metadata there? 674 00:24:52,600 --> 00:24:52,860 Yeah. 675 00:24:53,780 --> 00:24:54,480 Yes, it is. 676 00:24:54,760 --> 00:24:56,200 You're like, yeah, it's there. 677 00:24:56,680 --> 00:24:57,320 Other questions? 678 00:24:59,260 --> 00:24:59,740 What's up? 679 00:25:00,260 --> 00:25:03,680 So does the same thing apply to when you save stuff 680 00:25:03,680 --> 00:25:04,360 to the cloud? 681 00:25:04,760 --> 00:25:07,640 If you delete from the cloud, do you still find it? 682 00:25:08,740 --> 00:25:10,620 So it depends on what we're talking 683 00:25:10,620 --> 00:25:10,760 about. 684 00:25:10,940 --> 00:25:12,480 So the question is, if you delete from the cloud, 685 00:25:12,580 --> 00:25:13,320 can you still find it? 686 00:25:13,400 --> 00:25:14,760 A cloud is somebody else's computer. 687 00:25:15,160 --> 00:25:17,280 So I mean, that's what a cloud is. 688 00:25:17,440 --> 00:25:19,300 It depends on what cloud service we're talking about. 689 00:25:19,560 --> 00:25:21,580 And again, I don't want to throw a cloud name out there 690 00:25:21,580 --> 00:25:22,200 because that could be an issue. 691 00:25:22,380 --> 00:25:24,100 But if data is being deleted, unless it's 692 00:25:24,100 --> 00:25:25,980 being replaced by something else, the data is still there. 693 00:25:26,240 --> 00:25:27,340 That's Cloud 101. 694 00:25:27,600 --> 00:25:31,360 But I will say that the Pokemon app and some of that research, 695 00:25:31,620 --> 00:25:34,060 that was asking for your Gmail Drive account information. 696 00:25:34,340 --> 00:25:36,220 So technically speaking, the Pokemon app 697 00:25:36,220 --> 00:25:38,000 had access to your entire Gmail Drive. 698 00:25:38,280 --> 00:25:40,160 So if you're deleting stuff and all that through that app, 699 00:25:40,160 --> 00:25:40,760 you can hit it. 700 00:25:40,820 --> 00:25:42,780 So if some app has access to your Cloud Drive, 701 00:25:43,020 --> 00:25:45,020 like the Pokemon app, I can write something 702 00:25:45,020 --> 00:25:47,100 to use that app to get access to your Drive and get data. 703 00:25:47,200 --> 00:25:48,940 So actually, that's the answer. 704 00:25:49,060 --> 00:25:49,240 Yeah? 705 00:25:49,680 --> 00:25:52,180 So you mentioned Pokemon, my god. 706 00:25:52,280 --> 00:25:54,480 I was of that age and all over it. 707 00:25:55,180 --> 00:25:56,300 So it's not you. 708 00:25:56,500 --> 00:25:57,240 You sure it's not you? 709 00:25:57,600 --> 00:25:58,740 You're not Pokemon-ing around? 710 00:25:59,100 --> 00:26:00,160 I'm kidding. 711 00:26:00,360 --> 00:26:01,520 But the movie's Twitter. 712 00:26:01,520 --> 00:26:01,800 Yeah. 713 00:26:01,800 --> 00:26:02,000 Yeah. 714 00:26:03,200 --> 00:26:08,060 Oh, at one point, her phone got somehow Googled backup 715 00:26:09,200 --> 00:26:10,140 and lost it. 716 00:26:10,160 --> 00:26:10,400 It missed everything. 717 00:26:10,780 --> 00:26:11,140 OK. 718 00:26:11,440 --> 00:26:14,780 Fortunately, she had just the SD card 719 00:26:14,780 --> 00:26:15,960 and put it in there, right? 720 00:26:16,240 --> 00:26:16,660 OK. 721 00:26:16,860 --> 00:26:22,940 We just threw on like Lion's Forensic app, right? 722 00:26:23,080 --> 00:26:23,420 OK. 723 00:26:24,680 --> 00:26:25,580 You found stuff? 724 00:26:25,720 --> 00:26:28,180 When I came back, it had everything. 725 00:26:28,540 --> 00:26:30,820 It not only had the shapes you meant to say. 726 00:26:30,860 --> 00:26:31,260 Right. 727 00:26:31,880 --> 00:26:36,140 So the comment is, everything from the Pokemon app 728 00:26:36,140 --> 00:26:37,360 that his daughter had had the history stuff. 729 00:26:37,620 --> 00:26:38,460 They fixed some of that. 730 00:26:38,620 --> 00:26:39,560 But I don't know what version you had. 731 00:26:39,640 --> 00:26:39,860 But yeah. 732 00:26:40,160 --> 00:26:41,040 It's levelware. 733 00:26:41,380 --> 00:26:49,080 And the last technology requires not overwrite, but rewrite, 734 00:26:49,380 --> 00:26:55,100 so that over time, put all the unrewritten things are all 735 00:26:55,100 --> 00:26:55,640 still there. 736 00:26:55,760 --> 00:26:55,980 Yep. 737 00:26:56,080 --> 00:27:00,440 It has data before you clean it up, 738 00:27:00,460 --> 00:27:01,800 or we can leave it here and we'll see. 739 00:27:01,960 --> 00:27:02,180 Yeah. 740 00:27:02,280 --> 00:27:03,280 It was really bad at the beginning. 741 00:27:03,360 --> 00:27:04,300 I'm not sure what else they fixed. 742 00:27:04,480 --> 00:27:05,000 Oh, is that it? 743 00:27:05,100 --> 00:27:05,620 We done? 744 00:27:06,040 --> 00:27:06,740 I think we're done. 745 00:27:06,880 --> 00:27:08,200 So if you have other questions, come see me. 746 00:27:08,580 --> 00:27:09,420 I got one book. 747 00:27:09,420 --> 00:27:10,360 I don't know how to get rid of it. 748 00:27:10,480 --> 00:27:10,980 Just throw it. 749 00:27:11,100 --> 00:27:17,920 One, two, three, four, five. 750 00:27:18,620 --> 00:27:19,300 All right. 751 00:27:20,080 --> 00:27:20,820 Thanks, guys. 752 00:27:20,840 --> 00:27:21,340 Appreciate it. 753 00:27:27,060 --> 00:27:27,540 OK. 754 00:27:28,000 --> 00:27:31,200 So we're on schedule. 755 00:27:31,500 --> 00:27:33,680 Despite spending half an hour moving, 756 00:27:34,000 --> 00:27:35,920 we are on schedule with speaker workshops. 757 00:27:36,760 --> 00:27:39,380 So our next speaker, I think you've 758 00:27:39,420 --> 00:27:40,280 done this every year. 759 00:27:40,460 --> 00:27:42,780 I think you've been a speaker at the speaker workshop 760 00:27:42,780 --> 00:27:48,900 for many, many years, for the last, what, three years in a row? 761 00:27:49,320 --> 00:27:52,520 And one thing that I know about Mike 762 00:27:52,520 --> 00:27:55,100 is that he gives fantastic hands-on and very 763 00:27:55,100 --> 00:27:56,280 tangible presentations. 764 00:27:58,600 --> 00:28:03,280 So Mike, you used to be, we know you used to be at MobileIron, 765 00:28:03,320 --> 00:28:06,320 and now you are a senior researcher at? 766 00:28:07,020 --> 00:28:07,460 ZeroFox. 767 00:28:07,580 --> 00:28:08,320 At ZeroFox. 768 00:28:08,440 --> 00:28:08,620 OK. 769 00:28:08,620 --> 00:28:13,260 So without much ado, so give it up for Mike Rago. 770 00:28:15,760 --> 00:28:16,660 Thanks, everybody. 771 00:28:16,900 --> 00:28:17,940 You guys hear me OK? 772 00:28:18,240 --> 00:28:18,760 Good? 773 00:28:19,020 --> 00:28:19,540 Yeah? 774 00:28:19,680 --> 00:28:20,120 OK. 775 00:28:20,760 --> 00:28:22,340 So my name's Mike Rago. 776 00:28:22,460 --> 00:28:24,320 I do work at ZeroFox. 777 00:28:24,420 --> 00:28:27,720 And coincidentally, a couple of our other team members 778 00:28:27,720 --> 00:28:29,400 are actually presenting downstairs 779 00:28:29,400 --> 00:28:33,040 at the DEF CON conference on weaponizing social media. 780 00:28:33,920 --> 00:28:36,280 So we're all presenting at the same time here. 781 00:28:36,800 --> 00:28:38,520 My presentation is going to focus 782 00:28:38,620 --> 00:28:41,120 on attacks on enterprise social media. 783 00:28:41,460 --> 00:28:45,840 We found that as we work more and more with organizations 784 00:28:46,600 --> 00:28:49,020 and take a look at the threat landscape, 785 00:28:49,280 --> 00:28:52,400 that it's quite a big blind spot for a lot of organizations. 786 00:28:52,860 --> 00:28:57,000 So my goal here is to hopefully shed some more light on that, 787 00:28:57,160 --> 00:29:00,800 define a possible methodology that you can encompass 788 00:29:00,800 --> 00:29:05,400 in your organization using kind of a Dan Farmer type of approach. 789 00:29:05,960 --> 00:29:08,600 Any old school people here who know who Dan Farmer is? 790 00:29:08,620 --> 00:29:09,960 All right. 791 00:29:10,040 --> 00:29:10,360 Cool. 792 00:29:10,880 --> 00:29:15,820 So I won't quote Dan, but essentially the methodology he came up with, 793 00:29:15,940 --> 00:29:20,100 I would say around 94 or 95, was to really take an approach 794 00:29:20,100 --> 00:29:24,260 of hacking your network to get a better understand on how to fortify it. 795 00:29:24,420 --> 00:29:26,320 And so I'm going to take the same strategy here 796 00:29:26,320 --> 00:29:28,360 in the context of social media. 797 00:29:30,880 --> 00:29:33,820 So we'll cover the social media threat landscape, 798 00:29:34,020 --> 00:29:37,900 help classify certain categorizations, build out a taxonomy. 799 00:29:38,040 --> 00:29:38,600 OK. 800 00:29:38,620 --> 00:29:42,400 We'll go through an anatomy of a social media attack 801 00:29:42,400 --> 00:29:44,340 on a corporate enterprise network, 802 00:29:44,660 --> 00:29:47,180 and kind of take a look at a lot of the mechanisms 803 00:29:47,180 --> 00:29:50,220 that could be used to penetrate a corporate network 804 00:29:50,220 --> 00:29:51,760 actually using social media. 805 00:29:52,620 --> 00:29:57,920 Furthermore, we'll get into reviewing the old school methodology 806 00:29:58,420 --> 00:30:02,500 of reconnaissance and attack, encompassing footprinting, 807 00:30:02,520 --> 00:30:05,560 monitoring profile, impersonations, attacks, 808 00:30:05,800 --> 00:30:07,800 things in the context of social media 809 00:30:07,800 --> 00:30:09,640 that you're probably all familiar with 810 00:30:09,640 --> 00:30:11,500 in terms of doing network pen testing. 811 00:30:12,980 --> 00:30:15,400 And then I'll cover some of the other topical things 812 00:30:15,400 --> 00:30:16,540 we're seeing as of late, 813 00:30:16,700 --> 00:30:19,640 and then wrap up with a number of countermeasures for you. 814 00:30:22,340 --> 00:30:24,760 Just real briefly, my background, 815 00:30:24,980 --> 00:30:27,500 I got into security around the mid-90s. 816 00:30:27,520 --> 00:30:29,620 I was working at the NASDAQ stock market, 817 00:30:29,800 --> 00:30:31,880 downloaded Dan Farmer's Satan tool, 818 00:30:32,180 --> 00:30:33,660 ran it on the trading floor, 819 00:30:33,860 --> 00:30:35,980 and accidentally took down the stock market. 820 00:30:36,620 --> 00:30:38,540 So I thought I was going to be fired, 821 00:30:38,620 --> 00:30:42,160 got a promotion out of it to help run the security group 822 00:30:42,160 --> 00:30:44,020 and better fortify the NASDAQ network, 823 00:30:44,260 --> 00:30:46,160 and so I've been in security ever since. 824 00:30:47,080 --> 00:30:50,020 My background is I do speak at a lot of shows. 825 00:30:50,620 --> 00:30:53,520 Shouts out to HackCon this year in Oslo, Norway. 826 00:30:54,040 --> 00:30:55,120 Great conference. 827 00:30:55,240 --> 00:30:57,120 All the money gets donated to charity. 828 00:30:57,300 --> 00:30:57,980 Great cause. 829 00:30:59,500 --> 00:31:02,320 My background encompasses a number of different things. 830 00:31:02,920 --> 00:31:05,960 Previously, I was doing a lot of mobile and smartphone, 831 00:31:05,960 --> 00:31:07,620 smartwatch, ethical hacking, 832 00:31:07,860 --> 00:31:10,920 and last year did a demo lab downstairs 833 00:31:10,920 --> 00:31:13,980 on how to hack into the Samsung smartwatch. 834 00:31:15,140 --> 00:31:17,440 And for a long time been doing a lot of research 835 00:31:17,440 --> 00:31:19,040 with my good friend Chet Hosmer 836 00:31:19,040 --> 00:31:22,260 around steganography, covert communications, and data hiding, 837 00:31:22,400 --> 00:31:24,660 and we authored a book on data hiding. 838 00:31:24,900 --> 00:31:27,000 Tomorrow morning we'll be doing a presentation 839 00:31:27,000 --> 00:31:29,220 in SkyTalks at 9 a.m. 840 00:31:29,220 --> 00:31:32,780 on what's lurking in an MP3 that can hurt you. 841 00:31:32,920 --> 00:31:35,380 So we're going to break down the new ID3 headers 842 00:31:35,380 --> 00:31:37,780 that are in the latest MP3 standard, 843 00:31:38,060 --> 00:31:40,840 get into a lot of the ones that are even undocumented, 844 00:31:41,400 --> 00:31:43,080 and how you can exploit that, 845 00:31:43,220 --> 00:31:44,360 how you can hide data, 846 00:31:44,540 --> 00:31:46,660 how you can hide malicious URLs, 847 00:31:47,000 --> 00:31:48,000 command and control information, 848 00:31:48,440 --> 00:31:51,140 and even use some steganographic approaches 849 00:31:51,140 --> 00:31:54,380 to album covers that you embed within the MP3s. 850 00:31:54,460 --> 00:31:56,560 So check that out if that's something that you're into. 851 00:31:58,600 --> 00:31:59,080 Oh. 852 00:32:00,320 --> 00:32:02,160 And they wanted me to mention that 853 00:32:02,160 --> 00:32:04,800 the mobile data loss book that just came out 854 00:32:04,800 --> 00:32:07,420 will be doing a book signing downstairs at 3.30. 855 00:32:07,720 --> 00:32:09,340 All right, so let's get into the content. 856 00:32:12,300 --> 00:32:14,360 So we're all familiar with social media. 857 00:32:14,560 --> 00:32:17,160 We all understand the privacy concerns around it 858 00:32:17,160 --> 00:32:18,620 and how that's kind of blurred, 859 00:32:19,300 --> 00:32:22,140 really, you know, how we operate in our personal lives 860 00:32:22,140 --> 00:32:24,820 and what that overlap may or may not be 861 00:32:24,820 --> 00:32:26,820 in the context of an organization 862 00:32:26,820 --> 00:32:28,280 you may actually work for. 863 00:32:28,640 --> 00:32:31,500 But what that introduces is a whole new threat landscape, 864 00:32:31,700 --> 00:32:33,760 a threat landscape that's enumerated. 865 00:32:33,760 --> 00:32:36,360 A lot of different new methods of attack 866 00:32:36,360 --> 00:32:39,340 that can be exploited leveraging social media. 867 00:32:40,580 --> 00:32:42,620 So if we take a look at a lot of the attacks 868 00:32:42,620 --> 00:32:45,680 that are going on beyond a number of executives 869 00:32:45,680 --> 00:32:47,620 at a lot of high-end corporations 870 00:32:47,620 --> 00:32:49,940 that have had their Twitter accounts 871 00:32:49,940 --> 00:32:52,420 and other accounts hacked over the last few months, 872 00:32:52,620 --> 00:32:55,880 we see a lot of organizations being targeted 873 00:32:55,880 --> 00:32:57,620 using a number of different methods. 874 00:32:57,820 --> 00:33:00,120 And in terms of profiling those organizations, 875 00:33:00,520 --> 00:33:02,640 they not only look at the company 876 00:33:02,640 --> 00:33:05,320 and the company name and accounts that they own, 877 00:33:05,440 --> 00:33:08,580 but sub-brands, subsidiaries, dormant accounts, 878 00:33:08,780 --> 00:33:11,040 and a lot of other things that really make up 879 00:33:11,040 --> 00:33:13,580 your corporate social media footprint. 880 00:33:15,180 --> 00:33:18,520 Furthermore, beyond a lot of the things we see 881 00:33:18,520 --> 00:33:21,620 in mapping out a lot of those social media accounts 882 00:33:21,620 --> 00:33:22,940 related to an organization, 883 00:33:23,180 --> 00:33:26,500 with executives and even employees being an extension of that, 884 00:33:26,700 --> 00:33:31,220 we furthermore see a variety of impersonation attacks 885 00:33:31,220 --> 00:33:33,800 whereby they leverage the picture, 886 00:33:33,920 --> 00:33:34,880 they leverage the bio, 887 00:33:35,080 --> 00:33:36,680 they leverage a number of different things 888 00:33:36,680 --> 00:33:38,760 to make it look like a legitimate account. 889 00:33:39,220 --> 00:33:42,640 And we'll talk about building a level of trust 890 00:33:42,640 --> 00:33:44,600 and how an attacker leveraged that 891 00:33:44,600 --> 00:33:47,060 to further perform some of the attacks 892 00:33:47,060 --> 00:33:49,540 we'll get into later on in the presentation. 893 00:33:52,000 --> 00:33:54,500 But we've got the normal corporates, right? 894 00:33:55,000 --> 00:33:58,580 Want to perform scans, execute cyber attacks, 895 00:33:58,920 --> 00:34:00,720 even in many cases stage violence. 896 00:34:01,220 --> 00:34:04,380 There's a lot of analysis going on today 897 00:34:04,380 --> 00:34:06,720 from a number of organizations around the Olympics 898 00:34:06,720 --> 00:34:08,320 and the potential for violence. 899 00:34:10,860 --> 00:34:12,380 As a baseline here, 900 00:34:12,960 --> 00:34:14,540 if we take a look at the anatomy 901 00:34:15,040 --> 00:34:18,400 of a social media malicious link attack, 902 00:34:18,800 --> 00:34:21,500 there's a number of steps that can lead up to this. 903 00:34:21,640 --> 00:34:23,680 And we'll compare and contrast this to like 904 00:34:23,680 --> 00:34:26,420 old school methodologies of network pen testing, 905 00:34:26,540 --> 00:34:29,920 and as I mentioned, then correlate that to social media. 906 00:34:31,220 --> 00:34:34,560 But when an individual seeks to go ahead 907 00:34:34,560 --> 00:34:36,380 and create an impersonation account, 908 00:34:36,840 --> 00:34:38,480 there are a lot of different tactics. 909 00:34:38,740 --> 00:34:41,960 Maybe the end goal is to connect with a variety 910 00:34:41,960 --> 00:34:44,200 of employees, executives, 911 00:34:44,520 --> 00:34:45,640 other people in the organization, 912 00:34:46,020 --> 00:34:48,360 maybe even contractors or business partners 913 00:34:48,360 --> 00:34:51,280 to provide some type of malicious link 914 00:34:51,280 --> 00:34:54,200 that leads to malware or some type of exploit. 915 00:34:54,400 --> 00:34:55,920 We'll go through some examples of that 916 00:34:55,920 --> 00:34:57,300 as well as phishing. 917 00:34:58,620 --> 00:35:00,260 And then in addition to that, 918 00:35:00,260 --> 00:35:03,140 leverage that capability of connecting 919 00:35:03,140 --> 00:35:04,540 with a variety of individuals, 920 00:35:05,280 --> 00:35:07,360 getting people to follow that individual, 921 00:35:07,660 --> 00:35:10,120 and then leveraging that to execute 922 00:35:10,120 --> 00:35:11,940 some kind of beachhead into the network. 923 00:35:15,440 --> 00:35:18,440 So I think we're all intimately familiar with this, right? 924 00:35:18,640 --> 00:35:19,920 When we go through a process 925 00:35:19,920 --> 00:35:22,400 from a traditional network pen testing perspective 926 00:35:22,400 --> 00:35:24,000 of footprinting the network, 927 00:35:24,240 --> 00:35:27,380 doing scanning, port scans, ping sweeps, 928 00:35:27,520 --> 00:35:29,700 using NMAP, a variety of other tools, 929 00:35:31,160 --> 00:35:34,260 and then furthermore getting into enumerating 930 00:35:34,880 --> 00:35:36,520 more and more about the network. 931 00:35:37,220 --> 00:35:38,780 And as you start to think about this 932 00:35:38,780 --> 00:35:40,180 in the context of social media, 933 00:35:40,460 --> 00:35:43,480 what are those things that map directly to this 934 00:35:43,480 --> 00:35:46,040 and what are things that are clearly very, very different? 935 00:35:46,640 --> 00:35:49,000 But a key differentiation here is 936 00:35:49,000 --> 00:35:51,160 when we take a look at our perimeter 937 00:35:51,160 --> 00:35:52,960 and endpoint security today, 938 00:35:53,880 --> 00:35:56,900 fairly early in the cycle can we identify 939 00:35:56,900 --> 00:35:59,640 the emerging attack or indicators 940 00:35:59,640 --> 00:36:00,640 of attack. 941 00:36:01,080 --> 00:36:02,760 And so as a result, 942 00:36:02,900 --> 00:36:05,700 we've got different mechanisms to identify those threats. 943 00:36:06,390 --> 00:36:08,940 But if we take a look at it in a social media context, 944 00:36:09,260 --> 00:36:11,960 we take a look at all the steps leading up to reconnaissance 945 00:36:11,960 --> 00:36:14,580 and how people can now go out there 946 00:36:14,580 --> 00:36:19,340 and footprint, monitor, and profile individuals in social, 947 00:36:19,620 --> 00:36:22,760 it's obvious that this is occurring outside of your network. 948 00:36:22,920 --> 00:36:24,780 So you don't get those early warning signs 949 00:36:24,780 --> 00:36:26,720 when a lot of this activity is happening. 950 00:36:27,040 --> 00:36:28,300 And as a result, 951 00:36:29,640 --> 00:36:31,440 when that malware, when that malicious link, 952 00:36:31,540 --> 00:36:34,260 when that phishing link hits one of those individuals 953 00:36:34,260 --> 00:36:36,700 may be at the point where you detect it 954 00:36:36,700 --> 00:36:37,660 or it may not. 955 00:36:38,060 --> 00:36:39,260 And furthermore, 956 00:36:39,280 --> 00:36:42,220 if they're sending it via a direct message 957 00:36:42,220 --> 00:36:43,160 or something else, 958 00:36:43,360 --> 00:36:45,420 none of that has touched your enterprise network 959 00:36:45,420 --> 00:36:46,960 if they're not sitting on the network. 960 00:36:47,180 --> 00:36:48,920 And most likely they're more off the network 961 00:36:48,920 --> 00:36:50,120 than they are on the network. 962 00:36:52,680 --> 00:36:55,780 So it's all about building a level of trust. 963 00:36:55,960 --> 00:36:58,340 So when the attacker goes ahead and profiles 964 00:36:58,340 --> 00:37:01,680 and leverages a lot of the hashtags 965 00:37:01,680 --> 00:37:03,960 and the other things we'll outline on the next slide, 966 00:37:04,140 --> 00:37:07,780 allows them to go ahead and engage with all the people 967 00:37:07,780 --> 00:37:09,900 that they're looking to obtain as followers 968 00:37:09,900 --> 00:37:13,720 or have connections with across all the social network platforms, 969 00:37:13,900 --> 00:37:16,200 whether it be Facebook, Twitter, LinkedIn, 970 00:37:16,520 --> 00:37:19,260 Instagram, Pinterest, so on and so forth. 971 00:37:21,100 --> 00:37:24,360 So applying this methodology in a social media context, 972 00:37:24,620 --> 00:37:27,320 if we take a look at all the different social media networks, 973 00:37:27,320 --> 00:37:29,000 we have some examples here 974 00:37:29,000 --> 00:37:31,720 between LinkedIn, Twitter, Facebook, and Google+. 975 00:37:32,320 --> 00:37:35,040 There's certainly a lot of stuff you can publicly enumerate 976 00:37:35,040 --> 00:37:36,100 across these accounts. 977 00:37:36,640 --> 00:37:39,920 On LinkedIn, obviously a little bit more of a professional platform, 978 00:37:40,180 --> 00:37:42,180 and so you can really get a good map 979 00:37:42,180 --> 00:37:44,140 of all the employees that work for the organization, 980 00:37:44,500 --> 00:37:47,100 where they're located, titles, 981 00:37:48,080 --> 00:37:50,240 and additional connections that they have. 982 00:37:50,420 --> 00:37:51,920 And so as you start to footprint this, 983 00:37:52,080 --> 00:37:53,940 you can very quickly map out 984 00:37:53,940 --> 00:37:56,660 a whole plethora of people that work for the company. 985 00:37:57,980 --> 00:38:01,320 Cross-correlating that then to, say, for example, Twitter, 986 00:38:02,560 --> 00:38:05,580 across Twitter, people will have bios, they'll have links, 987 00:38:05,720 --> 00:38:07,520 they'll have information around their hobbies, 988 00:38:07,740 --> 00:38:09,300 similar thing on Facebook. 989 00:38:09,580 --> 00:38:11,940 And so as you start to profile these individuals, 990 00:38:12,740 --> 00:38:14,940 there's really, of course, a plethora of information 991 00:38:14,940 --> 00:38:16,040 that you can compile. 992 00:38:16,840 --> 00:38:18,600 And then lastly, on Google+, 993 00:38:18,600 --> 00:38:21,620 you may be able to get some additional information 994 00:38:21,620 --> 00:38:24,480 that you aren't able to get across some of the other platforms. 995 00:38:25,560 --> 00:38:27,120 So compiling all of this, 996 00:38:27,320 --> 00:38:30,500 allows you to build this massive reconnaissance-level 997 00:38:30,500 --> 00:38:33,680 type of footprint that you can use in the next steps. 998 00:38:34,980 --> 00:38:38,600 As you start to get into monitoring and profiling, 999 00:38:38,820 --> 00:38:41,900 as these individuals are identified within the organization, 1000 00:38:42,220 --> 00:38:44,260 or the company, or the company brand 1001 00:38:44,260 --> 00:38:46,660 that's being managed by the marketing people, 1002 00:38:47,060 --> 00:38:51,120 you can actually start to get a commonality 1003 00:38:51,120 --> 00:38:53,480 in terms of hashtags that they like to use, 1004 00:38:53,720 --> 00:38:56,840 keywords, people who used to be employees 1005 00:38:56,840 --> 00:38:58,440 of the company that still follow, 1006 00:38:58,620 --> 00:39:01,180 and leverage that to, again, 1007 00:39:01,260 --> 00:39:04,440 continue to just create this massive database of information. 1008 00:39:04,880 --> 00:39:07,900 And that's exactly what we do in terms of trying to determine 1009 00:39:07,900 --> 00:39:10,260 when there might be a bad actor emerging. 1010 00:39:13,660 --> 00:39:16,580 Furthermore, as they further engage with folks, 1011 00:39:16,800 --> 00:39:18,720 they may leverage app mentions, 1012 00:39:18,840 --> 00:39:21,400 and using hashtags and other keywords 1013 00:39:21,400 --> 00:39:22,560 that they're familiar with. 1014 00:39:22,700 --> 00:39:25,800 And again, very easily getting executives and other folks 1015 00:39:25,800 --> 00:39:27,760 to follow or connect with them. 1016 00:39:32,160 --> 00:39:35,160 So as we take a look here at sort of this bull's-eye, right, 1017 00:39:35,640 --> 00:39:37,480 we're kind of drilling deeper and deeper 1018 00:39:38,560 --> 00:39:40,600 into all of these levels of analysis. 1019 00:39:42,880 --> 00:39:44,480 So here's an example here. 1020 00:39:44,920 --> 00:39:47,540 ZenPrize was a company that did MDM. 1021 00:39:47,740 --> 00:39:51,260 They were later acquired by Citrix. 1022 00:39:52,020 --> 00:39:52,500 And... 1023 00:39:54,880 --> 00:39:56,880 if you take a look at the followers 1024 00:39:56,880 --> 00:39:58,360 and the activity on this account, 1025 00:39:58,560 --> 00:40:00,440 it's very much dormant, right? 1026 00:40:01,180 --> 00:40:03,440 And so who's really monitoring that account? 1027 00:40:04,720 --> 00:40:06,700 And might there be low-hanging fruit 1028 00:40:06,700 --> 00:40:09,200 or the ability to kind of take a look at, 1029 00:40:09,220 --> 00:40:11,220 you know, posts that are on here 1030 00:40:11,220 --> 00:40:13,160 to perhaps guess the password? 1031 00:40:13,320 --> 00:40:15,320 And in fact, some of these accounts 1032 00:40:16,240 --> 00:40:17,720 we'll talk about later on 1033 00:40:17,720 --> 00:40:19,280 with the exposure of some of these. 1034 00:40:19,520 --> 00:40:21,540 Furthermore, some of these you can try to do 1035 00:40:21,540 --> 00:40:24,360 a password reset but not execute it, 1036 00:40:24,440 --> 00:40:25,520 and it might give you a partial 1037 00:40:25,520 --> 00:40:26,940 on the e-mail address as well. 1038 00:40:27,180 --> 00:40:28,860 Joe talked about that a little bit 1039 00:40:28,860 --> 00:40:29,900 in his last presentation. 1040 00:40:31,140 --> 00:40:33,540 And then with the tweets, you can see here, 1041 00:40:34,120 --> 00:40:37,900 this guy retweeted a guy that used to work there, 1042 00:40:38,120 --> 00:40:40,900 and we see some other hashtags and other mentions here. 1043 00:40:43,720 --> 00:40:45,880 So our team leverages a lot of... 1044 00:40:46,500 --> 00:40:48,540 We have two data scientists with their PhDs, 1045 00:40:49,060 --> 00:40:50,180 a lot smarter than me, 1046 00:40:50,180 --> 00:40:52,760 and those are the guys that are presenting downstairs. 1047 00:40:53,340 --> 00:40:55,520 But leveraging some machine learning, 1048 00:40:55,740 --> 00:40:59,860 we can also track and monitor these potential bad actors 1049 00:40:59,860 --> 00:41:02,480 to see if, you know, a lot of the activity 1050 00:41:02,480 --> 00:41:04,700 that they're doing is related 1051 00:41:04,700 --> 00:41:06,640 to one or more impersonation accounts. 1052 00:41:07,220 --> 00:41:09,660 Was the first follower or first connection 1053 00:41:09,660 --> 00:41:11,320 on this new impersonator account 1054 00:41:11,320 --> 00:41:13,180 another account that they own? 1055 00:41:13,340 --> 00:41:14,820 And by trying to build credibility, 1056 00:41:15,220 --> 00:41:17,880 they go ahead and create a number of followers 1057 00:41:17,880 --> 00:41:20,160 and connections to legitimize what it is they're doing. 1058 00:41:20,180 --> 00:41:21,460 What it is they're possibly trying to do. 1059 00:41:22,680 --> 00:41:24,860 So in the context of impersonations, 1060 00:41:26,060 --> 00:41:29,660 what we've seen across, on average, 100 enterprises 1061 00:41:29,660 --> 00:41:32,240 is that there's about 1,000 impersonation accounts 1062 00:41:32,240 --> 00:41:33,980 created per week, 1063 00:41:34,020 --> 00:41:36,180 or roughly 10 per organization. 1064 00:41:36,580 --> 00:41:38,680 And magnify that or multiply that 1065 00:41:38,680 --> 00:41:40,580 times the number of weeks in a year, 1066 00:41:40,700 --> 00:41:42,460 and you can see that there's quite a lot 1067 00:41:42,460 --> 00:41:44,080 of impersonation accounts targeting 1068 00:41:44,080 --> 00:41:45,820 your average enterprise organization. 1069 00:41:46,940 --> 00:41:48,680 When they go ahead and create these accounts, 1070 00:41:48,680 --> 00:41:51,300 certainly they want to make it look very legit. 1071 00:41:51,760 --> 00:41:54,900 We do a lot of analysis in terms of the images 1072 00:41:54,900 --> 00:41:55,980 that are used on there. 1073 00:41:56,140 --> 00:41:58,640 Did they just right-click and download the image 1074 00:41:58,640 --> 00:42:01,760 from another profile on the same social network 1075 00:42:01,760 --> 00:42:04,140 or a different one and then upload it here? 1076 00:42:04,300 --> 00:42:06,640 Or did they do Photoshop or cropping 1077 00:42:06,640 --> 00:42:07,660 and things like that? 1078 00:42:07,820 --> 00:42:11,000 Can be fairly sophisticated to identify those techniques, 1079 00:42:11,240 --> 00:42:12,520 but it is quite doable. 1080 00:42:13,900 --> 00:42:16,700 And then in addition, they, again, 1081 00:42:16,780 --> 00:42:18,560 want to create a legitimate account, right? 1082 00:42:18,680 --> 00:42:21,360 So they're going to go ahead and create that same bio 1083 00:42:21,360 --> 00:42:22,580 or very, very similar. 1084 00:42:22,820 --> 00:42:25,040 But as you can see here for the Warren Buffett account, 1085 00:42:25,320 --> 00:42:26,800 it's a slight misspelling. 1086 00:42:26,900 --> 00:42:29,020 But other than that, from a quick glance, 1087 00:42:29,140 --> 00:42:30,060 it looks fairly legit. 1088 00:42:30,380 --> 00:42:33,100 And as we monitored this account and many others, 1089 00:42:33,300 --> 00:42:35,180 we can see lots of people following, 1090 00:42:35,500 --> 00:42:36,540 tweeting on here, 1091 00:42:36,740 --> 00:42:38,880 and lots of, you know, app mentions 1092 00:42:38,880 --> 00:42:39,880 and things like that. 1093 00:42:43,800 --> 00:42:46,840 And they use this to pretty much further their campaign. 1094 00:42:46,840 --> 00:42:50,000 Are the followers potentially other employees 1095 00:42:50,000 --> 00:42:50,960 of the organization? 1096 00:42:51,380 --> 00:42:53,300 Maybe then they can follow them back 1097 00:42:53,300 --> 00:42:55,180 and create additional connections with them 1098 00:42:55,180 --> 00:42:57,740 on other social networks such as LinkedIn and others. 1099 00:42:57,980 --> 00:42:59,920 Hey, you know, I connected with you on Twitter. 1100 00:43:00,180 --> 00:43:02,080 Thought you might want to connect on LinkedIn. 1101 00:43:02,260 --> 00:43:03,800 I'll see you at the office next week. 1102 00:43:03,900 --> 00:43:05,080 It'd be really nice to meet up. 1103 00:43:05,340 --> 00:43:07,080 And so a lot of this engagement 1104 00:43:07,690 --> 00:43:09,680 further allows them to create credibility 1105 00:43:09,680 --> 00:43:11,420 and build that level of trust. 1106 00:43:15,480 --> 00:43:18,260 So we've seen a lot of accounts hijacked 1107 00:43:18,260 --> 00:43:19,500 over the last few months, 1108 00:43:19,700 --> 00:43:21,540 especially some high-profile executives 1109 00:43:21,540 --> 00:43:24,040 at some really big Internet firms. 1110 00:43:25,160 --> 00:43:27,460 And, you know, one of those, of course, 1111 00:43:27,480 --> 00:43:30,400 was MySpace with millions of accounts, 1112 00:43:30,680 --> 00:43:32,000 maybe old dormant accounts, 1113 00:43:32,200 --> 00:43:34,260 maybe accounts that were initially held 1114 00:43:34,260 --> 00:43:36,380 in a database since 2012 1115 00:43:36,380 --> 00:43:38,120 or even older than that. 1116 00:43:38,260 --> 00:43:41,000 But what's kind of interesting about this is 1117 00:43:41,420 --> 00:43:43,220 that, you know, we know people have a tendency 1118 00:43:43,220 --> 00:43:45,280 to use the same password amongst 1119 00:43:45,280 --> 00:43:47,360 or across a lot of their accounts. 1120 00:43:47,640 --> 00:43:50,000 We also know that if we can further 1121 00:43:50,000 --> 00:43:51,660 enumerate their e-mail address, 1122 00:43:51,880 --> 00:43:53,560 we might be able to target their e-mail account 1123 00:43:53,560 --> 00:43:56,140 and leverage that as an attack method 1124 00:43:56,140 --> 00:43:58,200 to target another social media account 1125 00:43:58,780 --> 00:43:59,860 that they might have. 1126 00:44:00,200 --> 00:44:02,520 So on the next slide, 1127 00:44:02,600 --> 00:44:04,860 we'll show you kind of some locations 1128 00:44:04,860 --> 00:44:05,920 where you can go and look up 1129 00:44:05,920 --> 00:44:07,140 some of those passwords. 1130 00:44:09,480 --> 00:44:11,400 So as we dig deep into this, 1131 00:44:11,420 --> 00:44:14,060 into social web and other things, 1132 00:44:14,300 --> 00:44:15,900 you know, there are things like Pastebin 1133 00:44:15,900 --> 00:44:18,340 where a lot of this stuff will get posted out there. 1134 00:44:18,580 --> 00:44:20,200 And if we've already got some profile 1135 00:44:20,200 --> 00:44:22,020 of some of the bad actors 1136 00:44:22,020 --> 00:44:25,120 or some of these impersonating accounts, 1137 00:44:25,800 --> 00:44:28,000 we can use some of the tactics that we mentioned, 1138 00:44:28,120 --> 00:44:30,040 such as a partial e-mail address 1139 00:44:31,680 --> 00:44:34,100 and some of the other things that we mentioned 1140 00:44:34,100 --> 00:44:36,020 to go out here and look across 1141 00:44:36,020 --> 00:44:37,360 some of the other social web 1142 00:44:37,360 --> 00:44:39,240 to see if we can find some of these other accounts. 1143 00:44:39,240 --> 00:44:42,660 Has anybody used Troy Hunt's website? 1144 00:44:43,160 --> 00:44:44,200 Have I been pwned? 1145 00:44:45,580 --> 00:44:48,040 So Troy doesn't actually post the passwords, 1146 00:44:48,220 --> 00:44:50,220 but he'll go out there and post, 1147 00:44:50,360 --> 00:44:52,800 you know, the lists of accounts 1148 00:44:52,800 --> 00:44:55,380 that have been potentially exposed 1149 00:44:55,380 --> 00:44:57,320 as a bunch of a lot of these breaches 1150 00:44:57,320 --> 00:44:59,360 like the MySpace one and the others. 1151 00:44:59,580 --> 00:45:01,640 And this allows you as an organization 1152 00:45:01,640 --> 00:45:03,820 or an individual to go out there and say, 1153 00:45:03,940 --> 00:45:06,480 oh, crap, you know, was my name on the list? 1154 00:45:06,600 --> 00:45:08,320 Do I need to go out there and reset my password? 1155 00:45:08,320 --> 00:45:09,580 If I'm in the enterprise, 1156 00:45:09,820 --> 00:45:11,440 is this something I need to incorporate 1157 00:45:11,440 --> 00:45:13,320 into my incident response policy 1158 00:45:13,320 --> 00:45:15,800 and track on an ongoing basis to say, 1159 00:45:16,000 --> 00:45:19,500 hey, Mr. Executive, your account was exposed. 1160 00:45:19,740 --> 00:45:20,780 We found it on this list. 1161 00:45:20,960 --> 00:45:23,420 Whether or not you've changed your password since 2012, 1162 00:45:23,600 --> 00:45:24,380 we're going to ask you to go ahead 1163 00:45:24,380 --> 00:45:25,500 and change your password now. 1164 00:45:25,660 --> 00:45:26,780 It would be a really good idea. 1165 00:45:31,840 --> 00:45:35,160 So coming back to what we referenced a few times 1166 00:45:35,160 --> 00:45:36,620 in terms of establishing trust. 1167 00:45:37,760 --> 00:45:38,300 Without trust, 1168 00:45:38,320 --> 00:45:39,900 without connections, without followers, 1169 00:45:40,120 --> 00:45:41,280 without friends, 1170 00:45:41,500 --> 00:45:45,720 the attacker's attack surface can be quite limited. 1171 00:45:46,060 --> 00:45:48,280 And so making all of these connections, 1172 00:45:48,440 --> 00:45:49,580 making all of these followers 1173 00:45:49,580 --> 00:45:51,680 is key to their overall campaign. 1174 00:45:54,090 --> 00:45:55,940 Another thing that, of course, 1175 00:45:55,980 --> 00:45:57,440 is quite common to social media 1176 00:45:57,440 --> 00:45:59,720 is shortened URLs, right? 1177 00:45:59,860 --> 00:46:01,600 There's a variety of shortened URLs. 1178 00:46:01,880 --> 00:46:04,240 They vary across the different social networks 1179 00:46:04,240 --> 00:46:06,200 and independent of that. 1180 00:46:08,980 --> 00:46:11,360 And we know that attackers will leverage that 1181 00:46:11,360 --> 00:46:13,740 because it further obfuscates a malicious URL 1182 00:46:13,740 --> 00:46:15,520 that they may be tweeting, 1183 00:46:15,740 --> 00:46:16,820 that they may be posting, 1184 00:46:17,040 --> 00:46:19,180 that they may be sending via a direct message. 1185 00:46:20,600 --> 00:46:24,540 So in doing analysis of a lot of these URL shorteners, 1186 00:46:24,640 --> 00:46:26,160 you know, there's a lot of them out there. 1187 00:46:26,260 --> 00:46:28,680 You've got Bitly, you've got Google, HootSuite, 1188 00:46:30,120 --> 00:46:30,960 TinyURL, TinyCC. 1189 00:46:31,420 --> 00:46:32,900 There's a bunch of them out there. 1190 00:46:33,400 --> 00:46:34,740 When we did our analysis, 1191 00:46:35,000 --> 00:46:38,180 we also took a look at, well, to what extent, 1192 00:46:38,180 --> 00:46:39,700 are they providing protection? 1193 00:46:40,460 --> 00:46:43,560 In other words, if I, you know, 1194 00:46:44,180 --> 00:46:45,560 receive a message 1195 00:46:45,560 --> 00:46:48,600 or somebody tweets and tags me 1196 00:46:48,600 --> 00:46:50,160 in a particular post, 1197 00:46:51,400 --> 00:46:53,800 and that includes a malicious URL, 1198 00:46:54,520 --> 00:46:56,700 have they done any vetting of that URL 1199 00:46:56,700 --> 00:46:59,500 before it was posted to identify that it was bad? 1200 00:46:59,820 --> 00:47:01,980 In many cases, the answer is no. 1201 00:47:02,160 --> 00:47:03,740 Most of the time, they don't. 1202 00:47:03,740 --> 00:47:06,000 There's a couple on this list that actually do, 1203 00:47:06,160 --> 00:47:08,000 but there's quite a lot more that don't. 1204 00:47:08,180 --> 00:47:09,700 So we'll kind of see, 1205 00:47:09,860 --> 00:47:12,100 and we've kind of spoken about this 1206 00:47:12,100 --> 00:47:13,140 at a few other conferences, 1207 00:47:13,480 --> 00:47:16,060 we'll see if they take this advice 1208 00:47:16,060 --> 00:47:18,480 and further provide a way to protect us all 1209 00:47:18,480 --> 00:47:21,100 in terms of how they do the URL shortening 1210 00:47:21,100 --> 00:47:22,960 and how they pre-screen these URLs 1211 00:47:22,960 --> 00:47:24,060 before they shorten them. 1212 00:47:26,540 --> 00:47:29,740 Here's just one of a gazillion examples here. 1213 00:47:29,800 --> 00:47:31,400 We've got a Bitly one, 1214 00:47:31,980 --> 00:47:34,180 and when we actually take a look at 1215 00:47:34,180 --> 00:47:35,780 the destination URL 1216 00:47:35,780 --> 00:47:37,700 and then the analysis we did 1217 00:47:37,700 --> 00:47:39,080 in terms of what it did, 1218 00:47:39,700 --> 00:47:41,380 allowed us to determine that, 1219 00:47:41,460 --> 00:47:43,220 hey, this is a malicious URL. 1220 00:47:43,620 --> 00:47:45,340 But this was post-mortem, right? 1221 00:47:45,480 --> 00:47:46,560 This tweet was out there, 1222 00:47:46,680 --> 00:47:48,100 other people clicked on it, 1223 00:47:48,220 --> 00:47:49,980 and it was really after the fact. 1224 00:47:57,260 --> 00:47:59,440 So you've got your normal culprits, 1225 00:47:59,580 --> 00:48:00,960 malware, phishing link, 1226 00:48:01,520 --> 00:48:03,080 malicious browser plug-in, 1227 00:48:03,160 --> 00:48:05,340 we'll talk a little bit about that in a moment, 1228 00:48:05,500 --> 00:48:07,680 or even bad apps in the context of social media. 1229 00:48:07,700 --> 00:48:12,700 So this Cowboy app was provided via a link 1230 00:48:12,700 --> 00:48:16,480 and would prompt users to download the app, 1231 00:48:16,640 --> 00:48:18,380 and upon installing the app, 1232 00:48:18,500 --> 00:48:20,960 would pop up a Facebook log-in 1233 00:48:20,960 --> 00:48:22,780 and harvest Facebook credentials 1234 00:48:22,780 --> 00:48:25,600 from unknowing users that installed the app. 1235 00:48:26,380 --> 00:48:31,160 And so it's just one of a numerous number of examples 1236 00:48:31,160 --> 00:48:33,580 in which we see this being leveraged 1237 00:48:33,580 --> 00:48:34,500 across social media. 1238 00:48:38,120 --> 00:48:41,540 Our team also did a lot of analysis around scams, 1239 00:48:41,580 --> 00:48:44,000 and the really smart guys downstairs 1240 00:48:44,000 --> 00:48:46,040 presenting the weaponizing talk 1241 00:48:47,220 --> 00:48:48,780 leveraged their expertise 1242 00:48:48,780 --> 00:48:50,820 combined with the rest of our team's expertise 1243 00:48:50,820 --> 00:48:52,740 from a forensic standpoint to say, 1244 00:48:52,840 --> 00:48:55,640 you know, how do we profile a lot of these scams? 1245 00:48:55,780 --> 00:48:57,440 There's numerous scams out there. 1246 00:48:57,800 --> 00:49:00,300 Who's seen the Ray-Ban one, right? 1247 00:49:00,380 --> 00:49:02,460 It's just all over Facebook, right? 1248 00:49:02,520 --> 00:49:03,560 I see it every day, 1249 00:49:03,660 --> 00:49:05,660 and a couple times a week, 1250 00:49:05,720 --> 00:49:07,120 I get friends that reach out to me, 1251 00:49:07,120 --> 00:49:09,860 hey, you know, you work in social media cybersecurity. 1252 00:49:10,320 --> 00:49:13,200 Is this Ray-Ban link, you know, malicious, 1253 00:49:13,320 --> 00:49:14,020 or is it good? 1254 00:49:14,360 --> 00:49:17,820 So there's certainly a lot of context that we collect, 1255 00:49:17,940 --> 00:49:20,720 you know, around a lot of these malicious posts. 1256 00:49:21,720 --> 00:49:25,000 In addition, the Ray-Ban one, for example, 1257 00:49:25,220 --> 00:49:28,500 was encouraging people to purchase Ray-Bans 1258 00:49:28,500 --> 00:49:29,840 at a 90% discount, 1259 00:49:30,100 --> 00:49:31,760 and the money would go to charity. 1260 00:49:31,920 --> 00:49:33,660 So it was clearly a scam. 1261 00:49:33,720 --> 00:49:34,960 People would click on it. 1262 00:49:35,020 --> 00:49:37,100 It might hijack their Facebook account. 1263 00:49:37,120 --> 00:49:40,000 And or allow them to go out 1264 00:49:40,000 --> 00:49:41,740 and make a purchase of sunglasses 1265 00:49:41,740 --> 00:49:43,600 that they will ultimately never receive. 1266 00:49:44,180 --> 00:49:45,800 And so would therefore steal 1267 00:49:45,800 --> 00:49:47,160 their credit card information too. 1268 00:49:47,380 --> 00:49:49,840 These are still very, very rampant on Facebook. 1269 00:49:50,020 --> 00:49:51,560 I'm still seeing these every day. 1270 00:49:51,800 --> 00:49:54,400 And if we take a look how far this goes back, 1271 00:49:54,900 --> 00:49:56,840 it goes back to at least 2014, 1272 00:49:57,000 --> 00:49:58,800 and it looks like in some cases 1273 00:49:58,800 --> 00:50:00,880 maybe as far back as 2012. 1274 00:50:08,340 --> 00:50:10,440 So kind of what I've discussed already, 1275 00:50:10,660 --> 00:50:13,040 here's an example that we took from Facebook. 1276 00:50:13,320 --> 00:50:13,980 I took this. 1277 00:50:14,020 --> 00:50:18,080 This one was provided to me actually by one of my friends. 1278 00:50:18,280 --> 00:50:20,480 We did some analysis on it as well 1279 00:50:20,480 --> 00:50:22,800 just to understand a little bit more 1280 00:50:22,800 --> 00:50:23,760 about what it was doing. 1281 00:50:26,920 --> 00:50:29,180 But if we take a closer look at the metadata, 1282 00:50:30,380 --> 00:50:31,540 we can see here, 1283 00:50:31,660 --> 00:50:33,600 there's a lot of additional information here 1284 00:50:34,060 --> 00:50:36,380 that's kind of under the cover 1285 00:50:36,380 --> 00:50:37,720 of the actual post 1286 00:50:38,660 --> 00:50:41,680 or what they were sending directly to an individual. 1287 00:50:41,960 --> 00:50:44,240 And as you can see here as we expand the URL, 1288 00:50:44,600 --> 00:50:48,040 it goes out to this random address 1289 00:50:48,040 --> 00:50:50,980 to infect the device. 1290 00:50:51,960 --> 00:50:53,660 Now, a lot of those URLs, 1291 00:50:53,940 --> 00:50:56,600 if you're looking to fortify your enterprise network 1292 00:50:56,600 --> 00:50:59,180 or your endpoint security with a list of these 1293 00:50:59,180 --> 00:51:01,980 not only malicious URLs but malicious domains, 1294 00:51:02,400 --> 00:51:04,340 there is a published list for this. 1295 00:51:04,500 --> 00:51:06,360 And we also leveraged 1296 00:51:06,380 --> 00:51:07,920 some third-party products too 1297 00:51:07,920 --> 00:51:09,360 that help us map those out 1298 00:51:09,360 --> 00:51:12,120 and identify even more than we do organically 1299 00:51:12,120 --> 00:51:13,340 with what we do internally. 1300 00:51:14,500 --> 00:51:16,880 So if you're looking to say, 1301 00:51:17,000 --> 00:51:18,620 you know, well, how do I protect my users 1302 00:51:18,620 --> 00:51:20,600 against these malicious URLs, 1303 00:51:20,920 --> 00:51:23,060 against these phishing links, 1304 00:51:23,200 --> 00:51:24,660 against these types of attacks, 1305 00:51:25,100 --> 00:51:27,180 you can actually leverage these lists 1306 00:51:27,180 --> 00:51:29,840 along with others that get mapped out 1307 00:51:29,840 --> 00:51:31,440 in terms of identifying these 1308 00:51:31,440 --> 00:51:34,080 and feed these into your firewall, 1309 00:51:34,260 --> 00:51:36,080 your IDS, malware protection system, 1310 00:51:36,380 --> 00:51:37,780 your endpoint security, and so forth. 1311 00:51:44,020 --> 00:51:48,400 We also saw this Facebook malware click fraud. 1312 00:51:48,960 --> 00:51:52,480 And with this one, which also happened recently, 1313 00:51:53,250 --> 00:51:54,220 as it says here, 1314 00:51:54,960 --> 00:51:58,240 this would be sent out to a particular user's friend. 1315 00:51:58,640 --> 00:52:00,200 It would pop up and say, 1316 00:52:00,300 --> 00:52:02,140 hey, I need to verify your age. 1317 00:52:02,380 --> 00:52:04,560 It would go ahead and leverage the ability 1318 00:52:04,560 --> 00:52:07,160 to install a Chrome extension, 1319 00:52:07,440 --> 00:52:09,680 which, by the way, was in the Chrome extension store 1320 00:52:09,680 --> 00:52:10,640 but later removed, 1321 00:52:10,980 --> 00:52:13,260 and by doing so would allow them 1322 00:52:13,260 --> 00:52:14,700 to go ahead and attack the individual. 1323 00:52:14,980 --> 00:52:16,260 You get a malicious payload, 1324 00:52:16,500 --> 00:52:18,440 and then it would harvest their Facebook credentials. 1325 00:52:22,280 --> 00:52:23,900 But Google did a good job. 1326 00:52:24,020 --> 00:52:25,980 They went ahead and removed the Chrome extension 1327 00:52:25,980 --> 00:52:28,420 from the store while also removing it 1328 00:52:28,420 --> 00:52:31,900 from the 132,000, apparently, 1329 00:52:32,200 --> 00:52:34,240 users that were infected by this. 1330 00:52:34,560 --> 00:52:37,940 And as a result, we always recommend from time to time 1331 00:52:37,940 --> 00:52:39,420 to take a look at your extensions 1332 00:52:39,420 --> 00:52:41,880 that you might have specifically within Chrome 1333 00:52:42,310 --> 00:52:44,340 and remove any unnecessary extensions. 1334 00:52:45,580 --> 00:52:47,160 And then one other one, 1335 00:52:47,240 --> 00:52:49,900 which happened a few weeks prior to that, 1336 00:52:50,060 --> 00:52:52,020 which, again, was a link. 1337 00:52:52,140 --> 00:52:55,060 It would encourage people to go ahead and like it, 1338 00:52:55,120 --> 00:52:57,220 and it also included malware and would infect 1339 00:52:57,220 --> 00:52:59,760 specifically Windows PCs running Chrome. 1340 00:53:04,560 --> 00:53:06,820 So we've kind of outlined a number of steps 1341 00:53:06,820 --> 00:53:10,660 leading to a variety of threats, risks, 1342 00:53:10,800 --> 00:53:12,920 and even possible attacks within your organization. 1343 00:53:14,220 --> 00:53:17,580 As you can see here, what we talked about earlier, 1344 00:53:18,280 --> 00:53:20,400 there's a lot of things going on here 1345 00:53:20,400 --> 00:53:23,740 in terms of footprinting, monitoring, 1346 00:53:23,900 --> 00:53:26,520 and profiling individuals, making those connections, 1347 00:53:26,820 --> 00:53:29,460 building a social media group of trust 1348 00:53:29,460 --> 00:53:33,220 by which they can leverage to attack specific individuals 1349 00:53:33,220 --> 00:53:34,480 or an organization. 1350 00:53:35,100 --> 00:53:39,280 There is a documented, a really big, high-profile case 1351 00:53:39,740 --> 00:53:42,260 in which social media was leveraged 1352 00:53:42,260 --> 00:53:45,320 to penetrate a particular enterprise network 1353 00:53:45,320 --> 00:53:48,380 and leverage that capability to circumvent 1354 00:53:48,380 --> 00:53:51,400 email, malware, and phishing link detections 1355 00:53:51,740 --> 00:53:53,440 and actually infiltrate the network 1356 00:53:53,440 --> 00:53:55,900 with hardly even touching it at all 1357 00:53:55,900 --> 00:53:57,580 through a particular user's device 1358 00:53:57,580 --> 00:53:59,440 that wasn't on the network at the time 1359 00:53:59,440 --> 00:54:01,140 and bringing that into the environment 1360 00:54:01,140 --> 00:54:02,560 like we've seen in other cases. 1361 00:54:02,560 --> 00:54:04,640 But in the context here with social media. 1362 00:54:06,200 --> 00:54:07,600 So if we take a look here, 1363 00:54:07,680 --> 00:54:09,500 kind of like the steps leading up to attack, 1364 00:54:09,840 --> 00:54:12,860 what things can you do to possibly detect these threats 1365 00:54:12,860 --> 00:54:14,480 earlier in the life cycle 1366 00:54:14,480 --> 00:54:16,100 rather than at the point of attack 1367 00:54:16,100 --> 00:54:17,320 or the point of infection? 1368 00:54:17,980 --> 00:54:21,360 So a lot of mechanisms and some tips and suggestions 1369 00:54:21,360 --> 00:54:24,520 we provided as well to help you identify 1370 00:54:25,280 --> 00:54:27,320 characteristics of impersonators, 1371 00:54:27,460 --> 00:54:29,760 to identify when people are connecting 1372 00:54:29,760 --> 00:54:31,440 perhaps with people they shouldn't. 1373 00:54:31,440 --> 00:54:34,220 And furthermore, doing discovery efforts 1374 00:54:34,220 --> 00:54:36,540 to determine, well, what is my corporate 1375 00:54:36,540 --> 00:54:40,260 or enterprise or organizational social media footprint? 1376 00:54:40,640 --> 00:54:43,260 Where are all the accounts that I should be concerned about? 1377 00:54:43,480 --> 00:54:45,740 Did we acquire a number of subsidiaries? 1378 00:54:45,920 --> 00:54:48,080 Did those particular marketing people 1379 00:54:48,080 --> 00:54:51,260 create social media accounts that are long dormant 1380 00:54:51,260 --> 00:54:53,080 but connected with our own accounts? 1381 00:54:53,180 --> 00:54:55,120 And kind of consider trusted such that 1382 00:54:55,120 --> 00:54:56,520 if that account was hijacked 1383 00:54:56,520 --> 00:54:58,880 and then they sent a direct message 1384 00:54:58,880 --> 00:55:00,800 or a connection that may already exist, 1385 00:55:00,800 --> 00:55:03,260 with one of the enterprise accounts, 1386 00:55:04,580 --> 00:55:07,100 could they leverage sending that a direct message 1387 00:55:07,100 --> 00:55:09,100 to commit some type of exploit? 1388 00:55:12,480 --> 00:55:13,980 And then in addition to that, 1389 00:55:15,340 --> 00:55:17,660 if they send some type of malicious link, 1390 00:55:17,740 --> 00:55:20,240 URL, malware, bad app, et cetera, 1391 00:55:20,440 --> 00:55:22,620 what mechanisms do you have in place 1392 00:55:22,620 --> 00:55:24,700 to detect whether or not that would be detected 1393 00:55:24,700 --> 00:55:26,260 from a social media standpoint? 1394 00:55:26,640 --> 00:55:28,180 How does it penetrate the network? 1395 00:55:28,460 --> 00:55:30,720 We kind of outlined a few examples of that. 1396 00:55:30,800 --> 00:55:32,960 But essentially, if they're going to be sending that 1397 00:55:32,960 --> 00:55:35,860 through a direct message rather than email, 1398 00:55:36,100 --> 00:55:37,980 certainly makes it a little bit more difficult 1399 00:55:37,980 --> 00:55:39,380 to identify that threat. 1400 00:55:39,840 --> 00:55:41,940 So if you're leveraging 1401 00:55:41,940 --> 00:55:44,660 some of the other context and data we mentioned 1402 00:55:44,660 --> 00:55:46,560 to backfill what you're doing 1403 00:55:46,560 --> 00:55:48,240 from an endpoint security standpoint, 1404 00:55:48,500 --> 00:55:50,580 might allow you better mechanisms 1405 00:55:50,580 --> 00:55:52,600 for identifying those early warning signs 1406 00:55:52,600 --> 00:55:54,600 before that device gets infected 1407 00:55:54,600 --> 00:55:57,560 or that infected device further impacts your network. 1408 00:56:01,780 --> 00:56:03,620 So some additional countermeasures. 1409 00:56:04,920 --> 00:56:06,800 As I mentioned, you want to identify 1410 00:56:06,800 --> 00:56:09,940 your corporate network social media footprint. 1411 00:56:10,760 --> 00:56:13,060 So identify all the brand accounts, 1412 00:56:13,380 --> 00:56:14,280 all the company accounts, 1413 00:56:14,560 --> 00:56:16,800 all the dormant accounts left over from subsidiaries 1414 00:56:17,420 --> 00:56:19,080 that were acquired a long time ago, 1415 00:56:19,180 --> 00:56:22,120 marketing people that have long left the organization, 1416 00:56:22,480 --> 00:56:23,700 all your executives, 1417 00:56:23,920 --> 00:56:25,820 and change out in some of those executives. 1418 00:56:26,100 --> 00:56:27,760 They're going to connect with a lot of people 1419 00:56:27,760 --> 00:56:30,000 that look legitimate that really are impostors. 1420 00:56:30,000 --> 00:56:32,220 So you really want to leverage that capability 1421 00:56:32,220 --> 00:56:34,660 to identify that behavior on an ongoing basis. 1422 00:56:36,820 --> 00:56:39,700 In addition, probably goes without saying, 1423 00:56:39,940 --> 00:56:42,400 there's a level of two-factor authentication, 1424 00:56:42,620 --> 00:56:45,140 arguably with a lot of the social networks today. 1425 00:56:45,400 --> 00:56:47,000 Definitely want to encompass that 1426 00:56:47,000 --> 00:56:48,400 within your security policy 1427 00:56:48,400 --> 00:56:50,100 and encourage your executives, 1428 00:56:50,340 --> 00:56:52,260 the brand accounts, the company accounts, 1429 00:56:52,460 --> 00:56:54,880 to all have that enabled as another mechanism 1430 00:56:54,880 --> 00:56:57,400 to protect against some type of hijacking. 1431 00:56:57,580 --> 00:56:59,220 Pretty much in all the examples 1432 00:56:59,220 --> 00:56:59,980 of the hijacking, 1433 00:57:00,000 --> 00:57:01,980 we've seen with some high-profile executives 1434 00:57:01,980 --> 00:57:03,200 over the last couple months, 1435 00:57:03,380 --> 00:57:05,040 not only did they have weak passwords, 1436 00:57:05,200 --> 00:57:06,900 but they didn't have two-factor authentication 1437 00:57:06,900 --> 00:57:08,300 enabled for their accounts. 1438 00:57:10,600 --> 00:57:12,340 And with all the intelligence 1439 00:57:12,340 --> 00:57:14,060 and a lot of the things we outlined earlier, 1440 00:57:14,420 --> 00:57:16,940 is there a way to take that data and consume it, 1441 00:57:17,040 --> 00:57:20,260 not only in your firewall or your IDS 1442 00:57:20,260 --> 00:57:23,020 or your MPS or the other web proxy 1443 00:57:23,020 --> 00:57:24,940 and other perimeter security that you might have 1444 00:57:24,940 --> 00:57:25,840 or endpoint security, 1445 00:57:26,580 --> 00:57:28,880 but can you leverage it from the perspective 1446 00:57:28,880 --> 00:57:31,400 of a SIM, Splunk is here, right? 1447 00:57:31,560 --> 00:57:32,760 There's a lot of different ways 1448 00:57:32,760 --> 00:57:34,240 in which you can consume that data 1449 00:57:34,240 --> 00:57:35,620 and use it in a really good way 1450 00:57:35,620 --> 00:57:37,000 for cross-correlating with the rest 1451 00:57:37,000 --> 00:57:37,900 of your security events. 1452 00:57:39,240 --> 00:57:41,620 And now might be a good time to augment 1453 00:57:41,620 --> 00:57:44,000 or enhance your incident response policy 1454 00:57:44,000 --> 00:57:45,900 to encompass social media 1455 00:57:45,900 --> 00:57:48,080 and perhaps some of the things I've outlined today 1456 00:57:48,080 --> 00:57:50,260 will help you kind of outline some of that 1457 00:57:50,260 --> 00:57:52,600 and figure out, hey, to what extent 1458 00:57:52,600 --> 00:57:54,860 are we going to respond to certain types of threats? 1459 00:57:55,060 --> 00:57:56,420 Not only identify it, 1460 00:57:56,440 --> 00:57:58,140 but what is our response plan going to be? 1461 00:57:58,140 --> 00:58:00,220 And is that going to be iterative over time 1462 00:58:00,220 --> 00:58:02,520 since social media is changing so quickly today? 1463 00:58:05,920 --> 00:58:07,520 And that's it, so... 1464 00:58:14,780 --> 00:58:16,380 So open up for questions 1465 00:58:16,380 --> 00:58:17,460 if anybody has any questions. 1466 00:58:17,620 --> 00:58:18,480 I think we have a couple minutes 1467 00:58:18,480 --> 00:58:19,580 before the next presenter. 1468 00:58:21,640 --> 00:58:22,240 Go ahead. 1469 00:58:22,440 --> 00:58:23,900 So have you seen any attacks 1470 00:58:23,900 --> 00:58:26,620 against monitoring and publishing solutions 1471 00:58:26,620 --> 00:58:28,040 to third parties' decisions 1472 00:58:28,140 --> 00:58:29,260 to steal API tokens 1473 00:58:29,960 --> 00:58:32,060 so that they can get aggregate tokens 1474 00:58:32,060 --> 00:58:33,020 to be able to post them 1475 00:58:33,020 --> 00:58:34,260 and get out to those employers? 1476 00:58:35,740 --> 00:58:36,880 It's a good question. 1477 00:58:37,320 --> 00:58:37,800 Yeah. 1478 00:58:38,040 --> 00:58:38,500 Yep. 1479 00:58:38,940 --> 00:58:41,520 I'll see if I can kind of paraphrase or rephrase it. 1480 00:58:41,580 --> 00:58:42,600 And if I get it wrong, let me know. 1481 00:58:43,760 --> 00:58:45,720 But it was essentially around the tokens 1482 00:58:45,720 --> 00:58:47,500 that are used behind the scenes 1483 00:58:47,500 --> 00:58:48,660 with the social media accounts. 1484 00:58:48,960 --> 00:58:52,280 And effectively, have we seen both mechanisms 1485 00:58:52,280 --> 00:58:55,640 in which people are either harvesting, stealing, 1486 00:58:55,820 --> 00:58:57,860 and thus reusing those? 1487 00:58:58,140 --> 00:58:58,580 And if so, what is the best way 1488 00:58:58,580 --> 00:58:59,040 to commit attacks? 1489 00:58:59,400 --> 00:59:00,440 And the short answer is yes. 1490 00:59:01,660 --> 00:59:02,920 We're kind of monitoring 1491 00:59:02,920 --> 00:59:05,000 a couple really important scenarios now 1492 00:59:05,000 --> 00:59:09,060 that I can't get into, like, too much detail. 1493 00:59:09,240 --> 00:59:10,460 But the short answer is yes. 1494 00:59:10,600 --> 00:59:12,080 And therefore, you know, 1495 00:59:12,080 --> 00:59:14,120 and I think this is probably your key point 1496 00:59:14,120 --> 00:59:15,720 and I'm glad you brought it up, you know, 1497 00:59:15,720 --> 00:59:17,740 is behind the scenes there is this token 1498 00:59:17,740 --> 00:59:19,920 that, you know, coexists as a result 1499 00:59:19,920 --> 00:59:20,900 of having your account. 1500 00:59:21,160 --> 00:59:23,080 So if you have that stashed anywhere 1501 00:59:23,080 --> 00:59:24,400 or if you know what that is, 1502 00:59:24,440 --> 00:59:26,140 you certainly want to protect that, right? 1503 00:59:26,220 --> 00:59:28,120 Because somebody could basically impersonate you. 1504 00:59:28,140 --> 00:59:29,560 So great question. 1505 00:59:29,640 --> 00:59:30,000 Thank you. 1506 00:59:30,720 --> 00:59:31,620 Any other questions? 1507 00:59:31,980 --> 00:59:32,520 Go ahead. 1508 00:59:32,740 --> 00:59:32,960 Yeah. 1509 00:59:32,960 --> 00:59:35,660 Can you talk about the features you're using 1510 00:59:35,660 --> 00:59:37,600 to identify imposter personas? 1511 00:59:39,580 --> 00:59:40,020 Yeah. 1512 00:59:40,120 --> 00:59:41,320 A little bit to an extent 1513 00:59:41,320 --> 00:59:43,120 without getting into too much secret sauce. 1514 00:59:43,200 --> 00:59:43,440 Sure. 1515 00:59:43,640 --> 00:59:45,960 So in terms of the personators, 1516 00:59:48,240 --> 00:59:49,260 they're, you know, 1517 00:59:49,300 --> 00:59:51,580 we kind of have two groups of people 1518 00:59:51,580 --> 00:59:52,740 in our organization, right? 1519 00:59:52,800 --> 00:59:54,500 We've got your traditional threat researchers 1520 00:59:54,500 --> 00:59:55,940 and people with, like, a forensics background, 1521 00:59:56,080 --> 00:59:56,980 which is more me. 1522 00:59:56,980 --> 00:59:59,140 And then we've got a bunch of data scientists 1523 00:59:59,140 --> 01:00:01,060 with their PhDs with a lot of experience 1524 01:00:01,060 --> 01:00:02,280 in math and machine learning. 1525 01:00:02,500 --> 01:00:03,500 And those are the guys 1526 01:00:03,500 --> 01:00:05,000 that are presenting downstairs right now. 1527 01:00:05,460 --> 01:00:09,060 But in the context of impersonators, 1528 01:00:09,220 --> 01:00:10,820 we kind of take a combination 1529 01:00:10,820 --> 01:00:12,080 of both of those approaches. 1530 01:00:12,460 --> 01:00:13,660 And one of the things 1531 01:00:13,660 --> 01:00:15,980 that the guys downstairs are covering is, 1532 01:00:16,160 --> 01:00:18,600 you know, the tool that they created 1533 01:00:18,600 --> 01:00:20,080 is sort of a proof of concept 1534 01:00:20,080 --> 01:00:21,920 to show that how they could 1535 01:00:23,060 --> 01:00:24,300 basically impersonate somebody 1536 01:00:24,300 --> 01:00:26,240 and then leverage that capability 1537 01:00:26,240 --> 01:00:29,560 to weaponize a phishing tool, 1538 01:00:29,860 --> 01:00:31,220 allowed them, 1539 01:00:31,240 --> 01:00:33,060 with a combination of machine learning 1540 01:00:33,060 --> 01:00:34,400 and seeing how people perform 1541 01:00:34,400 --> 01:00:36,020 various types of tweets 1542 01:00:36,020 --> 01:00:37,340 and hashtags and keywords 1543 01:00:37,340 --> 01:00:39,300 and things that build that trust 1544 01:00:39,300 --> 01:00:40,660 that we talked about a few times 1545 01:00:40,660 --> 01:00:41,520 in this presentation, 1546 01:00:41,740 --> 01:00:43,640 to send out additional tweets 1547 01:00:44,240 --> 01:00:46,000 and build that web of trust. 1548 01:00:47,320 --> 01:00:48,940 But in the terms of, like, 1549 01:00:48,940 --> 01:00:50,480 identifying impersonators themselves, 1550 01:00:50,960 --> 01:00:52,860 there's some analysis we do 1551 01:00:52,860 --> 01:00:54,020 in terms of the metadata. 1552 01:00:54,340 --> 01:00:56,220 There's a lot of cross-correlation 1553 01:00:56,240 --> 01:00:57,860 across the social networks. 1554 01:00:58,080 --> 01:01:01,540 So little nuggets of data across, 1555 01:01:02,240 --> 01:01:03,980 especially some unique social networks, 1556 01:01:04,160 --> 01:01:09,740 that allow us to compile a huge list of data 1557 01:01:10,140 --> 01:01:11,900 around a specific impersonator. 1558 01:01:12,380 --> 01:01:15,140 And so it may be metadata 1559 01:01:15,140 --> 01:01:17,020 that exists on some social networks 1560 01:01:17,020 --> 01:01:18,320 that don't exist on others. 1561 01:01:18,420 --> 01:01:19,260 So here's an example. 1562 01:01:19,500 --> 01:01:20,900 You know, if you go out there 1563 01:01:20,900 --> 01:01:22,800 and you find an image that's been posted, 1564 01:01:22,980 --> 01:01:24,540 a lot of these social networks 1565 01:01:24,540 --> 01:01:25,700 will go ahead and remove 1566 01:01:25,700 --> 01:01:26,660 a lot of that metadata, 1567 01:01:27,000 --> 01:01:29,080 supposedly to protect the privacy 1568 01:01:29,080 --> 01:01:30,860 of the individuals that own that account 1569 01:01:30,860 --> 01:01:32,180 or that are posting that picture. 1570 01:01:32,400 --> 01:01:34,620 But if you find that same picture 1571 01:01:34,620 --> 01:01:36,680 and there are ways to identify it, 1572 01:01:36,740 --> 01:01:37,760 you can go out there 1573 01:01:37,760 --> 01:01:39,460 and look on the social networks 1574 01:01:39,460 --> 01:01:41,400 that don't actually remove that metadata, 1575 01:01:41,720 --> 01:01:42,860 pull that down, 1576 01:01:42,980 --> 01:01:44,820 and leverage that data 1577 01:01:44,820 --> 01:01:46,680 that is within that picture, 1578 01:01:46,800 --> 01:01:48,580 such as location information, 1579 01:01:49,000 --> 01:01:50,620 such as the device information, 1580 01:01:51,120 --> 01:01:53,040 and a variety of other metadata 1581 01:01:53,040 --> 01:01:54,740 that you normally see within an image 1582 01:01:54,740 --> 01:01:57,960 that's been taken from an actual mobile device 1583 01:01:57,960 --> 01:01:59,280 and then posted on the web. 1584 01:01:59,500 --> 01:02:01,120 So there's a whole bunch of different techniques 1585 01:02:01,120 --> 01:02:02,280 that you can leverage for that. 1586 01:02:04,120 --> 01:02:04,860 Great question. 1587 01:02:05,060 --> 01:02:05,840 Any other questions? 1588 01:02:08,960 --> 01:02:09,800 Sounds great. 1589 01:02:09,920 --> 01:02:11,240 Well, thanks, everyone, for the time today. 1590 01:02:11,300 --> 01:02:11,960 Hope you enjoyed it. 1591 01:02:17,560 --> 01:02:18,060 All right. 1592 01:02:19,280 --> 01:02:20,460 Good afternoon, everyone, 1593 01:02:20,500 --> 01:02:22,560 and welcome to the Packet Hacking Village 1594 01:02:22,560 --> 01:02:23,620 and the new site 1595 01:02:23,620 --> 01:02:25,360 of Speaker Workshops. 1596 01:02:25,880 --> 01:02:27,680 Hopefully, this is a lot more open. 1597 01:02:27,820 --> 01:02:30,580 You're more comfortable now than back there? 1598 01:02:33,740 --> 01:02:35,180 There's air in here, right? 1599 01:02:35,380 --> 01:02:36,500 Okay, that's good. 1600 01:02:36,840 --> 01:02:41,500 So now it is going to be 3... 1601 01:02:41,500 --> 01:02:42,260 Is it 310? 1602 01:02:42,520 --> 01:02:43,000 Is it 310? 1603 01:02:43,240 --> 01:02:44,640 I'm losing track of time. 1604 01:02:44,760 --> 01:02:46,200 I mean, I've been out in Vegas 1605 01:02:46,200 --> 01:02:48,480 for a long time now, you know? 1606 01:02:48,620 --> 01:02:50,200 So you get to a point 1607 01:02:50,200 --> 01:02:52,100 where you kind of lose track of everything. 1608 01:02:52,720 --> 01:02:53,200 But... 1609 01:02:53,800 --> 01:02:57,380 Our next talk is with... 1610 01:02:58,660 --> 01:02:59,100 So... 1611 01:02:59,100 --> 01:02:59,760 Wait, where are you from? 1612 01:03:00,280 --> 01:03:01,120 What company? 1613 01:03:01,280 --> 01:03:01,460 Where? 1614 01:03:01,500 --> 01:03:01,780 You remember? 1615 01:03:02,140 --> 01:03:03,160 Oh, you're from Splunk. 1616 01:03:03,180 --> 01:03:03,420 Okay. 1617 01:03:03,580 --> 01:03:03,900 Yeah. 1618 01:03:04,180 --> 01:03:04,620 So... 1619 01:03:04,620 --> 01:03:05,440 Yes. 1620 01:03:05,880 --> 01:03:07,500 So the next talk... 1621 01:03:07,960 --> 01:03:08,760 You also... 1622 01:03:08,760 --> 01:03:10,360 I know you both also gave a talk 1623 01:03:10,360 --> 01:03:12,060 at B-Side Las Vegas as well, too. 1624 01:03:12,780 --> 01:03:13,220 So... 1625 01:03:14,280 --> 01:03:15,620 So it is my pleasure now 1626 01:03:15,620 --> 01:03:16,560 to introduce to you 1627 01:03:17,020 --> 01:03:17,780 Rod Soto, 1628 01:03:18,020 --> 01:03:18,860 Joseph Zeta 1629 01:03:18,860 --> 01:03:19,820 from Splunk, 1630 01:03:19,900 --> 01:03:21,860 and give him a warm welcome. 1631 01:03:22,920 --> 01:03:23,520 Thank you. 1632 01:03:23,900 --> 01:03:25,520 All right. 1633 01:03:26,420 --> 01:03:27,220 Thank you, man. 1634 01:03:27,320 --> 01:03:28,800 So as he introduced us, 1635 01:03:28,920 --> 01:03:29,780 I'm Rod Soto, 1636 01:03:29,940 --> 01:03:31,620 and he's Joseph Zeta 1637 01:03:31,620 --> 01:03:32,980 from Splunk, 1638 01:03:33,000 --> 01:03:33,760 Splunk QBA. 1639 01:03:34,260 --> 01:03:34,780 We... 1640 01:03:34,780 --> 01:03:35,880 We work in the 1641 01:03:35,880 --> 01:03:37,280 User Behavior Analytics Department. 1642 01:03:37,840 --> 01:03:39,200 And we're here today 1643 01:03:39,200 --> 01:03:39,840 to talk to you 1644 01:03:39,840 --> 01:03:42,420 about dynamic population discovery 1645 01:03:42,420 --> 01:03:44,640 for lateral movement detection 1646 01:03:45,220 --> 01:03:46,480 using machine learning. 1647 01:03:46,640 --> 01:03:46,920 So... 1648 01:03:46,920 --> 01:03:49,360 So it's been a busy week for us. 1649 01:03:49,420 --> 01:03:50,360 We spoke at B-Side. 1650 01:03:50,360 --> 01:03:51,420 We spoke at Black Hat. 1651 01:03:51,700 --> 01:03:52,360 And today, 1652 01:03:52,420 --> 01:03:53,240 I'm speaking here 1653 01:03:53,240 --> 01:03:53,500 with Rod Soto, 1654 01:03:53,500 --> 01:03:53,660 who is the Chief Executive Officer 1655 01:03:53,680 --> 01:03:54,120 And he's going to talk 1656 01:03:54,120 --> 01:03:55,000 what we did is basically, 1657 01:03:55,860 --> 01:03:57,340 we've been doing a lot of research 1658 01:03:58,600 --> 01:03:59,920 in regards to 1659 01:04:01,200 --> 01:04:02,360 user behavior analytics 1660 01:04:03,260 --> 01:04:04,700 in several areas 1661 01:04:05,600 --> 01:04:06,480 or entities 1662 01:04:06,480 --> 01:04:07,800 or domains, 1663 01:04:08,000 --> 01:04:08,840 if you call it so. 1664 01:04:09,260 --> 01:04:09,700 So, 1665 01:04:09,820 --> 01:04:11,080 there's plenty of research 1666 01:04:11,080 --> 01:04:11,560 we divided 1667 01:04:11,560 --> 01:04:13,140 in three areas. 1668 01:04:13,420 --> 01:04:14,760 And one of the things 1669 01:04:14,760 --> 01:04:15,600 that we did at Black Hat, 1670 01:04:15,700 --> 01:04:16,880 we released 1671 01:04:16,880 --> 01:04:17,780 an open source 1672 01:04:17,780 --> 01:04:18,940 machine learning tool 1673 01:04:19,660 --> 01:04:21,280 where you can actually apply it 1674 01:04:21,280 --> 01:04:21,800 to B-caps. 1675 01:04:21,960 --> 01:04:22,860 And it will tell you 1676 01:04:22,860 --> 01:04:23,480 if there is an external 1677 01:04:23,500 --> 01:04:24,020 exploit chain 1678 01:04:24,020 --> 01:04:25,600 and a risk score 1679 01:04:25,600 --> 01:04:26,520 for ransomware. 1680 01:04:26,860 --> 01:04:27,300 We may... 1681 01:04:27,300 --> 01:04:28,060 Maybe we will talk 1682 01:04:28,060 --> 01:04:28,600 a little bit 1683 01:04:28,600 --> 01:04:29,780 at the end. 1684 01:04:29,940 --> 01:04:32,160 But we will be releasing... 1685 01:04:32,160 --> 01:04:33,260 The tool is already up, right? 1686 01:04:33,800 --> 01:04:34,280 Okay. 1687 01:04:38,320 --> 01:04:38,800 Okay. 1688 01:04:38,920 --> 01:04:39,680 So I believe 1689 01:04:39,680 --> 01:04:40,940 I introduced myself already. 1690 01:04:41,180 --> 01:04:42,860 I've been with Splunk 1691 01:04:42,860 --> 01:04:43,960 over a year already. 1692 01:04:44,260 --> 01:04:45,140 I was part 1693 01:04:45,140 --> 01:04:46,300 of the Caspita acquisition, 1694 01:04:46,620 --> 01:04:48,300 which was a start-up 1695 01:04:48,300 --> 01:04:49,060 in machine learning 1696 01:04:49,060 --> 01:04:50,440 user behavior analytics. 1697 01:04:51,380 --> 01:04:52,580 And Joe works 1698 01:04:52,580 --> 01:04:53,040 with me 1699 01:04:53,040 --> 01:04:53,480 a couple of years ago. 1700 01:04:53,480 --> 01:04:54,340 On the data science department. 1701 01:04:55,720 --> 01:04:57,080 So let's get started. 1702 01:04:57,700 --> 01:04:59,020 So what is lateral movement? 1703 01:05:00,160 --> 01:05:01,980 We define lateral movement 1704 01:05:01,980 --> 01:05:03,740 as a series of actions 1705 01:05:04,220 --> 01:05:05,220 conducted after 1706 01:05:05,220 --> 01:05:07,260 a successful exploitation attack 1707 01:05:07,260 --> 01:05:08,540 or infiltration 1708 01:05:08,960 --> 01:05:10,460 in an organization's network 1709 01:05:10,760 --> 01:05:11,960 that seeks to further 1710 01:05:11,960 --> 01:05:12,920 reconnaissance 1711 01:05:13,320 --> 01:05:15,260 and expand reach of attacker 1712 01:05:15,980 --> 01:05:17,000 by gaining knowledge 1713 01:05:17,000 --> 01:05:18,720 of internal network assets 1714 01:05:19,200 --> 01:05:21,400 and obviously accessing them. 1715 01:05:21,520 --> 01:05:22,180 So here's a... 1716 01:05:22,180 --> 01:05:24,300 a diagram 1717 01:05:24,300 --> 01:05:25,300 of a... 1718 01:05:26,460 --> 01:05:27,660 sort of like a workflow 1719 01:05:27,660 --> 01:05:28,740 of how you can... 1720 01:05:29,520 --> 01:05:30,480 you can visualize 1721 01:05:30,480 --> 01:05:31,440 lateral movement 1722 01:05:31,440 --> 01:05:34,000 where you have a server 1723 01:05:34,560 --> 01:05:35,500 outside the edge. 1724 01:05:35,700 --> 01:05:36,540 This server, 1725 01:05:36,740 --> 01:05:37,240 let's say, 1726 01:05:37,300 --> 01:05:39,680 has a RFI, 1727 01:05:39,900 --> 01:05:40,740 remote file inclusion. 1728 01:05:42,540 --> 01:05:43,180 Preferably, 1729 01:05:43,240 --> 01:05:43,740 if it's PHP, 1730 01:05:44,440 --> 01:05:45,720 you can basically 1731 01:05:45,720 --> 01:05:47,460 maybe get an RFI, 1732 01:05:47,720 --> 01:05:48,120 exploit, 1733 01:05:48,660 --> 01:05:50,500 upload a web shell, 1734 01:05:50,620 --> 01:05:51,160 a C99, 1735 01:05:51,160 --> 01:05:51,840 VTEC, 1736 01:05:52,480 --> 01:05:52,960 R57, 1737 01:05:53,380 --> 01:05:54,120 whatever your... 1738 01:05:54,120 --> 01:05:54,380 your... 1739 01:05:54,380 --> 01:05:55,000 your flavor 1740 01:05:55,000 --> 01:05:56,840 of web shell is. 1741 01:05:57,040 --> 01:05:57,600 And then from there, 1742 01:05:57,680 --> 01:05:58,200 we can pivot. 1743 01:06:00,880 --> 01:06:03,540 And there are very nice tools 1744 01:06:03,540 --> 01:06:04,560 that can be used 1745 01:06:05,180 --> 01:06:06,760 to further post-exploitation. 1746 01:06:07,020 --> 01:06:07,820 For example, 1747 01:06:07,900 --> 01:06:08,560 with web shells, 1748 01:06:08,760 --> 01:06:09,720 I don't know if you guys 1749 01:06:09,720 --> 01:06:10,400 have used Weebly. 1750 01:06:10,600 --> 01:06:11,580 It's a wonderful tool. 1751 01:06:13,280 --> 01:06:15,200 And it is very interesting 1752 01:06:15,200 --> 01:06:16,260 to use when you have 1753 01:06:16,260 --> 01:06:17,440 limitations on the size 1754 01:06:17,440 --> 01:06:17,880 of the shell 1755 01:06:17,880 --> 01:06:18,560 that you can upload 1756 01:06:18,560 --> 01:06:19,880 or certain vulnerable servers. 1757 01:06:19,880 --> 01:06:21,340 So once I'm in... 1758 01:06:21,340 --> 01:06:21,680 in... 1759 01:06:21,680 --> 01:06:22,900 or able to access 1760 01:06:22,900 --> 01:06:24,280 or get ahold of a... 1761 01:06:24,620 --> 01:06:25,940 a server with a web shell, 1762 01:06:26,060 --> 01:06:26,320 obviously, 1763 01:06:26,420 --> 01:06:26,940 what I want 1764 01:06:26,940 --> 01:06:27,660 is to further 1765 01:06:28,560 --> 01:06:29,760 my actions 1766 01:06:29,760 --> 01:06:30,740 inside of a network. 1767 01:06:30,920 --> 01:06:31,240 And then, 1768 01:06:31,320 --> 01:06:32,460 if there is 1769 01:06:32,460 --> 01:06:33,680 a possibility 1770 01:06:33,680 --> 01:06:34,600 of accessing 1771 01:06:35,740 --> 01:06:36,940 internal servers 1772 01:06:36,940 --> 01:06:37,720 and then moving 1773 01:06:37,720 --> 01:06:38,020 laterally 1774 01:06:39,760 --> 01:06:40,960 by mainly 1775 01:06:40,960 --> 01:06:41,840 either 1776 01:06:42,480 --> 01:06:43,360 escalating privileges 1777 01:06:43,360 --> 01:06:45,420 or getting ahold 1778 01:06:45,420 --> 01:06:45,940 of passwords, 1779 01:06:46,240 --> 01:06:47,260 then now, 1780 01:06:47,360 --> 01:06:48,040 I can move around 1781 01:06:48,040 --> 01:06:48,700 the organization 1782 01:06:48,700 --> 01:06:49,860 and then, 1783 01:06:49,860 --> 01:06:50,140 obviously, 1784 01:06:50,660 --> 01:06:51,960 get what I want. 1785 01:06:52,360 --> 01:06:53,580 It will depend 1786 01:06:53,580 --> 01:06:54,600 on what the objective 1787 01:06:54,600 --> 01:06:56,900 of the malicious actor is, 1788 01:06:57,120 --> 01:06:59,260 but that's pretty much 1789 01:06:59,260 --> 01:07:00,460 the main concept. 1790 01:07:01,960 --> 01:07:02,620 So, 1791 01:07:03,460 --> 01:07:04,720 as I said before, 1792 01:07:05,080 --> 01:07:06,380 you can... 1793 01:07:06,380 --> 01:07:07,520 you have here 1794 01:07:07,520 --> 01:07:08,020 an example 1795 01:07:08,020 --> 01:07:08,800 of lateral movement 1796 01:07:08,800 --> 01:07:09,440 and then, 1797 01:07:09,560 --> 01:07:10,160 obviously, 1798 01:07:10,520 --> 01:07:12,080 there are several tools 1799 01:07:12,080 --> 01:07:12,780 that you can use 1800 01:07:12,780 --> 01:07:13,580 and... 1801 01:07:13,580 --> 01:07:14,160 and then, 1802 01:07:14,220 --> 01:07:14,940 really conduct 1803 01:07:14,940 --> 01:07:15,820 lateral movement 1804 01:07:15,820 --> 01:07:17,360 and either 1805 01:07:17,360 --> 01:07:18,380 exfiltrate information 1806 01:07:18,380 --> 01:07:19,300 or just 1807 01:07:19,300 --> 01:07:19,740 monitor 1808 01:07:19,740 --> 01:07:19,840 what's going on 1809 01:07:20,460 --> 01:07:20,900 or... 1810 01:07:23,920 --> 01:07:24,360 basically, 1811 01:07:24,520 --> 01:07:25,180 create persistence 1812 01:07:25,180 --> 01:07:26,040 and then 1813 01:07:26,680 --> 01:07:27,500 further your stay 1814 01:07:27,500 --> 01:07:28,780 at that host network. 1815 01:07:31,460 --> 01:07:31,900 So, 1816 01:07:33,340 --> 01:07:33,780 obviously, 1817 01:07:33,880 --> 01:07:34,500 you want to gain 1818 01:07:34,500 --> 01:07:35,060 further knowledge 1819 01:07:35,060 --> 01:07:36,280 about internal network access 1820 01:07:36,280 --> 01:07:37,160 and you want to spend 1821 01:07:37,780 --> 01:07:38,980 into other systems. 1822 01:07:39,140 --> 01:07:39,660 Like I said before, 1823 01:07:39,840 --> 01:07:40,960 the goals can be different 1824 01:07:40,960 --> 01:07:41,720 depending on 1825 01:07:41,720 --> 01:07:42,480 what you're targeting, 1826 01:07:42,620 --> 01:07:43,340 but basically, 1827 01:07:43,580 --> 01:07:44,360 what you want 1828 01:07:44,360 --> 01:07:45,420 is to get the crown jewels. 1829 01:07:45,580 --> 01:07:46,000 If you have, 1830 01:07:46,080 --> 01:07:46,320 like, 1831 01:07:46,320 --> 01:07:47,160 domain admin account, 1832 01:07:47,380 --> 01:07:47,640 that's it. 1833 01:07:49,840 --> 01:07:50,640 Once I have 1834 01:07:50,640 --> 01:07:51,900 an enterprise 1835 01:07:51,900 --> 01:07:52,760 domain 1836 01:07:54,100 --> 01:07:54,620 administrator 1837 01:07:55,300 --> 01:07:55,820 administration 1838 01:07:55,820 --> 01:07:56,080 account, 1839 01:07:57,040 --> 01:07:57,960 that's pretty much it. 1840 01:07:58,000 --> 01:07:58,300 I can do 1841 01:07:58,300 --> 01:07:58,940 whatever I want 1842 01:07:59,660 --> 01:08:00,560 and here are 1843 01:08:00,560 --> 01:08:01,120 some of the tools 1844 01:08:01,120 --> 01:08:01,420 that 1845 01:08:02,280 --> 01:08:03,280 we have seen 1846 01:08:03,280 --> 01:08:03,620 and we 1847 01:08:03,620 --> 01:08:04,800 use ourselves. 1848 01:08:04,980 --> 01:08:05,740 I am myself 1849 01:08:05,740 --> 01:08:06,280 a pen tester. 1850 01:08:09,080 --> 01:08:09,600 So, 1851 01:08:09,640 --> 01:08:10,480 why is this important? 1852 01:08:11,300 --> 01:08:11,820 Well, 1853 01:08:11,960 --> 01:08:13,580 the main issue here 1854 01:08:13,580 --> 01:08:13,900 and 1855 01:08:13,900 --> 01:08:14,960 if you guys 1856 01:08:16,100 --> 01:08:16,900 have been, 1857 01:08:17,020 --> 01:08:17,520 for example, 1858 01:08:17,520 --> 01:08:18,900 looking at the Verizon 1859 01:08:18,900 --> 01:08:19,380 and 1860 01:08:19,840 --> 01:08:20,320 report, 1861 01:08:20,480 --> 01:08:21,680 the concept 1862 01:08:21,680 --> 01:08:22,340 of dwelling, 1863 01:08:22,600 --> 01:08:23,280 right, 1864 01:08:23,420 --> 01:08:23,660 or 1865 01:08:24,380 --> 01:08:25,480 detection deficit 1866 01:08:25,480 --> 01:08:26,760 how Verizon calls it, 1867 01:08:26,880 --> 01:08:28,060 is basically 1868 01:08:28,060 --> 01:08:29,000 how long 1869 01:08:29,000 --> 01:08:29,740 does it take 1870 01:08:29,740 --> 01:08:30,980 for an enterprise 1871 01:08:30,980 --> 01:08:31,760 to discover 1872 01:08:31,760 --> 01:08:33,160 that they have been 1873 01:08:34,860 --> 01:08:35,500 breached, 1874 01:08:35,640 --> 01:08:36,160 have been 1875 01:08:36,160 --> 01:08:37,040 penetrated 1876 01:08:37,040 --> 01:08:37,360 and 1877 01:08:37,360 --> 01:08:39,120 the longest 1878 01:08:39,120 --> 01:08:39,480 obviously 1879 01:08:39,480 --> 01:08:40,300 it takes for them 1880 01:08:40,300 --> 01:08:41,180 to discover them, 1881 01:08:42,560 --> 01:08:43,680 the worst 1882 01:08:43,680 --> 01:08:44,280 for anybody. 1883 01:08:44,700 --> 01:08:45,340 So, 1884 01:08:45,460 --> 01:08:46,360 that's why 1885 01:08:46,360 --> 01:08:47,200 lateral movement 1886 01:08:47,200 --> 01:08:47,620 is important 1887 01:08:48,460 --> 01:08:49,460 because there are 1888 01:08:49,840 --> 01:08:50,020 several times, 1889 01:08:50,020 --> 01:08:50,520 I'll tell you, 1890 01:08:50,580 --> 01:08:51,640 I'll give you an example. 1891 01:08:52,440 --> 01:08:53,280 We were playing 1892 01:08:53,280 --> 01:08:54,060 with an algorithm 1893 01:08:54,520 --> 01:08:54,960 and 1894 01:08:54,960 --> 01:08:55,980 I was using 1895 01:08:55,980 --> 01:08:56,460 a, 1896 01:08:57,220 --> 01:08:58,020 I was using 1897 01:08:58,020 --> 01:08:59,360 a encrypted payload. 1898 01:08:59,520 --> 01:08:59,860 I was just 1899 01:09:00,420 --> 01:09:01,240 using a 1900 01:09:01,240 --> 01:09:02,360 outbound 443. 1901 01:09:02,600 --> 01:09:02,980 So, 1902 01:09:03,040 --> 01:09:03,380 for example, 1903 01:09:03,380 --> 01:09:03,780 if you have like 1904 01:09:03,780 --> 01:09:04,520 a band device, 1905 01:09:04,980 --> 01:09:06,080 they won't see it. 1906 01:09:06,240 --> 01:09:06,680 However, 1907 01:09:07,880 --> 01:09:08,820 when I passed 1908 01:09:08,820 --> 01:09:09,280 the hash 1909 01:09:09,280 --> 01:09:10,160 and the RDP 1910 01:09:10,160 --> 01:09:11,400 into one of the 1911 01:09:13,260 --> 01:09:13,700 workstation, 1912 01:09:14,160 --> 01:09:15,080 I got an alert 1913 01:09:15,080 --> 01:09:15,400 saying, 1914 01:09:15,500 --> 01:09:16,100 this guy never 1915 01:09:16,100 --> 01:09:17,000 RDP'd to this 1916 01:09:17,000 --> 01:09:17,680 workstation. 1917 01:09:18,300 --> 01:09:18,980 Lateral movement 1918 01:09:18,980 --> 01:09:20,040 and that's how 1919 01:09:20,040 --> 01:09:21,140 the algorithm caught me. 1920 01:09:21,860 --> 01:09:22,360 So, 1921 01:09:22,400 --> 01:09:22,780 this is why 1922 01:09:22,780 --> 01:09:23,220 it's important. 1923 01:09:23,540 --> 01:09:23,960 Sometimes, 1924 01:09:24,680 --> 01:09:25,360 you know, 1925 01:09:25,400 --> 01:09:26,360 if we're looking at 1926 01:09:26,360 --> 01:09:27,260 things at the edge, 1927 01:09:27,300 --> 01:09:28,180 sometimes we cannot see it, 1928 01:09:28,260 --> 01:09:28,400 but 1929 01:09:28,400 --> 01:09:29,720 if we look at 1930 01:09:29,720 --> 01:09:31,040 patterns of behavior 1931 01:09:31,040 --> 01:09:32,220 and indicators 1932 01:09:33,000 --> 01:09:33,800 that sometimes 1933 01:09:33,800 --> 01:09:34,600 we really do not 1934 01:09:34,600 --> 01:09:35,020 pay attention 1935 01:09:35,020 --> 01:09:35,420 or 1936 01:09:35,420 --> 01:09:36,960 because we get 1937 01:09:36,960 --> 01:09:38,080 so much information, 1938 01:09:38,360 --> 01:09:39,140 we can't just 1939 01:09:39,890 --> 01:09:40,360 see it 1940 01:09:40,360 --> 01:09:41,100 or grab it 1941 01:09:42,200 --> 01:09:43,360 at the right time, 1942 01:09:43,460 --> 01:09:44,380 then we can discover 1943 01:09:44,380 --> 01:09:45,120 things that 1944 01:09:46,140 --> 01:09:46,840 right now 1945 01:09:46,840 --> 01:09:47,460 is very hard 1946 01:09:47,460 --> 01:09:47,760 to see. 1947 01:09:48,580 --> 01:09:49,100 So, 1948 01:09:49,240 --> 01:09:49,840 obviously, 1949 01:09:49,960 --> 01:09:50,660 if we want 1950 01:09:50,660 --> 01:09:51,080 to improve 1951 01:09:51,080 --> 01:09:51,620 detection, 1952 01:09:51,840 --> 01:09:53,420 then this 1953 01:09:53,420 --> 01:09:54,420 algorithm 1954 01:09:54,420 --> 01:09:55,160 will reduce 1955 01:09:55,160 --> 01:09:55,840 and contain 1956 01:09:55,840 --> 01:09:57,060 for an impact 1957 01:09:58,200 --> 01:09:58,720 and, 1958 01:09:59,000 --> 01:09:59,580 obviously, 1959 01:09:59,800 --> 01:10:00,180 detection 1960 01:10:00,180 --> 01:10:00,660 or lateral 1961 01:10:00,660 --> 01:10:00,940 move 1962 01:10:00,940 --> 01:10:01,440 enables 1963 01:10:01,440 --> 01:10:02,120 SOC, 1964 01:10:02,260 --> 01:10:02,840 SecOps, 1965 01:10:03,060 --> 01:10:03,300 IR, 1966 01:10:03,440 --> 01:10:03,620 DR, 1967 01:10:03,780 --> 01:10:04,280 depends on 1968 01:10:04,280 --> 01:10:04,820 what team 1969 01:10:04,820 --> 01:10:05,300 you work at, 1970 01:10:06,600 --> 01:10:07,320 to act 1971 01:10:07,320 --> 01:10:07,940 in a more efficient 1972 01:10:07,940 --> 01:10:08,380 manner 1973 01:10:08,380 --> 01:10:09,300 and coordinated 1974 01:10:09,300 --> 01:10:09,660 manner 1975 01:10:09,660 --> 01:10:10,220 and, 1976 01:10:10,420 --> 01:10:10,740 obviously, 1977 01:10:11,000 --> 01:10:12,240 increases the cost 1978 01:10:12,240 --> 01:10:13,360 and deters 1979 01:10:13,360 --> 01:10:13,940 attackers 1980 01:10:14,600 --> 01:10:15,360 and would be 1981 01:10:15,360 --> 01:10:16,060 external attackers 1982 01:10:16,060 --> 01:10:17,160 as well as insiders. 1983 01:10:17,220 --> 01:10:18,000 This has been said 1984 01:10:18,560 --> 01:10:18,880 forever. 1985 01:10:19,180 --> 01:10:19,800 The higher 1986 01:10:19,800 --> 01:10:20,320 the cost 1987 01:10:20,320 --> 01:10:21,520 for an attacker, 1988 01:10:21,720 --> 01:10:23,040 unless you have, 1989 01:10:23,160 --> 01:10:23,800 I don't know, 1990 01:10:23,860 --> 01:10:24,860 something that is very valuable 1991 01:10:25,440 --> 01:10:26,140 or it's 1992 01:10:26,140 --> 01:10:27,600 a nation state 1993 01:10:27,600 --> 01:10:28,420 that is 1994 01:10:28,420 --> 01:10:29,080 determined 1995 01:10:29,080 --> 01:10:29,760 to get you, 1996 01:10:30,720 --> 01:10:31,360 usually, 1997 01:10:31,600 --> 01:10:32,520 the higher 1998 01:10:32,520 --> 01:10:33,440 and the more 1999 01:10:33,440 --> 01:10:33,880 difficult 2000 01:10:33,880 --> 01:10:35,160 that you make it 2001 01:10:35,160 --> 01:10:35,540 to 2002 01:10:35,540 --> 01:10:37,400 be compromised, 2003 01:10:37,760 --> 01:10:38,640 it's likely 2004 01:10:38,640 --> 01:10:39,060 that 2005 01:10:39,680 --> 01:10:40,520 low to 2006 01:10:40,520 --> 01:10:41,120 medium level 2007 01:10:41,120 --> 01:10:41,420 attackers 2008 01:10:41,420 --> 01:10:41,880 will walk 2009 01:10:41,880 --> 01:10:42,180 away, 2010 01:10:42,300 --> 01:10:42,900 plain and simple. 2011 01:10:45,160 --> 01:10:45,680 So, 2012 01:10:45,720 --> 01:10:46,160 how we 2013 01:10:46,160 --> 01:10:46,760 establish 2014 01:10:47,500 --> 01:10:48,020 assets, 2015 01:10:48,420 --> 01:10:48,620 right? 2016 01:10:48,680 --> 01:10:49,240 Because we're looking 2017 01:10:49,240 --> 01:10:49,780 at lateral 2018 01:10:49,780 --> 01:10:50,160 move 2019 01:10:50,160 --> 01:10:51,600 and at dynamic 2020 01:10:52,180 --> 01:10:52,700 discovery. 2021 01:10:53,240 --> 01:10:53,400 So, 2022 01:10:53,500 --> 01:10:54,180 basically, 2023 01:10:54,240 --> 01:10:54,680 we need to 2024 01:10:54,680 --> 01:10:55,340 define 2025 01:10:55,340 --> 01:10:56,980 what is an asset. 2026 01:10:57,340 --> 01:10:57,860 So, 2027 01:10:57,860 --> 01:10:58,600 an asset is, 2028 01:10:58,600 --> 01:10:59,800 and I took 2029 01:10:59,800 --> 01:11:00,220 this as 2030 01:11:00,220 --> 01:11:00,860 a generic 2031 01:11:01,480 --> 01:11:02,440 from Wikipedia, 2032 01:11:02,580 --> 01:11:03,080 it's basically 2033 01:11:03,080 --> 01:11:05,380 a data 2034 01:11:05,380 --> 01:11:05,800 device 2035 01:11:05,800 --> 01:11:06,960 or a component 2036 01:11:06,960 --> 01:11:08,200 in an environment 2037 01:11:08,200 --> 01:11:08,700 that supports 2038 01:11:08,700 --> 01:11:10,500 information related 2039 01:11:10,500 --> 01:11:11,060 activities, 2040 01:11:11,480 --> 01:11:11,740 right? 2041 01:11:11,900 --> 01:11:12,080 So, 2042 01:11:12,100 --> 01:11:12,420 this can be 2043 01:11:12,420 --> 01:11:13,120 generic. 2044 01:11:13,360 --> 01:11:14,340 And sometimes, 2045 01:11:14,560 --> 01:11:15,280 the reason it's 2046 01:11:15,280 --> 01:11:16,120 generic is because 2047 01:11:16,120 --> 01:11:17,020 when you're dealing 2048 01:11:17,020 --> 01:11:18,040 with user behavior 2049 01:11:18,040 --> 01:11:18,480 analytics, 2050 01:11:18,960 --> 01:11:19,920 you have to be 2051 01:11:19,920 --> 01:11:20,680 ready 2052 01:11:20,680 --> 01:11:21,660 to deal 2053 01:11:21,660 --> 01:11:22,280 with 2054 01:11:23,480 --> 01:11:24,120 disparity 2055 01:11:24,120 --> 01:11:24,960 and diversity 2056 01:11:24,960 --> 01:11:25,560 of sources. 2057 01:11:26,000 --> 01:11:26,460 So, 2058 01:11:26,500 --> 01:11:27,220 one of the biggest 2059 01:11:27,220 --> 01:11:27,780 challenges 2060 01:11:27,780 --> 01:11:28,500 when processing 2061 01:11:28,500 --> 01:11:28,980 information 2062 01:11:28,980 --> 01:11:30,460 and applying 2063 01:11:30,460 --> 01:11:31,000 algorithms 2064 01:11:31,000 --> 01:11:31,620 to it 2065 01:11:35,800 --> 01:11:35,880 is to 2066 01:11:35,880 --> 01:11:35,920 extract, 2067 01:11:36,120 --> 01:11:36,500 transform, 2068 01:11:36,680 --> 01:11:36,940 load. 2069 01:11:37,180 --> 01:11:38,060 It's a big data term. 2070 01:11:38,740 --> 01:11:39,180 So, 2071 01:11:39,240 --> 01:11:39,620 basically, 2072 01:11:39,660 --> 01:11:40,320 we have 2073 01:11:41,240 --> 01:11:42,340 a CEP format, 2074 01:11:42,660 --> 01:11:43,160 but then we have 2075 01:11:43,160 --> 01:11:43,960 a CSV format, 2076 01:11:44,140 --> 01:11:44,800 but then we have 2077 01:11:45,660 --> 01:11:46,900 an XML format. 2078 01:11:47,020 --> 01:11:47,120 So, 2079 01:11:47,140 --> 01:11:47,600 all of this 2080 01:11:47,600 --> 01:11:48,280 needs to be 2081 01:11:48,280 --> 01:11:49,120 parsed 2082 01:11:49,700 --> 01:11:50,580 and injected 2083 01:11:50,580 --> 01:11:51,500 and then processed 2084 01:11:51,500 --> 01:11:52,200 by the algorithm. 2085 01:11:52,420 --> 01:11:52,520 So, 2086 01:11:52,520 --> 01:11:53,340 this is a challenge. 2087 01:11:54,520 --> 01:11:55,180 And because 2088 01:11:55,180 --> 01:11:55,520 we're trying 2089 01:11:55,520 --> 01:11:56,100 to look at things 2090 01:11:56,100 --> 01:11:57,220 that are usually 2091 01:11:57,220 --> 01:11:58,940 not static-based, 2092 01:11:59,140 --> 01:11:59,760 which is also 2093 01:11:59,760 --> 01:12:01,260 one of the advantages 2094 01:12:01,260 --> 01:12:01,740 of using 2095 01:12:01,740 --> 01:12:02,360 machine learning, 2096 01:12:02,480 --> 01:12:02,900 you can teach 2097 01:12:02,900 --> 01:12:03,340 algorithms 2098 01:12:03,340 --> 01:12:04,740 to find 2099 01:12:04,740 --> 01:12:05,280 patterns 2100 01:12:05,280 --> 01:12:07,020 and to define 2101 01:12:07,020 --> 01:12:07,720 micro behaviors 2102 01:12:07,720 --> 01:12:09,200 that are otherwise 2103 01:12:09,200 --> 01:12:10,000 non-present 2104 01:12:10,000 --> 01:12:11,580 in a static 2105 01:12:11,580 --> 01:12:12,520 signature-based 2106 01:12:12,520 --> 01:12:13,080 technology, 2107 01:12:13,260 --> 01:12:13,880 such as 2108 01:12:13,880 --> 01:12:14,700 antivirus, 2109 01:12:15,060 --> 01:12:16,040 such as 2110 01:12:16,040 --> 01:12:16,660 endpoint, 2111 01:12:17,200 --> 01:12:18,000 such as 2112 01:12:18,000 --> 01:12:18,840 firewalls, 2113 01:12:18,840 --> 01:12:19,220 IDS, 2114 01:12:19,220 --> 01:12:19,540 et cetera. 2115 01:12:19,740 --> 01:12:20,840 You can complement it, 2116 01:12:20,880 --> 01:12:21,020 though. 2117 01:12:21,140 --> 01:12:21,960 Machine learning 2118 01:12:21,960 --> 01:12:23,480 is not a panacea. 2119 01:12:23,480 --> 01:12:23,860 It's not going to 2120 01:12:23,860 --> 01:12:24,500 solve everything 2121 01:12:24,500 --> 01:12:25,080 in one shot. 2122 01:12:25,220 --> 01:12:25,540 However, 2123 01:12:25,540 --> 01:12:26,680 it is 2124 01:12:26,680 --> 01:12:27,720 an enhancer 2125 01:12:27,720 --> 01:12:28,960 when it comes 2126 01:12:28,960 --> 01:12:29,480 to detect 2127 01:12:29,480 --> 01:12:30,600 and prevent. 2128 01:12:33,560 --> 01:12:34,080 So, 2129 01:12:34,100 --> 01:12:34,460 obviously, 2130 01:12:34,680 --> 01:12:35,400 this comes back 2131 01:12:35,400 --> 01:12:35,660 to 2132 01:12:36,420 --> 01:12:37,420 things such as 2133 01:12:37,420 --> 01:12:38,340 why do we 2134 01:12:38,340 --> 01:12:39,120 have to 2135 01:12:39,120 --> 01:12:40,080 pay attention 2136 01:12:40,080 --> 01:12:40,380 to lateral 2137 01:12:40,380 --> 01:12:40,680 movement, 2138 01:12:40,780 --> 01:12:41,460 asset management 2139 01:12:41,460 --> 01:12:42,420 and define 2140 01:12:42,420 --> 01:12:42,920 our assets? 2141 01:12:43,240 --> 01:12:43,760 Obviously, 2142 01:12:43,760 --> 01:12:44,220 there is no 2143 01:12:44,220 --> 01:12:44,860 asset management, 2144 01:12:45,120 --> 01:12:45,400 there is no 2145 01:12:45,400 --> 01:12:45,940 risk analysis. 2146 01:12:46,520 --> 01:12:47,320 If you don't 2147 01:12:47,320 --> 01:12:48,160 supervise 2148 01:12:48,160 --> 01:12:49,160 or you don't 2149 01:12:49,160 --> 01:12:49,740 monitor well 2150 01:12:49,740 --> 01:12:50,260 your assets, 2151 01:12:50,500 --> 01:12:51,080 you're likely 2152 01:12:51,080 --> 01:12:51,780 to be targeted 2153 01:12:58,120 --> 01:12:59,120 by people 2154 01:13:02,460 --> 01:13:03,460 who don't 2155 01:13:03,460 --> 01:13:03,900 know 2156 01:13:03,900 --> 01:13:04,280 what you have 2157 01:13:04,280 --> 01:13:04,520 in your 2158 01:13:04,520 --> 01:13:04,700 network. 2159 01:13:05,340 --> 01:13:05,840 So, 2160 01:13:05,840 --> 01:13:07,840 if you don't 2161 01:13:07,840 --> 01:13:08,180 know 2162 01:13:08,180 --> 01:13:09,100 what you 2163 01:13:09,100 --> 01:13:09,220 have 2164 01:13:09,220 --> 01:13:09,480 in your 2165 01:13:09,480 --> 01:13:09,780 network, 2166 01:13:10,000 --> 01:13:10,500 what you 2167 01:13:10,500 --> 01:13:10,680 don't 2168 01:13:10,680 --> 01:13:10,880 know 2169 01:13:10,880 --> 01:13:11,080 can 2170 01:13:11,080 --> 01:13:11,820 and will 2171 01:13:11,820 --> 01:13:12,100 hurt 2172 01:13:12,100 --> 01:13:12,300 you. 2173 01:13:12,680 --> 01:13:13,040 So, 2174 01:13:13,060 --> 01:13:13,400 this is why 2175 01:13:13,400 --> 01:13:13,820 it's important 2176 01:13:13,820 --> 01:13:14,280 to know 2177 01:13:14,280 --> 01:13:14,920 what we're 2178 01:13:14,920 --> 01:13:15,100 dealing 2179 01:13:15,100 --> 01:13:15,400 with, 2180 01:13:15,660 --> 01:13:16,340 how we 2181 01:13:16,340 --> 01:13:16,700 manage 2182 01:13:16,700 --> 01:13:16,840 this 2183 01:13:17,860 --> 01:13:18,580 and how 2184 01:13:18,580 --> 01:13:18,900 we approach 2185 01:13:18,900 --> 01:13:19,200 it. 2186 01:13:19,980 --> 01:13:20,420 Obviously, 2187 01:13:20,440 --> 01:13:20,960 this is 2188 01:13:20,960 --> 01:13:21,580 needless 2189 01:13:21,580 --> 01:13:21,940 to say 2190 01:13:21,940 --> 01:13:22,180 but I have 2191 01:13:22,180 --> 01:13:22,480 to repeat 2192 01:13:22,480 --> 01:13:22,700 it, 2193 01:13:22,920 --> 01:13:23,680 the lack 2194 01:13:23,680 --> 01:13:24,160 of OS 2195 01:13:24,160 --> 01:13:24,880 application 2196 01:13:24,880 --> 01:13:25,480 version 2197 01:13:25,480 --> 01:13:26,420 patch level 2198 01:13:26,420 --> 01:13:27,280 obviously 2199 01:13:27,280 --> 01:13:27,800 increases 2200 01:13:27,800 --> 01:13:28,320 the risk 2201 01:13:28,320 --> 01:13:28,900 of compromise. 2202 01:13:29,100 --> 01:13:29,280 If you 2203 01:13:29,280 --> 01:13:29,460 don't 2204 01:13:29,460 --> 01:13:29,680 know, 2205 01:13:31,020 --> 01:13:31,460 sometimes 2206 01:13:31,460 --> 01:13:32,280 I know 2207 01:13:32,280 --> 01:13:32,520 there are 2208 01:13:32,520 --> 01:13:32,760 decisions 2209 01:13:32,760 --> 01:13:33,600 in enterprises 2210 01:13:33,600 --> 01:13:34,000 that are 2211 01:13:34,000 --> 01:13:34,500 made on 2212 01:13:34,500 --> 01:13:34,860 okay, 2213 01:13:36,320 --> 01:13:37,360 if we 2214 01:13:37,360 --> 01:13:38,260 have seen 2215 01:13:38,260 --> 01:13:38,700 for example 2216 01:13:38,700 --> 01:13:39,280 in the field 2217 01:13:39,280 --> 01:13:39,740 a certain 2218 01:13:39,740 --> 01:13:40,100 patch 2219 01:13:40,100 --> 01:13:40,860 crashes 2220 01:13:42,060 --> 01:13:42,580 Microsoft 2221 01:13:42,580 --> 01:13:43,140 Windows 2222 01:13:43,140 --> 01:13:43,500 software, 2223 01:13:43,640 --> 01:13:43,860 have you ever 2224 01:13:43,860 --> 01:13:44,080 heard of 2225 01:13:44,080 --> 01:13:44,200 that? 2226 01:13:45,860 --> 01:13:46,540 Is that 2227 01:13:46,540 --> 01:13:46,960 like rare? 2228 01:13:47,980 --> 01:13:48,500 Sometimes 2229 01:13:49,560 --> 01:13:50,600 I'm not 2230 01:13:50,600 --> 01:13:51,140 patching 2231 01:13:51,140 --> 01:13:52,700 that because 2232 01:13:53,740 --> 01:13:54,460 you know, 2233 01:13:54,520 --> 01:13:55,780 if I 2234 01:13:55,780 --> 01:13:56,040 can't 2235 01:13:56,040 --> 01:13:56,360 come back, 2236 01:13:56,400 --> 01:13:56,720 my server 2237 01:13:56,720 --> 01:13:56,960 doesn't 2238 01:13:56,960 --> 01:13:57,360 come back 2239 01:13:57,360 --> 01:13:58,180 then I'm 2240 01:13:58,180 --> 01:13:59,000 now legally 2241 01:14:04,000 --> 01:14:04,200 managed 2242 01:14:04,200 --> 01:14:04,640 obviously 2243 01:14:05,720 --> 01:14:06,400 but 2244 01:14:07,220 --> 01:14:07,900 the 2245 01:14:07,900 --> 01:14:09,020 lack 2246 01:14:09,020 --> 01:14:09,260 of 2247 01:14:09,260 --> 01:14:09,580 batch 2248 01:14:11,060 --> 01:14:11,740 versions 2249 01:14:11,740 --> 01:14:12,740 and OS 2250 01:14:12,740 --> 01:14:13,660 versions 2251 01:14:13,660 --> 01:14:14,080 obviously 2252 01:14:14,080 --> 01:14:14,780 is a huge 2253 01:14:14,780 --> 01:14:15,160 risk. 2254 01:14:15,300 --> 01:14:15,920 Not only 2255 01:14:15,920 --> 01:14:16,300 because you 2256 01:14:16,300 --> 01:14:16,740 are exposing 2257 01:14:16,740 --> 01:14:17,120 yourself 2258 01:14:17,120 --> 01:14:18,000 but because 2259 01:14:18,740 --> 01:14:19,860 even attempting 2260 01:14:19,860 --> 01:14:20,400 to fix 2261 01:14:20,400 --> 01:14:20,620 it, 2262 01:14:20,660 --> 01:14:21,060 it might 2263 01:14:21,060 --> 01:14:21,300 be a 2264 01:14:21,300 --> 01:14:21,500 problem. 2265 01:14:22,940 --> 01:14:23,620 Enables 2266 01:14:24,520 --> 01:14:25,500 the access 2267 01:14:25,500 --> 01:14:26,040 management 2268 01:14:26,040 --> 01:14:28,300 of resources 2269 01:14:28,300 --> 01:14:28,800 inside 2270 01:14:28,800 --> 01:14:29,000 the 2271 01:14:34,000 --> 01:14:34,100 So we 2272 01:14:34,100 --> 01:14:35,060 the exploitation 2273 01:14:35,060 --> 01:14:36,040 started from 2274 01:14:36,040 --> 01:14:36,600 the edge. 2275 01:14:36,860 --> 01:14:37,020 However, 2276 01:14:37,200 --> 01:14:37,580 we're going 2277 01:14:37,580 --> 01:14:38,020 to focus 2278 01:14:38,020 --> 01:14:38,620 on the 2279 01:14:38,620 --> 01:14:38,980 perimeter. 2280 01:14:40,040 --> 01:14:40,820 And then 2281 01:14:40,820 --> 01:14:41,240 finally, 2282 01:14:42,560 --> 01:14:43,200 obviously, 2283 01:14:43,520 --> 01:14:44,200 I'm assuming 2284 01:14:44,200 --> 01:14:44,580 I'm with 2285 01:14:44,580 --> 01:14:44,900 a lot of 2286 01:14:44,900 --> 01:14:45,080 security 2287 01:14:45,080 --> 01:14:45,700 people here, 2288 01:14:47,380 --> 01:14:48,020 enable 2289 01:14:48,020 --> 01:14:48,760 SecOps, 2290 01:14:49,000 --> 01:14:49,740 IRDS, 2291 01:14:50,600 --> 01:14:51,240 disaster 2292 01:14:51,240 --> 01:14:51,640 recovery 2293 01:14:51,640 --> 01:14:52,200 incident 2294 01:14:52,200 --> 01:14:53,060 response 2295 01:14:53,060 --> 01:14:53,860 to 2296 01:14:53,860 --> 01:14:54,120 identified 2297 01:14:54,120 --> 01:14:54,700 access 2298 01:14:54,700 --> 01:14:55,100 to 2299 01:14:55,100 --> 01:14:55,560 resources 2300 01:14:55,920 --> 01:14:56,580 in cases 2301 01:14:56,580 --> 01:14:57,120 of an incident. 2302 01:14:57,480 --> 01:14:58,280 How many 2303 01:14:58,280 --> 01:14:59,020 pentesters do 2304 01:14:59,020 --> 01:14:59,280 we have 2305 01:14:59,280 --> 01:14:59,520 here? 2306 01:15:00,060 --> 01:15:00,680 Raise your 2307 01:15:00,680 --> 01:15:00,880 hand. 2308 01:15:01,160 --> 01:15:01,760 All right. 2309 01:15:03,000 --> 01:15:03,760 Any time 2310 01:15:03,760 --> 01:15:04,180 you submit 2311 01:15:04,180 --> 01:15:04,620 a report 2312 01:15:04,620 --> 01:15:05,960 to SecOps, 2313 01:15:06,060 --> 01:15:06,260 what do 2314 01:15:06,260 --> 01:15:06,580 they tell 2315 01:15:06,580 --> 01:15:06,760 you? 2316 01:15:07,560 --> 01:15:08,040 Prove 2317 01:15:08,040 --> 01:15:08,100 it, 2318 01:15:08,160 --> 01:15:08,300 right? 2319 01:15:09,280 --> 01:15:09,880 I'm not 2320 01:15:09,880 --> 01:15:10,160 touching 2321 01:15:10,160 --> 01:15:10,340 that 2322 01:15:10,340 --> 01:15:10,660 firewall 2323 01:15:10,660 --> 01:15:11,020 until you 2324 01:15:11,020 --> 01:15:11,180 prove 2325 01:15:11,180 --> 01:15:11,400 it, 2326 01:15:11,460 --> 01:15:11,800 right? 2327 01:15:12,020 --> 01:15:12,660 So it's 2328 01:15:12,660 --> 01:15:12,980 a fight. 2329 01:15:13,140 --> 01:15:13,580 And it's 2330 01:15:13,580 --> 01:15:13,840 a fight. 2331 01:15:13,960 --> 01:15:14,360 I went 2332 01:15:14,360 --> 01:15:14,720 through that. 2333 01:15:14,840 --> 01:15:15,240 I had to 2334 01:15:15,240 --> 01:15:15,620 deal with 2335 01:15:15,620 --> 01:15:16,000 developer 2336 01:15:16,900 --> 01:15:17,240 teams, 2337 01:15:17,420 --> 01:15:17,760 which they 2338 01:15:17,760 --> 01:15:18,240 were awesome. 2339 01:15:18,380 --> 01:15:18,820 But every time 2340 01:15:18,820 --> 01:15:19,160 I saw 2341 01:15:19,160 --> 01:15:19,300 them, 2342 01:15:19,460 --> 01:15:20,120 I showed 2343 01:15:20,120 --> 01:15:20,520 them proof 2344 01:15:20,520 --> 01:15:21,340 of something 2345 01:15:21,340 --> 01:15:21,660 that was 2346 01:15:21,660 --> 01:15:22,080 potentially 2347 01:15:22,600 --> 01:15:23,280 at risk. 2348 01:15:23,400 --> 01:15:23,760 And I would 2349 01:15:23,760 --> 01:15:24,080 show the 2350 01:15:24,080 --> 01:15:24,400 exploit. 2351 01:15:25,120 --> 01:15:25,460 Actually, 2352 01:15:25,480 --> 01:15:25,720 the proof 2353 01:15:25,720 --> 01:15:26,180 of concept, 2354 01:15:26,340 --> 01:15:26,640 it was 2355 01:15:26,640 --> 01:15:27,340 a fight. 2356 01:15:27,400 --> 01:15:27,860 And sometimes 2357 01:15:28,920 --> 01:15:29,260 change 2358 01:15:42,660 --> 01:15:42,800 in that 2359 01:15:42,800 --> 01:15:43,040 fight. 2360 01:15:43,860 --> 01:15:44,560 And with 2361 01:15:44,560 --> 01:15:44,820 that, 2362 01:15:44,920 --> 01:15:45,340 I'm going 2363 01:15:45,340 --> 01:15:45,840 to leave 2364 01:15:45,840 --> 01:15:46,200 you with 2365 01:15:46,200 --> 01:15:46,440 Joe. 2366 01:15:46,560 --> 01:15:46,900 He's going 2367 01:15:46,900 --> 01:15:47,200 to talk 2368 01:15:47,200 --> 01:15:48,080 about practical 2369 01:15:48,080 --> 01:15:48,640 machine learning 2370 01:15:48,640 --> 01:15:49,080 for security. 2371 01:15:50,760 --> 01:15:51,220 Thanks, 2372 01:15:51,380 --> 01:15:51,500 Rod. 2373 01:15:52,880 --> 01:15:53,480 Can you 2374 01:15:53,480 --> 01:15:53,680 guys hear 2375 01:15:53,680 --> 01:15:53,920 me okay? 2376 01:15:55,420 --> 01:15:56,340 So just 2377 01:15:57,060 --> 01:15:57,740 to kind 2378 01:15:57,740 --> 01:15:58,200 of start 2379 01:15:58,200 --> 01:15:58,500 a deep 2380 01:15:58,500 --> 01:15:58,960 dive into 2381 01:15:58,960 --> 01:15:59,260 some of 2382 01:15:59,260 --> 01:15:59,680 the math 2383 01:15:59,680 --> 01:16:00,480 and the 2384 01:16:01,200 --> 01:16:02,020 kind of 2385 01:16:02,020 --> 01:16:02,640 motivation 2386 01:16:02,640 --> 01:16:03,060 here, 2387 01:16:03,960 --> 01:16:04,420 part 2388 01:16:12,660 --> 01:16:12,920 is sort 2389 01:16:12,920 --> 01:16:13,120 of like 2390 01:16:13,120 --> 01:16:13,560 the abstract 2391 01:16:13,560 --> 01:16:14,360 is up 2392 01:16:14,360 --> 01:16:14,520 here. 2393 01:16:14,600 --> 01:16:14,860 It's super 2394 01:16:15,400 --> 01:16:15,820 academic. 2395 01:16:16,120 --> 01:16:16,460 It's really 2396 01:16:16,460 --> 01:16:16,740 dense. 2397 01:16:17,860 --> 01:16:18,600 But if 2398 01:16:18,600 --> 01:16:18,940 anyone's 2399 01:16:18,940 --> 01:16:19,180 interested 2400 01:16:19,180 --> 01:16:19,500 in sort 2401 01:16:19,500 --> 01:16:19,700 of like 2402 01:16:19,700 --> 01:16:20,120 the white 2403 01:16:20,120 --> 01:16:20,420 paper, 2404 01:16:21,140 --> 01:16:21,760 come see 2405 01:16:21,760 --> 01:16:21,880 us 2406 01:16:21,880 --> 01:16:22,160 afterward 2407 01:16:22,160 --> 01:16:22,580 and we'll 2408 01:16:22,580 --> 01:16:22,740 forward 2409 01:16:22,740 --> 01:16:23,020 you some 2410 01:16:23,020 --> 01:16:23,340 of the 2411 01:16:23,340 --> 01:16:23,960 theoretical 2412 01:16:23,960 --> 01:16:25,040 ideas that 2413 01:16:25,040 --> 01:16:25,580 are sort 2414 01:16:25,580 --> 01:16:26,060 of underlying 2415 01:16:26,060 --> 01:16:26,880 what we're 2416 01:16:26,880 --> 01:16:27,000 going to be 2417 01:16:27,000 --> 01:16:27,420 talking about. 2418 01:16:27,600 --> 01:16:28,460 But basically 2419 01:16:28,460 --> 01:16:29,000 at a high 2420 01:16:29,000 --> 01:16:29,340 level, 2421 01:16:31,140 --> 01:16:32,620 one of the 2422 01:16:32,620 --> 01:16:33,080 challenges 2423 01:16:33,080 --> 01:16:34,240 we try 2424 01:16:34,240 --> 01:16:35,420 to help 2425 01:16:35,420 --> 01:16:36,060 solve and 2426 01:16:36,060 --> 01:16:36,420 help, 2427 01:16:36,520 --> 01:16:37,240 you know, 2428 01:16:37,260 --> 01:16:38,120 large SOCs 2429 01:16:38,120 --> 01:16:38,820 solve at 2430 01:16:38,820 --> 01:16:39,640 scale is 2431 01:16:39,640 --> 01:16:40,220 taking 2432 01:16:40,220 --> 01:16:41,880 some additional 2433 01:16:41,880 --> 01:16:43,200 signal from 2434 01:16:43,200 --> 01:16:44,220 the data 2435 01:16:44,220 --> 01:16:44,840 within the 2436 01:16:44,840 --> 01:16:45,160 enterprise. 2437 01:16:45,520 --> 01:16:46,080 And this 2438 01:16:46,080 --> 01:16:46,760 gets abused 2439 01:16:46,760 --> 01:16:47,240 a lot, 2440 01:16:47,360 --> 01:16:47,680 like I 2441 01:16:47,680 --> 01:16:48,140 think in 2442 01:16:48,140 --> 01:16:49,240 sort of 2443 01:16:49,240 --> 01:16:50,220 modern kind 2444 01:16:50,220 --> 01:16:50,720 of marketing 2445 01:16:50,720 --> 01:16:51,320 terminology 2446 01:16:56,880 --> 01:16:56,980 perspective, 2447 01:16:57,120 --> 01:16:57,740 it's we 2448 01:16:57,740 --> 01:16:58,740 want to be 2449 01:16:58,740 --> 01:16:59,420 really practical 2450 01:16:59,420 --> 01:17:00,240 about where 2451 01:17:00,240 --> 01:17:00,720 we're using 2452 01:17:00,720 --> 01:17:01,100 it and 2453 01:17:01,100 --> 01:17:01,360 where we 2454 01:17:01,360 --> 01:17:01,760 get value 2455 01:17:01,760 --> 01:17:02,200 from it. 2456 01:17:03,300 --> 01:17:04,180 And there's 2457 01:17:04,180 --> 01:17:04,400 been some 2458 01:17:04,400 --> 01:17:04,820 really cool 2459 01:17:04,820 --> 01:17:05,080 talks, 2460 01:17:05,140 --> 01:17:05,320 like the 2461 01:17:05,320 --> 01:17:05,700 talk right 2462 01:17:05,700 --> 01:17:06,240 before here, 2463 01:17:06,360 --> 01:17:06,580 I think, 2464 01:17:06,620 --> 01:17:06,820 was an 2465 01:17:06,820 --> 01:17:07,220 awesome 2466 01:17:07,220 --> 01:17:07,660 like sort 2467 01:17:07,660 --> 01:17:08,040 of creative 2468 01:17:08,040 --> 01:17:08,480 application 2469 01:17:08,480 --> 01:17:09,460 of machine 2470 01:17:09,460 --> 01:17:09,960 learning and 2471 01:17:09,960 --> 01:17:10,200 offense. 2472 01:17:10,860 --> 01:17:11,520 But anyway, 2473 01:17:11,620 --> 01:17:12,040 I'll kind 2474 01:17:12,040 --> 01:17:12,340 of just 2475 01:17:12,340 --> 01:17:12,960 deep dive 2476 01:17:26,880 --> 01:17:27,180 really large 2477 01:17:27,180 --> 01:17:27,620 customer, 2478 01:17:27,760 --> 01:17:28,580 the model 2479 01:17:28,580 --> 01:17:28,900 will be 2480 01:17:28,900 --> 01:17:29,340 shown here 2481 01:17:29,340 --> 01:17:30,260 kind of was 2482 01:17:30,260 --> 01:17:30,980 motivated out 2483 01:17:30,980 --> 01:17:31,340 of a lot 2484 01:17:31,340 --> 01:17:32,060 of what 2485 01:17:32,060 --> 01:17:33,160 Rod was 2486 01:17:33,160 --> 01:17:33,380 calling 2487 01:17:33,380 --> 01:17:33,960 the shadow 2488 01:17:33,960 --> 01:17:34,620 IT problem. 2489 01:17:35,300 --> 01:17:35,820 Particularly 2490 01:17:35,820 --> 01:17:36,740 in healthcare, 2491 01:17:37,060 --> 01:17:37,360 so with 2492 01:17:37,360 --> 01:17:38,060 large hospitals, 2493 01:17:38,320 --> 01:17:38,940 we would 2494 01:17:38,940 --> 01:17:39,920 kind of be 2495 01:17:39,920 --> 01:17:40,420 dealing with 2496 01:17:40,420 --> 01:17:41,960 this problem 2497 01:17:41,960 --> 01:17:43,140 of biomedical 2498 01:17:43,140 --> 01:17:44,200 devices being 2499 01:17:44,200 --> 01:17:44,840 plugged in 2500 01:17:44,840 --> 01:17:45,480 that have to 2501 01:17:45,480 --> 01:17:45,760 go through 2502 01:17:45,760 --> 01:17:46,340 this FDA 2503 01:17:46,340 --> 01:17:47,020 patching 2504 01:17:47,020 --> 01:17:47,740 approval process. 2505 01:17:48,040 --> 01:17:48,400 And often 2506 01:17:48,400 --> 01:17:48,880 times they'll 2507 01:17:48,880 --> 01:17:49,380 get whole 2508 01:17:49,380 --> 01:17:50,380 families of 2509 01:17:50,380 --> 01:17:51,160 these devices 2510 01:17:51,160 --> 01:17:51,700 that are 2511 01:17:51,700 --> 01:17:52,780 Windows XP 2512 01:17:52,780 --> 01:17:53,180 enabled, 2513 01:17:53,460 --> 01:17:54,100 they're not 2514 01:17:54,100 --> 01:17:54,640 patched 2515 01:17:54,640 --> 01:17:54,880 properly, 2516 01:17:55,080 --> 01:17:55,460 and sometimes 2517 01:17:55,460 --> 01:17:55,920 the asset 2518 01:17:55,920 --> 01:17:56,180 management 2519 01:17:56,180 --> 01:17:56,840 systems won't 2520 01:17:56,840 --> 01:17:57,160 even know 2521 01:17:57,160 --> 01:17:57,520 about them. 2522 01:17:57,980 --> 01:17:58,880 So one 2523 01:17:58,880 --> 01:17:59,700 thing we can 2524 01:17:59,700 --> 01:18:00,080 do is just 2525 01:18:00,080 --> 01:18:00,980 try to learn 2526 01:18:00,980 --> 01:18:02,160 profiles of 2527 01:18:02,160 --> 01:18:02,680 these assets 2528 01:18:02,680 --> 01:18:03,360 and say, 2529 01:18:03,360 --> 01:18:03,680 oh wow, 2530 01:18:03,840 --> 01:18:04,000 I look 2531 01:18:04,000 --> 01:18:04,620 like, 2532 01:18:05,240 --> 01:18:05,840 you know, 2533 01:18:05,900 --> 01:18:06,280 and this way 2534 01:18:06,280 --> 01:18:06,560 we're able 2535 01:18:06,560 --> 01:18:06,980 to kind of 2536 01:18:06,980 --> 01:18:07,260 distinguish 2537 01:18:07,260 --> 01:18:07,940 between like 2538 01:18:07,940 --> 01:18:08,540 an HVAC 2539 01:18:08,540 --> 01:18:08,940 controller, 2540 01:18:09,340 --> 01:18:09,780 like a 2541 01:18:09,780 --> 01:18:10,520 hospital bed, 2542 01:18:11,180 --> 01:18:11,760 you know, 2543 01:18:11,760 --> 01:18:12,080 just a 2544 01:18:12,080 --> 01:18:13,100 Windows phone 2545 01:18:13,100 --> 01:18:14,540 and a web 2546 01:18:14,540 --> 01:18:14,880 server. 2547 01:18:15,140 --> 01:18:15,960 So that's 2548 01:18:15,960 --> 01:18:16,260 kind of like 2549 01:18:16,260 --> 01:18:16,700 the high 2550 01:18:16,700 --> 01:18:16,920 level 2551 01:18:16,920 --> 01:18:17,260 motivation. 2552 01:18:17,680 --> 01:18:18,540 But at the 2553 01:18:18,540 --> 01:18:18,880 end of the 2554 01:18:18,880 --> 01:18:19,180 day, 2555 01:18:19,300 --> 01:18:20,140 these machine 2556 01:18:20,140 --> 01:18:20,460 learning 2557 01:18:20,460 --> 01:18:21,140 models and 2558 01:18:21,140 --> 01:18:21,360 stuff, 2559 01:18:33,360 --> 01:18:33,520 they're not 2560 01:18:33,700 --> 01:18:34,020 So that's 2561 01:18:34,020 --> 01:18:34,520 kind of what 2562 01:18:34,520 --> 01:18:34,780 we're talking 2563 01:18:34,780 --> 01:18:35,120 about here, 2564 01:18:35,220 --> 01:18:35,840 is taking a 2565 01:18:35,840 --> 01:18:36,120 bunch of 2566 01:18:36,120 --> 01:18:36,500 different use 2567 01:18:36,500 --> 01:18:37,600 cases and 2568 01:18:37,600 --> 01:18:38,500 mapping them 2569 01:18:38,500 --> 01:18:39,260 to existing 2570 01:18:39,260 --> 01:18:39,980 point solutions, 2571 01:18:40,400 --> 01:18:41,080 knowing what 2572 01:18:41,080 --> 01:18:43,000 our SOX 2573 01:18:43,000 --> 01:18:43,800 capability is, 2574 01:18:43,920 --> 01:18:44,780 and maybe 2575 01:18:44,780 --> 01:18:45,520 augmenting 2576 01:18:45,520 --> 01:18:46,000 some of 2577 01:18:46,000 --> 01:18:47,260 those use 2578 01:18:47,260 --> 01:18:47,760 cases that 2579 01:18:47,760 --> 01:18:48,160 we think 2580 01:18:48,160 --> 01:18:49,040 are going 2581 01:18:49,040 --> 01:18:49,400 to have 2582 01:18:49,400 --> 01:18:50,600 like additional 2583 01:18:50,600 --> 01:18:51,480 value or 2584 01:18:51,480 --> 01:18:52,260 additional signal 2585 01:18:52,260 --> 01:18:52,800 derived with 2586 01:18:52,800 --> 01:18:53,440 a kind of 2587 01:18:53,440 --> 01:18:53,940 an analytic 2588 01:18:53,940 --> 01:18:54,640 or a data 2589 01:18:54,640 --> 01:18:55,260 driven workflow. 2590 01:18:57,100 --> 01:18:57,780 I'm just 2591 01:18:57,780 --> 01:18:58,660 going to jump 2592 01:18:58,660 --> 01:18:59,160 ahead here. 2593 01:18:59,560 --> 01:19:00,560 And I think 2594 01:19:00,560 --> 01:19:00,920 kind of 2595 01:19:00,920 --> 01:19:01,840 to touch 2596 01:19:01,840 --> 01:19:02,220 on these 2597 01:19:02,220 --> 01:19:03,000 kind of 2598 01:19:03,000 --> 01:19:03,420 practical 2599 01:19:03,420 --> 01:19:03,860 considerations 2600 01:19:03,860 --> 01:19:04,460 with machine 2601 01:19:04,460 --> 01:19:04,720 learning, 2602 01:19:04,980 --> 01:19:05,200 there's 2603 01:19:05,200 --> 01:19:05,560 something 2604 01:19:05,560 --> 01:19:08,000 really that's 2605 01:19:08,000 --> 01:19:08,580 sort of a 2606 01:19:08,580 --> 01:19:09,280 natural part 2607 01:19:09,280 --> 01:19:09,680 of doing 2608 01:19:09,680 --> 01:19:10,060 security, 2609 01:19:10,320 --> 01:19:10,580 and that's 2610 01:19:10,580 --> 01:19:11,260 what we 2611 01:19:11,260 --> 01:19:12,580 call kind 2612 01:19:12,580 --> 01:19:12,760 of 2613 01:19:13,320 --> 01:19:13,820 adversarial 2614 01:19:14,380 --> 01:19:14,880 drift, 2615 01:19:15,320 --> 01:19:16,000 in the sense 2616 01:19:16,000 --> 01:19:16,860 that if I 2617 01:19:16,860 --> 01:19:17,100 train, 2618 01:19:17,280 --> 01:19:17,880 and I've 2619 01:19:17,880 --> 01:19:18,640 seen this 2620 01:19:18,640 --> 01:19:19,140 happen in my 2621 01:19:19,140 --> 01:19:19,560 own sort 2622 01:19:19,560 --> 01:19:20,200 of research. 2623 01:19:20,700 --> 01:19:21,460 I used to 2624 01:19:21,460 --> 01:19:22,560 help build 2625 01:19:22,560 --> 01:19:22,940 a lot of 2626 01:19:22,940 --> 01:19:23,620 models for 2627 01:19:23,620 --> 01:19:24,440 covert channel 2628 01:19:24,440 --> 01:19:24,780 detection, 2629 01:19:25,080 --> 01:19:26,220 for detecting 2630 01:19:26,220 --> 01:19:27,440 when maybe 2631 01:19:27,440 --> 01:19:28,580 a few years 2632 01:19:28,580 --> 01:19:28,860 ago, 2633 01:19:28,900 --> 01:19:30,100 when H-Tran 2634 01:19:30,100 --> 01:19:30,880 is doing 2635 01:19:30,880 --> 01:19:31,260 some kind 2636 01:19:31,260 --> 01:19:32,220 of phone 2637 01:19:32,220 --> 01:19:33,460 home or 2638 01:19:33,460 --> 01:19:33,880 command and 2639 01:19:33,880 --> 01:19:34,080 control. 2640 01:19:34,600 --> 01:19:35,160 And part 2641 01:19:35,160 --> 01:19:35,300 of the 2642 01:19:35,300 --> 01:19:35,600 assumption 2643 01:19:42,760 --> 01:19:42,980 they were 2644 01:19:42,980 --> 01:19:45,760 going to 2645 01:19:47,120 --> 01:19:47,620 have a 2646 01:19:47,620 --> 01:19:48,040 call back 2647 01:19:48,040 --> 01:19:48,420 at some 2648 01:19:48,420 --> 01:19:48,720 point. 2649 01:19:49,040 --> 01:19:49,840 I think 2650 01:19:49,840 --> 01:19:50,740 that shift 2651 01:19:50,740 --> 01:19:51,420 in adversary 2652 01:19:51,420 --> 01:19:52,320 behavior 2653 01:19:52,320 --> 01:19:53,480 from back 2654 01:19:53,480 --> 01:19:53,960 then to 2655 01:19:53,960 --> 01:19:54,500 in memory 2656 01:19:54,500 --> 01:19:54,820 malware 2657 01:19:54,820 --> 01:19:55,920 means we 2658 01:19:55,920 --> 01:19:56,280 can't even 2659 01:19:56,280 --> 01:19:56,720 hunt for 2660 01:19:56,720 --> 01:19:57,300 artifacts on 2661 01:19:57,300 --> 01:19:57,580 the file 2662 01:19:57,580 --> 01:19:57,800 system 2663 01:19:57,800 --> 01:19:58,140 anymore, 2664 01:19:58,280 --> 01:19:58,880 much less 2665 01:19:58,880 --> 01:19:59,640 have a 2666 01:19:59,640 --> 01:20:00,080 dependent 2667 01:20:00,080 --> 01:20:01,160 sort of 2668 01:20:01,160 --> 01:20:01,600 beaconing 2669 01:20:01,600 --> 01:20:02,040 profile 2670 01:20:02,040 --> 01:20:02,620 in the 2671 01:20:02,620 --> 01:20:03,140 network traffic. 2672 01:20:03,440 --> 01:20:04,180 So it's 2673 01:20:04,180 --> 01:20:04,840 these things, 2674 01:20:04,940 --> 01:20:06,280 these shifting 2675 01:20:06,280 --> 01:20:07,320 behaviors that 2676 01:20:07,320 --> 01:20:08,660 make any 2677 01:20:08,660 --> 01:20:09,460 kind of 2678 01:20:09,460 --> 01:20:09,920 automation 2679 01:20:09,920 --> 01:20:10,460 brittle, 2680 01:20:10,640 --> 01:20:11,100 because when 2681 01:20:11,100 --> 01:20:11,580 we train 2682 01:20:12,360 --> 01:20:12,960 something, 2683 01:20:13,160 --> 01:20:13,300 when we 2684 01:20:13,300 --> 01:20:14,160 have a model 2685 01:20:14,160 --> 01:20:14,820 learn a 2686 01:20:14,820 --> 01:20:15,620 profile of 2687 01:20:15,620 --> 01:20:15,880 an attack 2688 01:20:15,880 --> 01:20:16,200 behavior, 2689 01:20:17,160 --> 01:20:18,120 all it takes 2690 01:20:18,120 --> 01:20:18,400 is the 2691 01:20:18,400 --> 01:20:18,820 attacker to 2692 01:20:18,820 --> 01:20:19,660 change some 2693 01:20:19,660 --> 01:20:20,400 aspects of 2694 01:20:20,400 --> 01:20:21,000 that behavior 2695 01:20:21,000 --> 01:20:21,540 for us to 2696 01:20:21,540 --> 01:20:22,660 force our 2697 01:20:22,660 --> 01:20:23,220 machine learning 2698 01:20:23,220 --> 01:20:23,800 algorithms to 2699 01:20:23,800 --> 01:20:24,120 relearn. 2700 01:20:24,120 --> 01:20:25,200 So that's 2701 01:20:25,800 --> 01:20:26,040 why it's 2702 01:20:26,040 --> 01:20:26,440 one of my 2703 01:20:26,440 --> 01:20:26,740 favorite 2704 01:20:26,740 --> 01:20:27,280 slides, 2705 01:20:27,880 --> 01:20:28,660 especially when 2706 01:20:28,660 --> 01:20:29,220 I talk to 2707 01:20:30,780 --> 01:20:31,900 bigger defensive 2708 01:20:31,900 --> 01:20:32,620 conversations 2709 01:20:32,620 --> 01:20:33,080 where we're 2710 01:20:33,080 --> 01:20:33,460 talking about 2711 01:20:33,460 --> 01:20:33,860 what does it 2712 01:20:33,860 --> 01:20:34,300 mean to 2713 01:20:35,720 --> 01:20:36,600 mature your 2714 01:20:36,600 --> 01:20:36,860 security 2715 01:20:36,860 --> 01:20:37,220 posture. 2716 01:20:37,900 --> 01:20:38,280 Oftentimes 2717 01:20:38,280 --> 01:20:39,220 when we 2718 01:20:39,220 --> 01:20:39,540 see 2719 01:20:39,540 --> 01:20:40,060 mature 2720 01:20:44,220 --> 01:20:44,780 intelligence 2721 01:20:44,780 --> 01:20:45,420 operations 2722 01:20:45,420 --> 01:20:46,060 mixing 2723 01:20:46,060 --> 01:20:47,020 with the 2724 01:20:47,020 --> 01:20:47,260 machine 2725 01:20:47,260 --> 01:20:47,480 learning 2726 01:20:47,480 --> 01:20:47,840 where there's 2727 01:20:47,840 --> 01:20:48,220 a manual 2728 01:20:48,220 --> 01:20:49,900 tier two, 2729 01:20:49,980 --> 01:20:50,400 tier three 2730 01:20:54,120 --> 01:20:54,880 handle triage 2731 01:20:54,880 --> 01:20:55,860 and do some 2732 01:20:55,860 --> 01:20:56,080 of the 2733 01:20:56,080 --> 01:20:56,600 manual work 2734 01:20:56,600 --> 01:20:57,300 that is 2735 01:20:57,300 --> 01:20:57,980 almost impossible 2736 01:20:57,980 --> 01:20:58,560 to automate, 2737 01:20:59,260 --> 01:20:59,900 there's this 2738 01:20:59,900 --> 01:21:00,180 sort of 2739 01:21:00,180 --> 01:21:00,340 like, 2740 01:21:00,460 --> 01:21:01,080 if you 2741 01:21:01,080 --> 01:21:01,600 break down 2742 01:21:01,600 --> 01:21:02,580 models of 2743 01:21:02,580 --> 01:21:03,200 the adversary, 2744 01:21:03,580 --> 01:21:04,080 we sort of 2745 01:21:04,080 --> 01:21:04,640 see there's 2746 01:21:04,640 --> 01:21:05,000 a couple 2747 01:21:05,000 --> 01:21:06,480 of models 2748 01:21:06,480 --> 01:21:06,760 of the 2749 01:21:06,760 --> 01:21:07,160 adversary 2750 01:21:07,160 --> 01:21:07,880 where we're 2751 01:21:07,880 --> 01:21:08,080 basically 2752 01:21:08,080 --> 01:21:08,580 assuming the 2753 01:21:08,580 --> 01:21:08,880 adversary 2754 01:21:08,880 --> 01:21:09,220 has a 2755 01:21:09,220 --> 01:21:10,000 lot of 2756 01:21:10,000 --> 01:21:10,320 resources, 2757 01:21:10,740 --> 01:21:11,080 and in 2758 01:21:11,080 --> 01:21:11,560 that case 2759 01:21:11,560 --> 01:21:12,680 it's not 2760 01:21:24,120 --> 01:21:24,320 a lot of 2761 01:21:24,360 --> 01:21:24,500 it's a 2762 01:21:24,500 --> 01:21:24,720 and lots 2763 01:21:24,720 --> 01:21:25,160 of resources, 2764 01:21:25,400 --> 01:21:26,420 then the 2765 01:21:26,420 --> 01:21:27,500 security posture 2766 01:21:27,500 --> 01:21:28,040 sort of has 2767 01:21:28,040 --> 01:21:29,280 to be 2768 01:21:29,280 --> 01:21:30,380 driven by 2769 01:21:30,380 --> 01:21:30,680 some of 2770 01:21:30,680 --> 01:21:30,820 these, 2771 01:21:30,860 --> 01:21:31,040 you know, 2772 01:21:31,040 --> 01:21:31,440 just lots 2773 01:21:31,440 --> 01:21:32,080 of different 2774 01:21:32,080 --> 01:21:32,520 kinds of 2775 01:21:32,520 --> 01:21:32,880 solutions, 2776 01:21:33,020 --> 01:21:33,780 like deep 2777 01:21:33,780 --> 01:21:34,000 packet 2778 01:21:34,000 --> 01:21:34,280 inspection, 2779 01:21:35,100 --> 01:21:35,620 augmenting 2780 01:21:35,620 --> 01:21:35,860 all these 2781 01:21:35,860 --> 01:21:36,220 things to 2782 01:21:36,220 --> 01:21:36,900 even attempt 2783 01:21:36,900 --> 01:21:37,660 to attack 2784 01:21:37,660 --> 01:21:38,520 this problem. 2785 01:21:39,080 --> 01:21:40,820 And so 2786 01:21:40,820 --> 01:21:41,980 just one last 2787 01:21:41,980 --> 01:21:42,380 kind of 2788 01:21:42,380 --> 01:21:43,240 consideration 2789 01:21:43,240 --> 01:21:43,900 here in 2790 01:21:43,900 --> 01:21:44,340 terms of 2791 01:21:44,340 --> 01:21:44,500 like, 2792 01:21:44,600 --> 01:21:45,460 maybe to 2793 01:21:45,460 --> 01:21:46,500 hit home 2794 01:21:46,500 --> 01:21:47,040 about being 2795 01:21:47,040 --> 01:21:47,900 really practical 2796 01:21:47,900 --> 01:21:48,380 about this, 2797 01:21:48,520 --> 01:21:49,240 is sort of 2798 01:21:49,240 --> 01:21:50,000 what we're 2799 01:21:50,000 --> 01:21:50,220 going to be 2800 01:21:50,220 --> 01:21:50,420 kind of 2801 01:21:50,420 --> 01:21:51,180 showing from 2802 01:21:51,180 --> 01:21:52,060 an algorithmic 2803 01:21:52,060 --> 01:21:52,520 perspective 2804 01:21:52,520 --> 01:21:53,460 is what 2805 01:21:53,460 --> 01:21:53,920 happens when 2806 01:21:53,920 --> 01:21:54,280 we learn, 2807 01:21:54,460 --> 01:21:54,800 and this 2808 01:21:54,800 --> 01:21:55,440 is sort of 2809 01:21:55,440 --> 01:21:55,920 a universal 2810 01:21:55,920 --> 01:21:56,320 principle, 2811 01:21:56,480 --> 01:21:57,080 it doesn't 2812 01:21:57,080 --> 01:21:57,800 matter if 2813 01:21:57,800 --> 01:21:57,860 we're 2814 01:21:57,860 --> 01:21:58,040 talking about 2815 01:21:58,040 --> 01:21:58,480 an algorithm 2816 01:22:10,820 --> 01:22:11,580 or if 2817 01:22:11,580 --> 01:22:12,260 we're 2818 01:22:12,260 --> 01:22:12,460 talking about 2819 01:22:12,460 --> 01:22:12,580 a machine 2820 01:22:12,580 --> 01:22:12,820 learning 2821 01:22:12,820 --> 01:22:13,000 class, 2822 01:22:13,180 --> 01:22:13,620 this might 2823 01:22:13,620 --> 01:22:13,980 be referred 2824 01:22:13,980 --> 01:22:14,400 to as 2825 01:22:14,400 --> 01:22:15,220 the formal 2826 01:22:15,220 --> 01:22:15,620 concept 2827 01:22:15,620 --> 01:22:16,160 as VC 2828 01:22:16,160 --> 01:22:16,560 dimension, 2829 01:22:16,900 --> 01:22:17,400 but in 2830 01:22:17,400 --> 01:22:17,840 some sense 2831 01:22:17,840 --> 01:22:18,320 it's just, 2832 01:22:18,440 --> 01:22:18,680 there's an 2833 01:22:18,680 --> 01:22:18,940 intuition 2834 01:22:18,940 --> 01:22:19,220 here, 2835 01:22:19,360 --> 01:22:20,120 so I'll 2836 01:22:20,120 --> 01:22:20,320 just kind 2837 01:22:20,320 --> 01:22:20,540 of like 2838 01:22:20,540 --> 01:22:21,480 run through 2839 01:22:21,480 --> 01:22:21,860 the intuition. 2840 01:22:22,720 --> 01:22:23,280 So just 2841 01:22:23,280 --> 01:22:23,600 take a 2842 01:22:23,600 --> 01:22:23,900 model, 2843 01:22:24,080 --> 01:22:24,480 sorry, 2844 01:22:24,700 --> 01:22:24,760 I've 2845 01:22:24,760 --> 01:22:25,100 taken a 2846 01:22:25,100 --> 01:22:25,660 data set, 2847 01:22:25,780 --> 01:22:26,800 it has 2848 01:22:26,800 --> 01:22:27,100 maybe a 2849 01:22:27,100 --> 01:22:27,600 thousand rows, 2850 01:22:28,100 --> 01:22:28,680 it's in a 2851 01:22:28,680 --> 01:22:29,220 table somewhere, 2852 01:22:29,420 --> 01:22:30,500 in this case I 2853 01:22:30,500 --> 01:22:30,880 grabbed it 2854 01:22:30,880 --> 01:22:31,280 from this 2855 01:22:31,280 --> 01:22:32,060 open source 2856 01:22:32,060 --> 01:22:32,700 library or 2857 01:22:32,700 --> 01:22:33,600 package called 2858 01:22:33,600 --> 01:22:33,840 R, 2859 01:22:34,140 --> 01:22:34,780 and then I 2860 01:22:34,780 --> 01:22:34,900 just, 2861 01:22:34,960 --> 01:22:35,680 I fitted, 2862 01:22:36,700 --> 01:22:37,180 sorry, 2863 01:22:37,220 --> 01:22:37,400 I skipped 2864 01:22:37,400 --> 01:22:37,740 ahead one 2865 01:22:37,740 --> 01:22:37,880 step, 2866 01:22:38,900 --> 01:22:39,520 so I 2867 01:22:39,520 --> 01:22:39,840 fitted 2868 01:22:40,520 --> 01:22:41,360 basically a 2869 01:22:41,360 --> 01:22:41,560 linear 2870 01:22:41,560 --> 01:22:41,920 regression, 2871 01:22:42,160 --> 01:22:42,340 I just 2872 01:22:42,340 --> 01:22:43,200 trained a 2873 01:22:43,200 --> 01:22:44,120 line 2874 01:22:44,120 --> 01:22:45,060 on this, 2875 01:22:47,440 --> 01:22:48,400 basically on 2876 01:22:48,400 --> 01:22:49,380 three variables, 2877 01:22:50,000 --> 01:22:50,680 we're making 2878 01:22:50,680 --> 01:22:51,120 an assumption 2879 01:22:51,120 --> 01:22:51,440 in this 2880 01:22:51,440 --> 01:22:51,940 model that 2881 01:22:51,940 --> 01:22:52,720 miles per 2882 01:22:52,720 --> 01:22:53,580 gallon in 2883 01:22:53,580 --> 01:22:53,860 the data 2884 01:22:53,860 --> 01:22:54,760 set is 2885 01:22:54,760 --> 01:22:55,320 sort of 2886 01:22:55,320 --> 01:22:56,120 linearly 2887 01:22:56,800 --> 01:22:57,620 dependent in 2888 01:22:57,620 --> 01:22:57,960 some way 2889 01:22:57,960 --> 01:22:58,380 on weight, 2890 01:22:58,500 --> 01:22:58,820 displacement, 2891 01:22:59,100 --> 01:22:59,340 and the 2892 01:22:59,340 --> 01:22:59,660 number of 2893 01:22:59,660 --> 01:23:00,260 cylinders in 2894 01:23:00,260 --> 01:23:00,500 a car. 2895 01:23:00,800 --> 01:23:01,240 So it's 2896 01:23:01,240 --> 01:23:01,620 just a 2897 01:23:01,620 --> 01:23:02,200 super toy 2898 01:23:02,200 --> 01:23:03,180 example to 2899 01:23:03,180 --> 01:23:03,500 show you 2900 01:23:03,500 --> 01:23:04,060 what happens 2901 01:23:04,060 --> 01:23:04,360 when we 2902 01:23:04,360 --> 01:23:04,620 take a 2903 01:23:04,620 --> 01:23:04,860 bunch of 2904 01:23:04,860 --> 01:23:05,400 input data, 2905 01:23:05,540 --> 01:23:05,720 in this 2906 01:23:05,720 --> 01:23:06,160 case like a 2907 01:23:06,160 --> 01:23:07,180 thousand rows 2908 01:23:07,180 --> 01:23:08,020 of car 2909 01:23:08,020 --> 01:23:08,440 information, 2910 01:23:09,800 --> 01:23:10,600 we basically 2911 01:23:10,600 --> 01:23:11,180 pass it 2912 01:23:11,180 --> 01:23:11,400 through an 2913 01:23:11,400 --> 01:23:11,680 algorithm, 2914 01:23:11,860 --> 01:23:12,020 in this 2915 01:23:12,020 --> 01:23:12,460 case it's 2916 01:23:12,460 --> 01:23:12,900 sort of the 2917 01:23:12,900 --> 01:23:13,180 simplest 2918 01:23:13,180 --> 01:23:13,840 learning algorithm 2919 01:23:13,840 --> 01:23:14,240 we learn 2920 01:23:14,240 --> 01:23:14,800 in school, 2921 01:23:14,900 --> 01:23:15,000 it's 2922 01:23:15,000 --> 01:23:15,480 called a 2923 01:23:15,480 --> 01:23:15,900 regression, 2924 01:23:16,200 --> 01:23:17,100 and then the 2925 01:23:17,100 --> 01:23:17,960 output of 2926 01:23:17,960 --> 01:23:18,180 this, 2927 01:23:18,360 --> 01:23:18,760 what we 2928 01:23:18,760 --> 01:23:19,660 learned is 2929 01:23:19,660 --> 01:23:19,960 sort of a 2930 01:23:19,960 --> 01:23:20,500 hash of 2931 01:23:20,500 --> 01:23:20,800 the data, 2932 01:23:20,920 --> 01:23:21,220 in this 2933 01:23:34,620 --> 01:23:34,680 sense. 2934 01:23:34,680 --> 01:23:35,140 So why is 2935 01:23:35,140 --> 01:23:35,460 that important? 2936 01:23:35,720 --> 01:23:35,840 Well, 2937 01:23:35,960 --> 01:23:37,640 it shows us 2938 01:23:37,640 --> 01:23:38,500 that these 2939 01:23:38,500 --> 01:23:39,520 systems are 2940 01:23:39,520 --> 01:23:40,160 brittle in 2941 01:23:40,160 --> 01:23:40,620 this sense, 2942 01:23:40,720 --> 01:23:40,980 like an 2943 01:23:40,980 --> 01:23:41,500 analytic 2944 01:23:41,500 --> 01:23:42,560 becomes a 2945 01:23:42,560 --> 01:23:43,020 hash of 2946 01:23:43,020 --> 01:23:43,340 information, 2947 01:23:43,600 --> 01:23:43,800 so it's 2948 01:23:43,800 --> 01:23:44,080 never going 2949 01:23:44,080 --> 01:23:44,280 to be as 2950 01:23:44,280 --> 01:23:44,720 good as 2951 01:23:44,720 --> 01:23:46,400 the original 2952 01:23:46,400 --> 01:23:47,100 information in 2953 01:23:47,100 --> 01:23:47,520 some sense, 2954 01:23:47,680 --> 01:23:48,960 but also it 2955 01:23:48,960 --> 01:23:49,280 could be, 2956 01:23:49,360 --> 01:23:50,360 we could use 2957 01:23:50,360 --> 01:23:50,640 it in 2958 01:23:50,640 --> 01:23:50,860 sort of 2959 01:23:50,860 --> 01:23:51,180 lightweight 2960 01:23:51,180 --> 01:23:51,720 lookup 2961 01:23:51,720 --> 01:23:52,040 tables, 2962 01:23:52,240 --> 01:23:52,360 you know, 2963 01:24:04,620 --> 01:24:05,180 we had 2964 01:24:05,180 --> 01:24:06,120 about 400 2965 01:24:06,120 --> 01:24:06,920 samples of 2966 01:24:06,920 --> 01:24:07,540 exploits being 2967 01:24:07,540 --> 01:24:08,220 landed in 2968 01:24:08,220 --> 01:24:09,000 these sequences, 2969 01:24:09,160 --> 01:24:09,980 and we had 2970 01:24:09,980 --> 01:24:10,420 the model 2971 01:24:10,420 --> 01:24:10,900 learn sort 2972 01:24:10,900 --> 01:24:11,080 of the 2973 01:24:11,080 --> 01:24:11,600 hash of 2974 01:24:11,600 --> 01:24:11,860 what that 2975 01:24:11,860 --> 01:24:12,280 looks like, 2976 01:24:12,380 --> 01:24:12,980 so now when I 2977 01:24:12,980 --> 01:24:13,400 get another 2978 01:24:13,400 --> 01:24:14,440 sequence of 2979 01:24:14,440 --> 01:24:15,160 HTTP requests, 2980 01:24:15,280 --> 01:24:15,640 I just do 2981 01:24:15,640 --> 01:24:15,960 that kind 2982 01:24:15,960 --> 01:24:16,200 of a 2983 01:24:16,200 --> 01:24:16,860 hash lookup, 2984 01:24:16,860 --> 01:24:17,340 and in 2985 01:24:17,340 --> 01:24:17,660 that case 2986 01:24:17,660 --> 01:24:18,360 it's useful 2987 01:24:19,080 --> 01:24:19,780 as sort 2988 01:24:19,780 --> 01:24:19,980 of an 2989 01:24:19,980 --> 01:24:20,540 augmentation 2990 01:24:20,540 --> 01:24:21,480 in different 2991 01:24:21,480 --> 01:24:21,920 sort of 2992 01:24:22,360 --> 01:24:22,800 workflows. 2993 01:24:34,620 --> 01:24:35,200 So I can 2994 01:24:35,200 --> 01:24:35,540 kind of deep 2995 01:24:35,540 --> 01:24:35,880 dive with 2996 01:24:35,880 --> 01:24:36,280 you, just 2997 01:24:36,280 --> 01:24:36,880 come talk to 2998 01:24:36,880 --> 01:24:37,160 me afterward 2999 01:24:37,160 --> 01:24:37,500 if you want 3000 01:24:37,500 --> 01:24:38,440 to get 3001 01:24:38,440 --> 01:24:38,920 links or 3002 01:24:39,280 --> 01:24:39,780 get the 3003 01:24:39,780 --> 01:24:40,040 code or 3004 01:24:40,040 --> 01:24:40,200 anything. 3005 01:24:40,660 --> 01:24:41,020 And then, 3006 01:24:41,060 --> 01:24:41,440 yeah, so 3007 01:24:41,440 --> 01:24:42,020 that, so 3008 01:24:42,020 --> 01:24:42,980 kind of tying 3009 01:24:42,980 --> 01:24:43,840 back to the 3010 01:24:43,840 --> 01:24:44,480 brittleness of 3011 01:24:44,480 --> 01:24:44,800 this kind 3012 01:24:44,800 --> 01:24:45,120 of learning 3013 01:24:45,120 --> 01:24:46,200 process, so 3014 01:24:46,200 --> 01:24:46,660 when we 3015 01:24:46,660 --> 01:24:48,080 actually engineer 3016 01:24:48,080 --> 01:24:48,620 a learning 3017 01:24:48,620 --> 01:24:49,120 system for 3018 01:24:49,120 --> 01:24:50,100 security, we 3019 01:24:50,100 --> 01:24:50,400 have to deal 3020 01:24:50,400 --> 01:24:50,620 with these 3021 01:24:50,620 --> 01:24:52,320 two problems, 3022 01:24:52,320 --> 01:24:53,000 one, that 3023 01:24:53,620 --> 01:24:54,420 the attacker's 3024 01:24:54,420 --> 01:24:54,920 patterns will 3025 01:24:54,920 --> 01:24:55,460 change over 3026 01:24:55,460 --> 01:24:56,460 time, so 3027 01:24:56,460 --> 01:24:56,820 what does that 3028 01:24:56,820 --> 01:24:57,380 mean to really, 3029 01:24:57,560 --> 01:24:58,620 when have I 3030 01:24:58,620 --> 01:24:59,160 learned good 3031 01:24:59,160 --> 01:24:59,680 enough, or 3032 01:24:59,680 --> 01:25:00,480 when am I 3033 01:25:00,480 --> 01:25:01,260 done learning, or 3034 01:25:01,260 --> 01:25:01,600 when do I 3035 01:25:01,600 --> 01:25:02,140 need to stop 3036 01:25:02,140 --> 01:25:02,620 and forget? 3037 01:25:03,200 --> 01:25:04,120 And so we 3038 01:25:04,120 --> 01:25:04,620 have to like 3039 01:25:04,620 --> 01:25:05,160 implement a 3040 01:25:05,160 --> 01:25:06,280 whole API, and 3041 01:25:06,280 --> 01:25:07,100 basically whenever I 3042 01:25:07,100 --> 01:25:07,900 write a model 3043 01:25:08,700 --> 01:25:10,000 to deal with 3044 01:25:10,000 --> 01:25:10,960 sort of a 3045 01:25:10,960 --> 01:25:11,960 use case, I 3046 01:25:11,960 --> 01:25:12,280 have to sort 3047 01:25:12,280 --> 01:25:12,700 of think about 3048 01:25:12,700 --> 01:25:13,200 this, I 3049 01:25:13,200 --> 01:25:13,860 mean, this is 3050 01:25:13,860 --> 01:25:14,740 sort of a 3051 01:25:14,740 --> 01:25:15,640 dense slide, but 3052 01:25:15,640 --> 01:25:16,520 there's a whole 3053 01:25:17,060 --> 01:25:17,940 workflow that's 3054 01:25:17,940 --> 01:25:18,520 about like 3055 01:25:18,520 --> 01:25:19,260 automating and 3056 01:25:19,260 --> 01:25:20,340 engineering the 3057 01:25:20,340 --> 01:25:21,100 concept of 3058 01:25:21,680 --> 01:25:22,800 relearning, what 3059 01:25:22,800 --> 01:25:23,260 does it mean to 3060 01:25:23,260 --> 01:25:24,120 forget, and how 3061 01:25:24,120 --> 01:25:24,700 do I apply it 3062 01:25:24,700 --> 01:25:25,060 to a particular 3063 01:25:25,060 --> 01:25:25,680 use case, and 3064 01:25:25,680 --> 01:25:26,760 so these all 3065 01:25:26,760 --> 01:25:27,240 become just 3066 01:25:27,240 --> 01:25:28,520 nuances for 3067 01:25:28,520 --> 01:25:29,300 some of this, 3068 01:25:30,460 --> 01:25:32,820 you know, how 3069 01:25:32,820 --> 01:25:33,640 far we can 3070 01:25:33,640 --> 01:25:34,000 go with 3071 01:25:34,000 --> 01:25:34,940 machine learning 3072 01:25:34,940 --> 01:25:36,400 as sort of a 3073 01:25:36,400 --> 01:25:37,500 tool in 3074 01:25:37,500 --> 01:25:37,820 security. 3075 01:25:38,580 --> 01:25:39,460 And I 3076 01:25:39,460 --> 01:25:40,280 think also kind 3077 01:25:40,280 --> 01:25:40,640 of the other 3078 01:25:40,640 --> 01:25:41,460 thing, just 3079 01:25:41,460 --> 01:25:41,960 more from like 3080 01:25:41,960 --> 01:25:42,520 a security 3081 01:25:44,740 --> 01:25:45,060 service perspective 3082 01:25:45,060 --> 01:25:46,740 is, I 3083 01:25:47,600 --> 01:25:48,480 would, even 3084 01:25:48,480 --> 01:25:49,120 if you're 3085 01:25:49,120 --> 01:25:49,480 sort of on 3086 01:25:49,480 --> 01:25:50,640 more of an 3087 01:25:50,640 --> 01:25:51,600 offensive side or 3088 01:25:51,600 --> 01:25:52,160 particularly for 3089 01:25:52,620 --> 01:25:53,280 just like an 3090 01:25:53,280 --> 01:25:54,720 adversary, if I 3091 01:25:54,720 --> 01:25:55,160 were to be 3092 01:25:55,160 --> 01:25:56,160 attacking kind 3093 01:25:56,160 --> 01:25:56,500 of modern 3094 01:25:56,500 --> 01:25:57,540 enterprises, one 3095 01:25:57,540 --> 01:25:58,040 of the things 3096 01:25:58,040 --> 01:25:59,660 that probably is 3097 01:25:59,660 --> 01:26:00,300 important to start 3098 01:26:00,920 --> 01:26:02,020 game planning 3099 01:26:02,020 --> 01:26:02,660 against and 3100 01:26:02,660 --> 01:26:03,900 expecting is 3101 01:26:03,900 --> 01:26:05,120 these sort of 3102 01:26:05,120 --> 01:26:06,000 non-deterministic 3103 01:26:06,800 --> 01:26:07,920 solutions that 3104 01:26:07,920 --> 01:26:08,740 are starting to 3105 01:26:08,740 --> 01:26:09,580 be exposed in 3106 01:26:09,580 --> 01:26:10,140 different workflows. 3107 01:26:10,340 --> 01:26:11,120 Really at the 3108 01:26:11,120 --> 01:26:12,020 top fortune 3109 01:26:12,680 --> 01:26:13,240 tens and 3110 01:26:13,240 --> 01:26:14,200 500s of the 3111 01:26:14,740 --> 01:26:15,000 time, I'd say 3112 01:26:15,000 --> 01:26:16,120 you probably have 3113 01:26:16,120 --> 01:26:17,040 to worry about 3114 01:26:17,040 --> 01:26:18,100 a system like 3115 01:26:18,100 --> 01:26:18,700 this kind of 3116 01:26:18,700 --> 01:26:19,620 hunting for 3117 01:26:19,620 --> 01:26:20,340 footprints. 3118 01:26:21,620 --> 01:26:22,740 But these 3119 01:26:22,740 --> 01:26:23,740 kind of sort 3120 01:26:24,420 --> 01:26:26,000 of data driven 3121 01:26:26,000 --> 01:26:27,640 like views of 3122 01:26:27,640 --> 01:26:28,340 the world are 3123 01:26:28,340 --> 01:26:29,240 going to become 3124 01:26:29,240 --> 01:26:29,720 more and more 3125 01:26:29,720 --> 01:26:30,080 common. 3126 01:26:30,260 --> 01:26:30,740 And so to 3127 01:26:31,320 --> 01:26:33,000 attack like a 3128 01:26:33,000 --> 01:26:35,080 sophisticated kind 3129 01:26:35,080 --> 01:26:35,820 of shop, you 3130 01:26:35,820 --> 01:26:36,680 might want to 3131 01:26:36,680 --> 01:26:37,060 think about 3132 01:26:37,060 --> 01:26:38,200 really in 3133 01:26:38,200 --> 01:26:39,060 regards to 3134 01:26:39,060 --> 01:26:39,980 like some of 3135 01:26:39,980 --> 01:26:40,200 these things 3136 01:26:40,200 --> 01:26:40,580 we're highlighting 3137 01:26:40,580 --> 01:26:41,720 is attacking the 3138 01:26:41,720 --> 01:26:42,180 logging sources 3139 01:26:42,180 --> 01:26:42,860 first, you 3140 01:26:42,860 --> 01:26:43,480 know, and being 3141 01:26:44,740 --> 01:26:45,040 aware of 3142 01:26:45,040 --> 01:26:45,260 where you can be 3143 01:26:45,260 --> 01:26:45,820 discovered in 3144 01:26:45,820 --> 01:26:46,120 some of these 3145 01:26:46,120 --> 01:26:47,300 data driven 3146 01:26:47,300 --> 01:26:48,840 kind of scenarios. 3147 01:26:49,560 --> 01:26:50,300 Oh, sorry. 3148 01:26:50,500 --> 01:26:51,740 So just kind 3149 01:26:51,740 --> 01:26:52,120 of like really 3150 01:26:52,120 --> 01:26:53,120 quick to just 3151 01:26:53,120 --> 01:26:53,820 now walk you 3152 01:26:53,820 --> 01:26:54,640 through some of 3153 01:26:54,640 --> 01:26:57,020 the key outputs 3154 01:26:57,020 --> 01:26:58,060 and inputs of 3155 01:26:58,060 --> 01:26:58,580 this analytic 3156 01:26:58,580 --> 01:26:59,180 we're talking 3157 01:26:59,180 --> 01:26:59,480 about for 3158 01:26:59,480 --> 01:27:00,120 detecting lateral 3159 01:27:00,120 --> 01:27:00,800 movement detection. 3160 01:27:01,260 --> 01:27:02,600 And the end of 3161 01:27:02,600 --> 01:27:03,120 the day is 3162 01:27:03,120 --> 01:27:03,860 we're going to 3163 01:27:03,860 --> 01:27:04,740 basically try and 3164 01:27:04,740 --> 01:27:05,740 use enough data 3165 01:27:05,740 --> 01:27:07,120 to sort of 3166 01:27:07,120 --> 01:27:07,900 assign some 3167 01:27:07,900 --> 01:27:09,180 color to a 3168 01:27:09,180 --> 01:27:09,820 social network. 3169 01:27:10,120 --> 01:27:11,100 So we take a 3170 01:27:11,100 --> 01:27:11,540 bunch of data 3171 01:27:15,100 --> 01:27:15,920 from pretty much 3172 01:27:15,920 --> 01:27:16,600 anything that we 3173 01:27:16,600 --> 01:27:17,280 can get in the 3174 01:27:17,280 --> 01:27:18,060 enterprise that has 3175 01:27:18,060 --> 01:27:18,640 like things like 3176 01:27:18,640 --> 01:27:20,180 source IPs, Mac 3177 01:27:20,180 --> 01:27:22,180 addresses, like I'll 3178 01:27:22,180 --> 01:27:22,700 kind of walk you 3179 01:27:22,700 --> 01:27:22,960 through it. 3180 01:27:23,100 --> 01:27:23,960 And then what we'll 3181 01:27:23,960 --> 01:27:24,720 do is we'll build 3182 01:27:24,720 --> 01:27:25,480 like a graph of 3183 01:27:25,480 --> 01:27:26,760 this data set and 3184 01:27:26,760 --> 01:27:27,360 we'll evolve this 3185 01:27:27,360 --> 01:27:28,060 graph over time. 3186 01:27:28,740 --> 01:27:29,720 And what we can 3187 01:27:29,720 --> 01:27:30,180 start doing is 3188 01:27:30,180 --> 01:27:30,840 like color coding 3189 01:27:30,840 --> 01:27:31,240 the graph. 3190 01:27:31,700 --> 01:27:33,120 For one, once I 3191 01:27:33,120 --> 01:27:34,380 get a really big 3192 01:27:34,380 --> 01:27:35,100 network graph, 3193 01:27:35,200 --> 01:27:35,800 sometimes it's even 3194 01:27:35,800 --> 01:27:36,760 hard to identify the 3195 01:27:36,760 --> 01:27:37,600 web servers if we 3196 01:27:37,600 --> 01:27:38,200 don't have like a 3197 01:27:38,200 --> 01:27:39,620 Visio spreadsheet or 3198 01:27:39,620 --> 01:27:40,860 like an asset 3199 01:27:40,860 --> 01:27:42,760 inventory person 3200 01:27:42,760 --> 01:27:43,260 to kind of 3201 01:27:43,260 --> 01:27:45,020 manual label them 3202 01:27:45,020 --> 01:27:45,360 for us. 3203 01:27:45,580 --> 01:27:47,240 So here what 3204 01:27:47,240 --> 01:27:47,740 we're doing is 3205 01:27:47,740 --> 01:27:48,460 we're having an 3206 01:27:48,460 --> 01:27:49,400 algorithm learn 3207 01:27:49,400 --> 01:27:51,200 which things look 3208 01:27:51,200 --> 01:27:51,880 most like the 3209 01:27:51,880 --> 01:27:52,660 perimeter web servers, 3210 01:27:52,760 --> 01:27:53,320 which things look 3211 01:27:53,320 --> 01:27:54,120 most like the 3212 01:27:54,740 --> 01:27:55,760 kind of inline IPS, 3213 01:27:56,080 --> 01:27:56,760 which things look 3214 01:27:56,760 --> 01:27:57,480 most like domain 3215 01:27:57,480 --> 01:27:58,120 controllers, which 3216 01:27:58,120 --> 01:27:58,740 things look most 3217 01:27:58,740 --> 01:27:59,180 like hosts. 3218 01:27:59,420 --> 01:28:00,280 And once we know 3219 01:28:00,280 --> 01:28:01,860 that, this is sort of 3220 01:28:01,860 --> 01:28:02,560 the power of blending 3221 01:28:02,560 --> 01:28:03,340 many models together, 3222 01:28:03,460 --> 01:28:05,040 we pass that sort of 3223 01:28:05,040 --> 01:28:05,640 the output of this 3224 01:28:05,640 --> 01:28:06,280 model to another 3225 01:28:06,280 --> 01:28:06,640 model. 3226 01:28:06,840 --> 01:28:07,940 And so in one case 3227 01:28:07,940 --> 01:28:08,700 whenever I've labeled 3228 01:28:08,700 --> 01:28:09,600 all the web servers, 3229 01:28:09,800 --> 01:28:10,840 what we start doing 3230 01:28:12,760 --> 01:28:13,160 is labeled as a 3231 01:28:13,160 --> 01:28:13,860 potential web server, 3232 01:28:14,020 --> 01:28:15,100 we start monitoring 3233 01:28:15,100 --> 01:28:16,100 with another analytic 3234 01:28:16,100 --> 01:28:16,760 that's looking 3235 01:28:16,760 --> 01:28:17,680 specifically for 3236 01:28:17,680 --> 01:28:18,400 web shell behavior 3237 01:28:18,400 --> 01:28:19,360 on each of those 3238 01:28:19,360 --> 01:28:19,820 web servers. 3239 01:28:20,080 --> 01:28:20,760 And this is sort of 3240 01:28:20,760 --> 01:28:21,480 the way we combine 3241 01:28:22,240 --> 01:28:23,620 and treat all these 3242 01:28:23,620 --> 01:28:24,440 sort of models as 3243 01:28:24,440 --> 01:28:25,220 first class citizens 3244 01:28:25,220 --> 01:28:26,400 where the real power 3245 01:28:26,400 --> 01:28:27,800 is putting many of 3246 01:28:27,800 --> 01:28:28,240 them together. 3247 01:28:29,820 --> 01:28:30,880 And so just kind of 3248 01:28:30,880 --> 01:28:31,520 like walking through 3249 01:28:31,520 --> 01:28:32,240 the algorithm workflow 3250 01:28:32,240 --> 01:28:33,940 now, basically the 3251 01:28:33,940 --> 01:28:35,160 key kind of step 3252 01:28:35,160 --> 01:28:36,100 that I've spent 3253 01:28:36,100 --> 01:28:37,280 every time I've worked 3254 01:28:37,280 --> 01:28:37,640 on one of these 3255 01:28:37,640 --> 01:28:38,300 problems at large 3256 01:28:38,300 --> 01:28:39,620 scale, basically I've 3257 01:28:39,620 --> 01:28:40,860 spent like two months 3258 01:28:40,860 --> 01:28:41,400 of the problem 3259 01:28:41,400 --> 01:28:42,120 working on identity 3260 01:28:42,920 --> 01:28:43,320 And this could get 3261 01:28:43,320 --> 01:28:43,980 really complicated 3262 01:28:43,980 --> 01:28:45,000 or you could do 3263 01:28:45,000 --> 01:28:46,480 some sort of tricks 3264 01:28:46,480 --> 01:28:47,500 to keep it simple, 3265 01:28:47,600 --> 01:28:48,960 but part of the 3266 01:28:48,960 --> 01:28:50,800 workflow I'll describe 3267 01:28:50,800 --> 01:28:51,400 to you that I think 3268 01:28:51,400 --> 01:28:52,880 will always be there 3269 01:28:52,880 --> 01:28:53,420 in some sense 3270 01:28:53,420 --> 01:28:54,160 is step one. 3271 01:28:54,480 --> 01:28:56,080 And then, you know, 3272 01:28:56,140 --> 01:28:57,080 kind of the next 3273 01:28:57,080 --> 01:28:57,620 few steps are 3274 01:28:57,620 --> 01:28:58,080 definitely sort of 3275 01:28:58,080 --> 01:28:59,000 custom to how 3276 01:28:59,000 --> 01:29:00,220 we've implemented it. 3277 01:29:00,500 --> 01:29:02,620 But in some sense 3278 01:29:02,620 --> 01:29:03,260 we just have this 3279 01:29:03,260 --> 01:29:04,440 from an algorithm 3280 01:29:04,440 --> 01:29:05,680 workflow, we kind of 3281 01:29:05,680 --> 01:29:06,400 break the problem 3282 01:29:06,400 --> 01:29:07,220 down into a few 3283 01:29:07,220 --> 01:29:07,960 key steps and we 3284 01:29:07,960 --> 01:29:08,480 sort of automate 3285 01:29:08,480 --> 01:29:09,680 this as an ongoing 3286 01:29:09,680 --> 01:29:10,260 job. 3287 01:29:11,860 --> 01:29:12,660 And we could 3288 01:29:12,760 --> 01:29:13,180 kind of think of 3289 01:29:13,180 --> 01:29:14,160 like what, you know, 3290 01:29:14,160 --> 01:29:15,180 how this is sort of 3291 01:29:15,180 --> 01:29:15,860 represented a little 3292 01:29:15,860 --> 01:29:16,480 bit and kind of like 3293 01:29:17,020 --> 01:29:18,040 individual modules of 3294 01:29:18,040 --> 01:29:19,580 code is kind of 3295 01:29:19,580 --> 01:29:20,100 like this workflow. 3296 01:29:20,360 --> 01:29:21,600 And what we're doing 3297 01:29:21,600 --> 01:29:22,280 under the hood here 3298 01:29:22,280 --> 01:29:23,080 is leveraging, like 3299 01:29:23,080 --> 01:29:23,880 sometimes we'll have 3300 01:29:23,880 --> 01:29:25,420 to do this on, you 3301 01:29:25,420 --> 01:29:26,060 know, maybe one of 3302 01:29:26,060 --> 01:29:26,640 the bigger networks 3303 01:29:26,640 --> 01:29:27,200 I've been on is like 3304 01:29:27,200 --> 01:29:29,080 350,000 hosts, you 3305 01:29:29,080 --> 01:29:30,200 know, like, and what 3306 01:29:30,200 --> 01:29:30,840 does that mean to have 3307 01:29:30,840 --> 01:29:31,360 a heterogeneous 3308 01:29:31,360 --> 01:29:32,400 traffic profile for 3309 01:29:32,400 --> 01:29:32,840 each host? 3310 01:29:33,100 --> 01:29:34,380 And then, so it 3311 01:29:34,380 --> 01:29:35,440 becomes a really kind 3312 01:29:35,440 --> 01:29:36,800 of expensive computational 3313 01:29:37,160 --> 01:29:38,260 problem and a problem 3314 01:29:38,260 --> 01:29:39,160 we want to parallelize 3315 01:29:39,160 --> 01:29:40,900 in a smart way. 3316 01:29:41,080 --> 01:29:41,800 So right now under 3317 01:29:41,800 --> 01:29:42,580 the hood we leverage 3318 01:29:42,760 --> 01:29:43,720 a lot of these kind 3319 01:29:43,720 --> 01:29:44,760 of workflows through 3320 01:29:45,700 --> 01:29:46,900 some Apache projects 3321 01:29:46,900 --> 01:29:48,280 called Spark and MLLib. 3322 01:29:50,120 --> 01:29:51,380 And at the end of the 3323 01:29:51,380 --> 01:29:52,000 day, like, kind of 3324 01:29:52,000 --> 01:29:52,700 what's sort of 3325 01:29:52,700 --> 01:29:53,440 interesting about the 3326 01:29:53,440 --> 01:29:55,100 analytic is it gives 3327 01:29:55,100 --> 01:29:56,320 us, like, once we see, 3328 01:29:56,480 --> 01:29:57,580 so one way to, like, 3329 01:29:57,580 --> 01:29:58,420 hunt for pass the hash 3330 01:29:58,420 --> 01:29:59,120 or pass the ticket, 3331 01:29:59,260 --> 01:29:59,880 for instance, is to 3332 01:29:59,880 --> 01:30:00,860 like, you know, to 3333 01:30:00,860 --> 01:30:02,020 have visibility on the 3334 01:30:02,020 --> 01:30:03,100 host, to do all these, 3335 01:30:03,180 --> 01:30:05,480 I mean, to do all 3336 01:30:05,480 --> 01:30:06,220 these tricks that are 3337 01:30:06,220 --> 01:30:08,880 sort of file system 3338 01:30:08,880 --> 01:30:10,140 specific and just 3339 01:30:10,140 --> 01:30:11,440 analyzing kind of the 3340 01:30:11,440 --> 01:30:12,280 network traffic for 3341 01:30:12,280 --> 01:30:12,740 some of the 3342 01:30:12,760 --> 01:30:14,960 kind of weird games that 3343 01:30:14,960 --> 01:30:15,940 are played with Kerberos 3344 01:30:15,940 --> 01:30:16,920 when we see the pass 3345 01:30:17,300 --> 01:30:18,060 the ticket attacks. 3346 01:30:19,620 --> 01:30:20,900 But another thing you 3347 01:30:20,900 --> 01:30:22,380 can do, in some sense, 3348 01:30:22,480 --> 01:30:23,980 is sort of like at the 3349 01:30:23,980 --> 01:30:26,080 bottom of our output 3350 01:30:26,080 --> 01:30:27,060 here, which is kind of 3351 01:30:27,060 --> 01:30:27,720 what we create as 3352 01:30:27,720 --> 01:30:28,240 anomalies. 3353 01:30:28,480 --> 01:30:29,140 And so when we just, 3354 01:30:29,260 --> 01:30:30,040 when we've identified 3355 01:30:30,040 --> 01:30:32,600 what profiles of humans 3356 01:30:32,600 --> 01:30:34,480 are basically attached 3357 01:30:34,480 --> 01:30:35,600 to IP addresses, we can 3358 01:30:35,600 --> 01:30:37,740 say, oh, this IP has 3359 01:30:38,280 --> 01:30:39,580 99% of the time it's 3360 01:30:39,580 --> 01:30:40,320 driven by a human 3361 01:30:40,320 --> 01:30:40,720 activity. 3362 01:30:40,920 --> 01:30:41,720 It's driven by sort of 3363 01:30:41,720 --> 01:30:42,540 an end user behavior. 3364 01:30:42,700 --> 01:30:42,740 So we can say, oh, 3365 01:30:42,760 --> 01:30:45,980 this IP over here, it only 3366 01:30:45,980 --> 01:30:47,100 does MS update. 3367 01:30:47,800 --> 01:30:49,140 It's only talked to two 3368 01:30:49,140 --> 01:30:49,960 domains in its whole 3369 01:30:49,960 --> 01:30:50,680 history of its traffic. 3370 01:30:50,840 --> 01:30:52,240 It has a very specific 3371 01:30:52,240 --> 01:30:53,200 profile that looks like 3372 01:30:53,200 --> 01:30:53,540 a server. 3373 01:30:53,780 --> 01:30:55,000 So now that I know 3374 01:30:55,000 --> 01:30:56,120 these two facts, I can 3375 01:30:56,120 --> 01:30:57,480 basically start coloring 3376 01:30:57,480 --> 01:30:59,040 the edges so that when 3377 01:30:59,040 --> 01:30:59,820 we see like pass the 3378 01:30:59,820 --> 01:31:00,660 hash and pass the ticket, 3379 01:31:00,800 --> 01:31:01,500 we see sort of like 3380 01:31:01,500 --> 01:31:02,660 non-standard directions 3381 01:31:02,660 --> 01:31:03,800 in the edges of this 3382 01:31:03,800 --> 01:31:04,040 graph. 3383 01:31:04,300 --> 01:31:05,560 And so that's, I mean, 3384 01:31:05,580 --> 01:31:06,600 it's probably not that 3385 01:31:06,600 --> 01:31:07,600 clear here, but that's 3386 01:31:07,600 --> 01:31:08,020 sort of what we're 3387 01:31:08,020 --> 01:31:09,540 outputting in terms of 3388 01:31:09,540 --> 01:31:10,580 anomalies at the end of 3389 01:31:10,580 --> 01:31:11,580 the day in this very 3390 01:31:11,580 --> 01:31:12,580 last step of the workflow. 3391 01:31:13,040 --> 01:31:14,420 And kind of like, so 3392 01:31:14,420 --> 01:31:15,020 here's sort of like 3393 01:31:15,460 --> 01:31:15,980 visualizing the algorithm 3394 01:31:15,980 --> 01:31:16,400 in action. 3395 01:31:16,660 --> 01:31:18,440 This is, I wish 3396 01:31:18,440 --> 01:31:19,060 it could be like a 3397 01:31:19,060 --> 01:31:21,160 better analytic, but 3398 01:31:21,160 --> 01:31:22,040 anyway, this is basically 3399 01:31:22,040 --> 01:31:22,560 done with something 3400 01:31:22,560 --> 01:31:23,100 called Gephi. 3401 01:31:23,200 --> 01:31:24,220 So it's just, so 3402 01:31:24,220 --> 01:31:25,000 basically we take a 3403 01:31:25,500 --> 01:31:26,360 graph network traffic. 3404 01:31:26,480 --> 01:31:26,820 I've taken like 3405 01:31:26,820 --> 01:31:27,740 data in this 3406 01:31:27,740 --> 01:31:29,560 case, proxy data, maybe 3407 01:31:31,680 --> 01:31:33,160 like NetFlow too, just 3408 01:31:33,160 --> 01:31:34,300 sort of, just a couple 3409 01:31:34,300 --> 01:31:35,100 of data sets for a 3410 01:31:35,100 --> 01:31:35,900 large enterprise. 3411 01:31:36,460 --> 01:31:37,500 I think this might be 3412 01:31:37,500 --> 01:31:38,360 like 50,000 hosts. 3413 01:31:39,040 --> 01:31:40,220 And then what we sort 3414 01:31:40,220 --> 01:31:41,340 of do, it's not going 3415 01:31:41,340 --> 01:31:41,840 to be really clear 3416 01:31:41,840 --> 01:31:42,480 here what the color 3417 01:31:42,480 --> 01:31:42,740 score is going to be 3418 01:31:42,740 --> 01:31:43,180 going to correspond to 3419 01:31:43,180 --> 01:31:43,780 or anything like that. 3420 01:31:43,900 --> 01:31:44,480 But basically there's 3421 01:31:44,480 --> 01:31:45,520 sort of the next step 3422 01:31:45,520 --> 01:31:46,120 of the algorithm is 3423 01:31:46,120 --> 01:31:47,200 just doing some analysis 3424 01:31:47,200 --> 01:31:48,440 and some enrichment and 3425 01:31:48,440 --> 01:31:49,720 identifying different 3426 01:31:49,720 --> 01:31:50,820 sort of asset classes. 3427 01:31:51,180 --> 01:31:52,160 And finally we're able 3428 01:31:52,160 --> 01:31:53,440 to detect, and then we 3429 01:31:53,440 --> 01:31:54,600 sort of evolve this over 3430 01:31:54,600 --> 01:31:55,540 time, and we're able 3431 01:31:55,540 --> 01:31:56,380 to detect basically 3432 01:31:56,380 --> 01:31:58,140 when like a web shell 3433 01:31:58,140 --> 01:31:59,700 or like a server all 3434 01:31:59,700 --> 01:32:00,300 of a sudden created, 3435 01:32:00,460 --> 01:32:01,180 like in the perimeter, 3436 01:32:01,340 --> 01:32:02,980 created a path that's 3437 01:32:02,980 --> 01:32:03,940 never, that we've never 3438 01:32:03,940 --> 01:32:05,380 seen before across 3439 01:32:06,080 --> 01:32:07,000 maybe, you know, some 3440 01:32:07,000 --> 01:32:07,880 different parts of the 3441 01:32:07,880 --> 01:32:08,680 topology in the network. 3442 01:32:10,140 --> 01:32:11,240 And so, yeah, so 3443 01:32:11,240 --> 01:32:11,800 that's sort of just 3444 01:32:11,800 --> 01:32:12,680 the analytic and 3445 01:32:12,680 --> 01:32:12,720 analytical part of 3446 01:32:12,740 --> 01:32:12,860 it. 3447 01:32:12,860 --> 01:32:13,440 at a high level. 3448 01:32:15,980 --> 01:32:17,320 One of the most sort 3449 01:32:17,320 --> 01:32:18,080 of fundamental things 3450 01:32:18,080 --> 01:32:18,800 for any of these 3451 01:32:18,800 --> 01:32:19,560 workflows, and pretty 3452 01:32:19,560 --> 01:32:20,880 much a big portion of 3453 01:32:20,880 --> 01:32:21,540 any of these large 3454 01:32:21,540 --> 01:32:22,560 scale kind of analytic 3455 01:32:22,560 --> 01:32:23,640 security solutions I've 3456 01:32:23,640 --> 01:32:24,680 worked on, this is 3457 01:32:24,680 --> 01:32:26,320 really where I think 3458 01:32:26,320 --> 01:32:27,180 that this is sort of a 3459 01:32:27,180 --> 01:32:28,000 make it or break it 3460 01:32:28,000 --> 01:32:28,440 kind of thing. 3461 01:32:28,520 --> 01:32:29,440 Because if you don't 3462 01:32:29,440 --> 01:32:30,320 get identity resolution 3463 01:32:30,320 --> 01:32:31,540 right, then you don't, 3464 01:32:31,540 --> 01:32:32,400 you're not able to make 3465 01:32:32,400 --> 01:32:33,420 like stable baselines 3466 01:32:33,420 --> 01:32:33,840 over time. 3467 01:32:34,780 --> 01:32:35,700 Especially because of 3468 01:32:35,700 --> 01:32:36,520 DHCP churn. 3469 01:32:37,240 --> 01:32:38,760 So, and one thing, 3470 01:32:38,800 --> 01:32:39,680 just on the topic 3471 01:32:39,680 --> 01:32:40,320 of identity resolution, 3472 01:32:41,000 --> 01:32:41,980 there's this pretty cool 3473 01:32:41,980 --> 01:32:42,720 group of people 3474 01:32:42,740 --> 01:32:43,460 using this paper that 3475 01:32:43,460 --> 01:32:44,240 came out called Beyond 3476 01:32:44,240 --> 01:32:44,640 Corp. 3477 01:32:45,880 --> 01:32:46,700 If you guys aren't 3478 01:32:46,700 --> 01:32:47,380 aware of it and you're 3479 01:32:47,380 --> 01:32:47,920 sort of interested in 3480 01:32:47,920 --> 01:32:48,520 this topic, I would 3481 01:32:48,520 --> 01:32:49,280 definitely check it out. 3482 01:32:49,480 --> 01:32:50,300 Because Google's doing 3483 01:32:50,300 --> 01:32:51,380 some really, you know, 3484 01:32:51,380 --> 01:32:52,860 sort of kind of heavy 3485 01:32:52,860 --> 01:32:53,800 duty kind of ways to 3486 01:32:53,800 --> 01:32:54,920 rethink what it means to 3487 01:32:55,560 --> 01:32:56,660 maintain identity in an 3488 01:32:56,660 --> 01:32:56,960 environment. 3489 01:32:57,540 --> 01:32:58,880 And so if you sort of 3490 01:32:58,880 --> 01:32:59,600 want to see under the 3491 01:32:59,600 --> 01:33:00,140 hood how these things 3492 01:33:00,140 --> 01:33:01,400 manifest, typically like 3493 01:33:01,400 --> 01:33:02,640 we'll take lots of 3494 01:33:02,640 --> 01:33:03,880 different data sets, and 3495 01:33:04,460 --> 01:33:05,800 then what we have to do 3496 01:33:05,800 --> 01:33:07,980 in some sense is like 3497 01:33:07,980 --> 01:33:10,900 evolve, like, how do I 3498 01:33:10,900 --> 01:33:11,260 show you? 3499 01:33:11,400 --> 01:33:12,100 Yeah, maybe this is 3500 01:33:12,100 --> 01:33:12,380 the best. 3501 01:33:12,480 --> 01:33:12,720 Like, maybe this is 3502 01:33:12,740 --> 01:33:13,600 basically, we have to sort 3503 01:33:13,600 --> 01:33:15,340 of evolve a kind of like a 3504 01:33:15,340 --> 01:33:19,380 time series of users and 3505 01:33:19,380 --> 01:33:20,380 kind of their state change 3506 01:33:20,380 --> 01:33:21,380 for certain things like 3507 01:33:21,380 --> 01:33:22,920 MAC addresses, IPs, host 3508 01:33:22,920 --> 01:33:23,160 names. 3509 01:33:23,400 --> 01:33:24,920 And then this becomes 3510 01:33:24,920 --> 01:33:26,880 basically like a little 3511 01:33:26,880 --> 01:33:28,100 bit of an expensive lookup 3512 01:33:28,100 --> 01:33:28,700 because you're sort of 3513 01:33:28,700 --> 01:33:29,920 always doing like a range 3514 01:33:29,920 --> 01:33:31,140 query against a single 3515 01:33:31,140 --> 01:33:31,880 point in time. 3516 01:33:32,060 --> 01:33:33,260 But if you create a, create 3517 01:33:33,260 --> 01:33:34,680 a job out of this and 3518 01:33:34,680 --> 01:33:36,360 maintain, sort of maintain 3519 01:33:36,360 --> 01:33:38,020 this logic, what you're 3520 01:33:38,020 --> 01:33:39,020 able to do is sort of 3521 01:33:39,020 --> 01:33:40,880 have like a model, like 3522 01:33:40,880 --> 01:33:41,740 our model kind of 3523 01:33:41,740 --> 01:33:42,720 subscribes to this 3524 01:33:42,740 --> 01:33:44,300 table at the bottom that's 3525 01:33:44,300 --> 01:33:46,240 basically like a, just a 3526 01:33:46,240 --> 01:33:47,860 normalized union of a 3527 01:33:47,860 --> 01:33:48,780 bunch of pieces of 3528 01:33:48,780 --> 01:33:49,540 information about an 3529 01:33:49,540 --> 01:33:50,180 individual user. 3530 01:33:50,320 --> 01:33:51,040 And we're constantly 3531 01:33:51,040 --> 01:33:51,740 updating this. 3532 01:33:51,920 --> 01:33:52,740 And I've seen this get 3533 01:33:52,740 --> 01:33:54,040 really sophisticated for 3534 01:33:54,040 --> 01:33:56,600 like, for the use case of 3535 01:33:56,600 --> 01:33:58,660 like monitoring for VPN 3536 01:33:58,660 --> 01:34:00,480 kind of compromises at, at 3537 01:34:00,480 --> 01:34:01,000 the perimeter. 3538 01:34:02,080 --> 01:34:04,580 I've seen places where 3539 01:34:04,580 --> 01:34:05,520 they even build like a 3540 01:34:05,520 --> 01:34:07,300 probabilistic match on the 3541 01:34:07,300 --> 01:34:08,280 user based off their user 3542 01:34:08,280 --> 01:34:08,740 agent strings. 3543 01:34:08,980 --> 01:34:09,740 They use the most common 3544 01:34:09,740 --> 01:34:10,580 like, a bunch of little 3545 01:34:10,580 --> 01:34:12,040 like heuristic indicators 3546 01:34:12,040 --> 01:34:12,720 to even make sure that 3547 01:34:12,740 --> 01:34:13,720 they make probabilistic 3548 01:34:13,720 --> 01:34:14,320 identity resolution. 3549 01:34:14,620 --> 01:34:15,640 So, so there's, there's 3550 01:34:15,640 --> 01:34:16,580 different levels you can 3551 01:34:16,580 --> 01:34:17,060 take this to. 3552 01:34:17,300 --> 01:34:18,560 But, but for sure kind of 3553 01:34:18,560 --> 01:34:19,280 just doing a vanilla 3554 01:34:19,280 --> 01:34:20,740 correlation against ranges 3555 01:34:21,340 --> 01:34:22,780 in time gives you the 3556 01:34:22,780 --> 01:34:24,700 ability to replace an IP by 3557 01:34:24,700 --> 01:34:25,700 a MAC address or something 3558 01:34:25,700 --> 01:34:26,400 much more stable. 3559 01:34:26,600 --> 01:34:27,320 And then we can 3560 01:34:27,320 --> 01:34:28,100 start to ask the question 3561 01:34:28,100 --> 01:34:29,600 like, is this, is this a 3562 01:34:29,600 --> 01:34:30,680 normal access pattern for 3563 01:34:30,680 --> 01:34:32,140 this, this asset, you know, 3564 01:34:32,180 --> 01:34:32,400 today? 3565 01:34:33,680 --> 01:34:34,740 So that's step one. 3566 01:34:34,860 --> 01:34:35,520 You know, we do this 3567 01:34:36,060 --> 01:34:37,040 topology discovery, or 3568 01:34:37,040 --> 01:34:37,880 identity resolution. 3569 01:34:38,340 --> 01:34:39,560 And then step two is sort 3570 01:34:39,560 --> 01:34:40,860 of this, this overlaying 3571 01:34:41,920 --> 01:34:42,720 the colors, the colors 3572 01:34:42,740 --> 01:34:44,600 and, and basically some 3573 01:34:44,600 --> 01:34:47,020 intuition behind like the 3574 01:34:47,020 --> 01:34:47,640 OSI model. 3575 01:34:48,020 --> 01:34:50,660 And this is, so this is 3576 01:34:50,660 --> 01:34:52,280 the one caveat with doing 3577 01:34:52,280 --> 01:34:53,360 all this stuff and this is 3578 01:34:53,360 --> 01:34:54,100 sort of like one of the 3579 01:34:54,100 --> 01:34:55,980 biggest sort of challenges 3580 01:34:55,980 --> 01:34:57,280 in security in general is 3581 01:34:57,280 --> 01:34:58,640 just like, is just sort of 3582 01:34:58,640 --> 01:35:00,600 having visibility into the 3583 01:35:00,600 --> 01:35:01,440 lower layer thing. 3584 01:35:01,640 --> 01:35:03,020 So, so when, when we're, 3585 01:35:03,020 --> 01:35:04,140 when we're talking about 3586 01:35:05,480 --> 01:35:06,960 monitoring network traffic, 3587 01:35:07,160 --> 01:35:08,380 right, like one of the 3588 01:35:08,380 --> 01:35:09,760 biggest things that happens 3589 01:35:09,760 --> 01:35:11,000 is, you know, when, when, 3590 01:35:11,000 --> 01:35:12,720 when we are, when we are 3591 01:35:12,740 --> 01:35:14,380 landing data in a SEM, we 3592 01:35:14,380 --> 01:35:15,520 never land switch flows. 3593 01:35:15,780 --> 01:35:17,100 You can't land like all the 3594 01:35:17,100 --> 01:35:18,380 traffic that happened in, in 3595 01:35:18,380 --> 01:35:19,160 a, in a stack. 3596 01:35:19,320 --> 01:35:19,940 It's just way too 3597 01:35:19,940 --> 01:35:20,240 expensive. 3598 01:35:20,440 --> 01:35:21,740 So, so you don't see like 3599 01:35:21,740 --> 01:35:22,980 the layer two, the, the 3600 01:35:22,980 --> 01:35:24,340 lower layer information in 3601 01:35:24,340 --> 01:35:25,340 any kind of network monitoring 3602 01:35:25,340 --> 01:35:26,960 usually at, at, at, at 3603 01:35:26,960 --> 01:35:27,300 scale. 3604 01:35:27,560 --> 01:35:28,400 You don't, you can't log 3605 01:35:28,400 --> 01:35:29,340 PCAPs at scale. 3606 01:35:29,420 --> 01:35:30,740 You can't log the switch 3607 01:35:30,740 --> 01:35:31,040 traffic. 3608 01:35:31,160 --> 01:35:31,840 You can log the 3609 01:35:31,840 --> 01:35:32,480 routed traffic. 3610 01:35:32,620 --> 01:35:34,120 And so the fact that once 3611 01:35:34,120 --> 01:35:34,960 we get to really large 3612 01:35:34,960 --> 01:35:36,440 networks and, and they, they 3613 01:35:36,440 --> 01:35:37,620 become part of, part of the 3614 01:35:37,620 --> 01:35:38,460 environment, we lose 3615 01:35:38,460 --> 01:35:39,740 visibility because they're, 3616 01:35:39,740 --> 01:35:41,440 it's main, mainly switched. 3617 01:35:42,000 --> 01:35:42,680 And, and so the fact that 3618 01:35:42,680 --> 01:35:42,720 networks and, and they, they 3619 01:35:42,740 --> 01:35:42,840 become part of that, that, 3620 01:35:42,840 --> 01:35:44,180 that's just a visibility issue 3621 01:35:44,180 --> 01:35:45,360 that has to be solved for in, 3622 01:35:45,420 --> 01:35:46,160 in other ways. 3623 01:35:46,220 --> 01:35:47,340 Either, either having kind 3624 01:35:47,340 --> 01:35:48,360 of endpoint visibility into 3625 01:35:48,360 --> 01:35:49,160 the host through agents. 3626 01:35:49,920 --> 01:35:50,840 And that's sort of one of 3627 01:35:50,840 --> 01:35:51,860 the biggest challenges I see 3628 01:35:51,860 --> 01:35:53,820 these sort of shops dealing 3629 01:35:53,820 --> 01:35:54,420 with at scale. 3630 01:35:56,100 --> 01:35:57,660 So, but, but at the end of 3631 01:35:57,660 --> 01:35:58,680 the day, you know, we, we, we 3632 01:35:58,680 --> 01:35:59,680 take this intuition, we 3633 01:35:59,680 --> 01:36:01,100 overlay some different things. 3634 01:36:01,200 --> 01:36:03,140 Like in this case for every 3635 01:36:03,140 --> 01:36:05,140 IP, basically we build sort 3636 01:36:05,140 --> 01:36:06,300 of like this, this idea of, 3637 01:36:06,300 --> 01:36:07,960 of what, what, what's going 3638 01:36:07,960 --> 01:36:09,020 on in the topology. 3639 01:36:09,160 --> 01:36:10,540 Is the IP in the LAN? 3640 01:36:11,640 --> 01:36:12,360 The DMZ? 3641 01:36:12,380 --> 01:36:12,720 Or is the IP in the 3642 01:36:12,720 --> 01:36:12,760 LAN? 3643 01:36:12,760 --> 01:36:14,720 Or is it, is it an, is it sort 3644 01:36:15,740 --> 01:36:17,160 of external to, to the 3645 01:36:17,160 --> 01:36:17,880 enterprise network? 3646 01:36:18,480 --> 01:36:19,820 And we can add, I mean 3647 01:36:19,820 --> 01:36:20,640 essentially we can add a 3648 01:36:20,640 --> 01:36:21,420 bunch of like different 3649 01:36:22,900 --> 01:36:24,460 statistics to each IP or each 3650 01:36:24,460 --> 01:36:25,020 MAC address. 3651 01:36:25,320 --> 01:36:26,520 And that's kind of the, the, 3652 01:36:26,520 --> 01:36:28,560 the, the key idea here is 3653 01:36:28,560 --> 01:36:29,300 we're basically building a 3654 01:36:29,300 --> 01:36:30,240 bunch of these little tables. 3655 01:36:30,680 --> 01:36:32,440 One, and once we can, we can 3656 01:36:33,360 --> 01:36:35,200 identify the host by a MAC 3657 01:36:35,200 --> 01:36:36,660 or something stable, then I 3658 01:36:36,660 --> 01:36:38,020 can ask like how many times 3659 01:36:38,020 --> 01:36:40,440 do they talk to, how many 3660 01:36:40,440 --> 01:36:41,420 times a day do they talk to 3661 01:36:41,420 --> 01:36:41,820 the perimeter? 3662 01:36:41,940 --> 01:36:42,600 How many times a day do 3663 01:36:42,600 --> 01:36:42,700 they talk to the 3664 01:36:42,720 --> 01:36:42,740 perimeter? 3665 01:36:42,740 --> 01:36:42,820 How many times do they talk 3666 01:36:42,820 --> 01:36:44,240 to like a, like a Facebook 3667 01:36:44,240 --> 01:36:44,660 domain? 3668 01:36:45,160 --> 01:36:46,740 And in this way it's, it's 3669 01:36:46,740 --> 01:36:47,180 pretty simple. 3670 01:36:47,240 --> 01:36:48,200 Like you could just, once 3671 01:36:48,200 --> 01:36:49,000 you start building the 3672 01:36:49,000 --> 01:36:50,480 distribution of each host's 3673 01:36:50,480 --> 01:36:52,000 like just outbound web 3674 01:36:52,000 --> 01:36:53,280 requests, it's, it's really 3675 01:36:53,280 --> 01:36:54,200 easy to identify. 3676 01:36:54,680 --> 01:36:55,880 I mean with, with the 3677 01:36:55,880 --> 01:36:57,120 exception of sort of VMs and 3678 01:36:57,120 --> 01:36:59,260 kind of multi-tenant hosts, 3679 01:36:59,520 --> 01:37:00,820 you, you, you can, you start 3680 01:37:00,820 --> 01:37:02,060 to see like when, when 3681 01:37:02,060 --> 01:37:03,100 everyone kind of connects to 3682 01:37:03,100 --> 01:37:04,300 Facebook and Yahoo and checks 3683 01:37:04,300 --> 01:37:05,220 their mail every day, it 3684 01:37:05,220 --> 01:37:06,200 looks, it's a, it's a 3685 01:37:06,200 --> 01:37:07,040 population that looks 3686 01:37:07,040 --> 01:37:08,440 completely different than the 3687 01:37:08,440 --> 01:37:09,080 server population. 3688 01:37:09,360 --> 01:37:10,260 Which has like a much 3689 01:37:10,260 --> 01:37:11,520 smaller cardinality in the 3690 01:37:11,520 --> 01:37:12,040 number of hosts. 3691 01:37:12,160 --> 01:37:12,700 Like they talk to each 3692 01:37:12,720 --> 01:37:12,960 other, they talk to you. 3693 01:37:13,140 --> 01:37:14,140 Like all these facts like 3694 01:37:14,140 --> 01:37:14,980 kind of let us sort of 3695 01:37:14,980 --> 01:37:15,900 segment these different 3696 01:37:15,900 --> 01:37:16,240 groups. 3697 01:37:16,480 --> 01:37:17,980 And, and, and so some of 3698 01:37:17,980 --> 01:37:19,380 these slides that are on 3699 01:37:19,380 --> 01:37:21,080 here came from like a sort 3700 01:37:21,080 --> 01:37:22,040 of a PhD statistics 3701 01:37:22,500 --> 01:37:22,820 presentation. 3702 01:37:23,160 --> 01:37:23,900 Like our, one of our 3703 01:37:23,900 --> 01:37:24,140 interns. 3704 01:37:24,300 --> 01:37:24,740 So there's gonna be a 3705 01:37:24,740 --> 01:37:25,880 lot of statistics things in 3706 01:37:25,880 --> 01:37:26,940 here that are like, you 3707 01:37:26,940 --> 01:37:27,600 could just kind of ignore. 3708 01:37:27,880 --> 01:37:30,680 But, but basically if, if 3709 01:37:30,680 --> 01:37:31,480 you really want to go deep 3710 01:37:31,480 --> 01:37:32,440 into the math, come, come 3711 01:37:32,440 --> 01:37:33,240 see me afterward and I'll 3712 01:37:33,240 --> 01:37:34,100 share you some of the other 3713 01:37:34,100 --> 01:37:34,740 notes that have a little 3714 01:37:34,740 --> 01:37:35,400 bit more of the like the 3715 01:37:35,400 --> 01:37:36,100 stats stuff in it. 3716 01:37:37,360 --> 01:37:38,480 And then so, so here's 3717 01:37:38,480 --> 01:37:39,100 sort of like the high 3718 01:37:39,100 --> 01:37:40,400 level goal of, of like 3719 01:37:40,400 --> 01:37:41,420 actually like taking an 3720 01:37:41,420 --> 01:37:42,260 analytic and labeling 3721 01:37:42,260 --> 01:37:42,600 things. 3722 01:37:42,720 --> 01:37:43,060 Things in the environment. 3723 01:37:43,900 --> 01:37:45,300 I mean from, from a lateral 3724 01:37:45,300 --> 01:37:46,700 movement perspective, the 3725 01:37:46,700 --> 01:37:47,820 first thing we, we tried to 3726 01:37:47,820 --> 01:37:48,820 get really good at was just 3727 01:37:48,820 --> 01:37:49,960 saying like automatically 3728 01:37:49,960 --> 01:37:51,500 saying okay when, when, 3729 01:37:51,540 --> 01:37:53,580 when this IP or MAC address 3730 01:37:53,580 --> 01:37:55,200 has a user behind it. 3731 01:37:55,400 --> 01:37:56,500 Like just, just tell me yes 3732 01:37:56,500 --> 01:37:56,820 or no. 3733 01:37:57,080 --> 01:37:58,220 And, and, and from, from 3734 01:37:58,220 --> 01:37:59,160 there I can pass that 3735 01:37:59,160 --> 01:38:01,140 information upstream to, to 3736 01:38:01,140 --> 01:38:02,060 sort of other detection 3737 01:38:02,060 --> 01:38:02,680 techniques. 3738 01:38:05,240 --> 01:38:07,120 And, and, and, and I think 3739 01:38:07,120 --> 01:38:08,160 kind of, so the key things 3740 01:38:08,160 --> 01:38:09,380 to identify for us really 3741 01:38:09,380 --> 01:38:10,180 from, from kind of a 3742 01:38:10,180 --> 01:38:12,580 initial POC perspective was 3743 01:38:12,580 --> 01:38:12,700 kind of the, kind of the 3744 01:38:12,700 --> 01:38:13,340 hardware's like, you know, 3745 01:38:13,340 --> 01:38:14,860 just, just like the types of 3746 01:38:14,860 --> 01:38:16,060 end, end, end user hardware 3747 01:38:16,060 --> 01:38:16,880 we might be seeing. 3748 01:38:17,000 --> 01:38:17,640 Like, like kind of 3749 01:38:17,640 --> 01:38:20,020 desktops, you know, host type 3750 01:38:20,020 --> 01:38:22,740 and, and, and kind of mobile 3751 01:38:23,260 --> 01:38:24,240 IOS type devices. 3752 01:38:24,280 --> 01:38:25,000 That sort of thing. 3753 01:38:25,120 --> 01:38:26,640 Sort of kind, kind of tied to 3754 01:38:26,640 --> 01:38:27,460 the end user population. 3755 01:38:27,840 --> 01:38:29,460 And then the other key kind 3756 01:38:29,460 --> 01:38:30,860 of population to, to, to 3757 01:38:30,860 --> 01:38:31,780 sort of just get really good 3758 01:38:31,780 --> 01:38:33,720 at identifying is, is server, 3759 01:38:33,820 --> 01:38:35,220 servers and hardware. 3760 01:38:35,820 --> 01:38:37,300 Particularly like in the DMZ. 3761 01:38:37,580 --> 01:38:38,820 Really, really being good at 3762 01:38:38,820 --> 01:38:40,060 identifying any web servers. 3763 01:38:40,220 --> 01:38:41,740 I mean just types of things 3764 01:38:41,740 --> 01:38:42,640 that are kind of primitive 3765 01:38:42,640 --> 01:38:42,680 in terms of, in terms of 3766 01:38:42,680 --> 01:38:43,260 perimeter exposed. 3767 01:38:45,060 --> 01:38:48,540 And as well as kind of some of 3768 01:38:48,540 --> 01:38:49,580 the, the more challenging 3769 01:38:49,580 --> 01:38:50,760 IOT type devices. 3770 01:38:50,880 --> 01:38:52,080 Particularly in, in healthcare 3771 01:38:52,080 --> 01:38:53,600 we would have bunches of 3772 01:38:53,600 --> 01:38:56,340 problems with having ways to, 3773 01:38:56,460 --> 01:38:57,860 to find the bio-med devices 3774 01:38:57,860 --> 01:38:59,600 and sort of the shadow IT problem. 3775 01:39:01,300 --> 01:39:02,640 So, so what does this 3776 01:39:02,640 --> 01:39:03,560 profile look like? 3777 01:39:03,640 --> 01:39:04,400 I kind of talked about 3778 01:39:04,400 --> 01:39:06,080 building a distribution over 3779 01:39:06,080 --> 01:39:07,620 like, like for example, 3780 01:39:07,660 --> 01:39:08,920 for every server you look at, 3781 01:39:09,020 --> 01:39:09,800 if, if you kind of start 3782 01:39:09,800 --> 01:39:11,300 asking what are the outbound 3783 01:39:11,300 --> 01:39:12,660 IPs, oftentimes you'll see 3784 01:39:12,680 --> 01:39:13,580 with the server population 3785 01:39:13,580 --> 01:39:15,580 it's much, it's a much kind of 3786 01:39:15,580 --> 01:39:16,500 smaller of a communication 3787 01:39:16,500 --> 01:39:18,060 profile than a, a human. 3788 01:39:18,360 --> 01:39:19,660 And, and what's more important 3789 01:39:19,660 --> 01:39:21,460 is like you can kind of map 3790 01:39:21,460 --> 01:39:22,760 things to like updates and 3791 01:39:22,760 --> 01:39:23,460 some of these different sort 3792 01:39:23,460 --> 01:39:25,380 of key sort of invariant 3793 01:39:26,600 --> 01:39:27,780 maintenance workflows that, 3794 01:39:27,840 --> 01:39:28,700 that kind of give you a 3795 01:39:28,700 --> 01:39:29,280 little bit of signal. 3796 01:39:29,520 --> 01:39:31,160 But it, it takes a lot of work 3797 01:39:31,160 --> 01:39:32,140 and so what we do is we sort 3798 01:39:32,140 --> 01:39:33,340 of break down a profile. 3799 01:39:33,800 --> 01:39:34,960 I mean in terms of machine 3800 01:39:34,960 --> 01:39:36,240 learning terms or, or kind 3801 01:39:36,240 --> 01:39:37,460 of statistics, we have to 3802 01:39:37,460 --> 01:39:38,400 build like a whole feature 3803 01:39:38,400 --> 01:39:39,500 vector of information. 3804 01:39:39,880 --> 01:39:40,820 And a lot of these are just 3805 01:39:40,820 --> 01:39:41,760 kind of like, like the 3806 01:39:41,760 --> 01:39:42,560 example I showed earlier 3807 01:39:42,680 --> 01:39:44,480 which is just like a couple 3808 01:39:44,480 --> 01:39:46,120 of statistics we compute 3809 01:39:46,120 --> 01:39:48,600 about the, the number of 3810 01:39:48,600 --> 01:39:49,760 outbound versus inbound 3811 01:39:49,760 --> 01:39:51,000 connections and, and stuff 3812 01:39:51,000 --> 01:39:51,460 like that. 3813 01:39:53,260 --> 01:39:55,920 And so the, then now, now, 3814 01:39:55,920 --> 01:39:57,100 now we add the time dimension 3815 01:39:57,100 --> 01:39:57,640 into this. 3816 01:39:57,740 --> 01:39:58,820 And, and basically we build, 3817 01:39:58,880 --> 01:39:59,940 so the identity resolution 3818 01:39:59,940 --> 01:40:01,160 step lets us sort of maintain 3819 01:40:01,160 --> 01:40:03,300 this time dimension in, in 3820 01:40:03,300 --> 01:40:04,300 a way that now we can be 3821 01:40:04,300 --> 01:40:05,520 robust and maintain both 3822 01:40:05,520 --> 01:40:07,220 baselines and sort of compare 3823 01:40:07,220 --> 01:40:08,760 a profile for, for an asset 3824 01:40:08,760 --> 01:40:10,640 today, tomorrow, you know, 3825 01:40:10,640 --> 01:40:12,080 so on and so forth the next 3826 01:40:12,080 --> 01:40:12,280 day. 3827 01:40:12,680 --> 01:40:13,540 And, and, and basically an 3828 01:40:13,540 --> 01:40:14,680 infinitely running job. 3829 01:40:15,000 --> 01:40:16,180 And, and this way this is 3830 01:40:16,180 --> 01:40:17,700 sort of the classic idea of, 3831 01:40:18,060 --> 01:40:19,420 you know, you know, creating 3832 01:40:19,420 --> 01:40:21,180 a baseline and, and you 3833 01:40:21,180 --> 01:40:21,700 know, what, what's sort of 3834 01:40:21,700 --> 01:40:22,420 interesting when you start 3835 01:40:22,420 --> 01:40:23,300 doing these things and you, 3836 01:40:23,300 --> 01:40:24,880 you see sort of like the, 3837 01:40:24,920 --> 01:40:26,680 some of the power here is 3838 01:40:26,680 --> 01:40:27,920 just, is maybe even like 3839 01:40:27,920 --> 01:40:29,140 falling back to a default 3840 01:40:29,140 --> 01:40:29,480 case. 3841 01:40:29,680 --> 01:40:30,700 So, so one of the classic 3842 01:40:30,700 --> 01:40:31,680 questions we get asked is 3843 01:40:31,680 --> 01:40:33,000 like, okay, like I created a 3844 01:40:33,000 --> 01:40:34,300 baseline, you know, I have a 3845 01:40:34,300 --> 01:40:35,740 whole, maybe a whole OU, 3846 01:40:35,820 --> 01:40:36,640 a whole peer group of like 3847 01:40:36,640 --> 01:40:37,520 the sales organization. 3848 01:40:38,180 --> 01:40:39,860 And now you get a new guy 3849 01:40:39,860 --> 01:40:40,560 in sales today. 3850 01:40:40,640 --> 01:40:41,660 So, like how do I know if 3851 01:40:41,660 --> 01:40:42,660 he's, if, what he's 3852 01:40:42,660 --> 01:40:44,160 actions are good or bad if 3853 01:40:44,160 --> 01:40:45,140 he's, if it's the first day. 3854 01:40:45,400 --> 01:40:46,720 And, and often, and, and so 3855 01:40:46,720 --> 01:40:47,560 from, from an analytic 3856 01:40:47,560 --> 01:40:49,120 perspective, you, you, you 3857 01:40:49,120 --> 01:40:50,040 really can't do anything 3858 01:40:50,480 --> 01:40:51,980 unless you fall back to his 3859 01:40:51,980 --> 01:40:52,480 peer group. 3860 01:40:52,720 --> 01:40:53,700 And in, in this way, 3861 01:40:53,800 --> 01:40:54,900 sometimes even if we don't 3862 01:40:54,900 --> 01:40:55,700 have baseline information, 3863 01:40:55,960 --> 01:40:56,760 as long as we have 3864 01:40:56,760 --> 01:40:58,080 information for his, sort of 3865 01:40:58,080 --> 01:40:59,100 his neighbors, his peers, 3866 01:40:59,200 --> 01:41:00,500 we can, we can kind of 3867 01:41:00,500 --> 01:41:01,780 overlay that and, and, and 3868 01:41:01,780 --> 01:41:02,620 use that as the default 3869 01:41:02,620 --> 01:41:04,680 until we get, until we get 3870 01:41:04,680 --> 01:41:05,800 enough signal from, from, 3871 01:41:05,800 --> 01:41:06,760 from the new individual. 3872 01:41:06,960 --> 01:41:07,660 And, and that, and that's 3873 01:41:07,660 --> 01:41:08,500 sort of the power of the 3874 01:41:08,500 --> 01:41:09,560 data-driven, you know, 3875 01:41:09,580 --> 01:41:11,040 approach here is, is, is 3876 01:41:11,040 --> 01:41:11,940 these little kind of, 3877 01:41:11,980 --> 01:41:12,280 these little, you know, 3878 01:41:12,440 --> 01:41:12,520 these little, you know, 3879 01:41:12,520 --> 01:41:13,320 tricks like that. 3880 01:41:14,700 --> 01:41:16,980 And then, I mean, there's, 3881 01:41:16,980 --> 01:41:17,680 there's a lot of different 3882 01:41:17,680 --> 01:41:18,640 sort of things that goes 3883 01:41:18,640 --> 01:41:20,160 into a, a, a, a profile. 3884 01:41:20,560 --> 01:41:22,540 I think, kind of, what's, 3885 01:41:23,060 --> 01:41:23,980 what's common across lots 3886 01:41:23,980 --> 01:41:24,840 of environments I've found 3887 01:41:24,840 --> 01:41:26,000 is, well, what's really 3888 01:41:26,000 --> 01:41:27,280 nice actually is if, if, 3889 01:41:27,320 --> 01:41:28,660 if there's Palo Altos and, 3890 01:41:28,720 --> 01:41:29,520 and, and there's sort of 3891 01:41:29,520 --> 01:41:30,800 nice, nice visibility maybe 3892 01:41:30,800 --> 01:41:32,440 in, in, across data centers, 3893 01:41:32,600 --> 01:41:33,760 then, then we can kind of 3894 01:41:33,760 --> 01:41:35,480 get a really nice, even 3895 01:41:35,480 --> 01:41:37,860 LAN to LAN, like, private 3896 01:41:37,860 --> 01:41:39,900 to private application 3897 01:41:39,900 --> 01:41:40,580 fingerprints. 3898 01:41:40,960 --> 01:41:41,960 And what, and basically 3899 01:41:41,960 --> 01:41:42,500 if you build, if you build 3900 01:41:42,520 --> 01:41:43,680 an application fingerprint, 3901 01:41:44,020 --> 01:41:45,200 so, so the Palo Altos will 3902 01:41:45,200 --> 01:41:45,960 give you, for each network 3903 01:41:45,960 --> 01:41:47,080 traffic, there's a field 3904 01:41:47,080 --> 01:41:48,040 that will give you sort 3905 01:41:48,040 --> 01:41:48,860 of the, the, the app, 3906 01:41:49,040 --> 01:41:49,640 they kind of fingerprint 3907 01:41:49,640 --> 01:41:50,620 in the traffic, or they, 3908 01:41:50,660 --> 01:41:51,560 they think, they think 3909 01:41:51,560 --> 01:41:51,880 what it is. 3910 01:41:51,940 --> 01:41:53,140 I mean, oftentimes 3911 01:41:53,140 --> 01:41:54,380 encrypted traffic isn't, 3912 01:41:54,380 --> 01:41:55,640 isn't so, so helpful here, 3913 01:41:55,760 --> 01:41:56,780 but, but basically you'll 3914 01:41:56,780 --> 01:41:59,320 get, get a, a, a distribution 3915 01:41:59,320 --> 01:42:00,800 of each, each sort of 3916 01:42:00,800 --> 01:42:02,760 application that is used 3917 01:42:02,760 --> 01:42:03,460 by a single host. 3918 01:42:03,580 --> 01:42:05,060 And, like, servers stand 3919 01:42:05,060 --> 01:42:06,420 out, like, let me see, 3920 01:42:06,460 --> 01:42:07,180 I think, yeah, this is 3921 01:42:07,180 --> 01:42:08,260 probably an end user. 3922 01:42:08,400 --> 01:42:10,400 We see some iCloud, Gmail, 3923 01:42:10,720 --> 01:42:12,200 iTunes, but servers stand 3924 01:42:12,200 --> 01:42:12,500 out too. 3925 01:42:12,520 --> 01:42:12,840 So much. 3926 01:42:13,080 --> 01:42:13,940 Just, here, here's, 3927 01:42:13,940 --> 01:42:15,680 here's the, the application 3928 01:42:15,680 --> 01:42:16,840 distribution of, like, 3929 01:42:16,840 --> 01:42:17,920 a, of a domain controller. 3930 01:42:18,240 --> 01:42:19,200 And it's, it's just this, 3931 01:42:19,240 --> 01:42:20,320 it's sort of a smaller 3932 01:42:20,840 --> 01:42:21,160 cardinality. 3933 01:42:22,080 --> 01:42:22,800 It's just, it's really 3934 01:42:22,800 --> 01:42:23,900 easy to sort of spot 3935 01:42:23,900 --> 01:42:25,200 once you kind of build up 3936 01:42:25,200 --> 01:42:26,320 all these calculations. 3937 01:42:27,880 --> 01:42:30,620 And so, so, and, and here, 3938 01:42:30,700 --> 01:42:31,420 here's sort of where the 3939 01:42:31,420 --> 01:42:32,120 kind of machine learning 3940 01:42:32,120 --> 01:42:32,660 comes in. 3941 01:42:32,780 --> 01:42:33,600 We, we do have sort of 3942 01:42:33,600 --> 01:42:34,500 this, this whole workflow. 3943 01:42:34,740 --> 01:42:36,340 And basically, we have to 3944 01:42:36,340 --> 01:42:38,180 have the, this is sort 3945 01:42:38,180 --> 01:42:39,140 of like statistics problems, 3946 01:42:39,240 --> 01:42:40,120 is now how do we compare, 3947 01:42:40,220 --> 01:42:41,800 like, different feature, 3948 01:42:41,860 --> 01:42:42,500 features, you know, 3949 01:42:42,520 --> 01:42:43,220 features, different profiles, 3950 01:42:43,460 --> 01:42:44,560 and how do we compare them 3951 01:42:44,560 --> 01:42:45,080 across time. 3952 01:42:45,300 --> 01:42:45,960 So we, so we've got to 3953 01:42:45,960 --> 01:42:47,020 implement a little engine to 3954 01:42:47,020 --> 01:42:48,960 sort of cover these use cases. 3955 01:42:49,640 --> 01:42:51,900 And then, kind of the final 3956 01:42:51,900 --> 01:42:52,860 thing we do is sort of a 3957 01:42:52,860 --> 01:42:53,460 higher level. 3958 01:42:53,620 --> 01:42:54,600 So we kind of do the, the 3959 01:42:54,600 --> 01:42:56,000 sort of lower layer kind of, 3960 01:42:56,500 --> 01:42:58,260 like, graph-centric analysis 3961 01:42:58,260 --> 01:43:00,500 in, in the first step. 3962 01:43:00,660 --> 01:43:01,980 And then, what I mean by 3963 01:43:01,980 --> 01:43:03,100 the OSI model is kind of we 3964 01:43:03,100 --> 01:43:03,780 go up to the sort of 3965 01:43:03,780 --> 01:43:04,660 application layer now. 3966 01:43:04,880 --> 01:43:06,300 And, and we start talking 3967 01:43:06,300 --> 01:43:12,500 about, well, the, the 3968 01:43:12,500 --> 01:43:14,240 sort of, there's just sort of 3969 01:43:14,240 --> 01:43:15,220 a bunch of different examples 3970 01:43:15,220 --> 01:43:15,500 in here. 3971 01:43:15,680 --> 01:43:16,640 I guess I could kind of, 3972 01:43:16,700 --> 01:43:17,600 since we're running low on 3973 01:43:17,600 --> 01:43:19,000 time, I'll just, hopefully you 3974 01:43:19,000 --> 01:43:19,860 guys get a sense of, you 3975 01:43:19,860 --> 01:43:20,720 know, we, we basically compute 3976 01:43:20,720 --> 01:43:22,600 a bunch of different profiles 3977 01:43:22,600 --> 01:43:23,960 at, at different, you know, 3978 01:43:23,980 --> 01:43:25,140 based off different logs we 3979 01:43:25,140 --> 01:43:25,600 have, essentially. 3980 01:43:26,380 --> 01:43:27,960 And, and then, once we kind 3981 01:43:27,960 --> 01:43:30,000 of get those profiles, this 3982 01:43:30,000 --> 01:43:31,260 is sort of, this is like the, 3983 01:43:31,340 --> 01:43:32,600 the, the, the magic anomaly 3984 01:43:32,600 --> 01:43:34,280 step, is we, we're able to 3985 01:43:34,280 --> 01:43:35,720 kind of build, like, this, 3986 01:43:35,820 --> 01:43:36,920 this, this time-sensitive 3987 01:43:36,920 --> 01:43:40,340 analysis of, oh, well, this, 3988 01:43:40,680 --> 01:43:42,160 this server actually talked to 3989 01:43:42,160 --> 01:43:42,480 a LAN server. 3990 01:43:42,480 --> 01:43:44,060 And it's never, it's never, 3991 01:43:44,140 --> 01:43:45,080 this server never even 3992 01:43:45,080 --> 01:43:46,340 initiates connects, connections 3993 01:43:46,340 --> 01:43:48,360 to host before, or vice versa, 3994 01:43:48,420 --> 01:43:49,340 you know, so kind of building 3995 01:43:49,340 --> 01:43:50,520 these, these really graph- 3996 01:43:50,520 --> 01:43:52,280 centric indicators lets us, 3997 01:43:52,300 --> 01:43:53,580 like, you know, for instance, 3998 01:43:53,760 --> 01:43:54,640 the, the web shell is my 3999 01:43:54,640 --> 01:43:56,540 favorite kind of example to 4000 01:43:56,540 --> 01:43:59,940 cover is, like, once a, once 4001 01:43:59,940 --> 01:44:01,160 an asset in the perimeter gets 4002 01:44:01,160 --> 01:44:02,580 popped, oftentimes its 4003 01:44:02,580 --> 01:44:03,520 behavior, its communication 4004 01:44:03,520 --> 01:44:05,560 profile will, will change a 4005 01:44:05,560 --> 01:44:06,380 little in terms of what it 4006 01:44:06,380 --> 01:44:07,800 talks to next, or what, what, 4007 01:44:07,860 --> 01:44:09,400 so to get off, give off these 4008 01:44:09,400 --> 01:44:10,900 little signals, aside from 4009 01:44:10,900 --> 01:44:12,440 just monitoring the behavior 4010 01:44:12,480 --> 01:44:13,960 of the file system, like, just 4011 01:44:13,960 --> 01:44:16,020 hunting each web, you know, 4012 01:44:16,480 --> 01:44:17,580 like, the whole time we want 4013 01:44:17,580 --> 01:44:18,580 to be watching, as long as we 4014 01:44:18,580 --> 01:44:19,800 know a, a web server is 4015 01:44:19,800 --> 01:44:21,140 online, we want to make sure 4016 01:44:21,140 --> 01:44:21,960 are there any new kind of 4017 01:44:21,960 --> 01:44:23,160 URIs that have shown up that 4018 01:44:23,160 --> 01:44:24,480 only one person talks to in 4019 01:44:24,480 --> 01:44:25,860 the, in the entire, like, in 4020 01:44:25,860 --> 01:44:27,300 an entire traffic set, or we 4021 01:44:27,300 --> 01:44:28,000 want to look for all these 4022 01:44:28,000 --> 01:44:29,140 sort of little file system and, 4023 01:44:29,180 --> 01:44:30,300 and, and local log-specific 4024 01:44:30,300 --> 01:44:31,860 indicators, but even if we 4025 01:44:31,860 --> 01:44:32,800 don't have that, we can kind 4026 01:44:32,800 --> 01:44:34,320 of make inferences off just 4027 01:44:34,320 --> 01:44:35,560 the relationships and how they 4028 01:44:35,560 --> 01:44:36,340 connect over time. 4029 01:44:36,480 --> 01:44:37,960 And so, so seeing these sort 4030 01:44:37,960 --> 01:44:40,580 of rare paths sometimes is 4031 01:44:40,580 --> 01:44:42,340 enough if we already have sort 4032 01:44:42,340 --> 01:44:42,460 of the, the, the, the 4033 01:44:42,480 --> 01:44:43,780 color coding and the asset, 4034 01:44:44,380 --> 01:44:46,100 asset information built into, 4035 01:44:46,520 --> 01:44:47,820 into an analytic, essentially. 4036 01:44:47,940 --> 01:44:49,220 So that's, that's, it's kind of 4037 01:44:49,220 --> 01:44:50,180 showing what I, what I was 4038 01:44:50,180 --> 01:44:51,560 trying to show at the high 4039 01:44:51,560 --> 01:44:52,340 level, with the high-level 4040 01:44:52,340 --> 01:44:52,900 graph pictures. 4041 01:44:52,980 --> 01:44:54,180 This is basically what we'll 4042 01:44:54,180 --> 01:44:55,960 kind of pick out and label by 4043 01:44:55,960 --> 01:44:56,560 the algorithm. 4044 01:44:58,360 --> 01:44:59,840 And, and so, yeah, so kind of 4045 01:44:59,840 --> 01:45:01,200 going back to here, that's 4046 01:45:01,200 --> 01:45:02,280 really what I was trying to 4047 01:45:02,280 --> 01:45:03,200 show at, like, a, a more 4048 01:45:03,200 --> 01:45:03,920 granular level. 4049 01:45:04,060 --> 01:45:05,060 That, this is what sort of the 4050 01:45:05,060 --> 01:45:06,100 algorithm is hunting for, is 4051 01:45:06,100 --> 01:45:07,120 just this, sort of this, 4052 01:45:07,140 --> 01:45:08,660 these strange, strange paths, 4053 01:45:09,200 --> 01:45:09,520 essentially. 4054 01:45:12,120 --> 01:45:12,460 And so, yeah, so, 4055 01:45:12,480 --> 01:45:13,560 and so, yeah, I think, I mean, 4056 01:45:13,600 --> 01:45:14,480 I think we're kind of running 4057 01:45:14,480 --> 01:45:15,000 low on time. 4058 01:45:15,480 --> 01:45:16,520 Basically, that's sort of the 4059 01:45:16,520 --> 01:45:18,780 end-to-end workflow, and, and 4060 01:45:18,780 --> 01:45:20,780 more importantly, I think we 4061 01:45:20,780 --> 01:45:21,840 just want to sort of deep dive 4062 01:45:21,840 --> 01:45:23,920 on, on kind of where, where we 4063 01:45:23,920 --> 01:45:24,900 use a lot of these data-driven 4064 01:45:24,900 --> 01:45:26,220 techniques and, and where kind 4065 01:45:26,220 --> 01:45:27,800 of, this is a good use case for 4066 01:45:27,800 --> 01:45:29,100 machine learning because it's 4067 01:45:29,100 --> 01:45:30,760 much easier to label, get lots 4068 01:45:30,760 --> 01:45:32,320 of labels for assets and stuff 4069 01:45:32,320 --> 01:45:33,600 like that than it is for, like, 4070 01:45:33,600 --> 01:45:34,380 attack patterns. 4071 01:45:34,520 --> 01:45:36,940 And so, so that's, that's just 4072 01:45:36,940 --> 01:45:37,920 sort of like one of the many 4073 01:45:37,920 --> 01:45:39,480 kind of ways we try to, to 4074 01:45:39,480 --> 01:45:41,400 take a signal from data and, 4075 01:45:41,440 --> 01:45:42,460 and create sort of a, sort of 4076 01:45:42,480 --> 01:45:45,100 a, a kind of a good workflow 4077 01:45:45,100 --> 01:45:46,320 that, that is useful for 4078 01:45:46,320 --> 01:45:48,360 upstream, actually, practical 4079 01:45:48,360 --> 01:45:50,020 security, like, you know, 4080 01:45:50,040 --> 01:45:50,500 questions. 4081 01:45:50,980 --> 01:45:52,740 So, so maybe we'll just do 4082 01:45:52,740 --> 01:45:53,320 Q&A next? 4083 01:45:53,500 --> 01:45:53,860 Yeah. 4084 01:45:54,380 --> 01:45:55,520 Do you guys have any 4085 01:45:55,520 --> 01:45:55,820 questions? 4086 01:46:00,940 --> 01:46:01,700 Yeah, go ahead. 4087 01:46:02,020 --> 01:46:03,240 So, I have a question 4088 01:46:03,240 --> 01:46:04,760 around when you get all this 4089 01:46:04,760 --> 01:46:06,140 monitoring data and you see an 4090 01:46:06,140 --> 01:46:07,580 outline, do you guys have any 4091 01:46:07,580 --> 01:46:09,660 attempts to automatically put in 4092 01:46:09,660 --> 01:46:11,300 firewall rules or other network 4093 01:46:11,300 --> 01:46:12,260 conditions to block it? 4094 01:46:12,260 --> 01:46:12,460 conditions to block it? 4095 01:46:12,460 --> 01:46:14,320 Or learning modes so that you 4096 01:46:14,320 --> 01:46:16,020 can turn it on, let it gather 4097 01:46:16,020 --> 01:46:18,080 data for resource months, and 4098 01:46:18,080 --> 01:46:20,240 then automate some of the bad 4099 01:46:20,240 --> 01:46:21,420 patterns manually? 4100 01:46:21,940 --> 01:46:22,440 Yes. 4101 01:46:22,660 --> 01:46:24,340 The, the process usually goes, 4102 01:46:24,480 --> 01:46:27,020 and I can, I can translate this 4103 01:46:27,020 --> 01:46:28,240 into what we just did at Black 4104 01:46:28,240 --> 01:46:28,460 Hat. 4105 01:46:28,740 --> 01:46:30,400 Basically, we grab a bunch of 4106 01:46:32,000 --> 01:46:33,320 benign traffic, right? 4107 01:46:33,420 --> 01:46:34,760 There's, I, I basically 4108 01:46:34,760 --> 01:46:36,320 simulated how a normal user 4109 01:46:36,320 --> 01:46:37,420 will browse, right? 4110 01:46:37,620 --> 01:46:40,020 And then we grab a number of 4111 01:46:41,140 --> 01:46:42,440 pickups that have, you know, 4112 01:46:42,440 --> 01:46:43,560 bad, uh, ransomware. 4113 01:46:43,740 --> 01:46:44,260 Right? 4114 01:46:44,360 --> 01:46:45,600 So, basically, we trained the, 4115 01:46:45,600 --> 01:46:47,160 the algorithm and this is good, 4116 01:46:47,260 --> 01:46:47,920 this is bad. 4117 01:46:48,300 --> 01:46:50,360 And we included a number of 4118 01:46:50,360 --> 01:46:52,100 what we call, uh, micro-behavior. 4119 01:46:52,220 --> 01:46:53,600 So, for example, the entropy in 4120 01:46:53,600 --> 01:46:54,340 the URI string. 4121 01:46:54,760 --> 01:46:56,480 Uh, we included things such as 4122 01:46:56,480 --> 01:46:59,240 the MIME type sequence, right? 4123 01:46:59,420 --> 01:47:01,120 And then, going back to your 4124 01:47:01,120 --> 01:47:03,040 question, at the end, we created 4125 01:47:03,040 --> 01:47:05,160 a active defense script that 4126 01:47:05,160 --> 01:47:07,360 basically, basically grabs the 4127 01:47:07,360 --> 01:47:08,900 executable that we're pulling 4128 01:47:08,900 --> 01:47:10,900 from the pickup, grabs the 4129 01:47:10,900 --> 01:47:12,420 executable name, SSH, and then 4130 01:47:12,420 --> 01:47:13,360 pushes it into a domain 4131 01:47:13,360 --> 01:47:15,580 controller, creates a GPO by a 4132 01:47:15,580 --> 01:47:18,500 PowerShell, and then pushes the 4133 01:47:18,500 --> 01:47:20,240 GPO into the domain controller, 4134 01:47:20,500 --> 01:47:20,920 right? 4135 01:47:21,000 --> 01:47:21,960 Once you do that, it 4136 01:47:21,960 --> 01:47:23,060 basically propagates. 4137 01:47:23,160 --> 01:47:25,300 That executable will not run, 4138 01:47:25,500 --> 01:47:25,860 right? 4139 01:47:25,980 --> 01:47:26,880 And even if the numbers 4140 01:47:26,880 --> 01:47:29,680 change, uh, or the name, we'll 4141 01:47:29,680 --> 01:47:30,900 still grab it and push it back 4142 01:47:30,900 --> 01:47:31,240 again. 4143 01:47:31,580 --> 01:47:33,420 So, does that answer your 4144 01:47:33,420 --> 01:47:33,760 question? 4145 01:47:34,080 --> 01:47:34,680 Oh, sure. 4146 01:47:34,820 --> 01:47:35,080 No. 4147 01:47:35,180 --> 01:47:36,860 One other ancillary question 4148 01:47:36,860 --> 01:47:38,840 is, you showed this web script 4149 01:47:38,840 --> 01:47:40,880 example, but with web servers, 4150 01:47:41,000 --> 01:47:42,300 they have specific connections 4151 01:47:42,300 --> 01:47:42,400 to the server, right? 4152 01:47:42,400 --> 01:47:44,720 Why wouldn't you do a more 4153 01:47:44,720 --> 01:47:46,220 whitelist approach instead of 4154 01:47:46,220 --> 01:47:47,820 allowing them into your network 4155 01:47:47,820 --> 01:47:49,440 border to allow them to connect 4156 01:47:49,440 --> 01:47:50,480 to arbitrary hosts? 4157 01:47:50,740 --> 01:47:51,940 Because it seems like their 4158 01:47:51,940 --> 01:47:54,020 customer left, like, someone on 4159 01:47:54,020 --> 01:47:55,360 that network, they're on a 4160 01:47:55,360 --> 01:47:57,500 laptop, should never be able to 4161 01:47:57,500 --> 01:47:59,300 get instantiated connection from 4162 01:47:59,300 --> 01:48:00,260 that web server anyways. 4163 01:48:01,420 --> 01:48:01,900 Yes. 4164 01:48:02,140 --> 01:48:02,880 Yeah, you're correct. 4165 01:48:03,080 --> 01:48:03,560 Right. 4166 01:48:03,820 --> 01:48:05,620 Well, it, it, well, it, you 4167 01:48:05,620 --> 01:48:06,840 know, that, that, it comes down 4168 01:48:06,840 --> 01:48:08,200 to a customer, right? 4169 01:48:08,280 --> 01:48:09,760 So, customers, I've been in 4170 01:48:09,760 --> 01:48:10,680 customers that have, for 4171 01:48:10,680 --> 01:48:12,380 example, uh, Eastwater, 4172 01:48:12,400 --> 01:48:12,940 Southwest, you know what 4173 01:48:12,940 --> 01:48:14,020 East-West means is lateral, 4174 01:48:14,160 --> 01:48:14,300 right? 4175 01:48:14,480 --> 01:48:16,240 So, so, they, they kind of 4176 01:48:16,240 --> 01:48:17,560 segment and divide their networks, 4177 01:48:17,760 --> 01:48:19,380 uh, and also North-South. 4178 01:48:19,500 --> 01:48:21,240 So, something like that will 4179 01:48:21,240 --> 01:48:21,760 get blocked. 4180 01:48:22,000 --> 01:48:23,180 Some others tell you, I can't 4181 01:48:23,180 --> 01:48:24,380 do this, right? 4182 01:48:24,620 --> 01:48:26,240 And what's scary sometimes is 4183 01:48:26,240 --> 01:48:27,540 when you go to a customer and 4184 01:48:27,540 --> 01:48:30,420 their guest, you see their guest, 4185 01:48:30,480 --> 01:48:31,960 uh, uh, wireless is actually 4186 01:48:31,960 --> 01:48:33,720 flowing through the enterprise. 4187 01:48:33,880 --> 01:48:35,660 So, I, I show them things like, 4188 01:48:35,700 --> 01:48:36,400 there's door here. 4189 01:48:37,040 --> 01:48:37,460 Okay. 4190 01:48:37,540 --> 01:48:38,620 And you don't worry about 4191 01:48:38,620 --> 01:48:38,860 door? 4192 01:48:39,080 --> 01:48:39,700 No, that's the guest 4193 01:48:39,700 --> 01:48:39,900 network. 4194 01:48:39,980 --> 01:48:40,380 I don't care. 4195 01:48:40,840 --> 01:48:41,260 Right? 4196 01:48:41,920 --> 01:48:42,380 So, I, I show them things 4197 01:48:42,380 --> 01:48:42,940 So, yeah. 4198 01:48:43,080 --> 01:48:44,220 So, what you, what, what you 4199 01:48:44,220 --> 01:48:46,060 said is definitely valid, but 4200 01:48:46,060 --> 01:48:46,580 it will depend. 4201 01:48:46,820 --> 01:48:47,600 You know, when, when we 4202 01:48:47,600 --> 01:48:48,520 are, when you're a customer, 4203 01:48:48,560 --> 01:48:50,100 the customer presents challenges 4204 01:48:50,100 --> 01:48:51,100 that you had to tackle 4205 01:48:51,100 --> 01:48:51,480 regardless. 4206 01:48:51,660 --> 01:48:52,400 I can tell them, hey, you 4207 01:48:52,400 --> 01:48:53,260 gotta fix your stuff, because 4208 01:48:53,260 --> 01:48:54,280 that's why I'm there for it. 4209 01:48:54,380 --> 01:48:54,580 Right? 4210 01:48:55,260 --> 01:48:55,740 All right. 4211 01:48:57,500 --> 01:48:58,280 Any other question? 4212 01:48:59,220 --> 01:48:59,720 Yes, sir. 4213 01:49:00,580 --> 01:49:00,920 . 4214 01:49:07,440 --> 01:49:07,780 Yeah. 4215 01:49:08,020 --> 01:49:09,280 Essentially, that's exactly the, 4216 01:49:09,300 --> 01:49:10,060 the goal there. 4217 01:49:10,160 --> 01:49:11,700 And, and in, but see that we 4218 01:49:11,700 --> 01:49:12,360 start with sort of, you know, 4219 01:49:12,360 --> 01:49:13,120 some seed values. 4220 01:49:13,400 --> 01:49:14,040 Like, we start with 4221 01:49:14,040 --> 01:49:15,200 what we, we know we want to 4222 01:49:15,200 --> 01:49:15,520 hunt for. 4223 01:49:15,600 --> 01:49:17,200 So, the first sort of game to 4224 01:49:17,200 --> 01:49:18,840 hunt for was, basically, 4225 01:49:19,660 --> 01:49:20,820 monitoring, like, sort of, some 4226 01:49:20,820 --> 01:49:21,680 of these high-risk perimeter 4227 01:49:21,680 --> 01:49:22,920 assets, particularly web 4228 01:49:22,920 --> 01:49:23,240 servers. 4229 01:49:23,500 --> 01:49:24,600 And also, like, another great 4230 01:49:24,600 --> 01:49:25,880 use case we get asked a lot is, 4231 01:49:25,940 --> 01:49:26,980 like, can you tell us when 4232 01:49:26,980 --> 01:49:28,180 people are misusing and abusing 4233 01:49:28,180 --> 01:49:28,540 databases? 4234 01:49:29,020 --> 01:49:29,880 Well, oftentimes, well, it's 4235 01:49:29,880 --> 01:49:31,140 like, okay, do we have a, like, 4236 01:49:31,180 --> 01:49:33,460 a non-exhaustive list of, you 4237 01:49:33,460 --> 01:49:34,340 know, oftentimes, it's, it's 4238 01:49:34,340 --> 01:49:35,560 this sort of work in progress. 4239 01:49:35,720 --> 01:49:36,860 So, we, we kind of let the 4240 01:49:36,860 --> 01:49:38,440 data, I mean, it's great to 4241 01:49:38,440 --> 01:49:39,680 get asset and inventory system 4242 01:49:39,680 --> 01:49:40,660 and we just, we'll plug into 4243 01:49:40,660 --> 01:49:41,680 that, but now we, it's kind 4244 01:49:42,360 --> 01:49:43,460 of the shadow IT problem a 4245 01:49:43,460 --> 01:49:44,120 little bit we're trying to 4246 01:49:44,120 --> 01:49:45,000 solve and discover what's the 4247 01:49:45,000 --> 01:49:46,100 extra out there and, and 4248 01:49:46,100 --> 01:49:47,120 regardless what it is, we'll 4249 01:49:47,120 --> 01:49:47,980 just kick off another 4250 01:49:47,980 --> 01:49:48,580 analytics. 4251 01:49:48,720 --> 01:49:49,420 So, now that we know 4252 01:49:49,420 --> 01:49:51,040 it's a web, a web server, I 4253 01:49:51,040 --> 01:49:51,960 can, I can run the web show 4254 01:49:51,960 --> 01:49:52,240 analytic. 4255 01:49:52,440 --> 01:49:53,440 If I know it's a, you 4256 01:49:53,440 --> 01:49:54,800 know, a SQL server, I'll, I'll 4257 01:49:54,800 --> 01:49:56,020 run sort of the SQL abuse 4258 01:49:56,020 --> 01:49:56,380 analytic. 4259 01:49:56,820 --> 01:49:57,140 And... 4260 01:49:58,100 --> 01:49:58,420 . 4261 01:50:00,820 --> 01:50:01,140 Yeah. 4262 01:50:01,320 --> 01:50:02,620 The way we, we, I mean, we've 4263 01:50:02,620 --> 01:50:03,660 been, we'll, building kind of 4264 01:50:03,660 --> 01:50:05,380 a platform inside of Splunk 4265 01:50:05,380 --> 01:50:07,080 that is sort of, kind of, 4266 01:50:07,080 --> 01:50:08,560 exposes all these models as 4267 01:50:08,560 --> 01:50:09,900 first-class citizens in, in, 4268 01:50:09,900 --> 01:50:11,200 in, um, it's called, like, a 4269 01:50:11,200 --> 01:50:11,940 Lambda architecture. 4270 01:50:12,040 --> 01:50:12,340 It kind of, you know, it's 4271 01:50:12,340 --> 01:50:13,520 kind of uses sort of a batch in 4272 01:50:13,520 --> 01:50:14,680 a real-time paradigm to, 4273 01:50:14,720 --> 01:50:16,220 basically, parallelize the 4274 01:50:16,220 --> 01:50:17,640 problem across, you know, we, 4275 01:50:17,660 --> 01:50:19,140 we can, we can assign state per 4276 01:50:19,140 --> 01:50:20,320 entity in a, in a, in a 4277 01:50:20,320 --> 01:50:21,660 parallelized way and, and, and 4278 01:50:21,660 --> 01:50:22,940 maintain sort of a little local 4279 01:50:22,940 --> 01:50:24,560 SEM per kind of individual. 4280 01:50:26,320 --> 01:50:27,420 Um, oh, yeah, and back, back 4281 01:50:27,420 --> 01:50:28,420 to your question, like, just to, 4282 01:50:28,440 --> 01:50:29,540 just to, I just wanted to, 4283 01:50:29,580 --> 01:50:30,760 like, highlight kind of that 4284 01:50:30,760 --> 01:50:31,040 workflow. 4285 01:50:31,260 --> 01:50:32,140 We, we have this active 4286 01:50:32,140 --> 01:50:33,320 defense script that's, we 4287 01:50:33,320 --> 01:50:34,440 didn't talk about this in this 4288 01:50:34,440 --> 01:50:35,820 talk, but this was sort of our 4289 01:50:35,820 --> 01:50:36,680 black hat, uh, demo. 4290 01:50:36,820 --> 01:50:38,620 And, um, like, uh, active 4291 01:50:38,620 --> 01:50:39,300 defense is a really 4292 01:50:39,300 --> 01:50:39,860 interesting question. 4293 01:50:39,960 --> 01:50:40,820 It's particularly in 4294 01:50:40,820 --> 01:50:42,120 biomed, where, where I had 4295 01:50:42,120 --> 01:50:42,320 to deal with, you know, 4296 01:50:42,320 --> 01:50:42,780 people who do this in healthcare, 4297 01:50:43,260 --> 01:50:44,660 like, anytime people want to do 4298 01:50:44,660 --> 01:50:45,840 automated blocking, it would be 4299 01:50:45,840 --> 01:50:46,980 like, are you gonna disrupt, 4300 01:50:47,100 --> 01:50:47,960 like, critical life support? 4301 01:50:48,120 --> 01:50:48,780 And, and so it was like a 4302 01:50:48,780 --> 01:50:50,440 super, like, scary thing. 4303 01:50:50,580 --> 01:50:51,680 But, but one of the cooler 4304 01:50:52,300 --> 01:50:53,580 examples we've seen is this 4305 01:50:53,580 --> 01:50:55,620 generation of GPO and, and just 4306 01:50:55,620 --> 01:50:56,480 affecting policy. 4307 01:50:56,820 --> 01:50:57,980 And oftentimes, you don't have 4308 01:50:57,980 --> 01:50:59,080 to take a really extreme act, 4309 01:50:59,120 --> 01:51:00,500 action when you, when you, 4310 01:51:00,520 --> 01:51:02,240 when you, when you kind of do 4311 01:51:02,240 --> 01:51:03,760 like a re, real-time risk score 4312 01:51:03,760 --> 01:51:04,260 for a user. 4313 01:51:04,460 --> 01:51:06,340 So, so ta, ta, taking maybe, 4314 01:51:06,480 --> 01:51:08,680 um, uh, a first step, if the 4315 01:51:08,680 --> 01:51:09,940 risk goes up enough, is just 4316 01:51:09,940 --> 01:51:10,980 restricting subnets. 4317 01:51:11,200 --> 01:51:12,180 You know, restricting subnets 4318 01:51:12,180 --> 01:51:12,300 is, is, is, is, is, is, is 4319 01:51:12,300 --> 01:51:13,100 like, like, access to critical 4320 01:51:13,100 --> 01:51:13,440 subnets. 4321 01:51:13,540 --> 01:51:14,480 And we've seen customers 4322 01:51:14,480 --> 01:51:15,740 implement this on a, I mean, 4323 01:51:15,800 --> 01:51:17,140 just, just heavy-duty engineering 4324 01:51:17,140 --> 01:51:18,900 shops can implement this idea on, 4325 01:51:18,940 --> 01:51:20,060 on a, on a really interesting 4326 01:51:20,060 --> 01:51:20,460 scale. 4327 01:51:20,900 --> 01:51:22,120 One other, one other. 4328 01:51:23,180 --> 01:51:24,120 Oh, sorry, sorry. 4329 01:51:25,960 --> 01:51:26,320 . 4330 01:51:30,300 --> 01:51:31,600 I, I don't think I have 4331 01:51:31,600 --> 01:51:32,540 them in this slide deck. 4332 01:51:32,720 --> 01:51:33,800 I mean, typically, we've been, 4333 01:51:33,920 --> 01:51:35,140 you know, we try to get, like, 4334 01:51:35,280 --> 01:51:36,640 on average, to be better than a 4335 01:51:36,640 --> 01:51:37,280 coin flip. 4336 01:51:37,420 --> 01:51:38,360 In, in this case, I think we 4337 01:51:38,360 --> 01:51:40,360 were, like, in the 70% accuracy 4338 01:51:40,360 --> 01:51:41,740 range for some of the samples 4339 01:51:41,740 --> 01:51:42,220 we tested. 4340 01:51:42,280 --> 01:51:43,440 But it's kind of like, 4341 01:51:43,480 --> 01:51:45,900 oftentimes, you know, some of the 4342 01:51:45,900 --> 01:51:47,400 data, when we have to synthesize 4343 01:51:47,400 --> 01:51:48,740 and localize it, it's not the 4344 01:51:48,740 --> 01:51:50,560 same as the, the accuracy we'd 4345 01:51:50,560 --> 01:51:51,300 see in, in, in another 4346 01:51:51,300 --> 01:51:51,720 environment. 4347 01:51:51,860 --> 01:51:54,380 So, but, but good question. 4348 01:51:54,640 --> 01:51:54,680 Yeah. 4349 01:51:54,800 --> 01:51:55,360 Go ahead. 4350 01:51:55,500 --> 01:51:56,300 So, a slightly different 4351 01:51:56,300 --> 01:51:56,720 question. 4352 01:51:56,900 --> 01:51:58,080 Do you correlate that with any 4353 01:51:58,080 --> 01:51:59,460 of the metadata from configuration 4354 01:51:59,460 --> 01:52:00,660 management solutions? 4355 01:52:00,980 --> 01:52:02,620 To correlate that the thing that 4356 01:52:02,620 --> 01:52:04,040 was being figured and deployed 4357 01:52:04,040 --> 01:52:05,920 to a server matches the 4358 01:52:05,920 --> 01:52:07,480 fingerprint of what the server 4359 01:52:07,480 --> 01:52:08,400 is currently serving? 4360 01:52:08,700 --> 01:52:10,320 So that you can find out, like, 4361 01:52:10,360 --> 01:52:12,260 if an internal employee, if an 4362 01:52:12,280 --> 01:52:13,520 employee deploys an additional 4363 01:52:13,520 --> 01:52:15,360 server binary across the server 4364 01:52:15,360 --> 01:52:17,080 part, but doesn't do it through 4365 01:52:17,080 --> 01:52:18,900 configuration management, and be 4366 01:52:18,900 --> 01:52:20,280 able to flag those types of 4367 01:52:20,280 --> 01:52:22,780 anomalies to avoid incidents that 4368 01:52:22,780 --> 01:52:23,360 are internal? 4369 01:52:23,920 --> 01:52:25,080 No, I don't think we've 4370 01:52:25,080 --> 01:52:26,540 got, gotten a chance to use, like, 4371 01:52:26,540 --> 01:52:27,820 configuration, yeah. 4372 01:52:28,320 --> 01:52:30,360 I think the closest we got it 4373 01:52:30,360 --> 01:52:32,140 with CyberArk, which is, was, 4374 01:52:32,140 --> 01:52:33,980 who's accessing what server and 4375 01:52:33,980 --> 01:52:35,120 what bribes they have. 4376 01:52:35,320 --> 01:52:36,160 That's the closest we had. 4377 01:52:36,280 --> 01:52:38,220 As far as, for, for, in order 4378 01:52:38,220 --> 01:52:40,140 for, for us to do that, it is 4379 01:52:40,140 --> 01:52:41,480 doable, but we will have to 4380 01:52:41,480 --> 01:52:42,260 somehow tail the idea that, you 4381 01:52:42,260 --> 01:52:43,900 know, the algorithm, right, I'll 4382 01:52:43,900 --> 01:52:45,320 have to, like, like a, like I 4383 01:52:45,320 --> 01:52:46,940 spoke before, I need to ETL that, 4384 01:52:46,980 --> 01:52:47,900 and you need to give me that in 4385 01:52:47,900 --> 01:52:49,120 a form that I can feed it to 4386 01:52:49,120 --> 01:52:51,280 Hadoop, and then the algorithm 4387 01:52:51,280 --> 01:52:52,820 will process it and say, okay, 4388 01:52:52,940 --> 01:52:53,680 this is normal. 4389 01:52:53,820 --> 01:52:54,640 If I see something 4390 01:52:54,640 --> 01:52:56,040 deployed by, so we have to 4391 01:52:56,040 --> 01:52:57,080 build the logic, and then we 4392 01:52:57,080 --> 01:52:58,900 have to train it, then you can 4393 01:52:58,900 --> 01:52:59,480 do it, yes. 4394 01:53:00,980 --> 01:53:02,020 Any other questions? 4395 01:53:03,460 --> 01:53:04,600 There's a link to that GitHub 4396 01:53:04,600 --> 01:53:05,600 if you want the active defense 4397 01:53:05,600 --> 01:53:05,880 tool. 4398 01:53:06,280 --> 01:53:07,900 Oh, here's the, here's 4399 01:53:07,900 --> 01:53:11,020 the link to the, to the tool 4400 01:53:11,020 --> 01:53:12,200 that we released at Black Hat, 4401 01:53:12,240 --> 01:53:13,600 and there is an active defense 4402 01:53:13,600 --> 01:53:15,140 script there that will, that will 4403 01:53:15,640 --> 01:53:17,020 log into your domain controller 4404 01:53:17,020 --> 01:53:19,460 and create a GPO via PowerShell, 4405 01:53:19,600 --> 01:53:21,760 and you can modify it and do 4406 01:53:21,760 --> 01:53:23,380 anything you want with it. 4407 01:53:24,020 --> 01:53:25,500 We will plan to update it, and 4408 01:53:25,500 --> 01:53:26,220 then we're going to add 4409 01:53:26,220 --> 01:53:27,340 ACLs, we're going to add 4410 01:53:27,340 --> 01:53:30,400 snort rules, so, hope you 4411 01:53:30,400 --> 01:53:32,060 participate, it's open source, 4412 01:53:32,300 --> 01:53:34,480 so, if you don't have any other 4413 01:53:34,480 --> 01:53:36,960 questions, then thank you very 4414 01:53:36,960 --> 01:53:37,180 much. 4415 01:53:38,320 --> 01:53:38,800 . 4416 01:53:39,840 --> 01:53:40,320 . 4417 01:53:41,080 --> 01:53:41,560 . 4418 01:53:41,560 --> 01:53:42,220 . 4419 01:53:47,120 --> 01:53:47,160 . 4420 01:53:47,580 --> 01:53:47,620 . 4421 01:53:58,660 --> 01:53:58,700 . 4422 01:53:58,920 --> 01:53:58,960 . 4423 01:53:58,960 --> 01:53:58,980 . 4424 01:53:58,980 --> 01:53:59,020 . 4425 01:53:59,240 --> 01:53:59,280 . 4426 01:53:59,280 --> 01:53:59,360 . 4427 01:54:06,100 --> 01:54:06,140 . 4428 01:54:06,140 --> 01:54:06,160 . 4429 01:54:09,020 --> 01:54:09,060 . 4430 01:54:09,060 --> 01:54:09,140 . 4431 01:54:09,420 --> 01:54:09,460 . 4432 01:54:09,460 --> 01:54:09,480 . 4433 01:54:09,480 --> 01:54:09,500 . 4434 01:54:09,500 --> 01:54:09,520 . 4435 01:54:09,520 --> 01:54:09,540 . 4436 01:54:09,540 --> 01:54:09,560 . 4437 01:54:09,560 --> 01:54:09,600 . 4438 01:54:09,600 --> 01:54:09,620 . 4439 01:54:09,740 --> 01:54:09,780 . 4440 01:54:09,780 --> 01:54:09,800 . 4441 01:54:09,800 --> 01:54:09,820 . 4442 01:54:09,820 --> 01:54:09,840 . 4443 01:54:09,840 --> 01:54:09,860 . 4444 01:54:09,860 --> 01:54:09,880 . 4445 01:54:09,880 --> 01:54:09,900 . 4446 01:54:12,700 --> 01:54:18,680 design deployment systems for the same customers that you're doing, but I do it as containerized 4447 01:54:18,680 --> 01:54:24,760 deployments with whitelist-based networking policies to minimize the blast radius of any 4448 01:54:24,760 --> 01:54:29,780 compromise. So like if I have a web server and it needs to talk to a database, that is the only 4449 01:54:29,780 --> 01:54:36,400 network connection that that process is able to do, period. And then you have an actual relationship 4450 01:54:36,400 --> 01:54:42,620 graph and policy of all of the different containers that are deployed and the exact reports that they should 4451 01:54:42,620 --> 01:54:46,080 deliver. And everything else is like, who has the other mic? 4452 01:54:46,600 --> 01:54:48,920 So like, no, there's two. 4453 01:54:50,640 --> 01:54:52,940 Exactly. So I second everything. 4454 01:54:53,640 --> 01:54:54,860 Who has the other mic? 4455 01:54:58,260 --> 01:55:01,120 And then map everything out so that I can track every connection. 4456 01:55:33,120 --> 01:55:35,920 Thank you. 4457 01:55:42,360 --> 01:55:45,040 So thank you again to Joe and Rod. 4458 01:55:48,080 --> 01:55:51,460 By the way, now that they're gone, I can actually spill the dirty secret 4459 01:55:51,460 --> 01:55:58,740 that Rod Soto is actually, his other alias is percent27 at the DJ booth. 4460 01:55:59,580 --> 01:56:01,880 So yeah, he also does DJ as well. 4461 01:56:04,040 --> 01:56:04,540 Okay. 4462 01:56:04,920 --> 01:56:05,420 So. 4463 01:56:06,400 --> 01:56:15,540 Without much ado, I want to now, it's almost 410, and I want to introduce the next speaker, 4464 01:56:16,380 --> 01:56:24,700 Josh Perita. And the one thing I can tell you about him is, we met at the Rapid 7 party and he 4465 01:56:24,700 --> 01:56:32,840 was like, yeah, dude, you owe me money. I was like, what the heck? And we met and I can tell you 4466 01:56:32,840 --> 01:56:36,380 right now that based on talking to him, we are very close. And I think he's going to be a great friend of mine. 4467 01:56:36,400 --> 01:56:41,100 lucky to have him because i can just sense the energy in him uh i know he's gonna i can sense 4468 01:56:41,100 --> 01:56:46,120 the energy in him uh he's very passionate about what he does uh so without much ado 4469 01:56:46,120 --> 01:56:49,480 please give a warm warm welcome to josh parita 4470 01:56:57,980 --> 01:57:12,020 thank you ming uh thanks for coming everybody i know there's a lot of 4471 01:57:12,460 --> 01:57:15,820 uh always good stuff happening at defcon so i appreciate your time today 4472 01:57:16,560 --> 01:57:22,020 uh we'll get right into it so the title of my talk is network protocol fuzzing for humans 4473 01:57:22,820 --> 01:57:28,100 i spent a last year or so at work researching and implementing fuzzers working with both 4474 01:57:28,100 --> 01:57:32,600 commercial and open source tools and i found on the open source side for the most part the tools 4475 01:57:32,600 --> 01:57:41,040 were immature and i should say network protocol network fuzzing tools there are some good fuzzing 4476 01:57:41,040 --> 01:57:45,500 tools in in other categories but these tools were immature 4477 01:57:46,120 --> 01:57:51,680 and there i also found that there was a pretty typical development life cycle 4478 01:57:52,380 --> 01:57:55,960 for fuzzers you could call it the fuzzer development lifecycle 4479 01:57:57,080 --> 01:58:03,460 so step one is to build a fuzzer step two is to talk about your fuzzer at some big conference 4480 01:58:04,080 --> 01:58:10,760 and step three is to abandon your fuzzer at the end so it was a pretty successful business 4481 01:58:10,760 --> 01:58:16,060 model apparently so when i would try to use these tools actually download them and work with them 4482 01:58:16,120 --> 01:58:25,160 I found either a lack of documentation and tutorials to get started, well, that and typically 4483 01:58:25,160 --> 01:58:30,960 a lot of bugs or issues that made it hard to do what I was told would be pretty easy 4484 01:58:30,960 --> 01:58:37,260 to do. So to talk about fuzzers in general first, the theme of the conference obviously 4485 01:58:37,260 --> 01:58:43,600 is rise of the machines. So here's the scenario. You're organizing a resistance to the robot 4486 01:58:43,600 --> 01:58:51,300 army, rogue AI super distributed hive mind enslaving overlord matrix net. You organize 4487 01:58:51,300 --> 01:58:57,440 disparate and coordinated fighters using a high tech encrypted decentralized communication 4488 01:58:57,900 --> 01:59:05,660 system riding on covert channels. Good job, super programmer. So the night of the attack, the 4489 01:59:05,660 --> 01:59:11,660 earth stands in suspense as the fate of the world hangs on a few brave souls and one lone 4490 01:59:11,660 --> 01:59:13,460 programmer. You. 4491 01:59:15,100 --> 01:59:22,800 Everything so far has led up to this. The final battle. And the machines send a message with 4492 01:59:22,800 --> 01:59:31,380 a bad header size. Causing a buffer overflow. RCE. And there's a worm and your locations are 4493 01:59:31,380 --> 01:59:38,480 compromised. You lose. Robots win. And all your fighters are shipped off to hominid 4494 01:59:38,480 --> 01:59:43,580 reprogramming camps. So what went wrong? Humanity lost. What happened? You lost your 4495 01:59:43,600 --> 01:59:46,460 network. What happened? Well, you forgot to validate the header length in an untrusted 4496 01:59:46,460 --> 01:59:51,660 network packet. So if you've done network programming, you should know that if you're 4497 01:59:51,660 --> 01:59:57,180 developing software, anything that comes in off the network is untrusted. You need 4498 01:59:57,180 --> 02:00:03,560 to treat it as malicious, as potentially malicious. Anything that comes in could come, you don't 4499 02:00:03,560 --> 02:00:09,720 know where it's coming from. So it's an easy thing to forget about as you're actually writing 4500 02:00:09,720 --> 02:00:13,020 the software because you don't think about the assumptions you have. 4501 02:00:13,600 --> 02:00:19,480 Because they're assumptions, right? Uh, what, what else happened? Well, you should have, 4502 02:00:20,160 --> 02:00:23,720 okay, you should have validated your network packet. Also, you should have fuzzed your 4503 02:00:23,720 --> 02:00:27,600 application. Uh, so network fuzzing is good for catching these sorts of vulnerabilities. 4504 02:00:28,060 --> 02:00:36,500 They're the sort of, um, actually the typical, excuse me, the typical way to attack a network 4505 02:00:36,500 --> 02:00:41,720 application is the sort of thing that fuzzing would catch. Depending on how advanced your fuzzing 4506 02:00:41,720 --> 02:00:41,880 is. 4507 02:00:43,940 --> 02:00:50,540 So, I, could, could the fate of humanity really ever hang on my little application? Isn't 4508 02:00:50,540 --> 02:00:55,160 that kind of unrealistic? Well, no. Millions of systems, including the world's biggest 4509 02:00:55,160 --> 02:01:00,400 internet empires, such as Facebook, once stood vulnerable to this kind of error. It was known 4510 02:01:00,400 --> 02:01:05,040 as Heartbleed. And it was around for about two years. So there's a very critical vulnerability. 4511 02:01:05,580 --> 02:01:11,580 It's out there in big applications. Uh, very widespread, very popular software. And it was 4512 02:01:11,580 --> 02:01:13,580 there sitting around for two years. 4513 02:01:15,480 --> 02:01:20,780 Um, and well, why in that case there was a programming error? And why else? There was immature 4514 02:01:20,780 --> 02:01:26,540 fuzzing, uh, in that project. And you could say in the open source community in general, there's, 4515 02:01:26,540 --> 02:01:35,380 uh, immature fuzzing. Um, so fuzzing refresher. How many of you guys have, uh, heard of 4516 02:01:35,380 --> 02:01:41,560 fuzzing before? Uh, okay. Most everybody. How many of you have tried to use a fuzzer or work with 4517 02:01:41,560 --> 02:01:43,500 fuzzing, hands on? Alright. 4518 02:01:43,600 --> 02:01:51,180 Quite a few. Cool. Um, so the core concept is to manipulate system inputs to uncover 4519 02:01:51,180 --> 02:01:56,760 implementation errors. And you can tack randomness onto that, but it's not always random. So, um, 4520 02:01:56,940 --> 02:02:02,980 what can be fuzzed? Well, protocols, file parsers, GUIs, libraries, and APIs, um, are all 4521 02:02:02,980 --> 02:02:08,560 things that can be fuzzed. And the common thread in those is exposure to untrusted input and, uh, 4522 02:02:08,560 --> 02:02:14,780 relatively complex interface with lots of possibilities. Lots of things that can go wrong. 4523 02:02:15,960 --> 02:02:20,560 Alright. So you think about a GUI, you could have 50 buttons on the screen, right? You open up Microsoft Word, 4524 02:02:20,620 --> 02:02:26,360 there's 50 buttons there. You click on one little button, then there's 20 more buttons. And then you click on 4525 02:02:26,360 --> 02:02:32,900 another one, there's 10 more buttons. And so there's a very, very fast combinatorial explosion of 4526 02:02:32,900 --> 02:02:38,220 possibilities, right? This way and that way, and there's too much to test by brute force. 4527 02:02:39,640 --> 02:02:45,260 Um, similarly with protocols, there's a structured input that's expected, but really anything could 4528 02:02:45,260 --> 02:02:50,340 actually come across the network, right? So you, you program for that structure, you make a lot of 4529 02:02:50,340 --> 02:02:57,840 assumptions, and it's easy to make mistakes. Uh, so a brief history. It was developed by Barton 4530 02:02:57,840 --> 02:03:04,620 Miller at University of Wisconsin-Madison as an, as a class project, actually. Uh, the first 4531 02:03:04,620 --> 02:03:08,540 fuzzer fed random input over the command line to Unix tools. Uh, the first fuzzer fed random input 4532 02:03:08,560 --> 02:03:11,940 over the command line to Unix tools. And it would crash these Unix tools. Uh, big name tools like Emacs, 4533 02:03:12,020 --> 02:03:19,960 Vi, Make, uh, FTP. I think I've done that on there twice. Uh, Miller himself was surprised at the 4534 02:03:19,960 --> 02:03:24,460 number of failures that he found using this method. So he, I guess he didn't think he would find that 4535 02:03:24,460 --> 02:03:31,860 much, and he thought, oh, quite a big chunk of these big name tools can actually be hacked. Um, and 4536 02:03:31,860 --> 02:03:38,500 the key development here is using randomness to violate assumptions. And it's, it's, uh, if you stop for a 4537 02:03:38,500 --> 02:03:45,860 second, it's pretty profound. Right? So you've got these, these early, uh, world-renowned, cutting-edge 4538 02:03:45,860 --> 02:03:51,380 Unix programmers. Uh, you could call them the mighty men of old, the men of renown, the superior men 4539 02:03:51,380 --> 02:03:55,840 of yore, the legends, the predecessors, the forerunners, and the people who used computers before 4540 02:03:55,840 --> 02:04:03,920 it was cool. Their, their software, the guys with long hair and, and strange names, their, their 4541 02:04:03,920 --> 02:04:08,040 software can be beaten using completely random input. Right? 4542 02:04:08,500 --> 02:04:17,860 So in, in a sense, the best of humanity kind of is defeated by random input. So, so you can see why he was 4543 02:04:17,860 --> 02:04:24,020 surprised. Uh, on the other hand, it makes sense because random input is exactly, uh, what those 4544 02:04:24,020 --> 02:04:28,580 programmers weren't expecting when they designed a tool for human usage. They're expecting human errors, 4545 02:04:28,640 --> 02:04:36,900 not random errors. Uh, so moving on, the next big development was around 2000 at a university in Finland, 4546 02:04:38,500 --> 02:04:45,620 a master's thesis published in 2001, if you really want to get into this stuff. Um, they found 4547 02:04:45,620 --> 02:04:52,140 vulnerabilities in 40 out of 49 products. And, and they, they moved from the command line to fuzzing 4548 02:04:52,140 --> 02:04:57,640 on the network. So they're attacking protocols rather than specific tools. Uh, which, which is nifty 4549 02:04:57,640 --> 02:05:04,180 because once you do that, you can attack, um, you can attack multiple products if they use the same 4550 02:05:04,180 --> 02:05:08,480 protocol. Uh, 14 of those products were, were, were, were, were, were, were, were, were, were, were, 4551 02:05:08,480 --> 02:05:13,660 were vulnerable to remote code execution. And they switched from complete randomness to using a 4552 02:05:13,660 --> 02:05:20,060 structured approach, which people call smart fuzzing or generational fuzzing, uh, or structured. 4553 02:05:20,720 --> 02:05:26,480 Uh, there's not really a good name for it. Um, people call it, do smart fuzzing and dumb fuzzing 4554 02:05:26,480 --> 02:05:33,620 and it's not really fair because dumb fuzzing isn't necessarily that dumb, right? Um, so here's a, a 4555 02:05:33,620 --> 02:05:38,260 demo or a sample of a packet structure. So that's the IPv4 packet. 4556 02:05:38,480 --> 02:05:45,440 Um, you, you see the fields there. So a, a generational fuzzer will look at these fields one at a time 4557 02:05:45,440 --> 02:05:51,660 and manipulate each of them. So in IPv4, what's the version's field supposed to be? Anybody? 4558 02:05:52,760 --> 02:05:59,920 Yeah, four. So what happens if we change it to five or zero? Uh, you have the total length on the 4559 02:05:59,920 --> 02:06:05,560 right-hand side and then IHL stands for initial header length. And so they're, they're coupled 4560 02:06:05,560 --> 02:06:08,460 values, right? They, they should correspond because the total length on the right-hand side 4561 02:06:08,460 --> 02:06:14,540 includes the header length. Uh, stop me if I'm getting this wrong. So if you change one value, 4562 02:06:14,700 --> 02:06:19,560 then it's out of sync. So if your software reads the initial header length and trusts it or, or if 4563 02:06:19,560 --> 02:06:24,900 it reads the total length and trusts it, you can get weird things happening. Um, or you can just 4564 02:06:24,900 --> 02:06:28,700 make the length smaller than it's supposed to be, have a big packet and that's an obvious 4565 02:06:28,700 --> 02:06:35,280 possibility of a buffer overflow. Um, so, so the key thing that this tool does is it knows about 4566 02:06:35,280 --> 02:06:38,240 the protocol and it will generate these millions 4567 02:06:38,460 --> 02:06:48,260 of test cases, uh, as is appropriate for the protocol. Um, so a, a typical test case will, they'll 4568 02:06:48,260 --> 02:06:53,860 send the anomalous message, the unit might respond, or maybe not if it's a garbage packet. And 4569 02:06:53,860 --> 02:06:59,060 then you need some way of monitoring whether the unit you're testing is alive, right? So you, one 4570 02:06:59,060 --> 02:07:05,280 way to do that is with the request and response. So you'd send a valid request after your corrupted 4571 02:07:05,280 --> 02:07:06,700 request and see if it's still alive. 4572 02:07:08,460 --> 02:07:15,160 And then if, if not, it failed. So that's generational fuzzing. Uh, moving on to 4573 02:07:15,160 --> 02:07:20,320 mutational fuzzing. And mutational, you start with a sample of valid data and you mutate it 4574 02:07:20,320 --> 02:07:27,900 without actually knowing what the protocol is. So, so you'd, you'd still have this packet, but 4575 02:07:27,900 --> 02:07:33,280 the, the fuzzer would not know about the structure. Uh, AFL is a popular fuzzer and it's in 4576 02:07:33,280 --> 02:07:38,440 this mutational category. It doesn't know what the packet looks like, it just pokes at it. And, 4577 02:07:38,460 --> 02:07:44,020 and mutates it either randomly or using some kind of heuristic, some kind of way of guessing. Um, 4578 02:07:44,180 --> 02:07:50,660 the, the obvious advantage of a mutational fuzzer is it's easier, uh, to use, or you don't have to 4579 02:07:50,660 --> 02:07:55,640 program it for the protocol itself. Right? Downside is it may not be as thorough. And, and 4580 02:07:55,640 --> 02:08:00,560 then you can also couple it with code coverage evaluation. So you, you basically have an 4581 02:08:00,560 --> 02:08:07,760 evolutionary algorithm, uh, and the, the selection is your code coverage ability. And then the 4582 02:08:08,460 --> 02:08:12,920 result is obviously mutating what you're testing. Uh, so you can get some pretty good results with 4583 02:08:12,920 --> 02:08:19,640 that. So really quickly, comparison, comparison between mutational and generational. Uh, the 4584 02:08:19,640 --> 02:08:24,580 mutational doesn't know the protocol, generational does. Mutational is less work per protocol. 4585 02:08:25,680 --> 02:08:31,640 Generational is, is more work. You'll, you'll spend more time with it. Mutational doesn't have 4586 02:08:31,640 --> 02:08:37,040 as many bugs, but it has a better bugs to work ratio. And so if you're doing fuzzing, this is 4587 02:08:37,040 --> 02:08:38,160 the key thing to keep in mind. 4588 02:08:38,740 --> 02:08:43,760 Um, if you just want to find the most bugs the fastest, you would use something that's 4589 02:08:43,760 --> 02:08:50,540 mutational, most likely. If, if your goal, however, is to find the most bugs, absolutely. For example, 4590 02:08:50,540 --> 02:08:54,740 if you're in the defensive case, right, you don't just want to find a couple bugs and tell your 4591 02:08:54,740 --> 02:09:00,340 boss, I found a couple bugs. You want to say, hey, I'm pretty sure there's no bugs or there are, 4592 02:09:00,740 --> 02:09:06,520 there's a certain class of bugs that we've eliminated using this technique. So because 4593 02:09:08,460 --> 02:09:20,500 you're doing the most work per protocol, it tends toward the defensive use case, where you're going to put a lot of work in to secure this particular thing. Uh, with offensive, you, you don't care, you just want to find your bug and get your hack. 4594 02:09:22,020 --> 02:09:38,180 So they're, they're both valid tools, just different emphases. Uh, so recap. Fuzzers have random input. They find bugs. Hackers like bugs, so hackers like fuzzers. Uh, businesses want to find bugs, so they like fuzzers, too. And so you have commercial tools selling fuzzers to those businesses. 4595 02:09:38,460 --> 02:09:42,660 and they're all in the generational smart fuzzer use case 4596 02:09:42,660 --> 02:09:44,980 because they're selling to defensive people. 4597 02:09:46,560 --> 02:09:49,360 Open source tool is the most popular by far is AFL. 4598 02:09:49,400 --> 02:09:50,480 You guys heard of AFL? 4599 02:09:51,500 --> 02:09:52,740 Just a few? Really? 4600 02:09:54,160 --> 02:09:54,680 Okay. 4601 02:09:54,960 --> 02:09:57,360 Well, from what I can tell, 4602 02:09:57,400 --> 02:10:00,620 it's the most popular tool right now in the fuzzing category. 4603 02:10:02,260 --> 02:10:03,940 American Fuzzy Lap is a bunny. 4604 02:10:05,640 --> 02:10:07,060 So it's very good. 4605 02:10:07,140 --> 02:10:08,040 It's for mutational. 4606 02:10:08,040 --> 02:10:11,840 It's used a lot for, from what I can tell online, libraries and APIs 4607 02:10:12,520 --> 02:10:13,680 and also for GUIs. 4608 02:10:13,880 --> 02:10:15,220 And you can use it for other things, 4609 02:10:15,320 --> 02:10:18,880 but it has that API emphasis from what I've seen. 4610 02:10:20,800 --> 02:10:22,080 Peach Fuzzer was popular. 4611 02:10:22,360 --> 02:10:24,920 It was forked to a closed source project by the corporate sponsor. 4612 02:10:25,500 --> 02:10:28,000 So they put an ax to the open source community. 4613 02:10:28,380 --> 02:10:31,620 So you can still get the several years old version if you want. 4614 02:10:31,940 --> 02:10:33,540 But who wants to do that? 4615 02:10:34,760 --> 02:10:36,360 And no diss to the company. 4616 02:10:36,900 --> 02:10:37,660 And they... 4617 02:10:38,040 --> 02:10:40,240 Most companies don't release any open source tool, 4618 02:10:40,380 --> 02:10:41,840 so good for them. 4619 02:10:43,080 --> 02:10:45,200 Spike was superseded by Soli, 4620 02:10:45,320 --> 02:10:46,900 which is kind of state-of-the-art 4621 02:10:46,900 --> 02:10:49,620 in generational network protocol fuzzers, 4622 02:10:49,700 --> 02:10:52,240 and maybe you know one that's better 4623 02:10:52,240 --> 02:10:53,520 and you can come tell me afterwards 4624 02:10:53,520 --> 02:10:55,260 or in the question time. 4625 02:10:56,220 --> 02:10:58,500 But that was, in all my research, 4626 02:10:58,620 --> 02:10:59,880 this was the best one I could find. 4627 02:11:00,040 --> 02:11:01,500 And there was a good talk on it. 4628 02:11:01,700 --> 02:11:04,340 There's a Black Hat talk, I think, from 2007. 4629 02:11:05,640 --> 02:11:06,140 I don't know if you've seen it. 4630 02:11:06,140 --> 02:11:06,300 Um... 4631 02:11:07,320 --> 02:11:08,020 That'll tell you. 4632 02:11:08,040 --> 02:11:08,480 That'll tell you all about it. 4633 02:11:08,700 --> 02:11:11,680 And there's a million other tools that nobody else uses. 4634 02:11:12,700 --> 02:11:14,820 So the open source generational fuzzers, 4635 02:11:14,860 --> 02:11:16,320 that defensive use case... 4636 02:11:16,320 --> 02:11:18,620 So the way I got here was not trying to break things 4637 02:11:18,620 --> 02:11:20,520 so much as working for a company. 4638 02:11:20,740 --> 02:11:21,140 Right? 4639 02:11:21,220 --> 02:11:22,880 So they're interested in fuzzing. 4640 02:11:22,960 --> 02:11:24,980 They're interested in defensive things. 4641 02:11:27,340 --> 02:11:29,580 So I'm in this defensive use case, 4642 02:11:29,740 --> 02:11:31,020 and I'm looking at the tools, 4643 02:11:31,080 --> 02:11:32,320 looking at commercial and open source. 4644 02:11:32,560 --> 02:11:34,280 And the commercial ones are pretty pricey. 4645 02:11:34,320 --> 02:11:36,500 So it's like, well, you know, 4646 02:11:36,520 --> 02:11:37,460 maybe it would be worth the time 4647 02:11:37,460 --> 02:11:38,020 to make it ourselves. 4648 02:11:39,620 --> 02:11:42,440 But I found that it was not quite there yet. 4649 02:11:42,560 --> 02:11:44,300 And I'll get into the details more. 4650 02:11:45,020 --> 02:11:47,420 But first, why the immaturity? 4651 02:11:47,980 --> 02:11:49,900 Well, some tools lend themselves 4652 02:11:49,900 --> 02:11:52,760 to a proprietary model more than others. 4653 02:11:53,860 --> 02:11:56,460 Tools that are very valuable to a few people, 4654 02:11:57,860 --> 02:11:59,100 expensive to develop, 4655 02:11:59,800 --> 02:12:02,540 and in low demand in the open source community. 4656 02:12:03,120 --> 02:12:06,100 Well, that's a right market for commercial tools. 4657 02:12:07,460 --> 02:12:08,520 So if you want to sell a tool, 4658 02:12:08,580 --> 02:12:09,280 you can think about that. 4659 02:12:10,360 --> 02:12:12,860 The most defensive security tools fall into this realm 4660 02:12:13,380 --> 02:12:15,380 because your open source product 4661 02:12:15,380 --> 02:12:16,820 doesn't typically have that emphasis 4662 02:12:16,820 --> 02:12:18,700 where people are going to pour a lot of time and money 4663 02:12:18,700 --> 02:12:21,620 into marginal security increases. 4664 02:12:24,080 --> 02:12:25,440 Other tools could be open source 4665 02:12:25,440 --> 02:12:27,020 but are plagued by anti-incentives. 4666 02:12:28,680 --> 02:12:29,560 Mostly commercialization. 4667 02:12:29,840 --> 02:12:31,420 That's Peach, right? 4668 02:12:31,560 --> 02:12:33,040 Kind of was open source, not anymore. 4669 02:12:33,900 --> 02:12:35,040 They still sell it. 4670 02:12:35,720 --> 02:12:37,140 And then there's a business desire 4671 02:12:37,140 --> 02:12:38,560 to keep your methodology secret. 4672 02:12:39,020 --> 02:12:41,600 I think Microsoft comes into this category, 4673 02:12:41,780 --> 02:12:43,180 so they've published a lot on fuzzing. 4674 02:12:43,240 --> 02:12:44,660 They've been very open about it. 4675 02:12:44,920 --> 02:12:46,620 But I don't think they actually publish 4676 02:12:46,620 --> 02:12:48,500 all of their tools and all of their tests, 4677 02:12:48,980 --> 02:12:50,780 which makes sense if you're a business, right? 4678 02:12:50,980 --> 02:12:53,240 So if you publish your fuzzer and you tell people, 4679 02:12:53,320 --> 02:12:54,800 this is exactly what we tested, 4680 02:12:56,480 --> 02:12:59,280 that's a springboard for hacking into something. 4681 02:12:59,840 --> 02:13:01,620 So, okay, well, what else can I test? 4682 02:13:02,440 --> 02:13:04,820 So there's a, you know, it's not just, 4683 02:13:05,320 --> 02:13:07,120 I think there's a good reason behind it. 4684 02:13:09,580 --> 02:13:11,300 So we'll talk about the use cases 4685 02:13:11,300 --> 02:13:13,060 and when you'd want to use an open source fuzzer. 4686 02:13:13,200 --> 02:13:15,660 So if you're offensive, we talked about use mutational. 4687 02:13:16,340 --> 02:13:17,140 Defensive, generational. 4688 02:13:17,400 --> 02:13:19,980 If you're business, basically the dollars 4689 02:13:20,460 --> 02:13:22,200 will tend to work out for a commercial tool. 4690 02:13:25,160 --> 02:13:28,900 Right, because for businesses, time is expensive. 4691 02:13:29,500 --> 02:13:32,040 For open source projects, money is expensive. 4692 02:13:32,740 --> 02:13:34,380 Open source projects have no money. 4693 02:13:35,120 --> 02:13:36,600 Businesses pay for all their time, 4694 02:13:36,600 --> 02:13:37,580 and they pay a lot for it. 4695 02:13:38,940 --> 02:13:40,460 But if your protocol is proprietary, 4696 02:13:40,940 --> 02:13:43,160 or it's obscure and there's no commercial offering, 4697 02:13:43,480 --> 02:13:45,040 then you need to make your own. 4698 02:13:45,200 --> 02:13:47,120 And for that, you can either use open source 4699 02:13:47,120 --> 02:13:47,900 or commercial tools. 4700 02:13:48,320 --> 02:13:49,860 And if you're an OS project, 4701 02:13:50,100 --> 02:13:52,040 then you need to use your own 4702 02:13:52,040 --> 02:13:54,320 or use an open source tool. 4703 02:13:56,220 --> 02:13:58,600 So about the proprietary one, 4704 02:14:00,700 --> 02:14:02,680 the businesses will sell frameworks 4705 02:14:02,680 --> 02:14:03,940 for you to make your own fuzzer, 4706 02:14:04,680 --> 02:14:06,580 but that doesn't make any sense. 4707 02:14:06,600 --> 02:14:07,620 It doesn't make any sense to me, right? 4708 02:14:07,720 --> 02:14:10,180 If we're pouring our own time into making a fuzzer here, 4709 02:14:10,660 --> 02:14:12,140 and now we're going to have it tied 4710 02:14:12,140 --> 02:14:13,400 to this proprietary tool, 4711 02:14:13,480 --> 02:14:15,540 which they might go bankrupt in a few years, 4712 02:14:15,600 --> 02:14:17,720 or they might increase the price on us, 4713 02:14:17,760 --> 02:14:18,940 or there might be some licensing issue. 4714 02:14:20,100 --> 02:14:22,540 So to me, if you're doing your own programming, 4715 02:14:22,740 --> 02:14:25,060 the open source seems like the best use case 4716 02:14:25,060 --> 02:14:26,780 for those last two bullet points. 4717 02:14:28,900 --> 02:14:32,420 What else do we lose besides just those use cases? 4718 02:14:32,580 --> 02:14:35,240 Well, if the best fuzzers are proprietary, 4719 02:14:35,600 --> 02:14:36,580 there's not a lot of money. 4720 02:14:36,600 --> 02:14:37,640 There's not widespread security knowledge 4721 02:14:37,640 --> 02:14:39,120 or fuzzing knowledge in particular. 4722 02:14:40,640 --> 02:14:43,780 And common software security suffers as a result, right? 4723 02:14:43,860 --> 02:14:45,960 So they sell it to people who can pay for it 4724 02:14:46,580 --> 02:14:49,420 or who have the motivation to pay for it. 4725 02:14:51,260 --> 02:14:53,860 You know, and who has $10,000 for their side project 4726 02:14:53,860 --> 02:14:56,740 to look for bugs that may or may not actually be there. 4727 02:14:58,580 --> 02:14:59,940 Oh, we also lose effectiveness. 4728 02:15:00,600 --> 02:15:02,560 Open source tools regularly outperform 4729 02:15:02,560 --> 02:15:03,620 their closed source counterparts. 4730 02:15:03,800 --> 02:15:06,200 You think of Git, GCC, Linux, 4731 02:15:06,600 --> 02:15:08,780 are all tools that have come up in the open source community 4732 02:15:09,220 --> 02:15:13,300 that replaced or compete with the tools that came before them. 4733 02:15:14,220 --> 02:15:17,480 Have any of you guys ever used a C++ compiler besides GCC? 4734 02:15:18,300 --> 02:15:19,240 A few? Yeah. 4735 02:15:20,100 --> 02:15:21,520 Yeah, not so hot anymore. 4736 02:15:22,160 --> 02:15:23,960 And if you still use it, I'm sorry. 4737 02:15:24,740 --> 02:15:26,240 Nobody uses them because they're no good. 4738 02:15:26,400 --> 02:15:27,960 You're better off going with the free tool. 4739 02:15:29,740 --> 02:15:31,260 Obviously, you can do things like inspect, 4740 02:15:31,780 --> 02:15:33,320 contribute, and improve those protocols 4741 02:15:33,320 --> 02:15:35,900 so you can have many eyes looking at the details, 4742 02:15:35,900 --> 02:15:38,140 and not just trusting the company that you're buying from. 4743 02:15:40,160 --> 02:15:43,560 And finally, contributions are driven by user needs. 4744 02:15:44,160 --> 02:15:46,980 In a commercial environment, they're driven by financial needs. 4745 02:15:47,220 --> 02:15:49,440 And those, in the ideal case, 4746 02:15:49,540 --> 02:15:50,280 those needs intersect. 4747 02:15:50,600 --> 02:15:53,020 In the real world, that's not always the case. 4748 02:15:55,120 --> 02:15:57,960 So custom network protocols, fuzzers, today. 4749 02:15:59,080 --> 02:16:01,040 You got beach fuzzers, split to closed source, 4750 02:16:01,100 --> 02:16:02,000 not very popular anymore. 4751 02:16:02,760 --> 02:16:04,160 Soli is state-of-the-art. 4752 02:16:04,160 --> 02:16:06,960 What you get out of a framework like Soli, 4753 02:16:07,020 --> 02:16:08,680 have you guys used Soli before? Anybody? 4754 02:16:10,120 --> 02:16:12,500 A couple, a couple, okay. 4755 02:16:13,280 --> 02:16:14,260 I count three. 4756 02:16:15,420 --> 02:16:16,940 Yeah, it's fun. 4757 02:16:18,440 --> 02:16:20,480 What you get out of a framework like that 4758 02:16:20,480 --> 02:16:21,780 is easy and quick data generation. 4759 02:16:22,260 --> 02:16:24,420 So you specify the protocol format, 4760 02:16:25,020 --> 02:16:27,220 and then you get the test cases for free. 4761 02:16:28,180 --> 02:16:29,940 And it has a lot of instrumentation support. 4762 02:16:30,820 --> 02:16:32,320 It's extensible, kind of, 4763 02:16:32,320 --> 02:16:34,140 except for it's really buggy, and it doesn't work. 4764 02:16:34,160 --> 02:16:34,700 It doesn't work out of the box, 4765 02:16:34,740 --> 02:16:35,680 and it's not actively developed. 4766 02:16:35,940 --> 02:16:37,700 Not very actively developed, I should say. 4767 02:16:39,420 --> 02:16:41,620 And there's a poor responsiveness to pull requests. 4768 02:16:42,000 --> 02:16:43,400 So as I was doing this, 4769 02:16:43,480 --> 02:16:47,100 I was trying to use it, find a bug, 4770 02:16:47,280 --> 02:16:49,100 submit a bug patch and a pull request. 4771 02:16:49,240 --> 02:16:50,840 And I think I got obnoxious to the developers, 4772 02:16:51,040 --> 02:16:53,820 and there's 10 or so sitting in the queue right now. 4773 02:16:57,080 --> 02:16:59,120 So what do you do when you have 4774 02:16:59,720 --> 02:17:01,200 a tool that's not quite there yet, 4775 02:17:01,280 --> 02:17:03,700 and you can't patch it with pull requests? 4776 02:17:04,160 --> 02:17:05,560 Well, you fork. 4777 02:17:07,060 --> 02:17:08,880 So I got tired of waiting for those. 4778 02:17:09,720 --> 02:17:12,560 Too many bugs to use without a serious time investment. 4779 02:17:12,900 --> 02:17:18,320 So I probably spent a month or so 4780 02:17:19,060 --> 02:17:21,280 trying to get it to a usable place. 4781 02:17:22,540 --> 02:17:25,540 So I decided to split it, and introducing BooFuzz. 4782 02:17:27,320 --> 02:17:28,840 That's a play on Soli. 4783 02:17:28,900 --> 02:17:29,360 Get it? 4784 02:17:30,360 --> 02:17:30,880 Soli? 4785 02:17:30,900 --> 02:17:31,600 A couple? 4786 02:17:31,720 --> 02:17:32,080 Yeah. 4787 02:17:32,940 --> 02:17:33,460 Great. 4788 02:17:34,940 --> 02:17:36,180 So it's Soli. 4789 02:17:36,180 --> 02:17:38,340 BooFuzz is basically Soli plus support 4790 02:17:38,340 --> 02:17:41,000 for arbitrary communications mediums. 4791 02:17:42,260 --> 02:17:44,300 In particular, it can do serial tests. 4792 02:17:44,680 --> 02:17:46,900 So my employer does a lot of ICS things, 4793 02:17:47,020 --> 02:17:49,760 so we have protocols that run over a serial line, 4794 02:17:49,880 --> 02:17:51,560 and now you can fuzz those if you want. 4795 02:17:52,640 --> 02:17:53,740 Extensible failure detection, 4796 02:17:53,960 --> 02:17:55,820 and I can't get into the details, 4797 02:17:55,960 --> 02:17:57,560 but it's easier to do than it was before. 4798 02:17:58,760 --> 02:18:00,420 Better test slugs and far fewer bugs. 4799 02:18:00,640 --> 02:18:02,980 And I want to put the emphasis on far fewer bugs 4800 02:18:02,980 --> 02:18:06,920 because literally there's probably 80 hours or more 4801 02:18:06,920 --> 02:18:08,140 of just bug fixing time. 4802 02:18:09,640 --> 02:18:12,080 So that's bug fixing you don't have to do if you use it. 4803 02:18:13,940 --> 02:18:15,220 So that's the tool, 4804 02:18:15,800 --> 02:18:17,440 and we'll go through a little demo, 4805 02:18:17,620 --> 02:18:19,000 a DIY fuzzer. 4806 02:18:19,340 --> 02:18:23,820 And this is maybe not everybody's a network protocol geek 4807 02:18:23,820 --> 02:18:24,740 like I am, 4808 02:18:24,840 --> 02:18:27,280 but I think this is the cool part where you get to, 4809 02:18:28,160 --> 02:18:30,220 if you're, say you're attacking a tool, 4810 02:18:30,300 --> 02:18:31,560 you can reverse engineer the protocol, 4811 02:18:31,560 --> 02:18:32,840 figure out what it is, 4812 02:18:32,880 --> 02:18:34,000 specify the protocol format, 4813 02:18:34,220 --> 02:18:35,540 get your fuzzer against it, 4814 02:18:35,620 --> 02:18:38,400 and then attack the tool and find bugs and hack it. 4815 02:18:38,500 --> 02:18:39,480 So that's where it gets fun. 4816 02:18:40,960 --> 02:18:43,060 So the plan here is to choose a target, 4817 02:18:44,000 --> 02:18:44,960 define the protocol, 4818 02:18:45,280 --> 02:18:46,520 fix all your framework bugs, 4819 02:18:46,640 --> 02:18:47,460 and fuzz. 4820 02:18:47,760 --> 02:18:49,840 And hopefully that second to last step 4821 02:18:49,840 --> 02:18:52,180 is not as big a deal now as it was before. 4822 02:18:52,380 --> 02:18:53,000 But it might be. 4823 02:18:53,120 --> 02:18:54,540 I'm sure there's lots of bugs in there still. 4824 02:18:55,560 --> 02:18:56,740 And so finding a target. 4825 02:18:57,240 --> 02:18:58,940 We'll use FTP for a demo, 4826 02:19:00,540 --> 02:19:03,020 primarily because there's a Soli FTP demo 4827 02:19:03,600 --> 02:19:05,260 that somebody somewhere wrote online 4828 02:19:05,260 --> 02:19:06,460 and that's how I used it, 4829 02:19:06,500 --> 02:19:07,660 how I got started with Soli. 4830 02:19:07,740 --> 02:19:09,820 So I owe that person a big thank you. 4831 02:19:10,960 --> 02:19:12,100 It's a text-based protocol, 4832 02:19:12,280 --> 02:19:12,980 so that makes it easy, 4833 02:19:13,020 --> 02:19:14,640 no encoding to work with. 4834 02:19:15,400 --> 02:19:16,560 It's easy target practice 4835 02:19:16,560 --> 02:19:18,460 because you can find open source projects 4836 02:19:20,340 --> 02:19:23,620 that implement FTP not very well. 4837 02:19:24,440 --> 02:19:25,960 So if you want to search for, 4838 02:19:25,980 --> 02:19:27,160 you can do this yourself and it's, 4839 02:19:27,160 --> 02:19:28,340 I think it's fun. 4840 02:19:28,940 --> 02:19:31,120 So you pick a protocol like FTP. 4841 02:19:31,380 --> 02:19:32,240 So how I got it, 4842 02:19:32,280 --> 02:19:32,980 you search for FTP 4843 02:19:32,980 --> 02:19:34,480 and you go into advanced search in GitHub. 4844 02:19:34,780 --> 02:19:35,640 And you can choose, 4845 02:19:35,820 --> 02:19:38,280 okay, I want something with FTP in the title. 4846 02:19:38,420 --> 02:19:39,780 So a project called FTP. 4847 02:19:40,660 --> 02:19:43,440 And then I put server in the body 4848 02:19:43,440 --> 02:19:44,840 to get servers as opposed to clients. 4849 02:19:45,560 --> 02:19:46,880 And you can filter by language. 4850 02:19:46,980 --> 02:19:49,220 So C is great language for bugs. 4851 02:19:50,040 --> 02:19:50,960 Everybody likes C. 4852 02:19:53,080 --> 02:19:54,460 So there's the search string 4853 02:19:54,460 --> 02:19:55,740 if you want to get fancy. 4854 02:19:55,940 --> 02:19:57,480 But you can do it all through the GUI. 4855 02:19:57,480 --> 02:20:00,960 So it's not very complicated. 4856 02:20:01,420 --> 02:20:04,360 And then you can sort by few stars if you want to. 4857 02:20:04,480 --> 02:20:06,180 So you find the most obscure projects first. 4858 02:20:06,460 --> 02:20:07,660 And it's just target practice. 4859 02:20:08,360 --> 02:20:09,640 So it's target practice 4860 02:20:09,640 --> 02:20:11,840 because those projects aren't used for anything, 4861 02:20:12,020 --> 02:20:13,580 but you can play with them. 4862 02:20:14,980 --> 02:20:16,340 So this is the boilerplate. 4863 02:20:17,080 --> 02:20:18,780 And there will be a link to this code online 4864 02:20:18,780 --> 02:20:20,480 if you want to get it later. 4865 02:20:21,320 --> 02:20:22,860 Obviously, you import the framework. 4866 02:20:23,920 --> 02:20:26,000 And those lines are mostly boilerplate, 4867 02:20:26,000 --> 02:20:27,940 boilerplate except for the last one 4868 02:20:27,940 --> 02:20:29,860 where you specify the IP address, 4869 02:20:30,140 --> 02:20:30,760 the port number, 4870 02:20:31,040 --> 02:20:32,820 and then the transport layer protocol, 4871 02:20:33,140 --> 02:20:34,600 which is TCP in this case. 4872 02:20:37,800 --> 02:20:40,260 UDP is supported and a few others. 4873 02:20:44,140 --> 02:20:45,960 So then we go into the protocol definition. 4874 02:20:46,420 --> 02:20:47,680 On the right-hand side, 4875 02:20:47,880 --> 02:20:50,280 there's a back-and-forth diagram 4876 02:20:50,280 --> 02:20:51,960 of a FTP session. 4877 02:20:52,160 --> 02:20:52,960 So it's pretty simple. 4878 02:20:53,500 --> 02:20:55,360 The code, 4879 02:20:56,000 --> 02:20:57,280 so moving to the left, 4880 02:20:57,320 --> 02:20:58,440 there's the code from the server. 4881 02:20:58,760 --> 02:20:59,800 So it starts out saying, 4882 02:20:59,920 --> 02:21:00,500 the server's ready. 4883 02:21:01,020 --> 02:21:01,960 Then the client says, 4884 02:21:02,120 --> 02:21:02,820 this is my username. 4885 02:21:03,620 --> 02:21:04,580 And it says, okay. 4886 02:21:04,820 --> 02:21:05,680 And then it says, 4887 02:21:05,760 --> 02:21:06,440 this is my password. 4888 02:21:06,700 --> 02:21:07,660 Server says, okay. 4889 02:21:08,080 --> 02:21:09,320 And then you give some command 4890 02:21:09,320 --> 02:21:10,260 like store, retrieve. 4891 02:21:10,820 --> 02:21:11,860 There's read or write. 4892 02:21:14,500 --> 02:21:16,780 And then actually FTP will open 4893 02:21:17,900 --> 02:21:20,500 another port to send the actual data across, 4894 02:21:20,600 --> 02:21:21,920 but we're not worried about that right now. 4895 02:21:23,360 --> 02:21:25,560 So in the actual code, 4896 02:21:27,480 --> 02:21:28,480 you initialize, 4897 02:21:28,480 --> 02:21:29,420 so S initialize, 4898 02:21:29,420 --> 02:21:30,360 these are the macros. 4899 02:21:30,440 --> 02:21:32,240 This code is all the same in Soli. 4900 02:21:32,680 --> 02:21:33,940 You initialize a block, 4901 02:21:34,180 --> 02:21:34,920 which is, 4902 02:21:35,000 --> 02:21:36,680 or rather a request. 4903 02:21:37,020 --> 02:21:37,840 It gets confusing. 4904 02:21:38,080 --> 02:21:39,040 So you initialize. 4905 02:21:39,060 --> 02:21:40,000 That's basically your message, 4906 02:21:40,240 --> 02:21:40,980 one protocol message. 4907 02:21:41,420 --> 02:21:42,240 Then you say, 4908 02:21:42,360 --> 02:21:44,580 I have a string with the content's user, 4909 02:21:45,740 --> 02:21:47,140 a delimiter of space, 4910 02:21:47,960 --> 02:21:50,220 and the string with my actual username, 4911 02:21:50,800 --> 02:21:53,300 and then a static carriage return new line. 4912 02:21:54,060 --> 02:21:55,780 And so the idea is that 4913 02:21:55,780 --> 02:21:58,520 you specify what kind of data you're giving 4914 02:21:59,140 --> 02:21:59,980 to the framework, 4915 02:22:00,200 --> 02:22:02,240 and it knows how to fuzz a string. 4916 02:22:02,540 --> 02:22:04,080 It knows how to fuzz a delimiter, 4917 02:22:04,160 --> 02:22:05,140 and it knows how to fuzz, 4918 02:22:05,200 --> 02:22:07,480 you can do integers or floating points or whatever. 4919 02:22:08,240 --> 02:22:09,560 So you specify the data, 4920 02:22:09,620 --> 02:22:11,320 and it knows how to attack that. 4921 02:22:11,460 --> 02:22:12,700 So you're not constantly writing, 4922 02:22:12,940 --> 02:22:14,480 oh, I want to try the string, 4923 02:22:14,580 --> 02:22:15,320 I want to try the null character, 4924 02:22:15,500 --> 02:22:16,460 I want to try 10 null characters. 4925 02:22:18,220 --> 02:22:21,180 And then static will not actually get fuzzed by default, 4926 02:22:21,380 --> 02:22:23,260 so that's our end of message marker. 4927 02:22:26,820 --> 02:22:29,140 And then actually every message looks the same, 4928 02:22:29,240 --> 02:22:30,220 so it's pretty easy. 4929 02:22:30,580 --> 02:22:33,780 So pass is the protocol, 4930 02:22:34,700 --> 02:22:35,600 I don't know what you call it, keyword. 4931 02:22:35,980 --> 02:22:38,340 And then James is our password here. 4932 02:22:40,680 --> 02:22:42,300 Then we specify the store command. 4933 02:22:42,600 --> 02:22:43,440 Again, same thing, 4934 02:22:43,480 --> 02:22:45,140 store, the name of the file name. 4935 02:22:46,540 --> 02:22:47,680 Name of the file. 4936 02:22:49,080 --> 02:22:50,780 R-E-T-R is retrieve. 4937 02:22:51,240 --> 02:22:53,580 Again, what file you're retrieving. 4938 02:22:54,660 --> 02:22:55,500 And that's it. 4939 02:22:55,780 --> 02:22:59,000 Oh, and then you actually link the messages together, 4940 02:22:59,160 --> 02:23:01,960 so you tell Bufuzz what order they go in. 4941 02:23:02,200 --> 02:23:04,860 So here you have users first, then pass. 4942 02:23:06,320 --> 02:23:08,820 And then you can see in my high-tech diagram, 4943 02:23:09,780 --> 02:23:11,700 made with Visio, not really, 4944 02:23:12,420 --> 02:23:14,740 store and retrieve both come after passwords, 4945 02:23:14,880 --> 02:23:18,080 so you can, basically there's two test cases. 4946 02:23:18,260 --> 02:23:20,460 It'll test the store route and the retrieve route. 4947 02:23:20,780 --> 02:23:23,100 And you could have a more complicated tree if you wanted. 4948 02:23:25,140 --> 02:23:26,700 And then you fuzz, 4949 02:23:26,840 --> 02:23:29,000 and then you run Python on your little script. 4950 02:23:29,160 --> 02:23:32,400 So it should be about 20 or 30 lines for that one. 4951 02:23:34,500 --> 02:23:35,000 The end. 4952 02:23:35,120 --> 02:23:35,880 Not really. 4953 02:23:36,240 --> 02:23:37,820 So as I was doing the slides, 4954 02:23:37,840 --> 02:23:40,560 I thought I should probably actually run it on something 4955 02:23:40,560 --> 02:23:41,240 and make sure it works. 4956 02:23:42,080 --> 02:23:43,220 Have something to show. 4957 02:23:43,600 --> 02:23:46,180 So target one, the name is redacted, 4958 02:23:46,200 --> 02:23:47,820 because, I don't know, 4959 02:23:47,840 --> 02:23:49,720 you can ask me who it is later if you want. 4960 02:23:50,120 --> 02:23:52,240 But it's the, you can find it. 4961 02:23:52,240 --> 02:23:55,000 It's the first repo you find if you're sorting by fewest stars 4962 02:23:55,000 --> 02:23:57,200 using the string that I had earlier in the presentation. 4963 02:23:57,960 --> 02:23:58,260 Right? 4964 02:23:58,840 --> 02:23:59,240 So. 4965 02:24:01,660 --> 02:24:04,320 So we get, pull that up, you run make. 4966 02:24:04,500 --> 02:24:06,720 So when I was looking for these repos, 4967 02:24:06,780 --> 02:24:08,160 I, my criteria were, 4968 02:24:08,280 --> 02:24:10,100 runs FTP, looks kind of obscure, 4969 02:24:10,220 --> 02:24:11,020 and it's easy to build. 4970 02:24:11,300 --> 02:24:13,820 So if it had a make file, it passed the test. 4971 02:24:15,200 --> 02:24:17,420 So this is the logs from test case one. 4972 02:24:18,460 --> 02:24:19,740 There's a lot of details in there, 4973 02:24:19,800 --> 02:24:22,220 but if you can read it, 4974 02:24:22,240 --> 02:24:22,820 there is, 4975 02:24:24,280 --> 02:24:24,920 it's transmitting, 4976 02:24:25,000 --> 02:24:26,160 so it tells you what it transmits. 4977 02:24:27,420 --> 02:24:28,640 It says how many bytes it sent. 4978 02:24:29,000 --> 02:24:29,920 And that's kind of, 4979 02:24:30,360 --> 02:24:31,600 actually that info line is, 4980 02:24:31,700 --> 02:24:33,620 because your socket might not send all the bytes 4981 02:24:33,980 --> 02:24:35,340 that you told it to send, so it, 4982 02:24:36,280 --> 02:24:37,080 just a confirmation. 4983 02:24:38,260 --> 02:24:39,800 And then it tells you what it received 4984 02:24:41,280 --> 02:24:41,920 in hexadecimal. 4985 02:24:42,780 --> 02:24:44,060 And translates it to ASCII. 4986 02:24:44,700 --> 02:24:46,160 And then it has some, the check, 4987 02:24:46,280 --> 02:24:47,700 the only check it does right now is to make sure 4988 02:24:47,700 --> 02:24:49,600 it actually receives a response from the target. 4989 02:24:51,720 --> 02:24:52,040 So, 4990 02:24:52,240 --> 02:24:53,640 if you're gonna put more time into it, 4991 02:24:53,680 --> 02:24:54,880 you'd parse that response and make sure 4992 02:24:54,880 --> 02:24:56,080 it's actually something reasonable. 4993 02:24:57,940 --> 02:24:59,500 So first test case is okay, 4994 02:24:59,700 --> 02:25:01,400 check okay, some data received from target. 4995 02:25:02,120 --> 02:25:03,420 And test case two, oh, 4996 02:25:04,460 --> 02:25:05,260 socket exception. 4997 02:25:06,280 --> 02:25:06,680 That's, 4998 02:25:07,200 --> 02:25:08,800 so that's kind of in the framework, 4999 02:25:08,980 --> 02:25:10,000 bug in the framework, but, 5000 02:25:10,060 --> 02:25:12,780 well maybe something actually happened in the server. 5001 02:25:13,400 --> 02:25:15,620 You got an infinite loop here. 5002 02:25:16,580 --> 02:25:18,180 So this is what the server did. 5003 02:25:19,920 --> 02:25:21,900 So the fact, the unhandled exception is a bug, 5004 02:25:22,240 --> 02:25:23,580 but it actually found a real cache. 5005 02:25:23,760 --> 02:25:25,640 So that's good enough for me for right now. 5006 02:25:26,180 --> 02:25:27,720 So the results for target one, success. 5007 02:25:28,020 --> 02:25:29,260 The server is in an infinite loop. 5008 02:25:29,980 --> 02:25:31,920 The test, offending test case was actually 5009 02:25:31,920 --> 02:25:34,200 the first one, and you can reproduce 5010 02:25:34,200 --> 02:25:36,140 it by 5011 02:25:36,140 --> 02:25:38,000 just running netcat and putting 5012 02:25:38,000 --> 02:25:39,300 a file 5013 02:25:40,300 --> 02:25:41,480 directly into the input 5014 02:25:42,100 --> 02:25:43,200 before you start the server. 5015 02:25:43,480 --> 02:25:46,080 And so it's actually, it's a race condition. 5016 02:25:46,400 --> 02:25:47,540 So the server isn't, 5017 02:25:48,160 --> 02:25:49,240 it works if you, 5018 02:25:50,020 --> 02:25:52,160 it works if you open the connection 5019 02:25:52,240 --> 02:25:54,300 wait a little bit, and then start sending your data. 5020 02:25:54,980 --> 02:25:56,180 So that's kind of cool. 5021 02:25:56,300 --> 02:25:58,000 It's kind of lame though because it's not really a 5022 02:25:58,740 --> 02:25:59,760 packet format error, 5023 02:25:59,940 --> 02:26:02,300 but I still found a bug 5024 02:26:02,300 --> 02:26:02,740 so I'm happy. 5025 02:26:05,180 --> 02:26:05,860 Target two, 5026 02:26:06,020 --> 02:26:07,880 another, this one is 5027 02:26:07,880 --> 02:26:09,980 on the first page when you use that search 5028 02:26:09,980 --> 02:26:12,080 string, and it has 5029 02:26:12,080 --> 02:26:14,120 six stars, or at least it had six stars a week ago. 5030 02:26:14,260 --> 02:26:15,980 So, if you want to find it. 5031 02:26:16,580 --> 02:26:17,840 It was easy to build, 5032 02:26:17,960 --> 02:26:20,180 and it wasn't apparently used. 5033 02:26:21,300 --> 02:26:21,700 So, 5034 02:26:22,500 --> 02:26:23,720 this was the second one 5035 02:26:24,200 --> 02:26:25,260 that I did, and 5036 02:26:25,260 --> 02:26:27,720 there was another one in between these, and I 5037 02:26:28,160 --> 02:26:30,100 found it, and I read it and said, used in production 5038 02:26:30,100 --> 02:26:32,180 environments. I thought, oh, that's going to be too hard to break, so 5039 02:26:32,180 --> 02:26:33,700 maybe it wouldn't be though. 5040 02:26:35,320 --> 02:26:36,180 In this one 5041 02:26:36,180 --> 02:26:38,080 it actually ran for longer, so we get to see the web 5042 02:26:38,080 --> 02:26:38,360 interface. 5043 02:26:40,820 --> 02:26:42,160 This is again coming over from 5044 02:26:42,160 --> 02:26:43,920 Soli. So the web interface will 5045 02:26:43,920 --> 02:26:46,000 show you progress bars and let you know how many test cases 5046 02:26:46,000 --> 02:26:48,180 you're running because the test cases come across 5047 02:26:48,180 --> 02:26:50,000 hundreds per second or thousands per second. 5048 02:26:50,380 --> 02:26:51,340 So if you 5049 02:26:52,240 --> 02:26:52,820 want to 5050 02:26:52,820 --> 02:26:53,320 have the web interface. 5051 02:26:55,080 --> 02:26:56,140 So I'm making progress, 5052 02:26:56,960 --> 02:26:58,100 and we got another crash. 5053 02:26:58,560 --> 02:27:00,400 That's lame, so I need to 5054 02:27:01,140 --> 02:27:03,520 go catch that exception and do something else with it besides 5055 02:27:03,520 --> 02:27:03,960 crashing. 5056 02:27:05,680 --> 02:27:07,720 But again, maybe something happened on the server that's 5057 02:27:07,720 --> 02:27:08,780 interesting at this point. 5058 02:27:09,960 --> 02:27:11,780 Just to be clear, this is BooFuzz 5059 02:27:11,780 --> 02:27:12,260 crashing. 5060 02:27:15,060 --> 02:27:15,980 And then this is 5061 02:27:15,980 --> 02:27:17,500 the actual server, the thing I'm testing. 5062 02:27:18,720 --> 02:27:19,360 Crashing, or 5063 02:27:19,960 --> 02:27:21,780 not crashing, so it's just normal 5064 02:27:22,240 --> 02:27:22,780 connection errors. 5065 02:27:23,500 --> 02:27:25,180 But then down in the middle, there's a stack 5066 02:27:25,180 --> 02:27:27,900 smashing detected. That's when you have a buffer 5067 02:27:27,900 --> 02:27:29,860 overflow case, but your compiler has 5068 02:27:29,860 --> 02:27:30,980 stack protection enabled. 5069 02:27:32,040 --> 02:27:33,400 And then if I ran it on 5070 02:27:33,400 --> 02:27:35,840 another server, then I got a whole bunch of these. 5071 02:27:36,080 --> 02:27:37,120 So that was kind of cool. 5072 02:27:41,320 --> 02:27:43,680 That was on a different machine, so again 5073 02:27:43,680 --> 02:27:46,040 it's most likely a race condition, so it does 5074 02:27:46,040 --> 02:27:48,040 some kind of threading or connection 5075 02:27:48,560 --> 02:27:48,960 stuff. 5076 02:27:50,540 --> 02:27:51,560 So this one was 5077 02:27:52,860 --> 02:27:53,920 probably a buffer overflow, 5078 02:27:54,240 --> 02:27:54,860 which is exciting. 5079 02:27:56,680 --> 02:27:57,980 Stack protection, well I 5080 02:27:57,980 --> 02:27:58,780 compiled it, so. 5081 02:28:01,680 --> 02:28:04,020 And it's hard to reproduce, so 5082 02:28:04,020 --> 02:28:05,820 I think there's some kind of race condition again. 5083 02:28:07,520 --> 02:28:08,200 So that was 5084 02:28:08,200 --> 02:28:10,020 two targets, and that was enough for me just to demonstrate 5085 02:28:10,020 --> 02:28:11,880 that you can find bugs with it. 5086 02:28:12,320 --> 02:28:13,720 And the point here, 5087 02:28:13,820 --> 02:28:16,240 the point of this talk isn't to show off these cool bugs I found. 5088 02:28:16,620 --> 02:28:18,000 These were in about 5089 02:28:18,000 --> 02:28:20,040 a couple days, just as I was putting 5090 02:28:20,040 --> 02:28:22,020 the slides together, I thought I should actually 5091 02:28:22,660 --> 02:28:23,620 use it against something. 5092 02:28:24,560 --> 02:28:26,140 So the point is, it's pretty easy 5093 02:28:26,140 --> 02:28:28,220 to go find a project and start hacking into it 5094 02:28:28,220 --> 02:28:30,380 yourself using a tool like this. 5095 02:28:31,460 --> 02:28:32,280 And the work 5096 02:28:32,280 --> 02:28:33,740 would come in in 5097 02:28:34,520 --> 02:28:35,800 unless there's bugs in the framework. 5098 02:28:36,140 --> 02:28:38,020 That's work. But the work would come in in 5099 02:28:38,020 --> 02:28:38,900 specifying the protocol. 5100 02:28:40,420 --> 02:28:41,680 So BooFuzz is for free, 5101 02:28:41,780 --> 02:28:44,240 and the FTP sample I have is for free. 5102 02:28:44,340 --> 02:28:46,060 So you can go 5103 02:28:46,060 --> 02:28:47,380 crash things with that if you want to. 5104 02:28:50,300 --> 02:28:52,020 So BooFuzz, you get quick test generation 5105 02:28:52,240 --> 02:28:53,460 like Soli. It's extensible. 5106 02:28:53,660 --> 02:28:54,820 There's less bugs than before. 5107 02:28:55,560 --> 02:28:58,200 Obviously it could use 5108 02:28:58,200 --> 02:28:59,280 progress, more users, 5109 02:28:59,420 --> 02:29:00,740 more published protocols. 5110 02:29:01,300 --> 02:29:03,920 So I'm kind of curious to see how 5111 02:29:03,920 --> 02:29:06,060 fuzzers develop going into the future. 5112 02:29:07,060 --> 02:29:08,040 Will they stay 5113 02:29:08,040 --> 02:29:10,140 mostly commercial, or will 5114 02:29:10,140 --> 02:29:11,160 open source fuzzers 5115 02:29:12,920 --> 02:29:14,060 supersede them or even 5116 02:29:14,060 --> 02:29:16,120 become competitive? And that depends 5117 02:29:16,120 --> 02:29:17,800 on how many people use it. 5118 02:29:18,400 --> 02:29:19,940 And the biggest 5119 02:29:19,940 --> 02:29:22,120 use case for that is somebody who's employed 5120 02:29:22,240 --> 02:29:24,060 by a business or somebody who wants to do 5121 02:29:24,060 --> 02:29:26,040 this kind of stuff, and they have the 5122 02:29:26,040 --> 02:29:26,380 technical 5123 02:29:29,380 --> 02:29:30,140 background to 5124 02:29:30,140 --> 02:29:32,080 get into it. Because you're going to need to 5125 02:29:32,080 --> 02:29:34,080 write your own Python code if you 5126 02:29:34,080 --> 02:29:36,020 want to get fancy. And you're going to need 5127 02:29:36,020 --> 02:29:37,980 to be able to figure out what that protocol format is 5128 02:29:37,980 --> 02:29:39,060 and specify it. 5129 02:29:42,060 --> 02:29:43,620 Could use more features as well. 5130 02:29:44,660 --> 02:29:46,040 So takeaways from the talk. 5131 02:29:46,400 --> 02:29:48,200 Fuzzing is an important testing activity 5132 02:29:48,200 --> 02:29:49,640 and rapidly becoming normal. 5133 02:29:50,180 --> 02:29:51,960 Actually I didn't say that before, but I say it 5134 02:29:52,240 --> 02:29:53,580 now. It's rapidly becoming normal. 5135 02:29:55,140 --> 02:29:56,020 Since, basically 5136 02:29:56,020 --> 02:29:58,080 since 2001, the commercial 5137 02:29:58,080 --> 02:30:00,260 market has been growing for this, and it's 5138 02:30:01,420 --> 02:30:02,300 for example, 5139 02:30:02,360 --> 02:30:04,160 there's the underwriter 5140 02:30:04,160 --> 02:30:05,180 laboratories cyber 5141 02:30:07,380 --> 02:30:07,820 accreditation 5142 02:30:07,820 --> 02:30:10,100 cap something. And 5143 02:30:10,100 --> 02:30:12,220 fuzzing is a part of that. Fuzzing 5144 02:30:12,220 --> 02:30:13,960 is a part of Microsoft's secure development 5145 02:30:13,960 --> 02:30:16,200 life cycle. And if you think, oh, Microsoft's 5146 02:30:16,200 --> 02:30:17,300 no good, well, you're wrong. 5147 02:30:17,440 --> 02:30:19,760 They've done some good stuff in the last few years. 5148 02:30:21,340 --> 02:30:22,080 So it's 5149 02:30:22,240 --> 02:30:23,900 something that's becoming more and more common. 5150 02:30:24,340 --> 02:30:25,720 And it may 5151 02:30:26,120 --> 02:30:28,260 be something that's expected, but how common 5152 02:30:28,260 --> 02:30:30,120 it becomes really depends on where open 5153 02:30:30,120 --> 02:30:31,740 source can go, because not everybody's going to 5154 02:30:31,740 --> 02:30:34,100 pay for it, especially open source projects. 5155 02:30:34,760 --> 02:30:36,260 So, rapidly becoming normal. 5156 02:30:36,420 --> 02:30:37,900 Maybe you be the judge. 5157 02:30:40,440 --> 02:30:42,180 There's no mature open source 5158 02:30:42,180 --> 02:30:44,180 network fuzzing tools. Good open source 5159 02:30:44,180 --> 02:30:45,840 tools are critical for secure protocol 5160 02:30:45,840 --> 02:30:46,740 implementations, 5161 02:30:47,840 --> 02:30:49,400 whether you're a business or not. 5162 02:30:50,900 --> 02:30:52,080 And two big 5163 02:30:52,240 --> 02:30:54,160 needs in this realm are improved frameworks. 5164 02:30:54,740 --> 02:30:56,160 In my opinion, BooFuzz is 5165 02:30:56,160 --> 02:30:58,140 the best one out there, but if you know better, please 5166 02:30:58,140 --> 02:31:00,100 let me know. And then 5167 02:31:00,100 --> 02:31:02,260 the other side of that would be published protocol definitions. 5168 02:31:02,880 --> 02:31:04,080 Because that, if you have the 5169 02:31:04,080 --> 02:31:06,100 framework and the protocol itself, you 5170 02:31:06,100 --> 02:31:08,040 can download those and you can run your test right away 5171 02:31:08,040 --> 02:31:09,440 without doing any work. 5172 02:31:10,160 --> 02:31:12,180 So those are the things that'll make it really easy 5173 02:31:12,180 --> 02:31:13,600 for people to do this kind of testing. 5174 02:31:15,660 --> 02:31:16,020 So, 5175 02:31:16,520 --> 02:31:18,240 if you're interested, I encourage you to go 5176 02:31:18,240 --> 02:31:19,360 write your own protocol fuzzer. 5177 02:31:20,020 --> 02:31:21,140 Getting started is easy. 5178 02:31:22,240 --> 02:31:23,780 You can write me an angry email 5179 02:31:23,780 --> 02:31:25,400 if you download my protocol. 5180 02:31:25,980 --> 02:31:27,940 If you download my framework and there's a lot of bugs. 5181 02:31:29,000 --> 02:31:30,300 Then, let me know. 5182 02:31:31,360 --> 02:31:31,840 So, 5183 02:31:31,960 --> 02:31:33,940 thank you and happy fuzzing. Any questions? 5184 02:31:35,420 --> 02:31:35,900 Yes? 5185 02:31:40,800 --> 02:31:47,460 Have I fuzzed using BooFuzz and Soli 5186 02:31:47,460 --> 02:31:48,340 to compare the results? 5187 02:31:48,340 --> 02:31:50,200 I haven't. They would be 5188 02:31:50,200 --> 02:31:51,820 the same, essentially. 5189 02:31:52,140 --> 02:31:54,500 So, most of the generation code is the same. 5190 02:31:55,260 --> 02:31:55,780 And 5191 02:31:56,280 --> 02:31:58,420 what I've done is fix bugs like the connections 5192 02:31:58,420 --> 02:32:00,280 not working or getting these exceptions thrown 5193 02:32:00,280 --> 02:32:01,560 or things crashing. 5194 02:32:02,000 --> 02:32:04,180 Or the log being double and 5195 02:32:04,180 --> 02:32:05,260 logging two of everything. 5196 02:32:06,040 --> 02:32:08,240 So, you should get very similar results at least 5197 02:32:08,240 --> 02:32:08,800 right now. 5198 02:32:11,640 --> 02:32:12,160 Yes? 5199 02:32:20,340 --> 02:32:20,820 . 5200 02:32:29,260 --> 02:32:30,160 If you automated 5201 02:32:30,160 --> 02:32:31,380 the error checking process? 5202 02:32:33,140 --> 02:32:34,360 How would you know what to look 5203 02:32:34,360 --> 02:32:35,340 for in the error check? 5204 02:32:42,220 --> 02:32:44,320 Yeah, so that's the tricky part. 5205 02:32:44,960 --> 02:32:46,020 So, the question is 5206 02:32:46,020 --> 02:32:47,980 if you're writing that failure checker 5207 02:32:48,340 --> 02:32:49,660 how do you know what to look for? 5208 02:32:49,800 --> 02:32:51,940 I mean, if you send garbage 5209 02:32:51,940 --> 02:32:53,440 it could crash in 10 different ways 5210 02:32:53,440 --> 02:32:54,500 or 100 different ways. 5211 02:32:54,800 --> 02:32:56,580 And it's not easy to figure out. 5212 02:32:57,720 --> 02:32:59,720 It's not trivial to evaluate 5213 02:32:59,720 --> 02:33:01,580 whether this data you're getting back is 5214 02:33:01,580 --> 02:33:03,780 indicative of a crash or security vulnerability 5215 02:33:03,780 --> 02:33:05,220 or just a normal error message. 5216 02:33:05,700 --> 02:33:07,600 Is that about right? 5217 02:33:19,360 --> 02:33:19,800 . 5218 02:33:28,680 --> 02:33:29,120 Alright. 5219 02:33:29,380 --> 02:33:31,040 Okay, that's a very good question. 5220 02:33:31,220 --> 02:33:33,820 So, broadly the question is about 5221 02:33:34,260 --> 02:33:36,400 failure detection and what do you look for. 5222 02:33:37,280 --> 02:33:37,860 So, there 5223 02:33:37,860 --> 02:33:40,200 actually I could have had a few slides about that. 5224 02:33:40,420 --> 02:33:41,140 So, there's 5225 02:33:41,140 --> 02:33:43,380 a few broad categories. 5226 02:33:43,660 --> 02:33:45,700 One is what you can see across the network. 5227 02:33:45,940 --> 02:33:48,000 And that's what you need to use, especially if you're fuzzing 5228 02:33:48,340 --> 02:33:50,360 your device or another thing that you don't control. 5229 02:33:50,560 --> 02:33:52,460 You need to look at what comes back at you. 5230 02:33:53,340 --> 02:33:54,180 So, in that 5231 02:33:54,820 --> 02:33:55,960 sample, example slide 5232 02:33:55,960 --> 02:33:57,740 I had, are we doing okay on time? 5233 02:33:59,640 --> 02:34:00,300 Yeah, barely. 5234 02:34:01,040 --> 02:34:01,820 So, we had 5235 02:34:02,960 --> 02:34:04,000 a health check. 5236 02:34:04,140 --> 02:34:05,360 You send some kind of request and response. 5237 02:34:05,780 --> 02:34:07,380 And that's kind of the easiest thing where you 5238 02:34:08,020 --> 02:34:10,320 don't know what to expect from your 5239 02:34:10,320 --> 02:34:12,260 anomaly. So, you say, I'll just send 5240 02:34:12,260 --> 02:34:13,980 a good message. And it's essentially a ping. 5241 02:34:14,360 --> 02:34:16,240 Right, it's just, maybe it's an 5242 02:34:16,240 --> 02:34:18,100 HTTP server and you get the index. 5243 02:34:18,340 --> 02:34:20,260 You get the home page. And you just make 5244 02:34:20,260 --> 02:34:22,260 sure that you get the right value back for that 5245 02:34:22,260 --> 02:34:23,920 test message. So, you go 5246 02:34:23,920 --> 02:34:26,100 anomaly, test case, anomaly, test case. 5247 02:34:26,520 --> 02:34:28,320 And as long as your test case checks out, 5248 02:34:28,380 --> 02:34:30,520 you know you didn't break what you're testing. 5249 02:34:31,020 --> 02:34:31,860 Now, that's tricky 5250 02:34:33,000 --> 02:34:34,100 because you might have broken 5251 02:34:34,100 --> 02:34:36,160 something and it just didn't cause it to crash. 5252 02:34:37,080 --> 02:34:37,880 Right, so 5253 02:34:38,280 --> 02:34:40,320 really what you want to do, and this is 5254 02:34:40,320 --> 02:34:42,180 what takes more work, you want to 5255 02:34:42,180 --> 02:34:44,060 parse what you get back from your anomaly 5256 02:34:44,060 --> 02:34:46,460 and it should either be a valid message 5257 02:34:46,460 --> 02:34:48,280 or an expected error message. 5258 02:34:49,420 --> 02:34:50,400 So, if your 5259 02:34:51,020 --> 02:34:52,240 protocol and your system 5260 02:34:52,240 --> 02:34:54,280 is robust, you really should have only 5261 02:34:54,280 --> 02:34:55,580 two kinds of things that you expect. 5262 02:34:55,900 --> 02:34:56,820 A valid response 5263 02:34:57,960 --> 02:34:59,740 or some kind of known error message. 5264 02:35:00,200 --> 02:35:02,180 Now, if your protocol doesn't specify the error 5265 02:35:02,180 --> 02:35:03,540 condition, that's a 5266 02:35:03,540 --> 02:35:06,180 bad on the protocol, right? They didn't specify that. 5267 02:35:06,280 --> 02:35:07,540 They got an undefined use case. 5268 02:35:08,980 --> 02:35:10,360 But if you can do that error 5269 02:35:10,360 --> 02:35:11,660 checking and 5270 02:35:12,740 --> 02:35:14,240 it'd be a lot of work. You'd have to parse 5271 02:35:14,240 --> 02:35:15,460 the message, see if it's expected. 5272 02:35:16,260 --> 02:35:17,180 So, it's not easy. 5273 02:35:19,360 --> 02:35:20,360 But if you do that, 5274 02:35:20,400 --> 02:35:22,620 that's actually what Codenomicon 5275 02:35:22,620 --> 02:35:24,120 did with Defensix when they were looking 5276 02:35:24,120 --> 02:35:26,060 for Heartbleed. They were implementing 5277 02:35:26,060 --> 02:35:28,060 that kind of functionality and 5278 02:35:28,060 --> 02:35:30,260 apparently one of the places they started was TLS. 5279 02:35:30,800 --> 02:35:32,320 So, with Heartbleed, you don't 5280 02:35:32,320 --> 02:35:34,280 actually crash the server, you just get 5281 02:35:34,280 --> 02:35:36,140 a whole lot of information that you weren't supposed 5282 02:35:36,140 --> 02:35:37,900 to get. Right, so this 5283 02:35:37,900 --> 02:35:39,980 kind of fuzzing technique I showed, you won't do that. 5284 02:35:40,600 --> 02:35:42,240 Because you're going to get all this expected data. 5285 02:35:42,340 --> 02:35:44,340 So, you need to have some kind of code that says, whoa, that's a lot 5286 02:35:44,340 --> 02:35:46,040 more data than 5287 02:35:46,040 --> 02:35:48,260 should have been expected. And you need to be really 5288 02:35:48,340 --> 02:35:50,320 careful about it because the length field 5289 02:35:50,320 --> 02:35:51,540 you told it was way too long. 5290 02:35:51,920 --> 02:35:53,260 So, you need to know, 5291 02:35:54,860 --> 02:35:56,100 you need to be careful. 5292 02:35:56,260 --> 02:35:58,100 You need to have some way of knowing what's 5293 02:35:59,340 --> 02:36:00,260 okay, what's an 5294 02:36:00,260 --> 02:36:02,300 expected error message, and what is unexpected 5295 02:36:02,300 --> 02:36:04,300 indicating some kind of erroneous behavior. 5296 02:36:06,140 --> 02:36:07,680 So, that's the best I have for that. 5297 02:36:08,040 --> 02:36:09,880 And then, on the other hand, you have 5298 02:36:13,240 --> 02:36:14,440 you can monitor 5299 02:36:14,440 --> 02:36:16,000 the process if you have debug 5300 02:36:16,000 --> 02:36:17,460 access to it. So, 5301 02:36:18,340 --> 02:36:20,220 there's tools in Soli and by extension in BooFuzz. 5302 02:36:20,640 --> 02:36:21,900 But I might have broken them. 5303 02:36:22,200 --> 02:36:23,180 But give it a try. 5304 02:36:23,880 --> 02:36:25,880 You can run something in GDB 5305 02:36:25,880 --> 02:36:28,320 essentially, and then monitor the process 5306 02:36:28,320 --> 02:36:30,240 to see if it crashes. And then 5307 02:36:30,240 --> 02:36:31,920 that's kind of cool because you're not 5308 02:36:31,920 --> 02:36:33,680 you're looking at the process itself. 5309 02:36:33,980 --> 02:36:36,060 Or you can monitor for crashes or some kind of 5310 02:36:36,060 --> 02:36:38,520 unexpected behavior. Or you can look at syslogs 5311 02:36:38,520 --> 02:36:39,320 or server logs. 5312 02:36:40,340 --> 02:36:42,060 There's actually a lot of different things you could do. 5313 02:36:42,360 --> 02:36:44,100 So that's, and the commercial 5314 02:36:44,100 --> 02:36:46,020 products will have places where you can hook in your own 5315 02:36:46,020 --> 02:36:48,240 scripts to look for those kind of failure conditions. 5316 02:36:50,000 --> 02:36:50,440 So, 5317 02:36:51,280 --> 02:36:52,400 it's not easy, I guess, 5318 02:36:52,460 --> 02:36:52,840 is the answer. 5319 02:36:53,580 --> 02:36:56,160 But very good question. That's an excellent question 5320 02:36:56,160 --> 02:36:58,640 because that's where it really gets tricky. 5321 02:36:58,940 --> 02:37:00,600 And if you're buying a commercial tool, 5322 02:37:00,680 --> 02:37:02,420 you need to make sure they have good support for that. 5323 02:37:03,040 --> 02:37:04,480 Because you basically 5324 02:37:04,480 --> 02:37:05,580 need to hook in your own programs. 5325 02:37:06,440 --> 02:37:08,020 So, to really do fuzzing well, 5326 02:37:08,080 --> 02:37:09,160 you can't get away from programming. 5327 02:37:11,620 --> 02:37:12,060 Yes? 5328 02:37:20,520 --> 02:37:21,020 . 5329 02:37:24,320 --> 02:37:24,920 What's that? 5330 02:37:25,200 --> 02:37:25,700 . 5331 02:37:26,960 --> 02:37:28,680 So what are the two projects there? 5332 02:37:29,160 --> 02:37:29,520 . 5333 02:37:30,160 --> 02:37:30,660 So, 5334 02:37:34,060 --> 02:37:36,420 BooFuzz is the framework and then BooFuzz FTP 5335 02:37:36,420 --> 02:37:38,260 has that sample code I just showed you. 5336 02:37:39,500 --> 02:37:40,380 So if you 5337 02:37:40,380 --> 02:37:42,220 download both of those and if you install 5338 02:37:42,220 --> 02:37:44,020 BooFuzz and download the FTP one, 5339 02:37:44,780 --> 02:37:46,260 you can run FTP and start 5340 02:37:46,260 --> 02:37:47,640 fuzzing a server right away. 5341 02:37:48,720 --> 02:37:50,200 So you would need to have, 5342 02:37:50,980 --> 02:37:52,740 in an ideal world, 5343 02:37:52,820 --> 02:37:54,260 there would be all sorts of projects 5344 02:37:54,260 --> 02:37:55,100 for all different protocols. 5345 02:37:56,040 --> 02:37:57,240 So FTP is lightweight. 5346 02:37:57,560 --> 02:37:59,240 It's also kind of a demo. 5347 02:37:59,940 --> 02:38:01,560 It's just a few messages it tests. 5348 02:38:02,440 --> 02:38:03,020 Thank you. 5349 02:38:04,400 --> 02:38:05,440 Any other questions? 5350 02:38:07,200 --> 02:38:08,280 Any other questions? 5351 02:38:11,640 --> 02:38:12,080 Cool. 5352 02:38:12,140 --> 02:38:12,860 Thank you very much, guys. 5353 02:38:18,780 --> 02:38:20,540 So it is now 510. 5354 02:38:21,920 --> 02:38:23,140 Before I introduce 5355 02:38:25,000 --> 02:38:25,480 Geeta, 5356 02:38:25,560 --> 02:38:27,060 I just want to thank Kevin and Rob 5357 02:38:27,060 --> 02:38:28,220 for their work, 5358 02:38:28,320 --> 02:38:29,280 their video work, 5359 02:38:29,360 --> 02:38:30,460 for making this all possible. 5360 02:38:30,680 --> 02:38:33,660 The reason why we'll be getting video feed, 5361 02:38:34,140 --> 02:38:35,380 you'll be getting a video recording. 5362 02:38:35,660 --> 02:38:37,180 So give it up to Kevin and Rob. 5363 02:38:37,740 --> 02:38:38,940 Thank you so much. 5364 02:38:39,200 --> 02:38:40,360 Thank you so much. 5365 02:38:41,800 --> 02:38:43,540 And so now it's 510. 5366 02:38:44,120 --> 02:38:45,700 Now it's 510 and 5367 02:38:45,700 --> 02:38:48,320 I know this is going to be a very, very good day. 5368 02:38:48,340 --> 02:38:48,660 We're talking. 5369 02:38:49,100 --> 02:38:50,620 When we saw this presentation 5370 02:38:50,620 --> 02:38:53,860 come to the CFP, 5371 02:38:53,920 --> 02:38:54,240 we said, 5372 02:38:54,340 --> 02:38:56,520 we got to have her here. 5373 02:38:56,640 --> 02:38:58,320 We got to have her talk about VirusTotal. 5374 02:38:58,480 --> 02:39:00,420 And who uses VirusTotal here? 5375 02:39:01,400 --> 02:39:01,880 Okay. 5376 02:39:02,180 --> 02:39:04,640 So hopefully now you'll learn to harness 5377 02:39:04,640 --> 02:39:06,400 even more power from VirusTotal. 5378 02:39:06,640 --> 02:39:08,960 So it is my great pleasure to introduce 5379 02:39:08,960 --> 02:39:11,000 Geeta Jiapari from Fidelis. 5380 02:39:11,140 --> 02:39:11,780 Thank you. 5381 02:39:13,260 --> 02:39:14,120 Hi, everyone. 5382 02:39:14,660 --> 02:39:15,140 Thanks. 5383 02:39:18,340 --> 02:39:18,820 Thank you for the presentation. 5384 02:39:19,080 --> 02:39:21,280 And I hope you enjoy using the tool. 5385 02:39:23,220 --> 02:39:24,360 My name is Geeta. 5386 02:39:25,040 --> 02:39:26,560 Working at Fidelis Cybersecurity. 5387 02:39:27,780 --> 02:39:29,120 And I'm going to talk about 5388 02:39:29,120 --> 02:39:30,400 mining VirusTotal 5389 02:39:30,400 --> 02:39:32,180 for operational data 5390 02:39:32,180 --> 02:39:34,100 and applying a quality control on it. 5391 02:39:34,280 --> 02:39:36,320 Is my voice good in the back? 5392 02:39:36,460 --> 02:39:37,600 Are you guys hearing me? 5393 02:39:37,660 --> 02:39:38,740 Is it okay? Yeah? 5394 02:39:39,880 --> 02:39:41,320 Louder? Okay. Is it good? 5395 02:39:41,960 --> 02:39:43,060 Good! Yay! 5396 02:39:44,900 --> 02:39:45,420 Okay. 5397 02:39:45,420 --> 02:39:46,080 So, 5398 02:39:47,120 --> 02:39:49,380 I'm going to introduce the tool 5399 02:39:50,240 --> 02:39:50,840 for 5400 02:39:52,480 --> 02:39:53,680 mining VirusTotal. 5401 02:39:53,900 --> 02:39:54,980 But first of all, 5402 02:39:55,020 --> 02:39:57,520 you have to be familiar 5403 02:39:57,520 --> 02:39:59,120 a little bit with VirusTotal. 5404 02:39:59,320 --> 02:40:01,160 So I saw some hands up 5405 02:40:01,160 --> 02:40:03,300 for the guys that use 5406 02:40:03,300 --> 02:40:05,460 VirusTotal. Who doesn't use 5407 02:40:05,460 --> 02:40:06,040 VirusTotal? 5408 02:40:07,640 --> 02:40:09,020 Are you guys interested 5409 02:40:09,020 --> 02:40:11,080 to use it? Okay, good. 5410 02:40:11,300 --> 02:40:13,280 So I'm going to have 5411 02:40:13,280 --> 02:40:15,340 an introduction to VirusTotal. Then I'm going 5412 02:40:15,420 --> 02:40:16,880 to introduce a free tool 5413 02:40:17,200 --> 02:40:19,120 that is available in Fidelis 5414 02:40:19,120 --> 02:40:21,340 GitHub. You can go ahead, download it 5415 02:40:21,340 --> 02:40:23,340 and just 5416 02:40:23,340 --> 02:40:24,660 start using it. It's fine. 5417 02:40:26,040 --> 02:40:27,320 I'm going to have an 5418 02:40:27,320 --> 02:40:28,400 overview of the algorithm, 5419 02:40:28,820 --> 02:40:30,780 APIs that are being used, 5420 02:40:31,020 --> 02:40:31,660 the scripts. 5421 02:40:32,800 --> 02:40:35,160 I'm going to tell you the stats of the 5422 02:40:35,160 --> 02:40:36,840 obtained results. Does it really 5423 02:40:38,860 --> 02:40:39,560 sort of 5424 02:40:39,560 --> 02:40:41,100 like you guys are interested 5425 02:40:41,100 --> 02:40:43,280 to use the Zagros or you would prefer 5426 02:40:43,280 --> 02:40:44,940 to just like go and call the APIs? 5427 02:40:45,940 --> 02:40:47,320 And we are going to 5428 02:40:47,320 --> 02:40:49,240 have a demo, going to talk about 5429 02:40:49,240 --> 02:40:51,240 applying quality control on the 5430 02:40:51,240 --> 02:40:53,340 obtained results and how to age the 5431 02:40:53,340 --> 02:40:55,340 hashes and URLs that 5432 02:40:55,340 --> 02:40:56,760 we are getting from VirusTotal. 5433 02:40:57,680 --> 02:40:59,420 And I'm going to give you 5434 02:40:59,420 --> 02:41:01,340 the link to GitHub at the 5435 02:41:01,340 --> 02:41:03,340 end of presentation. So stay tuned 5436 02:41:03,340 --> 02:41:05,140 and stay in the conference room, please. 5437 02:41:06,320 --> 02:41:06,820 And 5438 02:41:07,420 --> 02:41:09,140 finally, I'm going to 5439 02:41:09,140 --> 02:41:11,280 tell you how to use the tool, which is pretty 5440 02:41:11,280 --> 02:41:13,340 much simple. Basically, it's just a config 5441 02:41:13,340 --> 02:41:15,200 file and you would need to just 5442 02:41:15,420 --> 02:41:17,140 enter, type a few words 5443 02:41:17,140 --> 02:41:18,100 in it. Promise. 5444 02:41:19,420 --> 02:41:21,060 So what is VirusTotal? 5445 02:41:21,240 --> 02:41:23,220 People are using VirusTotal 5446 02:41:23,220 --> 02:41:25,040 to scan the files and URLs. 5447 02:41:25,320 --> 02:41:27,260 And if you are interested, 5448 02:41:27,440 --> 02:41:29,360 you can just submit a hash and get 5449 02:41:29,360 --> 02:41:31,180 a report on it if the data is 5450 02:41:31,180 --> 02:41:33,200 available in VirusTotal. You could also 5451 02:41:33,200 --> 02:41:33,880 do the same 5452 02:41:34,780 --> 02:41:37,240 by submitting the IP or URL. 5453 02:41:37,260 --> 02:41:39,220 It's just like your option. So 5454 02:41:39,220 --> 02:41:41,220 it is going to tell you 5455 02:41:41,220 --> 02:41:43,360 like detailed information about the file 5456 02:41:43,360 --> 02:41:45,180 that has been submitted, like the 5457 02:41:45,420 --> 02:41:47,440 file type and some really cool information 5458 02:41:47,440 --> 02:41:48,540 about it. Now, 5459 02:41:49,840 --> 02:41:51,100 I'm going to introduce 5460 02:41:51,100 --> 02:41:53,400 a tool. It's called Zagros. 5461 02:41:54,760 --> 02:41:56,860 That is going to 5462 02:41:57,620 --> 02:41:59,320 do everything automated 5463 02:41:59,320 --> 02:42:01,160 for you. And the hashes 5464 02:42:01,160 --> 02:42:03,180 and URLs that you are going to get 5465 02:42:03,180 --> 02:42:04,460 are malicious ones. 5466 02:42:08,380 --> 02:42:08,980 So 5467 02:42:09,680 --> 02:42:11,340 using Zagros, it makes it 5468 02:42:11,340 --> 02:42:13,200 possible to stay in sync with 5469 02:42:13,200 --> 02:42:15,080 VirusTotal and get the latest 5470 02:42:15,420 --> 02:42:17,020 malicious hashes and URLs 5471 02:42:17,020 --> 02:42:19,560 that has been submitted to VirusTotal. 5472 02:42:22,300 --> 02:42:23,240 It has 5473 02:42:23,240 --> 02:42:24,680 the minimum false positive. 5474 02:42:24,920 --> 02:42:27,260 So what you get is actually 5475 02:42:27,260 --> 02:42:29,120 malicious. And then for hashes, 5476 02:42:29,260 --> 02:42:30,960 it's going to be categorized 5477 02:42:30,960 --> 02:42:33,240 based on the malware type, malware 5478 02:42:33,240 --> 02:42:34,760 name, and severity. 5479 02:42:35,680 --> 02:42:37,060 It's a great source 5480 02:42:37,060 --> 02:42:39,160 if you guys want to use it for 5481 02:42:39,160 --> 02:42:40,520 feeding your cuckoo sandbox. 5482 02:42:40,880 --> 02:42:43,120 If you guys are analysts and you want to 5483 02:42:43,120 --> 02:42:45,340 do some analyzes and you 5484 02:42:45,420 --> 02:42:46,240 want to get the 5485 02:42:46,240 --> 02:42:49,020 malicious hashes based on the malware 5486 02:42:49,020 --> 02:42:51,140 family that they belong to, and you 5487 02:42:51,140 --> 02:42:53,620 want them to be actually 100% 5488 02:42:53,620 --> 02:42:55,380 malicious, go ahead and 5489 02:42:55,380 --> 02:42:56,620 download the file and use it. 5490 02:42:59,140 --> 02:43:01,120 It actually could 5491 02:43:01,120 --> 02:43:03,260 be also used in your QA 5492 02:43:03,260 --> 02:43:05,280 department or for your 5493 02:43:05,280 --> 02:43:07,180 own testing. It's a 5494 02:43:07,180 --> 02:43:08,920 great tool to be used for 5495 02:43:08,920 --> 02:43:11,020 functional testing or performance 5496 02:43:11,020 --> 02:43:13,100 testing. But it's not designed 5497 02:43:13,100 --> 02:43:15,200 to be used as an 5498 02:43:15,420 --> 02:43:17,320 antivirus because it doesn't 5499 02:43:17,320 --> 02:43:19,380 do the job. It's just like a tool 5500 02:43:19,380 --> 02:43:21,220 for getting the hashes and URLs. 5501 02:43:23,180 --> 02:43:25,240 What do I mean by mining 5502 02:43:25,240 --> 02:43:27,400 data? I mean getting the 5503 02:43:27,400 --> 02:43:29,520 hashes and getting the URLs. 5504 02:43:29,780 --> 02:43:31,220 This is just the 5505 02:43:31,220 --> 02:43:33,220 list of the APIs that 5506 02:43:33,220 --> 02:43:35,140 I'm calling for getting 5507 02:43:35,140 --> 02:43:37,360 the information and the 5508 02:43:37,360 --> 02:43:39,240 data. Live file feed, 5509 02:43:39,440 --> 02:43:41,160 VTI search, VT cluster, 5510 02:43:41,600 --> 02:43:43,260 VT report, and 5511 02:43:43,260 --> 02:43:44,300 download file. 5512 02:43:45,420 --> 02:43:47,240 For mining URLs, I'm calling 5513 02:43:47,240 --> 02:43:48,600 live URL feed. 5514 02:43:49,180 --> 02:43:51,160 For some of them, you actually do 5515 02:43:51,160 --> 02:43:52,940 need to get a license from 5516 02:43:52,940 --> 02:43:55,140 Virusdota. So to run the 5517 02:43:55,140 --> 02:43:57,180 script, you would need a private license 5518 02:43:57,180 --> 02:43:58,320 from Virusdota. 5519 02:44:00,120 --> 02:44:01,120 Let's start with 5520 02:44:01,120 --> 02:44:01,980 mining hashes. 5521 02:44:03,220 --> 02:44:05,260 You call API, and 5522 02:44:05,260 --> 02:44:05,580 then 5523 02:44:07,320 --> 02:44:09,280 you are going to get a 5524 02:44:09,280 --> 02:44:11,080 JSON report. Now 5525 02:44:11,080 --> 02:44:13,100 what the JSON report actually 5526 02:44:13,100 --> 02:44:14,960 has, it has some 5527 02:44:15,820 --> 02:44:17,360 dictionaries, and each dictionary 5528 02:44:17,360 --> 02:44:18,800 corresponds to a particular 5529 02:44:19,260 --> 02:44:21,060 hash. It has 5530 02:44:21,060 --> 02:44:23,060 some information, like a key 5531 02:44:23,060 --> 02:44:25,220 value stuff in the dictionary 5532 02:44:25,220 --> 02:44:26,700 that are 5533 02:44:26,700 --> 02:44:29,020 quite interesting, like a scan ID, 5534 02:44:29,320 --> 02:44:31,020 the time that it has been submitted, 5535 02:44:31,380 --> 02:44:32,680 information about the 5536 02:44:33,420 --> 02:44:34,880 MD5, SHA256, 5537 02:44:35,200 --> 02:44:37,020 SHA1, file type, file 5538 02:44:37,020 --> 02:44:37,440 size. 5539 02:44:38,720 --> 02:44:41,160 For Zagros, when I was writing it, I 5540 02:44:41,160 --> 02:44:42,920 thought, okay, what could I extract 5541 02:44:42,920 --> 02:44:45,220 from it to be able 5542 02:44:45,420 --> 02:44:47,160 to get what I actually need? 5543 02:44:47,300 --> 02:44:48,680 I want malicious hashes, 5544 02:44:49,290 --> 02:44:51,540 and I want to categorize 5545 02:44:51,540 --> 02:44:53,420 them based on the malware family 5546 02:44:53,420 --> 02:44:54,740 that they belong to. 5547 02:44:55,640 --> 02:44:57,060 And I want it to be accurate, 5548 02:44:57,260 --> 02:44:58,940 I just don't want to have false positive 5549 02:44:58,940 --> 02:44:59,240 . 5550 02:45:00,720 --> 02:45:03,100 So hashes, positives, and the scans 5551 02:45:03,100 --> 02:45:04,240 are the ones that 5552 02:45:04,240 --> 02:45:06,400 I grabbed from 5553 02:45:06,400 --> 02:45:08,320 the Virusdota report. 5554 02:45:11,170 --> 02:45:13,540 Hash is MD5, SHA256, 5555 02:45:13,720 --> 02:45:14,320 and SHA1. 5556 02:45:15,420 --> 02:45:17,180 They're all familiar. In my tool, 5557 02:45:17,360 --> 02:45:19,120 Zagros, MD5 and 5558 02:45:19,120 --> 02:45:21,140 SHA256 is what you are getting. 5559 02:45:23,340 --> 02:45:25,020 Positives, it indicates the 5560 02:45:25,020 --> 02:45:26,960 total number of AV engines 5561 02:45:26,960 --> 02:45:29,060 that are detecting a 5562 02:45:29,060 --> 02:45:31,300 particular hash malicious. 5563 02:45:33,380 --> 02:45:35,200 There is another one, which is 5564 02:45:35,200 --> 02:45:37,020 scans. This information 5565 02:45:37,020 --> 02:45:39,220 is showing the 5566 02:45:39,220 --> 02:45:40,700 AV engines, 5567 02:45:43,900 --> 02:45:45,280 and it's listing 5568 02:45:45,420 --> 02:45:46,980 AV engines. It shows if the 5569 02:45:46,980 --> 02:45:48,760 AV engine is detecting the hash 5570 02:45:48,760 --> 02:45:50,980 malicious, or it's not. 5571 02:45:51,320 --> 02:45:52,760 Also, it has some signature, 5572 02:45:52,940 --> 02:45:55,260 as you see. Like, if it is not 5573 02:45:55,260 --> 02:45:56,540 detecting, then it's nothing. 5574 02:45:56,760 --> 02:45:59,020 If it is, then it has some 5575 02:45:59,020 --> 02:46:01,100 signature. So I'm just using this information 5576 02:46:01,100 --> 02:46:02,960 to build up my scoring 5577 02:46:02,960 --> 02:46:05,080 filter. For scoring filter, 5578 02:46:05,400 --> 02:46:07,200 I'm using AV engine, 5579 02:46:08,200 --> 02:46:09,300 the name of it, 5580 02:46:09,500 --> 02:46:11,020 and also malware 5581 02:46:11,020 --> 02:46:11,460 types. 5582 02:46:12,940 --> 02:46:13,840 AV engine 5583 02:46:15,420 --> 02:46:16,920 I'm scoring it. Now, how? 5584 02:46:17,600 --> 02:46:19,260 There is stats available in 5585 02:46:19,260 --> 02:46:21,160 VirusTotal. It shows that 5586 02:46:21,160 --> 02:46:23,460 some of the AV engines are having 5587 02:46:23,460 --> 02:46:24,640 a higher ratio 5588 02:46:25,180 --> 02:46:27,220 in producing false positive 5589 02:46:27,220 --> 02:46:29,260 results. And some of them 5590 02:46:29,260 --> 02:46:30,100 have lower. 5591 02:46:30,920 --> 02:46:33,220 Also, using VTS stats, 5592 02:46:33,940 --> 02:46:35,200 some of the AV 5593 02:46:35,200 --> 02:46:36,980 engines, they have 5594 02:46:36,980 --> 02:46:38,820 really high ratio 5595 02:46:39,180 --> 02:46:41,040 in sort of like 5596 02:46:41,040 --> 02:46:42,760 detecting reliable 5597 02:46:43,340 --> 02:46:45,080 information and passing reliable 5598 02:46:45,420 --> 02:46:47,420 information. So using 5599 02:46:47,420 --> 02:46:49,460 this information, I came up with a mapping 5600 02:46:49,460 --> 02:46:51,040 and you see that the AV engine 5601 02:46:51,040 --> 02:46:53,380 name is listed 5602 02:46:53,380 --> 02:46:55,480 and it's just like part of the mapping 5603 02:46:55,480 --> 02:46:57,220 table that I have, and the scoring 5604 02:46:57,220 --> 02:46:58,720 is given from 0 to 5. 5605 02:46:59,140 --> 02:47:01,320 In total scoring, I am 5606 02:47:01,320 --> 02:47:03,280 not considering some of them that are reported 5607 02:47:03,280 --> 02:47:05,420 as high-scored 5608 02:47:05,940 --> 02:47:07,480 false positives, and I'm 5609 02:47:07,480 --> 02:47:09,440 just giving high score to the ones that are having 5610 02:47:09,440 --> 02:47:10,580 reliable results. 5611 02:47:11,500 --> 02:47:13,340 If you don't agree, and if you want to 5612 02:47:13,340 --> 02:47:15,240 change it, go ahead and change it. There is no 5613 02:47:15,420 --> 02:47:16,900 discrimination between AV engines. 5614 02:47:17,220 --> 02:47:19,220 This is based on the test results 5615 02:47:19,220 --> 02:47:20,980 that I have got. Like I've tested 5616 02:47:21,820 --> 02:47:23,500 more than a million of hashes 5617 02:47:23,500 --> 02:47:25,440 and this is the result 5618 02:47:25,440 --> 02:47:27,060 that I got and it's actually working 5619 02:47:27,060 --> 02:47:28,280 quite good in my 5620 02:47:29,380 --> 02:47:29,900 Zagros. 5621 02:47:31,360 --> 02:47:33,260 So let's say that there is a hash 5622 02:47:33,260 --> 02:47:34,240 that it 5623 02:47:35,640 --> 02:47:37,380 only two AV engines 5624 02:47:37,380 --> 02:47:39,640 detected it. Microsoft and AVG. 5625 02:47:39,720 --> 02:47:41,320 Microsoft in the mapping has 5626 02:47:41,320 --> 02:47:43,160 a score of 3, and AV 5627 02:47:43,160 --> 02:47:45,280 engine has a score of 1. So 5628 02:47:45,420 --> 02:47:47,260 the total scoring that is going to be 5629 02:47:47,260 --> 02:47:49,260 used is 4 in the 5630 02:47:49,260 --> 02:47:51,060 algorithm. Malware type 5631 02:47:51,060 --> 02:47:53,220 I also get it using an 5632 02:47:53,220 --> 02:47:54,680 algorithm from the report 5633 02:47:55,700 --> 02:47:57,300 in virus total report 5634 02:47:57,300 --> 02:47:59,240 and this is like the list of 5635 02:47:59,240 --> 02:48:00,980 the malware types. 5636 02:48:01,280 --> 02:48:03,300 Again, I'm giving a score of 1 to 5637 02:48:03,300 --> 02:48:05,460 5 based on what I'm looking for. 5638 02:48:05,640 --> 02:48:07,260 You could just change it, but 5639 02:48:07,260 --> 02:48:08,440 this is working actually. 5640 02:48:09,840 --> 02:48:11,360 So I come up with a 5641 02:48:11,360 --> 02:48:13,340 hash threat score. It's just like a 5642 02:48:13,340 --> 02:48:15,300 filter that is going 5643 02:48:15,420 --> 02:48:17,400 to be total AV score and malware 5644 02:48:17,400 --> 02:48:19,180 type score and it's going to be hash 5645 02:48:19,180 --> 02:48:21,100 threat score. Combination 5646 02:48:21,100 --> 02:48:23,180 of hash threat score 5647 02:48:23,180 --> 02:48:25,240 and positives is going 5648 02:48:25,240 --> 02:48:27,200 to be used to get the 5649 02:48:27,200 --> 02:48:28,100 malicious hashes. 5650 02:48:29,460 --> 02:48:30,760 How do we store it? 5651 02:48:32,660 --> 02:48:35,160 We store it either as a CSV file 5652 02:48:35,160 --> 02:48:37,360 or MongoDB. You guys select 5653 02:48:37,360 --> 02:48:39,300 which one do you like. If you have a 5654 02:48:39,300 --> 02:48:41,420 MongoDB, go ahead and just enable 5655 02:48:41,420 --> 02:48:43,240 MongoDB. Everything is going to be 5656 02:48:43,240 --> 02:48:45,400 added to your MongoDB 5657 02:48:45,420 --> 02:48:47,040 it's going to create a database 5658 02:48:47,040 --> 02:48:48,840 it's going to be called Zagros 5659 02:48:49,180 --> 02:48:51,260 and the collection, it's going to 5660 02:48:51,260 --> 02:48:53,220 create a new collection called Zagros 5661 02:48:53,220 --> 02:48:55,120 hashes and everything is going to be 5662 02:48:55,120 --> 02:48:57,220 inserted there. If you don't want to 5663 02:48:57,220 --> 02:48:59,040 bother with MongoDB, that's totally fine. 5664 02:49:00,440 --> 02:49:01,480 Two files 5665 02:49:01,480 --> 02:49:02,480 are going to be created, 5666 02:49:02,760 --> 02:49:05,240 CSV format files. One of them 5667 02:49:05,240 --> 02:49:07,100 is going to have highest scored 5668 02:49:07,100 --> 02:49:09,420 hashes and one of them mid-scored hashes. 5669 02:49:09,520 --> 02:49:11,180 Both of them are good and valuable. 5670 02:49:11,540 --> 02:49:13,380 Go ahead and use any of 5671 02:49:13,380 --> 02:49:14,380 the methods that you want. 5672 02:49:15,420 --> 02:49:16,860 By default, it's CSV. 5673 02:49:17,240 --> 02:49:19,480 In the CSV, you're going to get MD5 5674 02:49:19,480 --> 02:49:21,280 malware name, malware 5675 02:49:21,280 --> 02:49:22,240 type and severity. 5676 02:49:24,300 --> 02:49:25,400 MongoDB, it's 5677 02:49:25,400 --> 02:49:27,080 going to have a little bit more information 5678 02:49:27,080 --> 02:49:29,220 like the timestamp. It has 5679 02:49:29,220 --> 02:49:31,040 some indicator 5680 02:49:31,040 --> 02:49:33,360 is actually the MD5. It has 5681 02:49:33,360 --> 02:49:35,300 ingest time. It has some attributes 5682 02:49:35,300 --> 02:49:37,420 malware name, malware type. It's going 5683 02:49:37,420 --> 02:49:39,200 to indicate if it is a highest scored 5684 02:49:39,200 --> 02:49:41,200 one or a mid-scored one 5685 02:49:41,200 --> 02:49:43,360 and the severity of that 5686 02:49:43,360 --> 02:49:45,180 hash and if 5687 02:49:45,420 --> 02:49:47,400 also the shot to 56. The data 5688 02:49:47,400 --> 02:49:48,560 type is a hash here. 5689 02:49:52,880 --> 02:49:53,400 Demo. 5690 02:49:55,100 --> 02:49:57,340 Running it, this is one of the 5691 02:49:57,340 --> 02:49:59,160 scripts actually that I ran 5692 02:49:59,160 --> 02:50:00,640 just to get some information. 5693 02:50:01,160 --> 02:50:02,960 This is live file feed 5694 02:50:03,480 --> 02:50:05,300 that I'm calling. I'm going to go 5695 02:50:05,300 --> 02:50:07,020 through it, but as you see, it's just like 5696 02:50:07,020 --> 02:50:09,260 getting the file, unwrapping it 5697 02:50:09,260 --> 02:50:11,380 and then it starts inserting data 5698 02:50:11,380 --> 02:50:13,500 that passes 5699 02:50:13,500 --> 02:50:14,940 the Zagros algorithm. 5700 02:50:15,420 --> 02:50:16,220 To the 5701 02:50:17,560 --> 02:50:19,280 CSV file. You see 5702 02:50:19,280 --> 02:50:21,200 that it's a little bit sort of 5703 02:50:21,200 --> 02:50:23,240 selective, but that's actually 5704 02:50:23,240 --> 02:50:25,280 what we are looking for and that's what we need. 5705 02:50:28,780 --> 02:50:31,100 Now, the APIs that I'm calling, 5706 02:50:31,280 --> 02:50:32,860 each script is dedicated 5707 02:50:32,860 --> 02:50:34,520 to a particular API. 5708 02:50:35,260 --> 02:50:36,860 This particular script 5709 02:50:37,400 --> 02:50:37,720 that 5710 02:50:39,740 --> 02:50:40,380 is 5711 02:50:40,380 --> 02:50:42,920 this guy, is calling 5712 02:50:42,920 --> 02:50:45,160 live file feed. Now, live 5713 02:50:45,420 --> 02:50:46,600 file feed, what it does is 5714 02:50:47,420 --> 02:50:48,900 it gets the most 5715 02:50:48,900 --> 02:50:50,800 recent files. 5716 02:50:51,000 --> 02:50:53,020 The report of them that have been 5717 02:50:53,020 --> 02:50:54,960 submitted to VirusTotal. On 5718 02:50:54,960 --> 02:50:57,280 daily basis, about 2 million 5719 02:50:57,280 --> 02:50:58,920 hashes are being submitted 5720 02:50:58,920 --> 02:51:01,140 and all 5721 02:51:01,140 --> 02:51:02,480 the AVN genes, they are 5722 02:51:03,780 --> 02:51:05,120 scanning them and 5723 02:51:05,120 --> 02:51:07,120 we have a report. So, running this 5724 02:51:07,120 --> 02:51:09,040 script, it 5725 02:51:09,040 --> 02:51:11,120 evaluates 2 million hashes 5726 02:51:11,120 --> 02:51:12,900 on daily basis and only 5727 02:51:13,300 --> 02:51:13,620 300 5728 02:51:15,420 --> 02:51:16,700 actually is getting selected. 5729 02:51:17,020 --> 02:51:19,340 So, 20% of the hashes 5730 02:51:19,340 --> 02:51:20,840 that have been seen 5731 02:51:21,340 --> 02:51:23,340 in real time are being selected 5732 02:51:23,340 --> 02:51:24,760 and they are malicious. 5733 02:51:26,320 --> 02:51:27,220 You could 5734 02:51:27,220 --> 02:51:28,920 go ahead and execute this script 5735 02:51:28,920 --> 02:51:31,280 just once. Minimum maintenance is 5736 02:51:31,280 --> 02:51:33,260 required and what you are going to get 5737 02:51:33,260 --> 02:51:35,520 is just like a valuable list of hashes 5738 02:51:35,520 --> 02:51:37,320 and it's gonna 5739 02:51:37,320 --> 02:51:39,380 stay in sync with VirusTotal 5740 02:51:39,380 --> 02:51:40,900 and it's going to call the 5741 02:51:41,760 --> 02:51:43,360 last minute report 5742 02:51:43,360 --> 02:51:44,740 that is available in 5743 02:51:45,420 --> 02:51:47,060 VirusTotal. So, every minute the API 5744 02:51:47,060 --> 02:51:49,180 is going to be called and it's going to be 5745 02:51:49,180 --> 02:51:49,880 evaluated. 5746 02:51:50,800 --> 02:51:52,920 The other cool API 5747 02:51:52,920 --> 02:51:55,500 that is available in VirusTotal 5748 02:51:55,500 --> 02:51:57,180 is VTiSearch. How many 5749 02:51:57,180 --> 02:51:59,060 of you use VTiSearch? 5750 02:52:00,000 --> 02:52:01,280 Good. So, you know 5751 02:52:01,280 --> 02:52:03,120 that you have the option for 5752 02:52:04,860 --> 02:52:05,360 selecting 5753 02:52:05,360 --> 02:52:07,120 what you are looking for. 5754 02:52:07,280 --> 02:52:08,520 So, you can apply a filter. 5755 02:52:08,820 --> 02:52:10,640 You initially apply a filter. 5756 02:52:10,960 --> 02:52:13,040 That's what you are looking for and what you are 5757 02:52:13,040 --> 02:52:15,380 interested. It could be a file type, it could be 5758 02:52:15,420 --> 02:52:17,360 file size, it could be positives, 5759 02:52:17,560 --> 02:52:19,020 combination of all of them, 5760 02:52:19,180 --> 02:52:20,720 behavior, malware type. 5761 02:52:21,020 --> 02:52:23,600 So, in Zagros, I'm actually using VTi 5762 02:52:23,600 --> 02:52:24,920 and I'm applying some filter 5763 02:52:24,920 --> 02:52:26,900 right at the beginning before 5764 02:52:27,420 --> 02:52:29,280 calling the API. I'm just 5765 02:52:29,280 --> 02:52:31,360 applying the filter and then 5766 02:52:31,360 --> 02:52:32,800 I'm getting some results. 5767 02:52:33,180 --> 02:52:35,440 Now, guess what? Only 60% 5768 02:52:35,440 --> 02:52:37,320 of it is malicious and 5769 02:52:37,320 --> 02:52:39,000 is being grabbed by VirusTotal. 5770 02:52:40,400 --> 02:52:40,960 So, 5771 02:52:41,100 --> 02:52:43,340 you could execute this script 5772 02:52:43,340 --> 02:52:45,320 on an early basis. All you need to do 5773 02:52:45,420 --> 02:52:46,580 is just go ahead and 5774 02:52:47,160 --> 02:52:49,360 configure your cron job to execute 5775 02:52:49,360 --> 02:52:49,860 the script. 5776 02:52:53,140 --> 02:52:55,380 VT clustering. Now, how many 5777 02:52:55,380 --> 02:52:57,340 of you guys are using VT clustering? 5778 02:52:58,720 --> 02:53:00,360 I know none. Okay. 5779 02:53:00,780 --> 02:53:03,060 So, basically how it's designed, 5780 02:53:03,380 --> 02:53:04,880 it's clustering. 5781 02:53:04,980 --> 02:53:07,240 It clusters the hashes 5782 02:53:07,240 --> 02:53:08,620 based on the file types. 5783 02:53:09,040 --> 02:53:11,100 It's a very good tool that is available 5784 02:53:11,100 --> 02:53:13,160 in VirusTotal. It's a very nice API 5785 02:53:13,160 --> 02:53:15,400 but apparently no one is using it. 5786 02:53:15,420 --> 02:53:17,400 Or many few people are using it. 5787 02:53:18,580 --> 02:53:19,160 It 5788 02:53:20,220 --> 02:53:21,540 clusters the files 5789 02:53:21,540 --> 02:53:23,490 based on pepdf.rtf 5790 02:53:24,120 --> 02:53:25,280 files but it has 5791 02:53:25,280 --> 02:53:27,220 its own algorithm. I'm calling 5792 02:53:27,220 --> 02:53:29,000 the API, getting the cluster ID 5793 02:53:29,000 --> 02:53:30,880 and then getting the hashes 5794 02:53:30,880 --> 02:53:33,020 that are available in the clusters. 5795 02:53:33,400 --> 02:53:35,060 And then 5796 02:53:35,060 --> 02:53:35,740 only 5797 02:53:37,620 --> 02:53:39,300 35% of the 5798 02:53:39,300 --> 02:53:41,060 hashes are being added to our database. 5799 02:53:41,800 --> 02:53:43,240 You could run this script 5800 02:53:43,240 --> 02:53:45,200 on a daily basis. What it does is 5801 02:53:45,420 --> 02:53:46,480 it's calling the 5802 02:53:47,920 --> 02:53:49,000 clusters that 5803 02:53:49,000 --> 02:53:51,220 has been, the hashes that actually 5804 02:53:51,220 --> 02:53:53,220 has been clustered in previous 5805 02:53:53,220 --> 02:53:54,400 day, like in yesterday. 5806 02:53:54,800 --> 02:53:57,180 And it gets all the data and inserts 5807 02:53:57,180 --> 02:53:58,380 the data in database. 5808 02:54:02,100 --> 02:54:03,180 We could expand 5809 02:54:03,180 --> 02:54:04,860 the search. We have very valuable information 5810 02:54:04,860 --> 02:54:06,980 right now, right? We just ran the scripts 5811 02:54:06,980 --> 02:54:09,360 and we collected some data. All of the hashes 5812 02:54:09,360 --> 02:54:11,240 are malicious based on malware 5813 02:54:11,240 --> 02:54:12,860 type and malware name. 5814 02:54:13,800 --> 02:54:15,320 They are categorized. 5815 02:54:15,420 --> 02:54:17,060 And then you could 5816 02:54:17,060 --> 02:54:19,280 get the list of hashes that you 5817 02:54:19,280 --> 02:54:21,200 want through VirusTotal and apply 5818 02:54:21,200 --> 02:54:22,260 a similar to 5819 02:54:23,000 --> 02:54:24,040 search on it. 5820 02:54:25,180 --> 02:54:27,000 Again, apply the 5821 02:54:27,000 --> 02:54:29,200 Zagros algorithm and you're going to 5822 02:54:29,200 --> 02:54:30,340 get 24% 5823 02:54:31,220 --> 02:54:32,380 of given hashes 5824 02:54:33,100 --> 02:54:35,140 malicious and it's going to be added 5825 02:54:35,140 --> 02:54:36,700 to the database. 5826 02:54:41,160 --> 02:54:43,180 This is the stats. You see that 5827 02:54:43,180 --> 02:54:44,460 the 5828 02:54:45,420 --> 02:54:47,240 amount of hashes that are being 5829 02:54:47,240 --> 02:54:49,120 passed through API call 5830 02:54:49,120 --> 02:54:51,340 are like quite high and 5831 02:54:51,340 --> 02:54:53,260 Zagros is just mining part 5832 02:54:53,260 --> 02:54:55,220 of them and it's just very selective. 5833 02:54:55,600 --> 02:54:57,480 But Zagros, if you run 5834 02:54:57,480 --> 02:54:59,400 this script, it enables you to 5835 02:55:00,640 --> 02:55:01,220 get 5836 02:55:01,220 --> 02:55:03,020 more than 3.3 5837 02:55:03,020 --> 02:55:05,200 hashes, million hashes on 5838 02:55:05,200 --> 02:55:06,980 daily basis. And only about 5839 02:55:07,720 --> 02:55:09,300 700k of them are 5840 02:55:09,300 --> 02:55:11,280 being added to the database. But these are 5841 02:55:11,280 --> 02:55:13,100 again, sort of like clusters 5842 02:55:13,100 --> 02:55:14,980 and you have valuable information. 5843 02:55:17,000 --> 02:55:17,480 You 5844 02:55:17,480 --> 02:55:19,300 have the files. Now you want to use 5845 02:55:19,300 --> 02:55:20,060 it for your 5846 02:55:20,900 --> 02:55:22,620 sandbox to feed to your sandbox. 5847 02:55:23,000 --> 02:55:25,140 You want to use it for further analysis and 5848 02:55:25,140 --> 02:55:27,200 you need to download it. Go ahead and use 5849 02:55:27,200 --> 02:55:29,220 this tool. Run this 5850 02:55:29,220 --> 02:55:31,300 script. What it does, it gets 5851 02:55:31,300 --> 02:55:33,260 the list of hashes. It's 5852 02:55:33,260 --> 02:55:35,120 going to download it and it goes 5853 02:55:35,120 --> 02:55:37,060 one further step. It actually 5854 02:55:37,620 --> 02:55:38,940 extracts the embedded files 5855 02:55:39,460 --> 02:55:41,220 that have been seen in that 5856 02:55:41,220 --> 02:55:42,760 particular file. 5857 02:55:43,840 --> 02:55:44,860 Let's have an example. 5858 02:55:48,100 --> 02:55:48,940 This is 5859 02:55:48,940 --> 02:55:51,420 a hash that was obtained 5860 02:55:51,420 --> 02:55:52,980 by Zagros through VirusTotal. 5861 02:55:53,680 --> 02:55:55,140 Downloaded it and then 5862 02:55:55,140 --> 02:55:57,300 extracted the embedded files in it. You see 5863 02:55:57,300 --> 02:55:59,300 that there are a lot of files embedded in it. 5864 02:56:00,080 --> 02:56:01,100 Did some further 5865 02:56:01,100 --> 02:56:02,980 analysis. Only DLL 5866 02:56:02,980 --> 02:56:05,140 and EXC are 5867 02:56:05,140 --> 02:56:07,180 the ones that 5868 02:56:07,180 --> 02:56:08,560 are malicious. 5869 02:56:09,020 --> 02:56:10,900 So not only the file itself is 5870 02:56:10,900 --> 02:56:13,240 malicious, but also it has 5871 02:56:13,240 --> 02:56:15,260 some embedded objects in it that are malicious. 5872 02:56:16,460 --> 02:56:17,420 Send it to 5873 02:56:17,420 --> 02:56:19,440 FukuSandbox. What it does, 5874 02:56:19,560 --> 02:56:21,040 it copies itself 5875 02:56:21,040 --> 02:56:22,980 to this directory, 5876 02:56:23,280 --> 02:56:24,400 adapt local temp, 5877 02:56:25,150 --> 02:56:26,400 and it begins calling 5878 02:56:27,200 --> 02:56:28,940 find first file. 5879 02:56:29,180 --> 02:56:30,580 It opens the file, 5880 02:56:31,110 --> 02:56:33,260 reads it, inserts the 5881 02:56:33,260 --> 02:56:34,880 virus in it with the string 5882 02:56:37,520 --> 02:56:38,180 visua 5883 02:56:38,180 --> 02:56:39,320 and then 5884 02:56:39,320 --> 02:56:41,380 writes the original file. Apparently 5885 02:56:41,380 --> 02:56:43,340 it's an infector file 5886 02:56:43,340 --> 02:56:45,220 and it's just infecting all 5887 02:56:45,420 --> 02:56:47,260 the files, not only the executable files. 5888 02:56:48,640 --> 02:56:49,460 Let's talk 5889 02:56:49,460 --> 02:56:50,580 about mining URLs. 5890 02:56:52,060 --> 02:56:53,280 Again, for mining 5891 02:56:53,280 --> 02:56:55,400 URLs, I'm calling liveURL 5892 02:56:55,400 --> 02:56:55,640 feed. 5893 02:56:57,580 --> 02:56:59,180 What I get is a 5894 02:56:59,180 --> 02:57:00,720 compressed file, bz2 5895 02:57:01,620 --> 02:57:02,260 format. 5896 02:57:02,920 --> 02:57:05,380 When I uncompress it, it's going 5897 02:57:05,380 --> 02:57:07,180 to show me a report in 5898 02:57:07,180 --> 02:57:09,360 JSON format and it has a lot of 5899 02:57:10,400 --> 02:57:11,340 dictionaries in it. 5900 02:57:11,500 --> 02:57:13,400 Each dictionary is for 5901 02:57:13,400 --> 02:57:14,860 a particular hash. 5902 02:57:15,420 --> 02:57:17,200 Now, running just 5903 02:57:17,200 --> 02:57:19,240 one particular dictionary, it shows 5904 02:57:19,240 --> 02:57:20,660 you that it has a lot of information. 5905 02:57:21,180 --> 02:57:23,340 Again, for being 5906 02:57:23,340 --> 02:57:25,100 sort of selective and select 5907 02:57:25,100 --> 02:57:27,140 what I would need for 5908 02:57:27,140 --> 02:57:28,820 the algorithm to be able to 5909 02:57:29,420 --> 02:57:31,280 extract the URLs, because URL, 5910 02:57:31,500 --> 02:57:32,640 believe me, it's just tricky 5911 02:57:33,200 --> 02:57:35,260 and you just don't want to have 5912 02:57:35,260 --> 02:57:36,060 the false positives. 5913 02:57:36,400 --> 02:57:39,480 I am interested to get URL, of course. 5914 02:57:40,200 --> 02:57:41,360 Positives, I just 5915 02:57:41,360 --> 02:57:43,240 covered it. It's just the 5916 02:57:43,240 --> 02:57:45,280 avian genes that are detecting that particular 5917 02:57:45,420 --> 02:57:46,300 URL positive. 5918 02:57:47,300 --> 02:57:48,860 Avian genes are 5919 02:57:49,320 --> 02:57:51,220 I just talked about it. I'm just 5920 02:57:51,220 --> 02:57:53,220 scoring the avian genes based on the stats 5921 02:57:53,220 --> 02:57:54,700 available in VirusTotal. 5922 02:57:54,940 --> 02:57:57,480 Additional information, it has some information 5923 02:57:57,480 --> 02:57:58,520 about the URL 5924 02:57:58,520 --> 02:58:01,440 and the networking information of the URL. 5925 02:58:01,620 --> 02:58:03,180 It has response 5926 02:58:03,180 --> 02:58:04,580 code and it has 5927 02:58:05,140 --> 02:58:07,140 response code, HTTP response 5928 02:58:07,140 --> 02:58:08,300 code and categories. 5929 02:58:09,220 --> 02:58:11,380 It's basically each URL 5930 02:58:11,380 --> 02:58:12,440 category that 5931 02:58:13,220 --> 02:58:15,280 matches with this particular URL 5932 02:58:15,420 --> 02:58:16,860 based on the networking information. 5933 02:58:17,240 --> 02:58:18,880 It is going to be indicated here. 5934 02:58:19,120 --> 02:58:21,280 These two information are very 5935 02:58:21,280 --> 02:58:23,040 valuable and I'm just using them. 5936 02:58:23,700 --> 02:58:24,660 HTTP response, 5937 02:58:25,060 --> 02:58:27,480 I'm giving a 0 to 2 5938 02:58:27,480 --> 02:58:28,180 scoring. 5939 02:58:30,340 --> 02:58:31,160 And for 5940 02:58:31,160 --> 02:58:33,300 scoring categories, again, I'm giving 5941 02:58:33,300 --> 02:58:35,400 a 0 to 5. If you don't agree with 5942 02:58:35,400 --> 02:58:37,220 me and you're interested in a particular 5943 02:58:37,220 --> 02:58:39,480 URL category, go ahead and change 5944 02:58:39,480 --> 02:58:40,980 it. This is working for me. 5945 02:58:41,640 --> 02:58:43,280 So combination of 5946 02:58:43,280 --> 02:58:44,780 HTTP threat score 5947 02:58:47,240 --> 02:58:47,840 and 5948 02:58:47,840 --> 02:58:49,040 HTTP response 5949 02:58:49,040 --> 02:58:51,220 code and URL categories 5950 02:58:51,220 --> 02:58:53,120 is going to be URL threat 5951 02:58:53,120 --> 02:58:53,420 score. 5952 02:58:55,000 --> 02:58:57,020 I'm also having a list of 5953 02:58:57,020 --> 02:58:59,300 white listed URLs because we just 5954 02:58:59,300 --> 02:59:01,240 don't want to add a URL that 5955 02:59:01,240 --> 02:59:03,400 is sort of like in a white 5956 02:59:03,400 --> 02:59:05,320 list and it's a well-known URL to 5957 02:59:05,320 --> 02:59:06,620 our malicious list. 5958 02:59:07,240 --> 02:59:09,340 If it is white listed URLs, 5959 02:59:09,560 --> 02:59:10,860 I'm just ignoring the URL. 5960 02:59:12,080 --> 02:59:13,240 And then I'm going to 5961 02:59:13,240 --> 02:59:15,080 have positives, avian scores, 5962 02:59:17,680 --> 02:59:18,480 white 5963 02:59:18,480 --> 02:59:19,240 listed URLs, 5964 02:59:19,700 --> 02:59:21,360 and combination of the 5965 02:59:21,360 --> 02:59:23,280 HTTP response and URL categories, 5966 02:59:23,740 --> 02:59:25,400 combining all of them to get 5967 02:59:25,400 --> 02:59:27,380 my malicious URL. The malicious 5968 02:59:27,380 --> 02:59:29,380 URL usually is just like 5969 02:59:29,380 --> 02:59:31,240 quite big. And I 5970 02:59:31,240 --> 02:59:33,500 want to know if a particular 5971 02:59:33,500 --> 02:59:35,420 URL is seen, 5972 02:59:35,600 --> 02:59:37,300 the possibility of 5973 02:59:37,300 --> 02:59:39,240 other pages to be 5974 02:59:39,240 --> 02:59:41,200 contagious and just to be 5975 02:59:41,200 --> 02:59:43,460 having malicious information is 5976 02:59:43,460 --> 02:59:45,020 just quite high. So just 5977 02:59:45,420 --> 02:59:46,940 use a trimmer and make it shorter. 5978 02:59:48,220 --> 02:59:49,140 This is an 5979 02:59:49,140 --> 02:59:50,900 example. I'm getting the URL, 5980 02:59:51,100 --> 02:59:53,300 I short it, and then 5981 02:59:53,300 --> 02:59:54,860 I have a scoring for 5982 02:59:55,170 --> 02:59:57,080 positives, avian 5983 02:59:57,080 --> 02:59:58,740 score, and URL threat score. 5984 02:59:59,380 --> 03:00:01,180 And this is just like an 5985 03:00:01,180 --> 03:00:01,620 example. 5986 03:00:03,150 --> 03:00:05,220 So live URL feed again is a 5987 03:00:05,220 --> 03:00:06,880 valuable API that is available 5988 03:00:06,880 --> 03:00:08,960 through VirusTotal and it 5989 03:00:08,960 --> 03:00:11,060 makes it possible to stay in 5990 03:00:11,060 --> 03:00:12,640 sync with VirusTotal. 5991 03:00:12,780 --> 03:00:14,740 Every URL that is being 5992 03:00:15,420 --> 03:00:16,980 evaluated on daily basis is 5993 03:00:16,980 --> 03:00:19,100 being analyzed by Zagros and 5994 03:00:19,100 --> 03:00:20,600 is being obtained and analyzed. 5995 03:00:20,900 --> 03:00:23,160 More than 3.7 million URLs 5996 03:00:23,160 --> 03:00:24,960 are getting evaluated and only 5997 03:00:24,960 --> 03:00:27,440 350K, meaning 9% 5998 03:00:27,440 --> 03:00:28,960 is getting detected 5999 03:00:28,960 --> 03:00:30,920 by Zagros. And 6000 03:00:30,920 --> 03:00:32,660 you could execute the script once 6001 03:00:33,140 --> 03:00:35,040 and minimum maintenance is 6002 03:00:35,040 --> 03:00:37,140 required. It's just going to run and 6003 03:00:37,140 --> 03:00:39,040 call the API every minute. 6004 03:00:40,060 --> 03:00:41,020 This is an 6005 03:00:41,020 --> 03:00:43,220 example of the URL that 6006 03:00:43,220 --> 03:00:44,800 was obtained. You see that 6007 03:00:45,420 --> 03:00:47,180 as I said, many 6008 03:00:47,180 --> 03:00:49,240 pages belonging to this particular 6009 03:00:49,240 --> 03:00:51,140 URL are having 6010 03:00:51,140 --> 03:00:53,200 malicious activities. And there 6011 03:00:53,200 --> 03:00:54,600 are some hashes 6012 03:00:55,110 --> 03:00:56,980 that correspond to this particular 6013 03:00:56,980 --> 03:00:59,260 URL. Just seeing as 6014 03:00:59,260 --> 03:01:01,260 this one, I thought that maybe I could get 6015 03:01:01,260 --> 03:01:03,100 malicious hashes through the 6016 03:01:03,100 --> 03:01:05,160 URLs that I'm getting so 6017 03:01:05,160 --> 03:01:07,400 that I would know that these hashes 6018 03:01:07,400 --> 03:01:09,220 are also malicious. So 6019 03:01:09,220 --> 03:01:11,640 what I've done is I extracted 6020 03:01:11,640 --> 03:01:13,320 the URLs that 6021 03:01:13,320 --> 03:01:14,820 were submitted to 6022 03:01:15,420 --> 03:01:17,280 Zagros to the database 6023 03:01:17,280 --> 03:01:18,340 and then 6024 03:01:19,250 --> 03:01:20,900 getting the list of the URLs, 6025 03:01:21,260 --> 03:01:22,920 I did the ITW 6026 03:01:22,920 --> 03:01:25,100 search, which is another VTI 6027 03:01:25,100 --> 03:01:27,180 search, and then got the list 6028 03:01:27,180 --> 03:01:29,240 of malicious hashes. Again, I'm 6029 03:01:29,240 --> 03:01:31,140 applying the 6030 03:01:31,140 --> 03:01:33,140 Zagros algorithm and you're 6031 03:01:33,140 --> 03:01:35,340 going to get the malicious hashes 6032 03:01:35,340 --> 03:01:36,480 actually in your database. 6033 03:01:38,180 --> 03:01:39,320 The storing method 6034 03:01:39,320 --> 03:01:41,320 exactly is the same, CSV file 6035 03:01:41,320 --> 03:01:43,060 or Mongo, but 6036 03:01:43,060 --> 03:01:45,220 the collection this time in Mongo 6037 03:01:45,420 --> 03:01:47,000 DB if you're using it is going to be 6038 03:01:47,000 --> 03:01:49,100 Zagros URL and for 6039 03:01:49,100 --> 03:01:50,900 CSV file is going to be just one 6040 03:01:51,220 --> 03:01:52,760 single file that you could specify. 6041 03:01:54,500 --> 03:01:55,300 Let's have a 6042 03:01:55,300 --> 03:01:57,260 demo. As I said, 6043 03:01:57,260 --> 03:01:59,040 we are very selective and 6044 03:01:59,040 --> 03:02:01,040 I just tried to show some of them 6045 03:02:01,040 --> 03:02:02,760 that I already extracted 6046 03:02:03,500 --> 03:02:04,540 using Zagros. 6047 03:02:04,800 --> 03:02:06,340 As I said, there are 6048 03:02:06,340 --> 03:02:08,700 a lot of 6049 03:02:09,420 --> 03:02:11,060 URLs being passed and only 6050 03:02:11,060 --> 03:02:12,440 some of them are being selected. 6051 03:02:12,680 --> 03:02:15,300 Every minute it is being called and 6052 03:02:15,420 --> 03:02:17,620 it's going to be in sync with VirusTotal 6053 03:02:17,620 --> 03:02:18,440 when you call it. 6054 03:02:21,160 --> 03:02:22,800 Quality controlling on data. 6055 03:02:23,120 --> 03:02:25,060 You know that today you are getting 6056 03:02:25,060 --> 03:02:27,320 a result from VirusTotal and tomorrow 6057 03:02:27,320 --> 03:02:29,160 probably it's going to be different. 6058 03:02:29,340 --> 03:02:31,120 Some AVN genes are detecting it malicious, 6059 03:02:31,300 --> 03:02:32,280 some of them are not. 6060 03:02:32,560 --> 03:02:35,220 I am saying that this data 6061 03:02:35,220 --> 03:02:37,120 you won't be able to go through 6062 03:02:37,120 --> 03:02:38,940 it on a daily basis. 6063 03:02:39,360 --> 03:02:41,700 Still, you are getting 350k 6064 03:02:41,700 --> 03:02:43,040 of samples 6065 03:02:43,040 --> 03:02:45,000 for some of the AVN 6066 03:02:45,420 --> 03:02:47,500 scripts and if you want to run all of them 6067 03:02:47,500 --> 03:02:49,440 it's going to be more than 700k 6068 03:02:49,440 --> 03:02:50,540 samples per day. 6069 03:02:51,480 --> 03:02:53,360 We have to be sort of accurate 6070 03:02:53,360 --> 03:02:55,220 and we have to make sure 6071 03:02:55,220 --> 03:02:55,940 that these are 6072 03:02:57,780 --> 03:02:59,340 malicious ones, not only 6073 03:02:59,340 --> 03:03:01,220 today but for 20 days 6074 03:03:01,220 --> 03:03:03,440 from now or one year from now. 6075 03:03:03,760 --> 03:03:04,820 What I do is 6076 03:03:05,240 --> 03:03:06,740 if you are using MongoDB 6077 03:03:07,340 --> 03:03:09,140 I'm aging the hashes and 6078 03:03:09,140 --> 03:03:09,560 URLs. 6079 03:03:11,200 --> 03:03:12,760 I'm getting the hashes 6080 03:03:12,760 --> 03:03:14,980 that have been stored in MongoDB 6081 03:03:15,420 --> 03:03:16,540 getting the list of them 6082 03:03:16,540 --> 03:03:18,200 and again I'm checking 6083 03:03:18,200 --> 03:03:20,860 through the algorithm 6084 03:03:20,860 --> 03:03:22,300 that is being used in Zagros. 6085 03:03:22,440 --> 03:03:23,520 I'm calling the report 6086 03:03:23,520 --> 03:03:26,520 and the report API getting the report 6087 03:03:26,520 --> 03:03:28,560 and then I'm just removing it 6088 03:03:28,560 --> 03:03:30,700 if it doesn't match with the Zagros 6089 03:03:30,700 --> 03:03:32,540 criteria and the minimum requirements. 6090 03:03:32,980 --> 03:03:34,800 Same thing applies for URL. 6091 03:03:35,000 --> 03:03:36,780 Getting the list of URLs 6092 03:03:36,780 --> 03:03:38,740 from Zagros 6093 03:03:39,140 --> 03:03:40,700 database and then 6094 03:03:40,700 --> 03:03:41,800 applying Zagros 6095 03:03:43,940 --> 03:03:45,160 algorithm on it 6096 03:03:45,420 --> 03:03:47,340 and it is going to 6097 03:03:47,340 --> 03:03:49,140 be deleted if it doesn't match the minimum 6098 03:03:49,140 --> 03:03:51,160 requirements. So that's sort of like the quality 6099 03:03:51,160 --> 03:03:53,360 control that I'm having and you can 6100 03:03:53,360 --> 03:03:53,760 go ahead. 6101 03:03:55,500 --> 03:03:57,040 How many of you guys 6102 03:03:57,040 --> 03:03:59,320 are going to get Zagros? 6103 03:04:00,640 --> 03:04:01,160 Yay! 6104 03:04:01,620 --> 03:04:02,140 Hey! 6105 03:04:02,680 --> 03:04:05,400 Okay, so it's 6106 03:04:05,400 --> 03:04:07,160 sort of, I'm saying and I'm claiming 6107 03:04:07,160 --> 03:04:08,580 that it's 100% accurate. 6108 03:04:08,940 --> 03:04:10,680 If it's not, let me know. 6109 03:04:11,780 --> 03:04:12,300 And 6110 03:04:12,820 --> 03:04:15,060 it makes it possible to get the latest 6111 03:04:15,420 --> 03:04:16,960 delicious hashes and URLs from 6112 03:04:16,960 --> 03:04:19,380 VirusTotal and you could use it for 6113 03:04:19,380 --> 03:04:20,760 feeding your cuckoo sandbox 6114 03:04:21,380 --> 03:04:23,220 or pass it to your QA 6115 03:04:23,220 --> 03:04:25,080 department. They are going to love it because 6116 03:04:25,080 --> 03:04:27,320 it's just generating hashes and 6117 03:04:27,320 --> 03:04:29,100 URLs that your system, 6118 03:04:29,180 --> 03:04:31,060 if you're using a device, it has to detect. 6119 03:04:31,380 --> 03:04:33,340 Either test it yourself or just pass 6120 03:04:33,340 --> 03:04:34,680 it to your QA department 6121 03:04:35,220 --> 03:04:37,320 and this can be a testing 6122 03:04:37,320 --> 03:04:38,000 tool as well. 6123 03:04:40,500 --> 03:04:41,320 This is the 6124 03:04:41,320 --> 03:04:42,380 GitHub that I promised. 6125 03:04:52,480 --> 03:04:54,700 Go ahead and download it and 6126 03:04:54,700 --> 03:04:57,060 if you have any questions, just let me know. 6127 03:04:57,940 --> 03:04:59,100 If you 6128 03:04:59,100 --> 03:05:01,000 want any particular functionality 6129 03:05:01,000 --> 03:05:03,260 to be added to it, I could 6130 03:05:03,260 --> 03:05:05,320 add it. The next thing that is 6131 03:05:05,320 --> 03:05:07,040 coming is I am getting 6132 03:05:07,040 --> 03:05:09,360 the live file feed and I'm 6133 03:05:09,360 --> 03:05:09,900 basically 6134 03:05:11,220 --> 03:05:13,160 creating a new collection 6135 03:05:13,160 --> 03:05:15,020 and inserting everything 6136 03:05:15,420 --> 03:05:16,900 on minute basis 6137 03:05:17,260 --> 03:05:19,180 in that database. That 6138 03:05:19,180 --> 03:05:21,060 database actually is going to be very 6139 03:05:21,060 --> 03:05:23,300 valuable because you are going to have the 6140 03:05:23,300 --> 03:05:25,140 full information that 6141 03:05:25,140 --> 03:05:27,260 is only going to be in 6142 03:05:27,260 --> 03:05:29,380 VirusTotal for 24 hours. 6143 03:05:29,600 --> 03:05:31,280 You can just get it and 6144 03:05:31,280 --> 03:05:33,260 live file feed, it has some keys 6145 03:05:33,260 --> 03:05:35,400 that only belong to live file feed. 6146 03:05:35,540 --> 03:05:36,240 So that is 6147 03:05:36,940 --> 03:05:39,240 coming soon because 6148 03:05:39,240 --> 03:05:41,100 today actually someone asked me, this morning 6149 03:05:41,100 --> 03:05:43,120 someone asked me. So if you want something 6150 03:05:43,120 --> 03:05:44,460 just go ahead and email me. 6151 03:05:45,780 --> 03:05:47,500 What you would need to use 6152 03:05:47,500 --> 03:05:49,280 Zagros, you would need a VT key, 6153 03:05:49,540 --> 03:05:51,120 you would need Python 6154 03:05:51,120 --> 03:05:52,380 2.76. 6155 03:05:52,980 --> 03:05:55,220 I actually tested it on Linux OS 6156 03:05:55,920 --> 03:05:57,340 so I don't know 6157 03:05:57,340 --> 03:05:58,840 it should work on Unix but 6158 03:06:00,640 --> 03:06:01,560 Python modules 6159 03:06:01,560 --> 03:06:03,100 to download are listed here 6160 03:06:03,960 --> 03:06:05,280 and if you want to use 6161 03:06:05,280 --> 03:06:07,040 MongoDB, just go ahead and use it. 6162 03:06:07,200 --> 03:06:09,260 You could use it and if you plan 6163 03:06:09,260 --> 03:06:11,340 to use it for long term, I would suggest 6164 03:06:11,340 --> 03:06:13,540 to use MongoDB because you would be able to age it. 6165 03:06:14,920 --> 03:06:15,400 Configuring 6166 03:06:15,420 --> 03:06:17,460 file. The only thing after downloading 6167 03:06:17,460 --> 03:06:19,200 the file that you are going to use 6168 03:06:19,200 --> 03:06:21,120 and you need to modify 6169 03:06:21,120 --> 03:06:21,900 is this page. 6170 03:06:23,360 --> 03:06:25,160 Enter the VT key here 6171 03:06:25,820 --> 03:06:27,080 because you would need it 6172 03:06:27,080 --> 03:06:29,300 and you would need the license from VirusTotal 6173 03:06:29,300 --> 03:06:30,140 a private one. 6174 03:06:32,220 --> 03:06:33,180 CSV file 6175 03:06:33,180 --> 03:06:35,380 the directories, you could define it here 6176 03:06:35,380 --> 03:06:36,320 if you wanted to 6177 03:06:36,320 --> 03:06:38,440 use actually CSV 6178 03:06:39,000 --> 03:06:41,100 or you can just leave it here if you like 6179 03:06:41,100 --> 03:06:41,900 these directories. 6180 03:06:43,320 --> 03:06:45,280 To download the files you can 6181 03:06:45,420 --> 03:06:46,960 specify the data directory 6182 03:06:46,960 --> 03:06:48,200 that you are going to download. 6183 03:06:49,840 --> 03:06:51,080 If you want to 6184 03:06:52,500 --> 03:06:53,620 use MongoDB 6185 03:06:53,620 --> 03:06:54,940 go ahead and just 6186 03:06:54,940 --> 03:06:57,320 enable it. This is already 6187 03:06:57,320 --> 03:06:58,400 enabled but 6188 03:06:58,400 --> 03:07:01,380 in the tool that you are getting is disabled 6189 03:07:01,380 --> 03:07:03,240 so you only need to just make it 6190 03:07:03,240 --> 03:07:05,160 one and then specify the 6191 03:07:05,160 --> 03:07:06,740 IP address of your server 6192 03:07:06,740 --> 03:07:08,580 of MongoDB and the port 6193 03:07:08,580 --> 03:07:10,520 and boom! 6194 03:07:11,160 --> 03:07:11,560 It's done! 6195 03:07:14,500 --> 03:07:15,300 So this 6196 03:07:15,420 --> 03:07:16,460 are the resources that 6197 03:07:16,460 --> 03:07:19,260 I used for my tool 6198 03:07:21,960 --> 03:07:23,380 and this is me 6199 03:07:25,260 --> 03:07:26,620 So any questions? 6200 03:07:27,460 --> 03:07:28,200 Thank you 6201 03:07:39,020 --> 03:07:41,100 I can't hear you. Do you want to 6202 03:07:42,200 --> 03:07:43,060 let me just 6203 03:07:43,060 --> 03:07:43,780 come in the crowd 6204 03:07:49,460 --> 03:07:50,180 please? 6205 03:07:50,280 --> 03:07:51,420 Is there any 6206 03:07:51,420 --> 03:07:53,160 way to manipulate 6207 03:07:53,160 --> 03:07:54,920 the scoring based on 6208 03:07:54,920 --> 03:07:57,060 select random 6209 03:07:57,060 --> 03:07:59,220 AV engines? Let's say I want 6210 03:07:59,220 --> 03:07:59,340 to 6211 03:08:01,100 --> 03:08:02,820 just select five 6212 03:08:02,820 --> 03:08:05,360 AV engines like Symantec, McAfee 6213 03:08:05,360 --> 03:08:06,080 all that stuff 6214 03:08:07,120 --> 03:08:09,400 and only those I want to manipulate 6215 03:08:09,400 --> 03:08:11,280 is it flexible enough to let you 6216 03:08:11,280 --> 03:08:11,600 do that? 6217 03:08:13,640 --> 03:08:15,400 First question, are you going to 6218 03:08:15,420 --> 03:08:16,020 use Python? 6219 03:08:17,780 --> 03:08:19,300 Okay good, so yeah 6220 03:08:19,300 --> 03:08:21,460 go ahead and just open the file 6221 03:08:21,460 --> 03:08:23,260 and I'm 6222 03:08:23,260 --> 03:08:25,400 going to pass you the name of the file 6223 03:08:25,400 --> 03:08:27,420 it's VirusTotalDataAnalyzer 6224 03:08:28,500 --> 03:08:29,220 it's under 6225 03:08:29,220 --> 03:08:30,020 BIM directory 6226 03:08:30,660 --> 03:08:33,120 and then go ahead and just open it 6227 03:08:33,120 --> 03:08:34,780 and specify an if condition 6228 03:08:34,780 --> 03:08:37,220 list the name of URLs that you are 6229 03:08:37,220 --> 03:08:39,080 the name of AV engines 6230 03:08:39,080 --> 03:08:41,300 that you are interested and it's going to 6231 03:08:41,300 --> 03:08:43,280 do the job. You have to add 6232 03:08:43,280 --> 03:08:45,320 the if condition. If you want I can 6233 03:08:45,420 --> 03:08:47,220 show it to you after, like we can go 6234 03:08:47,220 --> 03:08:49,140 and then I can show it to you. Next 6235 03:08:49,140 --> 03:08:49,820 question 6236 03:08:55,080 --> 03:08:57,240 Hi I was wondering how large 6237 03:08:57,240 --> 03:08:59,060 of a VTI license 6238 03:08:59,060 --> 03:09:00,500 you need to do the live feed 6239 03:09:03,340 --> 03:09:05,380 I'm using what my company 6240 03:09:05,380 --> 03:09:06,960 actually provided for me and 6241 03:09:06,960 --> 03:09:08,940 it's a private key that I'm using 6242 03:09:10,080 --> 03:09:11,280 so you can try 6243 03:09:11,280 --> 03:09:13,220 with other option but this is a private 6244 03:09:13,220 --> 03:09:15,240 key. For live file feed I'm pretty sure that you 6245 03:09:15,420 --> 03:09:16,620 would need a full 6246 03:09:17,120 --> 03:09:17,600 private 6247 03:09:17,600 --> 03:09:22,760 I believe it's 6248 03:09:22,760 --> 03:09:25,060 based on yearly basis but again 6249 03:09:25,060 --> 03:09:26,920 this is a key that my company is providing 6250 03:09:26,920 --> 03:09:29,320 and I believe that we are 6251 03:09:29,320 --> 03:09:30,660 paying on yearly basis 6252 03:09:30,660 --> 03:09:33,360 but go ahead and contact VirusTotal 6253 03:09:33,360 --> 03:09:35,400 and just ask for them for the API's 6254 03:09:35,400 --> 03:09:37,320 because I told you the list of the API's 6255 03:09:38,040 --> 03:09:39,300 so for those that 6256 03:09:39,300 --> 03:09:41,300 you want to run it's just like 6257 03:09:41,300 --> 03:09:42,640 going to run the ones that 6258 03:09:43,600 --> 03:09:45,280 you have the license just 6259 03:09:45,420 --> 03:09:46,780 select the scripts 6260 03:09:47,420 --> 03:09:48,140 based on the 6261 03:09:49,740 --> 03:09:50,260 API's 6262 03:09:52,220 --> 03:09:53,460 So this is 6263 03:09:53,460 --> 03:09:55,320 kind of an add on to his question I think 6264 03:09:55,320 --> 03:09:57,440 you said it checks once a minute 6265 03:09:57,440 --> 03:09:58,880 each of those things? Yes 6266 03:09:58,880 --> 03:10:01,060 Is that configurable so you could have it check 6267 03:10:01,060 --> 03:10:02,980 once an hour or once a day? 6268 03:10:03,820 --> 03:10:05,280 Okay guys it's 6269 03:10:05,280 --> 03:10:06,600 open source it's available 6270 03:10:06,600 --> 03:10:09,400 and feel free to go ahead and just change 6271 03:10:09,400 --> 03:10:10,940 it as you want. Right now 6272 03:10:11,520 --> 03:10:12,660 it's one minute 6273 03:10:12,660 --> 03:10:15,100 so 60 seconds is the interval 6274 03:10:15,420 --> 03:10:16,840 go ahead and change it but 6275 03:10:16,840 --> 03:10:19,200 the amount of file that it has to process 6276 03:10:19,200 --> 03:10:20,680 is going to expand you know 6277 03:10:21,880 --> 03:10:23,180 so it's just up to you 6278 03:10:23,180 --> 03:10:25,360 but it's just going to run in the background so 6279 03:10:25,360 --> 03:10:27,420 just run it in the background 6280 03:10:27,420 --> 03:10:29,340 have a MongoDB and it's going to do 6281 03:10:29,340 --> 03:10:29,740 the job 6282 03:10:32,180 --> 03:10:32,620 VirusTotal 6283 03:10:33,240 --> 03:10:35,200 generally charges you based on the number of 6284 03:10:35,200 --> 03:10:37,180 queries you make not the 6285 03:10:37,180 --> 03:10:39,480 size of the query so if you were making one a day 6286 03:10:39,480 --> 03:10:41,080 it could reduce your license cost 6287 03:10:41,080 --> 03:10:43,440 You could make it 24 hours 6288 03:10:43,440 --> 03:10:44,900 in that case yeah sure 6289 03:10:45,420 --> 03:10:47,280 but make it 24 hours for live 6290 03:10:47,280 --> 03:10:49,340 file feed because other than that 6291 03:10:49,340 --> 03:10:51,100 it's going to be just deleted for that day 6292 03:10:51,100 --> 03:10:52,120 you don't want it 6293 03:10:52,120 --> 03:10:57,420 I think my question was partially 6294 03:10:57,420 --> 03:10:59,080 answered by some of the other questions 6295 03:10:59,080 --> 03:11:01,340 Is there like a configuration file 6296 03:11:01,340 --> 03:11:03,000 where you can plug in your own API key 6297 03:11:03,000 --> 03:11:05,340 I'm assuming something like that is available 6298 03:11:07,280 --> 03:11:09,480 So the config file if you guys 6299 03:11:09,480 --> 03:11:11,360 go and just look at the config file 6300 03:11:11,360 --> 03:11:12,820 let me just show it to you 6301 03:11:12,820 --> 03:11:15,260 it's just like one file that you would need to open 6302 03:11:15,420 --> 03:11:17,040 you just download 6303 03:11:17,040 --> 03:11:19,320 the scripts and the 6304 03:11:19,320 --> 03:11:21,180 package that comes with the 6305 03:11:21,180 --> 03:11:23,160 library and then the 6306 03:11:23,160 --> 03:11:23,640 source file 6307 03:11:24,820 --> 03:11:27,480 and the only thing that you would need to do 6308 03:11:27,480 --> 03:11:29,160 is just like going to this page 6309 03:11:29,160 --> 03:11:31,180 and the config page and you just 6310 03:11:31,180 --> 03:11:32,740 change it so that's it 6311 03:11:32,740 --> 03:11:35,480 and the only only thing that you really 6312 03:11:35,480 --> 03:11:36,660 do need is 6313 03:11:37,340 --> 03:11:39,260 adding VirusTotal 6314 03:11:39,260 --> 03:11:41,240 key that's mandatory 6315 03:11:41,240 --> 03:11:42,620 and it's going to work 6316 03:11:43,360 --> 03:11:44,660 If you want to 6317 03:11:44,660 --> 03:11:46,560 have a MongoDB then go ahead and just 6318 03:11:46,560 --> 03:11:48,520 add the IP address of the MongoDB 6319 03:11:48,520 --> 03:11:49,620 More questions? 6320 03:11:52,760 --> 03:11:54,340 So have you thought about 6321 03:11:54,340 --> 03:11:56,540 how you might be able to age 6322 03:11:56,540 --> 03:11:58,500 the URLs that are pulled in because I mean 6323 03:11:58,500 --> 03:12:00,260 obviously people are going to fix their URLs 6324 03:12:00,260 --> 03:12:01,220 over time hopefully 6325 03:12:03,020 --> 03:12:04,360 So right now 6326 03:12:04,360 --> 03:12:06,320 I'm getting the reports so I'm just getting 6327 03:12:06,320 --> 03:12:08,660 the list of URLs that I already 6328 03:12:08,660 --> 03:12:09,840 grabbed from 6329 03:12:10,380 --> 03:12:11,960 VirusTotal and it's in the database 6330 03:12:12,620 --> 03:12:14,100 and then I'm 6331 03:12:14,540 --> 03:12:16,300 calling the report for URL 6332 03:12:16,300 --> 03:12:18,780 and getting the report from VirusTotal 6333 03:12:18,780 --> 03:12:20,520 and then again applying the 6334 03:12:20,520 --> 03:12:22,220 Zagros algorithm to it 6335 03:12:22,220 --> 03:12:24,560 so that's basically how it's done 6336 03:12:24,560 --> 03:12:26,140 it is rechecking 6337 03:12:26,140 --> 03:12:28,280 every day it is rechecking so 6338 03:12:28,280 --> 03:12:29,020 that is done 6339 03:12:33,600 --> 03:12:34,560 I'm interested 6340 03:12:34,560 --> 03:12:36,580 in actually using your scoring algorithms 6341 03:12:36,580 --> 03:12:38,400 with other data ingests for 6342 03:12:38,400 --> 03:12:40,060 hashes have you put any thought into 6343 03:12:40,300 --> 03:12:42,300 other sources outside of VirusTotal 6344 03:12:42,620 --> 03:12:44,660 that we can pull hashes 6345 03:12:44,660 --> 03:12:45,260 into I guess 6346 03:12:47,020 --> 03:12:48,460 So in that case 6347 03:12:48,460 --> 03:12:50,440 you would need to call the report API 6348 03:12:52,200 --> 03:12:54,260 currently my scripts are not doing that 6349 03:12:54,260 --> 03:12:56,100 but there is a function available in 6350 03:12:56,360 --> 03:12:57,720 the script that I 6351 03:12:57,720 --> 03:12:59,360 in the library 6352 03:13:00,280 --> 03:13:02,380 it's again called VirusTotal 6353 03:13:02,380 --> 03:13:03,920 data mining analyzer 6354 03:13:04,540 --> 03:13:05,540 it's the report 6355 03:13:05,540 --> 03:13:07,480 get all reports 6356 03:13:07,480 --> 03:13:10,540 with option one is added and what it does 6357 03:13:10,540 --> 03:13:12,600 is you will pass the hashes 6358 03:13:12,620 --> 03:13:14,580 into it you can just go ahead and open it 6359 03:13:14,580 --> 03:13:15,600 and then call the function 6360 03:13:15,600 --> 03:13:18,520 and then it passes you pass the hash 6361 03:13:18,520 --> 03:13:20,420 and it's going to give you the JSON report 6362 03:13:20,420 --> 03:13:22,560 now you can call the functions 6363 03:13:22,560 --> 03:13:24,200 that it just like parses the 6364 03:13:24,200 --> 03:13:26,480 JSON and you can just apply the 6365 03:13:26,480 --> 03:13:27,760 algorithm that is done 6366 03:13:27,760 --> 03:13:30,420 if you want email me and I can just 6367 03:13:30,420 --> 03:13:31,340 pass you a script 6368 03:13:34,380 --> 03:13:36,600 So I noticed when you were talking about hashes 6369 03:13:36,600 --> 03:13:38,200 you were using multiple different API calls 6370 03:13:38,200 --> 03:13:40,040 for different things such as clustering 6371 03:13:40,480 --> 03:13:41,920 and factoring and that kind of thing 6372 03:13:42,620 --> 03:13:44,240 I'm not that familiar with the 6373 03:13:44,240 --> 03:13:45,620 VirusTotal API calls 6374 03:13:45,620 --> 03:13:47,340 are those actually getting you different hashes 6375 03:13:47,340 --> 03:13:48,960 or are they just presenting them in a different format 6376 03:13:48,960 --> 03:13:51,800 So according to VirusTotal 6377 03:13:52,560 --> 03:13:54,660 this clustering is done based on 6378 03:13:54,660 --> 03:13:55,540 similar tool 6379 03:13:55,540 --> 03:13:57,560 they didn't provide the algorithm 6380 03:13:57,560 --> 03:13:59,000 that they actually used 6381 03:13:59,000 --> 03:14:00,340 but they say that it's working 6382 03:14:00,340 --> 03:14:02,020 so I started using it 6383 03:14:02,020 --> 03:14:04,780 and the reason that I think that no one is using it 6384 03:14:04,780 --> 03:14:07,100 is because there was some issue in the documentation 6385 03:14:07,100 --> 03:14:09,600 and apparently I was the only one 6386 03:14:09,600 --> 03:14:11,240 who started using it 6387 03:14:12,620 --> 03:14:13,440 so that's why I'm saying 6388 03:14:13,440 --> 03:14:15,320 but go ahead and just use it 6389 03:14:15,320 --> 03:14:17,700 the good thing about it is that 6390 03:14:17,700 --> 03:14:19,560 they use some algorithm 6391 03:14:19,560 --> 03:14:21,520 they say that it's based on file type 6392 03:14:21,520 --> 03:14:22,400 and similar to 6393 03:14:22,400 --> 03:14:24,980 but they're not just openly describing it 6394 03:14:24,980 --> 03:14:27,620 they have some nice file types 6395 03:14:27,620 --> 03:14:30,620 like PE, PDF, DOC, RTF 6396 03:14:30,620 --> 03:14:32,320 so these are the ones that are 6397 03:14:33,060 --> 03:14:34,020 mainly malicious 6398 03:14:34,520 --> 03:14:35,900 you can just go ahead and get it 6399 03:14:35,900 --> 03:14:37,100 and then what you could do is 6400 03:14:37,100 --> 03:14:39,660 you can run a download 6401 03:14:39,660 --> 03:14:41,640 the download is not just 6402 03:14:42,620 --> 03:14:43,720 a file from VirusTotal 6403 03:14:43,720 --> 03:14:46,000 it's just like I'm calling another command 6404 03:14:46,000 --> 03:14:46,960 and another function 6405 03:14:46,960 --> 03:14:50,100 and it's extracting the files that have been embedded 6406 03:14:50,620 --> 03:14:51,940 in that particular file 6407 03:14:51,940 --> 03:14:54,300 so it just does a little bit extra 6408 03:14:54,300 --> 03:14:55,700 than VirusTotal does for you 6409 03:14:55,700 --> 03:14:57,280 so just go ahead and use it 6410 03:14:57,280 --> 03:14:58,680 any more information? 6411 03:15:01,020 --> 03:15:01,580 nothing? 6412 03:15:01,900 --> 03:15:03,340 thank you so much for coming 6413 03:15:03,340 --> 03:15:06,760 just give me feedback for the tool 6414 03:15:06,760 --> 03:15:08,900 and if there is anything that you feel 6415 03:15:08,900 --> 03:15:10,860 you would need to be added 6416 03:15:10,860 --> 03:15:12,440 I promise to 6417 03:15:12,620 --> 03:15:13,180 add it somehow 6418 03:15:13,180 --> 03:15:15,560 just check it with my boss 6419 03:15:15,560 --> 03:15:17,060 and then I'm going to add it 6420 03:15:17,060 --> 03:15:17,220 sure 6421 03:15:18,180 --> 03:15:19,600 ok thank you guys 6422 03:15:23,240 --> 03:15:24,660 Gita, pleasure to meet you 6423 03:15:24,660 --> 03:15:25,640 thank you so much 6424 03:15:25,640 --> 03:15:26,600 thank you 6425 03:15:26,600 --> 03:15:28,980 so one final time 6426 03:15:28,980 --> 03:15:30,040 Gita Diabari 6427 03:15:35,020 --> 03:15:36,860 alright looks like everybody is up here 6428 03:15:36,860 --> 03:15:37,780 so 6429 03:15:39,360 --> 03:15:39,860 hi 6430 03:15:42,620 --> 03:15:44,080 I'm going to be talking about Fiddler today 6431 03:15:44,760 --> 03:15:46,120 it's a really awesome tool 6432 03:15:46,120 --> 03:15:47,320 you should definitely learn 6433 03:15:47,860 --> 03:15:49,900 we'll be looking at a more practical set of tools 6434 03:15:49,900 --> 03:15:52,740 all the way up to building your own extension 6435 03:15:52,740 --> 03:15:54,100 but we'll get to that later 6436 03:15:55,760 --> 03:15:56,560 first a little 6437 03:15:56,560 --> 03:15:57,200 about me 6438 03:15:58,360 --> 03:15:59,580 I yell at people 6439 03:15:59,580 --> 03:16:00,800 or at least try to 6440 03:16:01,520 --> 03:16:03,740 I'm a student at the University of New Mexico 6441 03:16:05,180 --> 03:16:06,060 and I 6442 03:16:06,060 --> 03:16:07,340 run a fake phone company 6443 03:16:07,920 --> 03:16:09,700 because doesn't everybody run a fake phone company 6444 03:16:10,200 --> 03:16:12,280 and I could use a job next summer 6445 03:16:12,620 --> 03:16:14,560 if anybody in the Pacific Northwest 6446 03:16:14,560 --> 03:16:16,520 specifically greater than the Seattle area 6447 03:16:16,520 --> 03:16:18,060 is looking for people like me 6448 03:16:18,680 --> 03:16:19,760 you can yell at me at Twitter 6449 03:16:20,400 --> 03:16:22,100 I'm on the internet and I have a GitHub 6450 03:16:24,720 --> 03:16:26,360 so we're going to talk a little bit 6451 03:16:26,960 --> 03:16:28,120 kind of based off of this 6452 03:16:28,120 --> 03:16:29,760 we're going to give a little history 6453 03:16:30,280 --> 03:16:31,880 we're going to talk about what Fiddler is 6454 03:16:31,880 --> 03:16:33,120 from a fundamental perspective 6455 03:16:33,540 --> 03:16:34,600 what it isn't 6456 03:16:35,540 --> 03:16:38,020 we're going to go over some of the really basic usage 6457 03:16:38,980 --> 03:16:40,380 including actually spoofing 6458 03:16:40,380 --> 03:16:42,540 requests through Fiddler 6459 03:16:42,620 --> 03:16:44,500 we're going to talk about 6460 03:16:44,500 --> 03:16:46,140 modification of requests 6461 03:16:46,140 --> 03:16:47,680 outside of 6462 03:16:47,680 --> 03:16:50,000 oh look replace this with this 6463 03:16:50,820 --> 03:16:52,720 and then we're actually 6464 03:16:52,720 --> 03:16:54,040 going to bake an extension 6465 03:16:56,060 --> 03:16:56,880 finishing up 6466 03:16:56,880 --> 03:16:58,440 this talk is going to have three 6467 03:16:58,440 --> 03:17:00,360 kind of perspectives 6468 03:17:00,360 --> 03:17:02,480 one from the reverse engineering 6469 03:17:02,480 --> 03:17:04,200 and intelligence perspective 6470 03:17:04,200 --> 03:17:05,940 one from the attack perspective 6471 03:17:05,940 --> 03:17:08,140 and one from the I'm a web dev 6472 03:17:08,140 --> 03:17:09,700 how do I not screw this up 6473 03:17:10,590 --> 03:17:10,900 perspective 6474 03:17:12,620 --> 03:17:12,860 yeah 6475 03:17:14,520 --> 03:17:16,020 so a little history about Fiddler 6476 03:17:16,020 --> 03:17:18,680 Fiddler was started by Eric Lawrence in 2003 6477 03:17:18,680 --> 03:17:20,980 as a way to debug IE 6478 03:17:20,980 --> 03:17:22,920 seriously they didn't have a good way 6479 03:17:22,920 --> 03:17:24,080 Wireshark wasn't 6480 03:17:24,620 --> 03:17:26,520 actually a thing on Windows at the time 6481 03:17:26,520 --> 03:17:28,560 and so they needed a way to 6482 03:17:28,560 --> 03:17:30,060 hook into IE 6483 03:17:30,060 --> 03:17:32,620 at the time a proxy was the way that you did that 6484 03:17:35,000 --> 03:17:36,600 now Fiddler in 2012 6485 03:17:36,600 --> 03:17:38,000 was picked up by Telerik 6486 03:17:38,000 --> 03:17:40,080 along with Eric Lawrence 6487 03:17:40,620 --> 03:17:41,480 in 2015 6488 03:17:42,620 --> 03:17:44,300 Telerik came off to do work on Chrome 6489 03:17:44,300 --> 03:17:46,240 and decided that was more fun 6490 03:17:46,240 --> 03:17:48,460 but Telerik gives away 6491 03:17:48,460 --> 03:17:50,040 in the same vein 6492 03:17:50,040 --> 03:17:51,760 as it has always been Fiddler 6493 03:17:51,760 --> 03:17:54,300 they sell support and will help you 6494 03:17:54,300 --> 03:17:55,140 bake your own stuff 6495 03:17:58,500 --> 03:18:00,640 so what is Fiddler 6496 03:18:02,920 --> 03:18:04,000 it's a proxy 6497 03:18:04,000 --> 03:18:05,400 a lot like minim proxy 6498 03:18:05,400 --> 03:18:07,140 parts of burp suite etc 6499 03:18:07,140 --> 03:18:10,400 it's not the best 6500 03:18:10,400 --> 03:18:12,080 but it's really useful 6501 03:18:13,080 --> 03:18:14,780 it's half a web server 6502 03:18:14,780 --> 03:18:16,900 in that it kinda spoofs things 6503 03:18:16,900 --> 03:18:18,480 it can return specific 6504 03:18:18,480 --> 03:18:19,420 responses 6505 03:18:21,200 --> 03:18:22,160 if you 6506 03:18:22,160 --> 03:18:23,320 don't extend it 6507 03:18:25,600 --> 03:18:26,640 but let's 6508 03:18:26,640 --> 03:18:28,280 more specifically talk about what 6509 03:18:28,280 --> 03:18:29,780 Fiddler really isn't 6510 03:18:31,280 --> 03:18:32,880 it's not a packet capture tool 6511 03:18:32,880 --> 03:18:34,060 it isn't Wireshark 6512 03:18:34,060 --> 03:18:35,400 it's not Edercap 6513 03:18:35,400 --> 03:18:37,860 you are not living in TCP land 6514 03:18:37,860 --> 03:18:39,240 you are living in HTTP 6515 03:18:39,900 --> 03:18:42,080 people shove all sorts of weird shit over HTTP 6516 03:18:42,620 --> 03:18:43,240 get used to it 6517 03:18:44,080 --> 03:18:46,580 and it's not a replacement for the tool you know 6518 03:18:46,580 --> 03:18:48,560 you know your tools 6519 03:18:48,560 --> 03:18:49,180 cool 6520 03:18:49,180 --> 03:18:50,940 keep using them 6521 03:18:50,940 --> 03:18:52,700 keep learning new tools 6522 03:18:53,540 --> 03:18:55,760 you probably have all these cool scripts 6523 03:18:55,760 --> 03:18:57,020 that you kept in the background 6524 03:18:57,020 --> 03:18:59,100 for like minim proxy and SSL strip 6525 03:18:59,100 --> 03:19:00,280 and all these cool things 6526 03:19:00,280 --> 03:19:01,320 keep using those 6527 03:19:03,300 --> 03:19:06,060 this is one way that you can help attack 6528 03:19:06,620 --> 03:19:08,300 specifically applications running 6529 03:19:08,300 --> 03:19:09,100 on your local machine 6530 03:19:11,520 --> 03:19:12,540 so let's look at 6531 03:19:12,620 --> 03:19:14,380 how it normally is used 6532 03:19:14,380 --> 03:19:16,060 a basic everyday proxy 6533 03:19:18,520 --> 03:19:18,960 so 6534 03:19:20,260 --> 03:19:21,500 I'm gonna pull up Fiddler here 6535 03:19:21,500 --> 03:19:24,440 and I've been running Fiddler for just a couple of minutes 6536 03:19:25,700 --> 03:19:26,680 you will notice 6537 03:19:27,740 --> 03:19:28,480 is it coming up? 6538 03:19:28,900 --> 03:19:29,920 oh come on 6539 03:19:32,680 --> 03:19:33,120 oh 6540 03:19:35,980 --> 03:19:36,840 do we get it? 6541 03:19:37,260 --> 03:19:37,700 hey 6542 03:19:39,040 --> 03:19:39,480 alright 6543 03:19:42,620 --> 03:19:44,400 so this is the main interface to Fiddler 6544 03:19:44,400 --> 03:19:46,840 on the left we have a large list 6545 03:19:46,840 --> 03:19:48,380 of requests 6546 03:19:48,380 --> 03:19:49,380 that have gone through 6547 03:19:50,940 --> 03:19:52,260 and a tab view 6548 03:19:52,260 --> 03:19:54,180 you can actually modify this however you want 6549 03:19:54,180 --> 03:19:54,940 I'm not going to 6550 03:19:57,060 --> 03:19:58,000 drag this over 6551 03:19:58,700 --> 03:19:59,400 come on 6552 03:20:01,300 --> 03:20:02,920 and if you've ever used 6553 03:20:03,860 --> 03:20:05,020 PCAP mining tools 6554 03:20:05,020 --> 03:20:07,220 this might look a little familiar to you 6555 03:20:09,040 --> 03:20:10,860 probably a lot of them got them from this 6556 03:20:10,860 --> 03:20:11,780 so 6557 03:20:12,620 --> 03:20:14,500 let's look for a good HDP request 6558 03:20:15,120 --> 03:20:16,040 ah here 6559 03:20:16,040 --> 03:20:18,980 so here is a bog standard HDP request 6560 03:20:18,980 --> 03:20:21,360 to billing.zybotsutel.net 6561 03:20:21,360 --> 03:20:22,700 it was 6562 03:20:22,700 --> 03:20:24,060 for the root 6563 03:20:24,540 --> 03:20:25,940 it asked for no cache 6564 03:20:26,380 --> 03:20:28,020 it wanted HTML 6565 03:20:29,380 --> 03:20:30,640 and didn't have 6566 03:20:30,640 --> 03:20:32,100 anything particularly interesting to say 6567 03:20:32,400 --> 03:20:33,240 other than a user agent 6568 03:20:35,340 --> 03:20:36,700 we can look at that 6569 03:20:36,700 --> 03:20:38,680 if there was post data included in this 6570 03:20:38,680 --> 03:20:39,600 and we'll get to post data 6571 03:20:39,600 --> 03:20:42,460 you can see quite a bit 6572 03:20:43,040 --> 03:20:43,600 specifically 6573 03:20:44,560 --> 03:20:46,220 if we go over here to web forms 6574 03:20:46,220 --> 03:20:47,300 hey look 6575 03:20:47,300 --> 03:20:48,300 there's web forms 6576 03:20:49,160 --> 03:20:51,580 we are going to log in 6577 03:20:51,580 --> 03:20:53,380 to this fictitious billing system 6578 03:20:55,020 --> 03:20:55,900 so over here 6579 03:20:55,900 --> 03:20:57,560 we're going to log in 6580 03:21:00,140 --> 03:21:01,700 and if the internet 6581 03:21:01,700 --> 03:21:03,500 gods like me 6582 03:21:03,500 --> 03:21:04,740 we should get 6583 03:21:05,380 --> 03:21:06,380 at least something 6584 03:21:11,840 --> 03:21:13,040 come on 6585 03:21:17,780 --> 03:21:19,580 now the cool thing about this 6586 03:21:19,580 --> 03:21:21,740 is we actually can already see 6587 03:21:21,740 --> 03:21:22,760 fiddler 6588 03:21:23,520 --> 03:21:24,460 intercepting the request here 6589 03:21:24,460 --> 03:21:25,640 at the very bottom 6590 03:21:25,640 --> 03:21:27,480 we actually see that we got a 502 6591 03:21:28,240 --> 03:21:30,000 and it timed out 6592 03:21:32,060 --> 03:21:32,960 fiddler is 6593 03:21:32,960 --> 03:21:34,280 unfortunately leaky 6594 03:21:35,440 --> 03:21:36,260 you can 6595 03:21:36,940 --> 03:21:38,060 turn these off 6596 03:21:39,600 --> 03:21:41,480 it's very helpful if you're trying to figure out what's going on 6597 03:21:44,020 --> 03:21:45,300 are the internet gods 6598 03:21:45,300 --> 03:21:46,380 going to like me 6599 03:21:47,980 --> 03:21:48,420 back 6600 03:21:50,700 --> 03:21:51,140 no 6601 03:21:51,140 --> 03:21:52,360 the internet does not like me 6602 03:21:52,360 --> 03:21:55,300 anyway if we log in we would see post requests 6603 03:21:55,740 --> 03:21:56,620 I unfortunately 6604 03:21:57,640 --> 03:21:59,420 don't have anything good I think 6605 03:22:01,120 --> 03:22:01,680 is there 6606 03:22:01,680 --> 03:22:02,320 oh here we go 6607 03:22:02,320 --> 03:22:04,440 so this is actually an HTTPS request 6608 03:22:04,440 --> 03:22:05,500 and we'll get to how that works 6609 03:22:06,040 --> 03:22:07,400 we are requesting 6610 03:22:09,600 --> 03:22:11,040 50 items from reddit 6611 03:22:11,040 --> 03:22:12,840 this is I think baconit running in the background 6612 03:22:13,800 --> 03:22:14,280 and 6613 03:22:16,140 --> 03:22:17,400 it's asking for bot json 6614 03:22:17,400 --> 03:22:19,240 so that's cool I guess 6615 03:22:22,580 --> 03:22:23,620 and this gets to 6616 03:22:24,400 --> 03:22:25,500 how fiddler does 6617 03:22:25,500 --> 03:22:26,380 HTTPS intercept 6618 03:22:27,520 --> 03:22:29,500 if you're seeing that you should not be 6619 03:22:29,500 --> 03:22:30,860 seeing that you should be seeing that 6620 03:22:33,500 --> 03:22:35,640 fiddler can intercept HTTPS requests 6621 03:22:35,640 --> 03:22:37,100 it does this 6622 03:22:37,100 --> 03:22:38,840 by owning your system 6623 03:22:39,600 --> 03:22:41,120 it installs a local root certificate 6624 03:22:41,120 --> 03:22:43,660 and will then be able to intercept 6625 03:22:43,660 --> 03:22:45,060 calls coming in 6626 03:22:45,460 --> 03:22:46,940 fake out what the application 6627 03:22:47,680 --> 03:22:49,500 like edge or anything else 6628 03:22:49,500 --> 03:22:49,940 is seeing 6629 03:22:51,640 --> 03:22:53,500 and it looks like this 6630 03:22:54,140 --> 03:22:55,700 you get your normal HTTPS 6631 03:22:55,700 --> 03:22:56,940 connect which looks like a tunnel 6632 03:22:56,940 --> 03:22:57,960 to the proxy 6633 03:22:57,960 --> 03:22:59,580 it says hey that looks like it's HTTPS 6634 03:22:59,580 --> 03:23:03,460 so it goes and tries to actually make a real connection 6635 03:23:03,460 --> 03:23:05,360 that must otherwise be valid 6636 03:23:05,360 --> 03:23:06,800 to the machine fiddler is running on 6637 03:23:07,620 --> 03:23:09,440 it then mimics 6638 03:23:09,600 --> 03:23:11,340 as close as possible a fake cert 6639 03:23:11,340 --> 03:23:12,720 that it owns 6640 03:23:12,720 --> 03:23:14,480 and then it intercepts the hell out of it 6641 03:23:15,120 --> 03:23:17,640 this is a great way to spot cert pinning 6642 03:23:17,640 --> 03:23:18,600 which is 6643 03:23:19,560 --> 03:23:20,440 really interesting 6644 03:23:20,440 --> 03:23:22,720 how many people here are familiar with HTTPS 6645 03:23:22,720 --> 03:23:25,460 and how web of trust and all that kind of fun stuff works 6646 03:23:25,460 --> 03:23:27,460 how many people don't know 6647 03:23:27,460 --> 03:23:28,760 what cert pinning does 6648 03:23:30,240 --> 03:23:30,720 alright 6649 03:23:30,720 --> 03:23:33,140 so cert pinning is a really really 6650 03:23:33,140 --> 03:23:34,140 simple trick 6651 03:23:34,800 --> 03:23:36,940 normally that web of trust is maintained 6652 03:23:36,940 --> 03:23:38,400 by the system 6653 03:23:39,600 --> 03:23:40,520 and that's bad 6654 03:23:41,180 --> 03:23:43,920 because you know who can issue certs 6655 03:23:43,920 --> 03:23:46,040 the government of Turkey 6656 03:23:46,800 --> 03:23:47,440 China 6657 03:23:48,500 --> 03:23:49,140 Korea 6658 03:23:50,000 --> 03:23:51,400 and you know 6659 03:23:51,400 --> 03:23:53,720 there's some nudges between the Koreas 6660 03:23:53,720 --> 03:23:54,280 right now 6661 03:23:54,280 --> 03:23:56,040 that could be bad 6662 03:23:56,040 --> 03:23:58,160 Turkey just had this like coup 6663 03:23:59,120 --> 03:24:00,080 fun stuff 6664 03:24:00,080 --> 03:24:02,800 if you want your application to be secure 6665 03:24:03,600 --> 03:24:04,700 on a host side 6666 03:24:04,700 --> 03:24:06,120 you want to do cert pinning 6667 03:24:06,120 --> 03:24:09,280 which effectively says I expect to have this 6668 03:24:09,600 --> 03:24:10,760 level of validity 6669 03:24:11,420 --> 03:24:13,720 as defined by a pedigree 6670 03:24:14,840 --> 03:24:16,420 down to fingerprints 6671 03:24:16,420 --> 03:24:18,440 and who signed who 6672 03:24:19,780 --> 03:24:21,140 when it was signed 6673 03:24:21,140 --> 03:24:22,440 even like 6674 03:24:23,360 --> 03:24:24,380 beyond that sometimes 6675 03:24:25,360 --> 03:24:27,460 cert pinning gives you the 6676 03:24:27,460 --> 03:24:29,260 knowledge that when the cert 6677 03:24:29,260 --> 03:24:30,840 is being handed over HTTPS 6678 03:24:31,260 --> 03:24:32,140 you're getting what you expect 6679 03:24:35,940 --> 03:24:37,480 this lets us get a 6680 03:24:37,480 --> 03:24:39,580 okay at this point 6681 03:24:39,600 --> 03:24:41,540 does everybody understand the basic idea 6682 03:24:41,540 --> 03:24:42,320 of fiddler 6683 03:24:42,320 --> 03:24:43,740 kind of basic 6684 03:24:44,640 --> 03:24:45,920 it's like minim proxy 6685 03:24:45,920 --> 03:24:48,280 only slightly more windowsy 6686 03:24:50,120 --> 03:24:51,560 so now 6687 03:24:51,560 --> 03:24:53,060 we can get into one of the 6688 03:24:53,060 --> 03:24:54,080 really cool parts 6689 03:24:54,080 --> 03:24:56,480 everybody likes 6690 03:24:57,340 --> 03:24:58,540 example.com right 6691 03:24:59,500 --> 03:25:00,400 or example.net 6692 03:25:00,400 --> 03:25:01,760 so here we have example.net 6693 03:25:01,760 --> 03:25:02,600 everybody like it 6694 03:25:06,040 --> 03:25:07,040 fiddler can 6695 03:25:07,480 --> 03:25:09,000 do some fun stuff 6696 03:25:09,600 --> 03:25:10,840 so when we see 6697 03:25:10,840 --> 03:25:11,780 oh example.com 6698 03:25:21,720 --> 03:25:22,820 we'll talk about 6699 03:25:23,440 --> 03:25:23,780 manipulation 6700 03:25:24,680 --> 03:25:26,560 basic level is the auto responder 6701 03:25:27,320 --> 03:25:29,580 request that match specific rules 6702 03:25:29,580 --> 03:25:31,400 will be responded to 6703 03:25:31,400 --> 03:25:32,500 with specific content 6704 03:25:33,220 --> 03:25:35,300 it's a really dumb web 6705 03:25:35,300 --> 03:25:37,180 server really done 6706 03:25:37,180 --> 03:25:39,260 you can go from like really cooked 6707 03:25:39,600 --> 03:25:41,700 you can have it just say 6708 03:25:41,700 --> 03:25:43,400 hey yeah here's your page 6709 03:25:43,400 --> 03:25:45,260 here's your content have fun 6710 03:25:45,260 --> 03:25:47,460 or you can even do things like send 6711 03:25:47,460 --> 03:25:49,340 404s 504s 6712 03:25:50,260 --> 03:25:51,580 you can make it 6713 03:25:51,580 --> 03:25:53,260 redirect you can do way 6714 03:25:53,260 --> 03:25:55,380 fun stuff intermediate stuff 6715 03:25:55,380 --> 03:25:57,460 comes into like fiddler script which 6716 03:25:57,460 --> 03:25:59,260 is a horrible amalgamation of 6717 03:25:59,260 --> 03:26:00,940 javascript and vb 6718 03:26:01,740 --> 03:26:03,500 it's great when you don't have to 6719 03:26:03,500 --> 03:26:04,680 worry about anything else but 6720 03:26:05,520 --> 03:26:07,480 it's still horrible and we'll get 6721 03:26:07,480 --> 03:26:09,560 into why and then you can write your own 6722 03:26:09,600 --> 03:26:11,300 extensions that can do anything new 6723 03:26:11,300 --> 03:26:13,480 ui you can build your own 6724 03:26:13,480 --> 03:26:14,920 tunnels there's 6725 03:26:14,920 --> 03:26:17,480 a wpad server that we'll talk 6726 03:26:17,480 --> 03:26:18,300 about in a couple of seconds 6727 03:26:19,720 --> 03:26:21,560 so you can own the whole request 6728 03:26:21,560 --> 03:26:23,420 end to end do anything you want 6729 03:26:23,420 --> 03:26:25,540 you can kill it you can change 6730 03:26:25,540 --> 03:26:27,620 every image from like 6731 03:26:27,620 --> 03:26:29,400 ad networks into place kitten 6732 03:26:29,400 --> 03:26:29,820 for fun 6733 03:26:31,800 --> 03:26:33,580 so the auto responder is not complex 6734 03:26:34,120 --> 03:26:35,200 it's a really if then why 6735 03:26:35,200 --> 03:26:37,020 and this is actually how 6736 03:26:37,440 --> 03:26:39,400 if some of you paid attention in early 6737 03:26:39,600 --> 03:26:41,300 june you might have noticed 6738 03:26:41,300 --> 03:26:43,480 duosec popped a thing about asus 6739 03:26:43,480 --> 03:26:45,340 and their auto updaters and a bunch of other 6740 03:26:45,340 --> 03:26:47,560 oems i ended up 6741 03:26:47,560 --> 03:26:49,280 co-discovering on the asus one 6742 03:26:49,900 --> 03:26:51,080 asus made no 6743 03:26:51,600 --> 03:26:53,460 effort to actually secure 6744 03:26:53,460 --> 03:26:55,340 you know run over a secure channel their 6745 03:26:55,340 --> 03:26:57,440 update manifest there was no signing or 6746 03:26:57,440 --> 03:26:59,440 whatever which meant that hey i 6747 03:26:59,440 --> 03:27:01,480 can just say hey fiddler when you see that 6748 03:27:01,480 --> 03:27:03,540 request give it that 6749 03:27:03,540 --> 03:27:05,440 xml when you see that other 6750 03:27:05,440 --> 03:27:06,680 request give it that zip 6751 03:27:07,700 --> 03:27:09,160 30 seconds later i had system 6752 03:27:11,220 --> 03:27:13,340 so here we have example.com 6753 03:27:13,340 --> 03:27:14,820 like everybody loves example.com 6754 03:27:18,320 --> 03:27:19,300 i'm gonna turn on 6755 03:27:19,300 --> 03:27:21,600 a rule that basically says when i go to 6756 03:27:21,600 --> 03:27:23,280 example.com i want you to 6757 03:27:23,280 --> 03:27:24,260 push that 6758 03:27:25,780 --> 03:27:27,520 and that's just some html 6759 03:27:28,760 --> 03:27:29,580 and then we're gonna 6760 03:27:29,580 --> 03:27:31,380 reload and bring me your 6761 03:27:31,380 --> 03:27:31,740 dongers 6762 03:27:33,300 --> 03:27:35,620 suddenly example.com is completely different 6763 03:27:36,660 --> 03:27:37,180 this 6764 03:27:37,180 --> 03:27:39,540 looks to edge and anything 6765 03:27:39,600 --> 03:27:41,520 other application which is being run through the 6766 03:27:41,520 --> 03:27:42,220 fiddler proxy 6767 03:27:43,180 --> 03:27:45,520 just normal it does the connect it says hey 6768 03:27:45,520 --> 03:27:46,440 i should expect this 6769 03:27:47,700 --> 03:27:49,080 and now it wants dongers 6770 03:27:52,960 --> 03:27:54,480 and now i go turn it off 6771 03:27:58,340 --> 03:27:59,440 and i get dns 6772 03:27:59,440 --> 03:28:00,760 lookup failed because my internet is off 6773 03:28:01,280 --> 03:28:02,160 which is gonna really suck 6774 03:28:06,800 --> 03:28:07,200 now 6775 03:28:10,520 --> 03:28:11,580 let's talk a little bit about 6776 03:28:11,580 --> 03:28:12,080 fiddler script 6777 03:28:12,080 --> 03:28:14,460 this is slightly more advanced 6778 03:28:14,460 --> 03:28:17,540 it's jscript.net if any of you have 6779 03:28:17,540 --> 03:28:19,400 ever encountered this horrible monstrosity 6780 03:28:19,400 --> 03:28:21,200 it's kinda like csharp 6781 03:28:21,200 --> 03:28:22,140 it's kinda like js 6782 03:28:23,280 --> 03:28:25,280 it's not like anything you've probably seen 6783 03:28:26,240 --> 03:28:27,620 it is javascript 6784 03:28:27,620 --> 03:28:29,320 and csharp having a horrible bastard 6785 03:28:29,320 --> 03:28:29,860 love child 6786 03:28:32,040 --> 03:28:33,100 everything is var 6787 03:28:33,100 --> 03:28:35,400 this is chicken typing 6788 03:28:35,400 --> 03:28:36,420 everything tastes like chicken 6789 03:28:36,420 --> 03:28:37,420 everything is var 6790 03:28:39,600 --> 03:28:39,740 everything is var 6791 03:28:39,740 --> 03:28:40,660 every function types can exist 6792 03:28:40,660 --> 03:28:43,920 and they just come from parallel dimensions 6793 03:28:43,920 --> 03:28:44,700 out in the far 6794 03:28:44,700 --> 03:28:45,880 and you can chain them together 6795 03:28:45,880 --> 03:28:48,700 and this is how you build custom preferences 6796 03:28:50,200 --> 03:28:51,760 you can mangle the ui 6797 03:28:51,760 --> 03:28:53,820 this is a good case 6798 03:28:53,820 --> 03:28:55,180 the first example 6799 03:28:55,180 --> 03:28:57,380 if any aspx request 6800 03:28:57,380 --> 03:28:58,180 goes through 6801 03:28:58,180 --> 03:29:01,100 it will tint the entry 6802 03:29:01,100 --> 03:29:03,080 in the fiddler ui 6803 03:29:03,080 --> 03:29:03,560 red 6804 03:29:09,600 --> 03:29:09,840 interpreter 6805 03:29:09,840 --> 03:29:10,700 really basic one 6806 03:29:10,700 --> 03:29:12,260 built into it 6807 03:29:12,260 --> 03:29:15,780 this is an example where you can override hosts 6808 03:29:16,440 --> 03:29:18,220 i wanna make example.com 6809 03:29:18,220 --> 03:29:19,500 go to evil.net 6810 03:29:20,980 --> 03:29:22,320 i can do that 6811 03:29:22,320 --> 03:29:23,040 and 6812 03:29:23,820 --> 03:29:26,340 the application that's requesting example.com 6813 03:29:26,340 --> 03:29:27,360 doesn't even know 6814 03:29:30,200 --> 03:29:31,760 but this gets into a little problem 6815 03:29:31,760 --> 03:29:32,740 how do you intercept 6816 03:29:33,490 --> 03:29:34,460 modern applications 6817 03:29:34,460 --> 03:29:36,680 cause if you go and you go and turn on fiddler 6818 03:29:36,680 --> 03:29:38,180 and oh hey cool neat 6819 03:29:40,000 --> 03:29:42,300 tons of modern applications 6820 03:29:42,300 --> 03:29:43,120 on windows 8 6821 03:29:43,120 --> 03:29:44,380 8.1.10 6822 03:29:44,380 --> 03:29:45,700 even windows phone 6823 03:29:45,700 --> 03:29:47,520 they'll go whoa buddy 6824 03:29:47,520 --> 03:29:49,140 that's local host 6825 03:29:49,960 --> 03:29:50,940 how about no 6826 03:29:53,560 --> 03:29:55,060 and this is because 6827 03:29:55,600 --> 03:29:56,880 microsoft actually added 6828 03:29:56,880 --> 03:29:58,100 in windows 8 6829 03:29:58,100 --> 03:29:59,640 a different layer of security 6830 03:30:00,600 --> 03:30:03,140 here we have the kind of three basic things 6831 03:30:03,140 --> 03:30:03,820 in our user session 6832 03:30:03,820 --> 03:30:04,640 you have your desktop 6833 03:30:04,640 --> 03:30:07,140 firefox ie and all your other crap live 6834 03:30:09,600 --> 03:30:11,260 and whatever other hypervisors 6835 03:30:11,260 --> 03:30:11,900 you can even throw 6836 03:30:11,900 --> 03:30:13,000 this is where hyperv lives 6837 03:30:13,000 --> 03:30:14,520 this is where all sorts of stuff lives 6838 03:30:14,520 --> 03:30:16,580 that is touching the hypervisor 6839 03:30:17,260 --> 03:30:18,400 and then you have winrt 6840 03:30:19,500 --> 03:30:22,320 winrt is where everything else lives 6841 03:30:22,320 --> 03:30:24,480 if you are writing an application 6842 03:30:24,480 --> 03:30:25,760 or attacking an application 6843 03:30:25,760 --> 03:30:27,320 that is shipped to the windows store 6844 03:30:27,320 --> 03:30:29,840 it is living under there for the best of my knowledge 6845 03:30:29,840 --> 03:30:31,640 this is where edge lives 6846 03:30:31,640 --> 03:30:34,280 this is where your banks little like 6847 03:30:34,280 --> 03:30:36,280 hey look you can check your 6848 03:30:36,280 --> 03:30:38,680 account balance on your xbox now 6849 03:30:39,600 --> 03:30:40,360 and on your phone 6850 03:30:40,800 --> 03:30:42,000 and everywhere else 6851 03:30:42,000 --> 03:30:42,920 that is where that lives 6852 03:30:43,980 --> 03:30:46,140 I choose edge because it is kind of neat 6853 03:30:46,140 --> 03:30:48,000 it is stuck in this wonderful sand box 6854 03:30:49,340 --> 03:30:50,820 so if you try to connect 6855 03:30:50,820 --> 03:30:53,100 edge goes out it connects to the outside world 6856 03:30:53,100 --> 03:30:54,660 it passes vertically through the stack 6857 03:30:54,660 --> 03:30:55,660 it is happy 6858 03:30:56,160 --> 03:30:57,620 the system goes yeah that is cool 6859 03:30:58,300 --> 03:31:00,380 but then you try to connect through 6860 03:31:00,380 --> 03:31:01,860 and do this horizontal stuff 6861 03:31:03,340 --> 03:31:04,240 system says no 6862 03:31:04,820 --> 03:31:05,820 computer says no 6863 03:31:07,500 --> 03:31:08,360 so what do you have to do? 6864 03:31:09,600 --> 03:31:11,300 is this a loopback exception 6865 03:31:12,940 --> 03:31:14,240 that is then tacked on 6866 03:31:14,240 --> 03:31:15,760 and now you are totally free 6867 03:31:15,760 --> 03:31:17,160 to do whatever the hell you want 6868 03:31:17,720 --> 03:31:19,320 visual studio will do this 6869 03:31:19,320 --> 03:31:21,460 for every application you develop 6870 03:31:21,460 --> 03:31:23,680 that is targeting the windows platform 6871 03:31:24,300 --> 03:31:26,340 you can also do it through powershell 6872 03:31:26,340 --> 03:31:28,500 the easiest way is through a tool 6873 03:31:28,500 --> 03:31:29,440 that is included through fiddler 6874 03:31:30,800 --> 03:31:32,780 I will show you that right now 6875 03:31:32,780 --> 03:31:34,780 so here we have fiddler 6876 03:31:34,780 --> 03:31:36,320 this first button 6877 03:31:36,320 --> 03:31:37,780 is called winconfig 6878 03:31:38,920 --> 03:31:39,440 and 6879 03:31:39,600 --> 03:31:39,760 and 6880 03:31:41,360 --> 03:31:41,860 no 6881 03:31:41,860 --> 03:31:44,660 and these are all applications 6882 03:31:45,960 --> 03:31:47,360 which on the left 6883 03:31:47,360 --> 03:31:48,760 this first column are display names 6884 03:31:48,760 --> 03:31:49,720 there is a bunch of guids here 6885 03:31:49,720 --> 03:31:52,340 because I install and uninstall a lot of 6886 03:31:52,340 --> 03:31:53,220 dev applications 6887 03:31:54,480 --> 03:31:56,200 then you might see some familiar ones 6888 03:31:56,200 --> 03:31:57,900 like baconit 6889 03:31:58,860 --> 03:32:00,440 audio creation midi 6890 03:32:01,520 --> 03:32:02,320 here is edge 6891 03:32:02,320 --> 03:32:05,140 so if you want to do anything through edge 6892 03:32:05,140 --> 03:32:05,760 and fiddler 6893 03:32:05,760 --> 03:32:07,840 you have to tell windows hey 6894 03:32:09,600 --> 03:32:09,820 we own 6895 03:32:09,820 --> 03:32:12,720 and then you have to restart the application 6896 03:32:12,720 --> 03:32:13,900 and all that is good fun 6897 03:32:16,020 --> 03:32:17,440 and any app that you want 6898 03:32:17,440 --> 03:32:19,500 to inspect web traffic that it is pushing out 6899 03:32:19,500 --> 03:32:20,620 this is where you go 6900 03:32:21,500 --> 03:32:22,780 this is how you can look at twitter 6901 03:32:23,360 --> 03:32:24,040 through fiddler 6902 03:32:24,040 --> 03:32:25,580 because that is a thing people do 6903 03:32:30,740 --> 03:32:32,900 so now we will talk a little bit about extensions 6904 03:32:33,580 --> 03:32:34,900 who here has done .net development 6905 03:32:35,800 --> 03:32:36,780 anybody written c sharp 6906 03:32:38,000 --> 03:32:38,360 awesome 6907 03:32:39,600 --> 03:32:40,940 everyone will be totally familiar with this 6908 03:32:41,490 --> 03:32:41,760 um 6909 03:32:43,300 --> 03:32:45,160 they can be written in c sharp 6910 03:32:45,160 --> 03:32:47,340 vb.net or c plus plus 6911 03:32:47,340 --> 03:32:49,180 it is actually c plus plus cx 6912 03:32:50,080 --> 03:32:51,120 which is 6913 03:32:51,120 --> 03:32:53,040 kind of like c plus plus 6914 03:32:53,040 --> 03:32:54,920 if it had c sharp smashed on top of it 6915 03:32:56,000 --> 03:32:57,640 sorry c plus plus cli 6916 03:32:58,240 --> 03:32:59,440 cx is modern 6917 03:33:00,180 --> 03:33:01,400 it can intercept calls 6918 03:33:01,400 --> 03:33:02,200 make new calls 6919 03:33:02,200 --> 03:33:04,880 it has total control over the fiddler ui 6920 03:33:05,600 --> 03:33:07,180 it can overhaul 6921 03:33:07,180 --> 03:33:08,200 every single piece 6922 03:33:09,600 --> 03:33:11,480 we come in two basic varieties in the wild 6923 03:33:11,480 --> 03:33:13,040 ones that add inspectors 6924 03:33:13,040 --> 03:33:14,340 and ones that fuckbush it 6925 03:33:15,220 --> 03:33:17,240 there are plenty that tellerica is like 6926 03:33:17,240 --> 03:33:18,260 yes you should use these 6927 03:33:18,260 --> 03:33:18,940 these are awesome 6928 03:33:18,940 --> 03:33:20,640 these are open source and you should go use them 6929 03:33:20,640 --> 03:33:23,460 and there is just a dll with some classes that need an interface 6930 03:33:24,680 --> 03:33:27,300 here are some good ones for infosec and reverse engineering 6931 03:33:27,840 --> 03:33:29,440 anybody encountered message pack 6932 03:33:29,440 --> 03:33:31,720 it is a dialect of json 6933 03:33:31,720 --> 03:33:32,960 that is better than 6934 03:33:33,540 --> 03:33:34,000 bson 6935 03:33:34,900 --> 03:33:37,120 then there is wcf binary messages 6936 03:33:37,780 --> 03:33:39,220 if anybody has ever had to debug 6937 03:33:39,600 --> 03:33:41,280 a wcf service 6938 03:33:41,280 --> 03:33:43,980 this is like throwing your nails 6939 03:33:43,980 --> 03:33:45,720 through a sheet grinder 6940 03:33:45,720 --> 03:33:48,220 and having a bad time 6941 03:33:48,220 --> 03:33:48,540 of it 6942 03:33:48,540 --> 03:33:50,260 this makes it actually really nice 6943 03:33:50,260 --> 03:33:52,920 i found out that it works really well 6944 03:33:52,920 --> 03:33:55,220 when you use it with visual studio 6945 03:33:55,860 --> 03:33:56,980 you can also 6946 03:33:58,420 --> 03:33:59,580 work around 6947 03:33:59,580 --> 03:34:00,920 some problems with 6948 03:34:01,530 --> 03:34:03,300 fiddler by default when you intercept http 6949 03:34:03,300 --> 03:34:04,480 the only thing that it does 6950 03:34:04,480 --> 03:34:06,740 is says hey look its http 6951 03:34:06,740 --> 03:34:08,260 when you do ssl unwrap 6952 03:34:09,600 --> 03:34:10,000 it goes hey 6953 03:34:10,000 --> 03:34:11,940 thats an ssl certificate 6954 03:34:11,940 --> 03:34:14,940 if it comes up as being a bad ssl certificate 6955 03:34:14,940 --> 03:34:15,900 it goes hey 6956 03:34:15,900 --> 03:34:18,320 i saw a bad ssl certificate 6957 03:34:18,320 --> 03:34:21,200 do you want me to pay attention to that one still 6958 03:34:22,380 --> 03:34:23,240 this is 6959 03:34:23,240 --> 03:34:24,820 this extension 6960 03:34:25,600 --> 03:34:27,020 is how you can now 6961 03:34:27,020 --> 03:34:29,280 go and look at the cert 6962 03:34:29,280 --> 03:34:30,620 that was actually requested 6963 03:34:30,620 --> 03:34:32,800 because it has the ownership 6964 03:34:32,800 --> 03:34:34,160 of the ssl certificate 6965 03:34:37,100 --> 03:34:39,100 here is a simple scenario 6966 03:34:39,600 --> 03:34:41,140 of doing an actual attack with fiddler 6967 03:34:41,700 --> 03:34:43,060 who here is familiar with 6968 03:34:43,060 --> 03:34:45,380 wpad wireless proxy auto detect 6969 03:34:46,420 --> 03:34:47,580 how many people know 6970 03:34:47,580 --> 03:34:48,580 about ssa 6971 03:34:48,580 --> 03:34:50,760 https to http 6972 03:34:52,060 --> 03:34:53,540 downgrade through redirect 6973 03:34:54,740 --> 03:34:55,860 fun stuff 6974 03:34:55,860 --> 03:34:57,440 for those of you who don't know 6975 03:34:58,360 --> 03:34:59,360 this is a 6976 03:34:59,360 --> 03:35:01,240 fantastic little monstrosity 6977 03:35:01,240 --> 03:35:02,520 that was come up by netscape 6978 03:35:02,520 --> 03:35:03,840 back in the early days 6979 03:35:03,840 --> 03:35:05,720 the idea is that its a chunk of js 6980 03:35:05,720 --> 03:35:07,920 that gets run by the system 6981 03:35:09,600 --> 03:35:11,160 browser and by anything else 6982 03:35:11,160 --> 03:35:13,260 that needs to know hey what proxy 6983 03:35:13,260 --> 03:35:15,160 do i use to talk to that thing 6984 03:35:16,460 --> 03:35:17,060 and 6985 03:35:17,600 --> 03:35:19,020 as it turns out 6986 03:35:19,600 --> 03:35:21,180 theres probably going to be some 6987 03:35:21,180 --> 03:35:23,300 bonus vulnerability somewhere 6988 03:35:23,300 --> 03:35:24,980 in a javascript library somewhere 6989 03:35:25,600 --> 03:35:26,700 this is just 6990 03:35:27,360 --> 03:35:28,220 where do i go 6991 03:35:28,840 --> 03:35:30,460 you can say hey 6992 03:35:30,460 --> 03:35:32,840 you don't actually want that url 6993 03:35:32,840 --> 03:35:34,580 you want that url over there 6994 03:35:35,200 --> 03:35:37,440 and turn an https request 6995 03:35:37,440 --> 03:35:38,700 into a 6996 03:35:39,600 --> 03:35:40,940 text that you control 6997 03:35:40,940 --> 03:35:42,200 through domain access 6998 03:35:42,920 --> 03:35:44,960 theres an extension that lets you smush a 6999 03:35:45,340 --> 03:35:46,820 wpad server right into fiddler 7000 03:35:46,820 --> 03:35:49,300 that also includes a dhcp server 7001 03:35:49,300 --> 03:35:51,320 and i don't know how many peoples 7002 03:35:51,320 --> 03:35:53,320 networks actively look 7003 03:35:53,320 --> 03:35:55,480 for rogue dhcp servers 7004 03:35:56,160 --> 03:35:57,280 everybody looks for rogue 7005 03:35:57,280 --> 03:35:58,000 access points 7006 03:35:59,680 --> 03:36:01,540 dhcp servers are a whole lot 7007 03:36:01,540 --> 03:36:03,420 faster when they are right next to you 7008 03:36:04,640 --> 03:36:05,200 and 7009 03:36:05,200 --> 03:36:07,320 how do you get everybody to get a new lease 7010 03:36:07,320 --> 03:36:09,280 well a power outage 7011 03:36:09,600 --> 03:36:09,720 works 7012 03:36:10,320 --> 03:36:11,780 thats a great option 7013 03:36:14,500 --> 03:36:15,420 so you can roll 7014 03:36:15,420 --> 03:36:15,800 your own 7015 03:36:15,800 --> 03:36:17,040 you need visual studio 7016 03:36:18,120 --> 03:36:19,600 visual studio is now free 7017 03:36:19,600 --> 03:36:21,800 the community edition is free 7018 03:36:22,440 --> 03:36:23,940 you need a copy of fiddler 7019 03:36:23,940 --> 03:36:25,140 and a little bit of guts 7020 03:36:25,740 --> 03:36:26,680 you pick a language 7021 03:36:26,680 --> 03:36:30,020 c++ cli yes is c++ smashed on top of c sharp 7022 03:36:30,520 --> 03:36:32,740 c sharp and vb are common in use 7023 03:36:33,260 --> 03:36:34,480 and you could theoretically 7024 03:36:34,480 --> 03:36:35,940 if you are one of those weirdos 7025 03:36:35,940 --> 03:36:37,920 that uses f sharp or irp and python 7026 03:36:39,600 --> 03:36:40,400 you could manage to cram it on top 7027 03:36:42,020 --> 03:36:43,760 so lets bake an extension 7028 03:36:45,260 --> 03:36:47,200 we have a small set of 7029 03:36:47,200 --> 03:36:47,780 requirements 7030 03:36:49,820 --> 03:36:51,620 these are what 7031 03:36:51,620 --> 03:36:53,620 fiddler is looking for 7032 03:36:53,620 --> 03:36:55,000 when it loads your extension 7033 03:36:55,480 --> 03:36:57,340 it has to have the assembly attribute 7034 03:36:57,340 --> 03:36:59,440 describing the minimum version of fiddler 7035 03:36:59,440 --> 03:37:00,900 that your extension supports 7036 03:37:01,920 --> 03:37:03,580 fiddler changed some stuff back in 7037 03:37:03,580 --> 03:37:05,740 fiddler 2 it hasn't changed much since 7038 03:37:06,660 --> 03:37:07,560 you have to have 7039 03:37:07,560 --> 03:37:08,800 a set of classes that implement 7040 03:37:10,220 --> 03:37:11,340 iautotamper, iautotamper2 7041 03:37:11,340 --> 03:37:12,780 or iautotamper3 7042 03:37:13,340 --> 03:37:14,420 these are really straight forward 7043 03:37:14,420 --> 03:37:17,200 if you just return and do nothing 7044 03:37:17,200 --> 03:37:18,260 you get nothing 7045 03:37:19,400 --> 03:37:21,540 you have to target against .net4 7046 03:37:21,540 --> 03:37:22,800 as of recent 7047 03:37:22,800 --> 03:37:24,520 you don't want the client profile 7048 03:37:24,520 --> 03:37:26,520 i found this out a while ago 7049 03:37:26,520 --> 03:37:29,360 and it just has to be copied to the fiddler extensions directory 7050 03:37:30,940 --> 03:37:33,420 so lets build one that steals 7051 03:37:33,420 --> 03:37:34,480 creds yo 7052 03:37:35,460 --> 03:37:37,420 so this is an admittedly simple 7053 03:37:37,420 --> 03:37:38,040 example 7054 03:37:39,600 --> 03:37:40,220 we are going to see if the 7055 03:37:40,220 --> 03:37:42,240 wifi gods love me 7056 03:37:43,260 --> 03:37:45,220 the admittedly simple example is that 7057 03:37:45,220 --> 03:37:46,980 we are going to look for post requests 7058 03:37:46,980 --> 03:37:48,820 that have user or pass 7059 03:37:49,700 --> 03:37:50,880 as an argument 7060 03:37:51,900 --> 03:37:53,100 and anything that does 7061 03:37:53,100 --> 03:37:54,700 hdb basic authentication 7062 03:37:55,380 --> 03:37:56,300 its not going to try hard 7063 03:37:56,300 --> 03:37:57,340 its up on my github 7064 03:37:57,340 --> 03:37:58,720 its unlicensed 7065 03:37:59,780 --> 03:38:01,020 so go use it 7066 03:38:04,500 --> 03:38:05,020 and 7067 03:38:05,460 --> 03:38:06,840 let me make that better 7068 03:38:14,760 --> 03:38:15,940 can everybody read that 7069 03:38:15,940 --> 03:38:18,100 can anybody read that 7070 03:38:19,160 --> 03:38:20,020 kinda vaguely 7071 03:38:22,120 --> 03:38:22,680 so 7072 03:38:24,100 --> 03:38:25,140 this is our 7073 03:38:25,140 --> 03:38:26,000 fiddler cred stealer 7074 03:38:27,880 --> 03:38:29,200 we are going to 7075 03:38:29,200 --> 03:38:30,880 tamper a request 7076 03:38:31,520 --> 03:38:32,080 afterwards 7077 03:38:32,980 --> 03:38:34,840 after the request is completed 7078 03:38:34,840 --> 03:38:35,980 and everything is happy 7079 03:38:38,060 --> 03:38:39,540 if the request has an author 7080 03:38:39,540 --> 03:38:39,580 then we are going to 7081 03:38:41,240 --> 03:38:43,160 do some basic auth 7082 03:38:43,160 --> 03:38:44,660 and basic auth 7083 03:38:44,660 --> 03:38:45,700 is simply 7084 03:38:45,700 --> 03:38:47,940 you put the username and password 7085 03:38:47,940 --> 03:38:48,740 together 7086 03:38:49,300 --> 03:38:50,500 and base64 it 7087 03:38:50,500 --> 03:38:52,760 theres no protection 7088 03:38:52,760 --> 03:38:55,420 its intended to be used only over secure channels 7089 03:38:55,420 --> 03:38:57,700 if you ever encounter this 7090 03:38:57,700 --> 03:38:58,720 on unencrypted channels 7091 03:38:58,720 --> 03:38:59,360 cry 7092 03:39:03,660 --> 03:39:05,180 and then 7093 03:39:05,180 --> 03:39:07,500 we do some magic using posts 7094 03:39:08,500 --> 03:39:09,260 that 7095 03:39:09,600 --> 03:39:10,120 yells at things 7096 03:39:10,120 --> 03:39:11,960 and if things break we yell 7097 03:39:12,560 --> 03:39:14,560 and these are the things we are searching for 7098 03:39:14,560 --> 03:39:17,160 if any post key comes up with that 7099 03:39:17,160 --> 03:39:19,140 its like if i have a form that just says 7100 03:39:19,140 --> 03:39:21,220 hey look put in your username and password 7101 03:39:21,220 --> 03:39:22,380 it will go do the 7102 03:39:22,380 --> 03:39:23,280 it will fetch this 7103 03:39:26,440 --> 03:39:26,900 so 7104 03:39:28,800 --> 03:39:29,260 lets 7105 03:39:29,260 --> 03:39:30,400 clear this 7106 03:39:34,680 --> 03:39:37,080 lets see if i have internet 7107 03:39:37,960 --> 03:39:38,420 hey 7108 03:39:39,600 --> 03:39:41,080 so here we have our fake billing 7109 03:39:42,100 --> 03:39:42,860 were going to go 7110 03:39:43,440 --> 03:39:43,640 and 7111 03:40:01,960 --> 03:40:03,360 hey see we got 7112 03:40:03,360 --> 03:40:04,020 a login 7113 03:40:04,980 --> 03:40:06,220 and then we look in the log 7114 03:40:07,740 --> 03:40:08,540 we will see 7115 03:40:08,540 --> 03:40:10,820 its really hard to see there 7116 03:40:10,820 --> 03:40:12,840 we got a username and a password 7117 03:40:12,840 --> 03:40:14,460 dave murphy 7118 03:40:14,460 --> 03:40:15,320 zero cool 7119 03:40:16,260 --> 03:40:16,940 boom 7120 03:40:16,940 --> 03:40:19,600 we just stole some creds 7121 03:40:20,280 --> 03:40:22,160 but what about those corporate creds 7122 03:40:22,160 --> 03:40:24,140 like we have managed to get through 7123 03:40:24,920 --> 03:40:26,200 http unwrap 7124 03:40:26,200 --> 03:40:28,420 because some big ceo 7125 03:40:28,420 --> 03:40:29,660 at some big company 7126 03:40:29,660 --> 03:40:31,560 is sitting in a starbucks 7127 03:40:31,560 --> 03:40:34,040 and we have owned the 7128 03:40:34,040 --> 03:40:36,000 ssl cert that lives on the 7129 03:40:36,000 --> 03:40:36,920 on the ap 7130 03:40:36,920 --> 03:40:39,020 because they use like rsa 96 7131 03:40:39,020 --> 03:40:40,920 because they are stupid 7132 03:40:40,920 --> 03:40:41,920 and from 1996 7133 03:40:44,690 --> 03:40:45,060 so 7134 03:40:46,120 --> 03:40:47,300 what about them 7135 03:40:51,980 --> 03:40:52,720 well 7136 03:40:56,420 --> 03:40:58,100 they go and they do 7137 03:40:58,100 --> 03:41:00,740 a request and they are looking for their 7138 03:41:00,740 --> 03:41:02,060 corporate expansion documentation 7139 03:41:03,820 --> 03:41:04,560 and 7140 03:41:04,560 --> 03:41:06,540 if the wifi gods 7141 03:41:06,920 --> 03:41:07,020 love me 7142 03:41:07,020 --> 03:41:09,220 do the wifi gods love me 7143 03:41:13,680 --> 03:41:15,480 come on wifi gods 7144 03:41:18,300 --> 03:41:18,900 ooo 7145 03:41:19,560 --> 03:41:20,160 hey 7146 03:41:22,420 --> 03:41:23,020 so 7147 03:41:23,700 --> 03:41:24,980 were given a basic 7148 03:41:24,980 --> 03:41:25,880 cred auth request 7149 03:41:30,160 --> 03:41:30,980 so were going to 7150 03:41:30,980 --> 03:41:31,920 try that 7151 03:41:31,920 --> 03:41:34,620 and we have stole this guys creds 7152 03:41:34,620 --> 03:41:34,960 before 7153 03:41:36,920 --> 03:41:38,600 but we dont have access to that server 7154 03:41:38,600 --> 03:41:39,360 somehow 7155 03:41:39,360 --> 03:41:41,060 so were just proxy through him 7156 03:41:41,060 --> 03:41:42,220 because thats magic 7157 03:41:42,220 --> 03:41:45,100 but we wanna catch him 7158 03:41:45,100 --> 03:41:47,140 actually looking at corporate documents 7159 03:41:47,140 --> 03:41:49,240 on that stupid starbucks wifi 7160 03:41:49,240 --> 03:41:50,520 and you know 7161 03:41:50,520 --> 03:41:51,920 tokyo international 7162 03:41:57,840 --> 03:41:59,660 lets see if i got this right 7163 03:42:00,630 --> 03:42:00,940 no 7164 03:42:01,960 --> 03:42:02,580 nope 7165 03:42:06,920 --> 03:42:07,220 .? 7166 03:42:17,140 --> 03:42:18,540 ? 7167 03:42:18,540 --> 03:42:19,460 ? 7168 03:42:19,460 --> 03:42:19,520 ? 7169 03:42:19,520 --> 03:42:19,560 ? 7170 03:42:19,560 --> 03:42:20,340 ? 7171 03:42:20,340 --> 03:42:20,360 ? 7172 03:42:20,360 --> 03:42:21,940 ? 7173 03:42:25,760 --> 03:42:27,160 . 7174 03:42:55,740 --> 03:42:57,140 Thank you. 7175 03:42:58,940 --> 03:43:27,140 So boom, we've logged, you know, our target is logged into their corporate documents and they're going to request, you know, there's this big update to their billing practices they're having to do. It looks like they're having a bad time. They're having a very bad time. Any phone company that has a wrongful death of their collections, yeah. We come back over to Fiddler and what do we know? We've actually gotten creds because we've 7176 03:43:27,160 --> 03:43:57,140 logged in with bad creds. There's a good chance that it shows up, but we have legit creds. Oh, and cool bonus, Fiddler will occasionally do this. If you have any application that you want to sign client side certificates, it can have its own client side certificate. So if you steal somebody's client side certificate, Fiddler can now auto auth for you and you can like use curl now. 7177 03:43:57,160 --> 03:44:26,660 As long as it can touch the proxy. So now here we go. Hey, look. We now have this guy, you know, Mr. Sakamoto just got his account breached and all their corporate documents are out on the internet. That's a bad day. So, about what we've kind of gone over. We have Fiddler for intelligence. We can do 7178 03:44:27,160 --> 03:44:57,100 search and retrust on the local machine. There's more. You can configure Fiddler to set up your phone to have a proxy. And you can run everything through Fiddler. If you can tell it, hey, there's a Sox 5 proxy here, you can run it through Fiddler and you can watch it. So it's great for inspection. It's great for small bits of interception. It's not so great for anything that does cert pinning. Because cert pinning requires you to change the binary. If you aren't 7179 03:44:57,160 --> 03:45:26,680 in control of the thing that's actually going after the binary itself, if you aren't in control of that executable and can't say, hey, yeah, buddy, this is totally the cert you're looking for, yeah, you're going to have a bad time. It also doesn't do session following very well. So if you've got a long running thing that's making web sockets requests on a regular basis, it's kind of hard to filter sometimes. And that's why the jscript.net is there. 7180 03:45:27,160 --> 03:45:28,780 So that you can build all your little filters. 7181 03:45:31,600 --> 03:45:34,920 For manipulation, it's great for impersonating an API. 7182 03:45:35,280 --> 03:45:37,500 This is how dead update happened. 7183 03:45:37,880 --> 03:45:41,200 This is how ASUS learned that you shouldn't let motherboards 7184 03:45:41,200 --> 03:45:45,060 go and request the internet unencrypted to get BIOS updates. 7185 03:45:46,960 --> 03:45:48,820 It's great for making applications crash. 7186 03:45:49,020 --> 03:45:51,100 Because you can put anything you want. 7187 03:45:51,520 --> 03:45:56,480 You want an application that's supposed to be getting a 200 OK 7188 03:45:56,480 --> 03:45:58,040 and then a bunch of binary data. 7189 03:45:58,640 --> 03:46:02,460 But then you go, hey, buddy, that's 200 OK, but we're giving something else. 7190 03:46:03,120 --> 03:46:04,860 You can totally fuzz things with it. 7191 03:46:05,300 --> 03:46:08,660 And it's great for making pictures from Imgur replaced with Placekitten. 7192 03:46:09,140 --> 03:46:13,440 It's not so great for anything that requires sessions or the more complex exploits. 7193 03:46:13,760 --> 03:46:16,200 And things that aren't HTTP or HTTPS. 7194 03:46:18,220 --> 03:46:21,560 For developers, this is its actual intended purpose. 7195 03:46:22,060 --> 03:46:23,020 Inspecting and auditing traffic. 7196 03:46:23,400 --> 03:46:25,280 What is a process doing? 7197 03:46:25,440 --> 03:46:26,320 What is a machine? 7198 03:46:26,320 --> 03:46:28,120 What is a machine doing over the web? 7199 03:46:28,980 --> 03:46:30,380 It's great for testing APIs. 7200 03:46:31,480 --> 03:46:34,140 One thing I didn't quite touch on. 7201 03:46:35,000 --> 03:46:40,120 There is a lot of power here in the Composer. 7202 03:46:41,220 --> 03:46:44,220 If you need to work with an API that you aren't familiar with, 7203 03:46:45,040 --> 03:46:49,140 this will let you make arbitrary requests, give them back, 7204 03:46:49,420 --> 03:46:51,900 and then you can look through here, too. 7205 03:46:52,740 --> 03:46:54,000 Fiddler knows this. 7206 03:46:59,260 --> 03:47:01,960 You can make API requests for like, showdown. 7207 03:47:07,200 --> 03:47:08,600 And then watch as it fails. 7208 03:47:08,960 --> 03:47:09,500 Where is it? 7209 03:47:17,000 --> 03:47:19,660 Boom, so we're requesting something from a showdown, from within Fiddler. 7210 03:47:20,600 --> 03:47:23,760 You could even do whatever with this. 7211 03:47:23,900 --> 03:47:26,300 You want to write an extension that says, hey, I made a request, I gave you the code, 7212 03:47:26,300 --> 03:47:31,480 to a thing. What does Shodan know about it? You could either do it by hand or write some 7213 03:47:31,480 --> 03:47:36,060 J script or write an extension. If you run an extension, go tell Telerik about it. They'll 7214 03:47:36,060 --> 03:47:45,000 pimp you out. Oh, here. It succeeded. We got a 200. And we can inspect it. We got three 7215 03:47:45,000 --> 03:47:53,620 bytes. They probably told us to go die in a fire. Yeah. Okay. So it was a score, I think. 7216 03:47:53,620 --> 03:48:05,000 That must have been the honey score for 4202. JSON is astoundingly easy to read with this. So 7217 03:48:05,000 --> 03:48:16,000 here's this big block of JSON. Boom. There's your format of JSON in a tree. It'll also do XML. You 7218 03:48:16,000 --> 03:48:21,160 can see authentication. We wrote a plug-in to do this but to explicitly try and steal it. 7219 03:48:25,100 --> 03:48:36,900 Also, wwwauthenticate doesn't cover basic authentication in all cases. So yeah, y'all 7220 03:48:36,900 --> 03:48:43,120 are awesome and you should buy me a beer. Or not. I don't know. I thought I was awesome. 7221 03:48:46,560 --> 03:48:52,300 Any last minute questions? Because we got, what? Yeah, we got some time. We have 15 minutes. 7222 03:49:05,460 --> 03:49:06,180 Q question. 7223 03:49:06,180 --> 03:49:15,900 Chann Suppose I have theí›° 7224 03:49:15,900 --> 03:49:16,580 On Linux? 7225 03:49:16,600 --> 03:49:20,100 What's up? 7226 03:49:21,060 --> 03:49:22,380 Q Chrome on Linux 7227 03:49:22,380 --> 03:49:23,600 does not look like an abusedpie. 7228 03:49:23,600 --> 03:49:32,220 local SSL key store. It has its own. It ignores everyone and it's baked in. I believe there's a 7229 03:49:32,220 --> 03:49:46,720 way you can make it work. I'm not sure. Go yell at Telerik. They actually probably want to know 7230 03:49:46,720 --> 03:49:53,840 that. Anybody else? Bueller? 7231 03:50:19,640 --> 03:50:26,960 So the killer feature here comes not exactly when you're trying to attack specifically Chrome. 7232 03:50:28,060 --> 03:50:34,280 But let's go look at Fiddler for a second. It's not totally intended just to look at 7233 03:50:34,280 --> 03:50:42,380 browsers. You'll see a lot of stuff. Out here, this is Visual Studio phoning home. This is 7234 03:50:42,380 --> 03:50:45,940 what you would use to understand, well, what is Visual Studio doing? 7235 03:50:46,720 --> 03:50:51,940 It's actually pushing a bunch of JSON up, talking about telemetry and, you know, what you're 7236 03:50:51,940 --> 03:50:57,960 doing, et cetera. It's the NSA. No, it's trying to understand what extensions people are using. 7237 03:50:58,420 --> 03:51:04,060 I've actually looked into this. There's also others. You might notice PowerPoint has been kind 7238 03:51:04,060 --> 03:51:13,700 of poking out to the internet. Here's an update. Let's go look at that. Here's an update. I 7239 03:51:13,700 --> 03:51:16,700 have a tool called Win Compose to actually do that. It's a little bit more complicated. It's a 7240 03:51:16,720 --> 03:51:19,720 little bit more complicated. I can actually look at the Compose key on my keyboard, which is 7241 03:51:19,720 --> 03:51:27,160 actually right menu, which allows me to type funny characters. I now know that Win Compose is 7242 03:51:27,160 --> 03:51:34,440 doing its update check over clear text, and it looks like it's trying, yeah, it's checking MD5s 7243 03:51:35,200 --> 03:51:45,460 and SHA1s, but it's doing it over clear text. Nothing. You could totally try and own people who 7244 03:51:45,460 --> 03:51:58,440 run tools like this. This is the use case. For instance, when I was looking at the ASUS live 7245 03:51:58,440 --> 03:52:02,300 update software, that's how I noticed the problem is that every hour I 7246 03:52:15,460 --> 03:52:26,300 that crashed. Awesome. And that's one of the main use targets of Fiddler. Anything else? 7247 03:52:31,340 --> 03:52:38,800 So, Fiddler is a rather strange set of tools. It is a fantastic thing to actually go out and 7248 03:52:38,800 --> 03:52:45,340 learn. It runs pretty well on Linux if you've got Mono installed. You can debug over the 7249 03:52:45,340 --> 03:52:54,000 internet. I have actually other times some of the best stuff is making it so that IOT devices 7250 03:52:54,360 --> 03:53:00,420 will pick up WPAD and now you see what the IOT device is requesting out. I believe there was 7251 03:53:00,420 --> 03:53:07,380 an attack on a web-connected projector that used Fiddler to understand the protocol. And they 7252 03:53:07,380 --> 03:53:15,320 built a small extension to break out the protocol itself. Anybody else? So, that's one of the 7253 03:53:15,340 --> 03:53:20,940 main use targets. Cool. Thanks, guys. You're awesome. 7254 03:53:20,940 --> 03:53:22,160 Thank you. 7255 03:53:22,600 --> 03:53:23,460 Subtitles by the Amara.org community