1 00:00:00,520 --> 00:00:03,280 Welcome to the Packet Hacking Village. Thank you for all coming. 2 00:00:03,920 --> 00:00:07,360 My name is Riverside. I'm one of the co-founders of the Packet Hacking Village. 3 00:00:07,480 --> 00:00:08,900 This is C-Docs, the other co-founder. 4 00:00:11,500 --> 00:00:14,340 Alright, so we're going to get kicked off this morning by doing a little 5 00:00:15,400 --> 00:00:19,640 something special for some of our senior members to recognize all their hard work 6 00:00:19,640 --> 00:00:23,600 for the many, many years that they've been here. And we're going to start 7 00:00:23,600 --> 00:00:27,440 by giving Ming his 8 00:00:27,440 --> 00:00:30,440 long-term challenge coin. Thank you, Ming. 9 00:00:30,600 --> 00:00:31,160 Ten years. 10 00:00:34,260 --> 00:00:35,980 B-Box, please come up on stage. 11 00:00:41,400 --> 00:00:44,780 B-Box, thank you so much. 12 00:00:44,880 --> 00:00:45,420 Thank you, boss. 13 00:00:50,020 --> 00:00:50,820 Try not... 14 00:00:51,820 --> 00:00:53,280 I don't know. Do I have it on? 15 00:00:53,800 --> 00:00:55,080 It should be in here. Right there. 16 00:00:57,820 --> 00:00:59,700 Thank you so much for everything you did. 17 00:00:59,980 --> 00:01:00,780 Thank you, Matt. 18 00:01:04,740 --> 00:01:05,600 Who's the next one? 19 00:01:06,380 --> 00:01:06,820 Warlord. 20 00:01:08,380 --> 00:01:08,820 Warlord. 21 00:01:09,260 --> 00:01:09,700 Warlord. 22 00:01:10,220 --> 00:01:11,420 Our famous photographer. 23 00:01:15,180 --> 00:01:16,560 The master of shenanigans. 24 00:01:17,080 --> 00:01:17,820 I got his. 25 00:01:18,000 --> 00:01:18,360 Thanks, buddy. 26 00:01:19,960 --> 00:01:20,520 Thank you. 27 00:01:21,740 --> 00:01:22,560 Who's the next one? 28 00:01:25,120 --> 00:01:25,900 Fricosius, right there. 29 00:01:26,780 --> 00:01:27,220 Fricosius. 30 00:01:28,480 --> 00:01:29,580 Fricosius, our DJ. 31 00:01:30,700 --> 00:01:32,620 He's the one that brings the jams up in here. 32 00:01:32,840 --> 00:01:36,160 Thank you. 33 00:01:36,320 --> 00:01:37,000 Thank you. 34 00:01:37,000 --> 00:01:37,700 Thank you. 35 00:01:38,040 --> 00:01:42,120 Thank you very much. 36 00:01:43,640 --> 00:01:44,200 All right. 37 00:01:44,840 --> 00:01:47,000 So with that, we're going to hand the mic over to Ming, 38 00:01:47,120 --> 00:01:48,420 and he's going to get you all kicked off, 39 00:01:48,500 --> 00:01:50,140 explain a little bit of what we're doing this year. 40 00:01:50,200 --> 00:01:51,900 We have a lot of new, really exciting events, 41 00:01:52,100 --> 00:01:53,640 some crazy stuff that's going on, 42 00:01:54,240 --> 00:01:55,660 more shenanigans, as always, 43 00:01:55,860 --> 00:01:57,040 and have a blast. 44 00:01:57,440 --> 00:01:58,080 Thank you all. 45 00:01:59,600 --> 00:02:00,520 Thank you. 46 00:02:00,880 --> 00:02:02,260 Good morning, everyone, 47 00:02:02,720 --> 00:02:06,620 and welcome to the Packet Hacking Village at DEF CON 24. 48 00:02:07,680 --> 00:02:08,800 My name is Ming, 49 00:02:09,400 --> 00:02:12,700 and I want to start off by asking everyone here, 50 00:02:14,080 --> 00:02:16,380 who's here if this is your first DEF CON? 51 00:02:16,660 --> 00:02:17,540 Is this your... 52 00:02:17,540 --> 00:02:18,940 Oh, my goodness. 53 00:02:20,420 --> 00:02:21,020 Wow. 54 00:02:21,380 --> 00:02:21,980 Wow. 55 00:02:24,740 --> 00:02:26,500 Words cannot describe... 56 00:02:27,440 --> 00:02:29,600 Words cannot describe how blessed we are, 57 00:02:30,120 --> 00:02:33,580 how grateful, how humble we are to have you all here. 58 00:02:35,040 --> 00:02:37,900 We knew that this were going to be a lot of people here 59 00:02:37,900 --> 00:02:39,360 at the Packet Hacking Village, 60 00:02:39,580 --> 00:02:41,440 but if you just look around you right now, 61 00:02:42,160 --> 00:02:45,160 I think you're all as amazed as I am. 62 00:02:46,100 --> 00:02:47,880 Thank you so much for being here. 63 00:02:48,060 --> 00:02:50,420 I mean, words cannot describe my gratitude, 64 00:02:50,620 --> 00:02:55,120 certainly my gratitude and our appreciation for you being here. 65 00:02:55,680 --> 00:02:57,240 Now, I asked if... 66 00:02:57,440 --> 00:02:59,980 If this is your first DEF CON for a reason. 67 00:03:01,280 --> 00:03:02,920 On a very personal note, 68 00:03:03,020 --> 00:03:06,260 that this is a very special DEF CON for me, 69 00:03:07,140 --> 00:03:10,840 because this is the 10th anniversary of my very first DEF CON, 70 00:03:11,960 --> 00:03:15,480 back in 2006 at the Riviera. 71 00:03:16,640 --> 00:03:22,920 And I can tell you when I first went to my first DEF CON in 2006, 72 00:03:24,920 --> 00:03:26,640 I only knew DEF CON 73 00:03:26,640 --> 00:03:33,420 as a place where, you know, every mother, every father tell their kids not to go to that conference. 74 00:03:34,840 --> 00:03:35,400 That's... 75 00:03:35,940 --> 00:03:37,540 I certainly knew that of DEF CON. 76 00:03:38,260 --> 00:03:40,900 I also knew that it was very... 77 00:03:40,900 --> 00:03:44,320 If you made something called the Wall of Sheep or the Table of Doom, 78 00:03:44,560 --> 00:03:45,980 it would be very, very bad. 79 00:03:46,520 --> 00:03:48,120 This was in 2006. 80 00:03:48,900 --> 00:03:55,700 Little did I know at that time that I would one day be involved working with 81 00:03:56,640 --> 00:03:59,240 the Wall of Sheep and the Packet Hacking Village. 82 00:03:59,840 --> 00:04:03,100 And also, I am not afraid to admit, 83 00:04:03,320 --> 00:04:05,060 and I'm not afraid to say that 84 00:04:05,060 --> 00:04:09,420 having worked with all the wonderful people at the Wall of Sheep, 85 00:04:09,960 --> 00:04:12,620 with Warlord, with B-Box, Fecotius, 86 00:04:13,460 --> 00:04:15,480 with SeaDocs, with Riverside, 87 00:04:17,020 --> 00:04:21,440 this group provided me all the hands-on knowledge, 88 00:04:22,840 --> 00:04:25,720 all the practical hands-on skills 89 00:04:25,720 --> 00:04:26,620 in security, 90 00:04:26,620 --> 00:04:29,300 that I never got out of four years of college. 91 00:04:29,780 --> 00:04:33,060 So, in the bottom of my heart, I want to certainly want to thank Riverside, 92 00:04:33,120 --> 00:04:37,720 and I want to thank SeaDocs for what they have provided for their energy, 93 00:04:37,900 --> 00:04:40,520 for what they have provided for DEF CON, 94 00:04:40,760 --> 00:04:42,300 and also for the information security. 95 00:04:42,780 --> 00:04:46,960 Because if it wasn't for them, I would not be standing here right now. 96 00:04:47,480 --> 00:04:50,000 And also, I wouldn't have gotten this far in my career. 97 00:04:50,160 --> 00:04:53,420 So, I am extremely grateful for them and to the Wall of Sheep 98 00:04:53,420 --> 00:04:55,500 and all the senior members that have helped, 99 00:04:55,500 --> 00:04:56,820 that have certainly helped me here. 100 00:04:57,280 --> 00:05:03,620 And I really, really hope that this message would resonate to each and every one of you 101 00:05:03,620 --> 00:05:07,320 who will be, if this is your first DEF CON, 102 00:05:07,540 --> 00:05:09,840 I hope that this same message, 103 00:05:10,060 --> 00:05:14,800 that you will also eat up this experience, 104 00:05:15,120 --> 00:05:16,640 gain everything that you can, 105 00:05:17,220 --> 00:05:21,540 and I hope that this will do wonders for you in your career. 106 00:05:22,960 --> 00:05:25,480 We have moved to many, many different venues, 107 00:05:25,480 --> 00:05:27,340 we have been at the Rio, 108 00:05:27,620 --> 00:05:29,160 we have been also here, 109 00:05:29,340 --> 00:05:31,120 we've also moved a couple of times. 110 00:05:31,340 --> 00:05:34,060 And the village has gotten bigger and bigger each and every year. 111 00:05:34,980 --> 00:05:37,180 Yeah, it gets crowded every so often, 112 00:05:37,260 --> 00:05:38,560 but I can tell you right now, 113 00:05:38,760 --> 00:05:40,640 although things, time has changed, 114 00:05:40,880 --> 00:05:42,160 one thing has not changed, 115 00:05:42,320 --> 00:05:45,480 and that is our mission here at the Packet Hacking Village. 116 00:05:45,700 --> 00:05:47,800 That is security awareness and education. 117 00:05:48,280 --> 00:05:49,480 That's the bottom line. 118 00:05:49,800 --> 00:05:52,240 A lot of things, time changes and life changes, 119 00:05:52,840 --> 00:05:55,340 and things change, but that has not changed 120 00:05:55,480 --> 00:05:56,180 over the years. 121 00:05:56,200 --> 00:05:59,540 That mission of security awareness and education. 122 00:05:59,980 --> 00:06:03,040 And we're at a time where this is even becoming 123 00:06:03,040 --> 00:06:05,780 more and more important over the years, 124 00:06:05,980 --> 00:06:08,340 because we're founding new, new problems, 125 00:06:08,440 --> 00:06:13,280 but there's a lot more people getting engaged in the field, 126 00:06:13,440 --> 00:06:17,760 and we're very, very lucky to have the opportunity 127 00:06:17,760 --> 00:06:20,940 each and every year to inform the new audience, 128 00:06:21,160 --> 00:06:23,560 especially the first time people at DEF CON, 129 00:06:23,560 --> 00:06:25,440 you know, a little bit about the field, 130 00:06:25,500 --> 00:06:28,760 so you can help the future generation as well. 131 00:06:29,420 --> 00:06:32,480 So the mission has never changed over the years. 132 00:06:32,800 --> 00:06:35,700 So you may be curious, like, who are we, 133 00:06:35,740 --> 00:06:37,740 and how do we accomplish our mission? 134 00:06:38,380 --> 00:06:40,960 We accomplish our mission by having lots of volunteers, 135 00:06:41,560 --> 00:06:44,020 and throughout this whole village, 136 00:06:44,200 --> 00:06:47,660 you can find a volunteer by way of the gray shirts 137 00:06:47,660 --> 00:06:49,200 and the badges. 138 00:06:49,500 --> 00:06:51,760 And if you're here at the Packet Hacking Village, 139 00:06:51,760 --> 00:06:54,240 you know, I hope that you will take advantage 140 00:06:54,240 --> 00:06:56,720 of the opportunity to speak to each other, 141 00:06:56,780 --> 00:06:59,580 you know, definitely speak to people, 142 00:06:59,720 --> 00:07:01,880 you know, learn from each other, 143 00:07:02,020 --> 00:07:04,940 because you may never know what happens in one year 144 00:07:04,940 --> 00:07:07,120 when you will meet that person again, 145 00:07:07,340 --> 00:07:09,180 maybe even at your workplace 146 00:07:09,180 --> 00:07:11,380 or at a future conference in your hometown. 147 00:07:11,980 --> 00:07:13,780 We do a lot of crazy stuff, 148 00:07:13,940 --> 00:07:16,120 like really, really unconventional things. 149 00:07:16,360 --> 00:07:18,260 And a couple, and many of our ventures 150 00:07:18,260 --> 00:07:21,280 have really caught the attention 151 00:07:21,280 --> 00:07:23,700 of media and press. 152 00:07:24,140 --> 00:07:26,680 And some of those ventures, as you see, 153 00:07:26,920 --> 00:07:29,480 they still reverberate up to this day. 154 00:07:31,000 --> 00:07:33,980 We have not only a lot of volunteers, 155 00:07:34,160 --> 00:07:36,200 but we have a lot of people 156 00:07:36,200 --> 00:07:38,660 where our wives could be pissed at us 157 00:07:38,660 --> 00:07:40,960 for being here for so many days in Vegas. 158 00:07:42,240 --> 00:07:44,280 Yeah, we've now also gotten to a point 159 00:07:44,280 --> 00:07:45,500 where a few of the members here 160 00:07:45,500 --> 00:07:47,960 have brought in their wives and children for them, 161 00:07:48,700 --> 00:07:50,200 to come here. 162 00:07:50,200 --> 00:07:53,020 And there's a lot of putting up 163 00:07:53,020 --> 00:07:54,620 with some of the staff members, 164 00:07:55,020 --> 00:07:56,900 and there's a lot of long hours, 165 00:07:57,040 --> 00:07:58,560 and most of us have to pay our own way 166 00:07:58,560 --> 00:07:59,660 to come here as well. 167 00:08:00,220 --> 00:08:02,040 And finally, last but not least, 168 00:08:02,160 --> 00:08:02,740 and we'll be honest, 169 00:08:02,880 --> 00:08:04,260 is that we could not have accomplished 170 00:08:04,260 --> 00:08:06,220 all this massive work in a massive scale 171 00:08:06,220 --> 00:08:07,260 without our sponsors, 172 00:08:08,120 --> 00:08:09,980 which we'll give a small shout out 173 00:08:09,980 --> 00:08:11,760 to each and every one of them this year. 174 00:08:12,900 --> 00:08:14,780 So just a little brief history 175 00:08:14,780 --> 00:08:17,240 of what we have done over the years. 176 00:08:17,460 --> 00:08:19,460 We have not only done fundraising 177 00:08:19,460 --> 00:08:20,460 for the EFF, 178 00:08:20,600 --> 00:08:25,100 but we have also put on a lot of educational programs 179 00:08:25,100 --> 00:08:26,460 for the children as well, too, 180 00:08:26,600 --> 00:08:27,880 at Roots Asylum. 181 00:08:28,220 --> 00:08:29,780 Okay, say whatever you want, 182 00:08:29,860 --> 00:08:31,180 but yeah, we've been there, 183 00:08:31,280 --> 00:08:33,980 and that's something that we take a lot of pride in. 184 00:08:35,100 --> 00:08:36,760 Things like the NFC, 185 00:08:36,780 --> 00:08:39,160 the Near Field Communication Scavenger Hunt, 186 00:08:39,340 --> 00:08:41,500 that's still ongoing, 187 00:08:41,620 --> 00:08:45,960 but spun off into another event this year. 188 00:08:46,460 --> 00:08:48,640 We have also done juice jacking. 189 00:08:48,640 --> 00:08:49,580 You may have heard, 190 00:08:50,020 --> 00:08:51,420 I'm sure you all heard of, 191 00:08:51,460 --> 00:08:53,360 you know, it's not the wisest thing 192 00:08:53,360 --> 00:08:55,000 to plug in your mobile devices 193 00:08:55,000 --> 00:08:57,000 into outlets that you don't know. 194 00:08:57,400 --> 00:08:59,880 Yeah, we did that back in the days, okay? 195 00:09:00,080 --> 00:09:01,560 And we've been trying to get it back, 196 00:09:01,620 --> 00:09:02,080 but no avail. 197 00:09:02,260 --> 00:09:02,860 Time changes. 198 00:09:03,740 --> 00:09:05,040 So let's cut to the chase. 199 00:09:05,240 --> 00:09:07,200 Let's talk about the main events of 2016. 200 00:09:08,340 --> 00:09:10,160 We have the Venerable Wall of Sheep. 201 00:09:10,500 --> 00:09:12,140 We have the Capture the Packet. 202 00:09:12,180 --> 00:09:13,360 Where is Capture the Packet? 203 00:09:14,320 --> 00:09:15,580 Where is Capture the Packet? 204 00:09:15,640 --> 00:09:16,100 Anyone there? 205 00:09:17,880 --> 00:09:18,620 Give a shout out. 206 00:09:18,640 --> 00:09:18,760 Shout out. 207 00:09:20,660 --> 00:09:21,720 So we got, 208 00:09:21,900 --> 00:09:22,660 all right, 209 00:09:22,720 --> 00:09:24,180 got a little camera shy right now. 210 00:09:24,360 --> 00:09:25,080 So we'll talk, 211 00:09:25,140 --> 00:09:26,120 I'll talk a little bit about each 212 00:09:26,120 --> 00:09:27,040 and every one of the events. 213 00:09:27,300 --> 00:09:29,060 Right behind us is Capture, 214 00:09:29,060 --> 00:09:29,960 is right behind the, 215 00:09:29,980 --> 00:09:32,060 those curtains is Packet Detective. 216 00:09:34,400 --> 00:09:36,020 And new this year, 217 00:09:36,180 --> 00:09:36,940 brand new, 218 00:09:37,020 --> 00:09:38,240 you may have noticed that 219 00:09:38,240 --> 00:09:40,020 something might have caught your attention 220 00:09:40,020 --> 00:09:41,480 when you walked into the village, 221 00:09:41,520 --> 00:09:43,200 and it was a train set in the, 222 00:09:43,200 --> 00:09:44,580 like a train set 223 00:09:44,580 --> 00:09:47,020 that has a nice little miniature city. 224 00:09:47,020 --> 00:09:49,540 And you'll be wondering, 225 00:09:50,180 --> 00:09:50,620 whoa, 226 00:09:50,980 --> 00:09:52,260 what are you, 227 00:09:52,380 --> 00:09:53,280 what's the goal here? 228 00:09:53,360 --> 00:09:54,620 What could possibly go wrong? 229 00:09:54,720 --> 00:09:55,200 You'll see. 230 00:09:55,960 --> 00:09:57,400 We have the Wall of Sheep DJ, 231 00:09:57,640 --> 00:09:58,100 of course, 232 00:09:58,180 --> 00:09:59,460 that's a precocious, 233 00:09:59,680 --> 00:10:00,180 you've run that, 234 00:10:00,220 --> 00:10:01,200 we'll talk a little bit about that. 235 00:10:01,440 --> 00:10:02,280 And of course, 236 00:10:02,280 --> 00:10:02,980 right here, 237 00:10:03,020 --> 00:10:05,860 for the speaker workshops. 238 00:10:07,020 --> 00:10:08,520 And we give talks 239 00:10:08,520 --> 00:10:10,240 that are security awareness based, 240 00:10:10,400 --> 00:10:11,400 but also, 241 00:10:12,220 --> 00:10:14,060 they are largely defense focused. 242 00:10:14,600 --> 00:10:16,060 Now you may be asking, 243 00:10:16,060 --> 00:10:16,340 okay, 244 00:10:16,540 --> 00:10:17,300 defense is boring, 245 00:10:17,400 --> 00:10:18,300 no one cares about defense. 246 00:10:18,800 --> 00:10:20,720 But quite to the fact of the matter is, 247 00:10:20,820 --> 00:10:22,020 each and every one of us, 248 00:10:22,160 --> 00:10:22,440 you know, 249 00:10:22,460 --> 00:10:23,620 if you take a look at our day job, 250 00:10:23,820 --> 00:10:26,320 we're all doing defense somehow in some way. 251 00:10:26,480 --> 00:10:27,480 And the goal is, 252 00:10:27,540 --> 00:10:28,980 unlike a lot of other conferences, 253 00:10:29,180 --> 00:10:30,400 a lot of the talks, 254 00:10:30,740 --> 00:10:32,660 the goal of the talks is that 255 00:10:32,660 --> 00:10:33,780 what you learn, 256 00:10:33,960 --> 00:10:36,780 you take and apply right away, 257 00:10:37,620 --> 00:10:39,680 immediately after you leave the talk. 258 00:10:40,480 --> 00:10:43,260 So the content does not go over your head. 259 00:10:43,880 --> 00:10:45,860 I want to give a special shout out now 260 00:10:46,060 --> 00:10:47,960 to all the sponsors that have made 261 00:10:47,960 --> 00:10:50,160 this year's Packet Hacking Village 262 00:10:50,160 --> 00:10:51,140 in the scale possible. 263 00:10:51,640 --> 00:10:53,380 The Wall of Sheep Title Sponsor, 264 00:10:53,420 --> 00:10:53,800 Splunk. 265 00:10:55,860 --> 00:10:56,780 Thank you, 266 00:10:56,880 --> 00:10:57,340 thank you. 267 00:10:57,900 --> 00:10:58,680 Thank you, 268 00:10:58,680 --> 00:10:58,960 Splunk. 269 00:10:59,080 --> 00:10:59,980 The Wall of Sheep, 270 00:10:59,980 --> 00:11:02,280 Wall of Sheep and Sheep City Sponsor, 271 00:11:02,280 --> 00:11:02,780 Veracode. 272 00:11:05,180 --> 00:11:07,020 Capture the Packet Title Sponsor, 273 00:11:07,020 --> 00:11:07,700 Packet Sled. 274 00:11:09,800 --> 00:11:11,700 Capture the Packet Platinum Sponsor, 275 00:11:11,720 --> 00:11:12,160 Talos. 276 00:11:14,260 --> 00:11:16,040 Packet Detective Title Sponsor, 277 00:11:16,060 --> 00:11:16,640 Fidelis. 278 00:11:18,360 --> 00:11:19,940 Sheep City Title Sponsor, 279 00:11:19,980 --> 00:11:20,560 Evident.io. 280 00:11:22,520 --> 00:11:24,400 Wi-Fi Sheep Hunt Title Sponsor, 281 00:11:24,420 --> 00:11:24,700 Tinder. 282 00:11:25,580 --> 00:11:26,020 Yeah. 283 00:11:27,720 --> 00:11:29,240 And the DJ Sponsor, 284 00:11:29,300 --> 00:11:29,660 Talos. 285 00:11:32,800 --> 00:11:34,880 So now let's talk about the events, 286 00:11:34,980 --> 00:11:35,560 the main events, 287 00:11:35,720 --> 00:11:37,240 a little bit about each and every one 288 00:11:37,240 --> 00:11:38,340 of the main events that we have. 289 00:11:39,760 --> 00:11:42,300 First on the docket is Capture the Packet. 290 00:11:42,680 --> 00:11:44,220 The goal of Capture the Packet 291 00:11:44,220 --> 00:11:45,920 is a network forensic skills challenge. 292 00:11:46,060 --> 00:11:46,820 Network, 293 00:11:46,900 --> 00:11:47,460 there's skills, 294 00:11:47,560 --> 00:11:49,020 there's network forensic skills challenge. 295 00:11:49,500 --> 00:11:50,060 Now, 296 00:11:50,160 --> 00:11:52,220 for over the last five years, 297 00:11:52,440 --> 00:11:54,400 this has been a black badge event at DEF CON. 298 00:11:54,880 --> 00:11:55,440 Okay? 299 00:11:56,060 --> 00:11:58,580 This is not only a game to teach, 300 00:11:58,800 --> 00:11:59,960 it's also, 301 00:12:01,000 --> 00:12:02,560 it gets pretty hardcore. 302 00:12:02,960 --> 00:12:04,820 Because it's a game built by hackers, 303 00:12:04,980 --> 00:12:05,860 for hackers, 304 00:12:06,280 --> 00:12:08,100 but with a little ingredient, 305 00:12:08,240 --> 00:12:09,840 with a little touch of defense in mind. 306 00:12:10,260 --> 00:12:11,100 This year, 307 00:12:11,360 --> 00:12:12,840 there are two amazing prizes. 308 00:12:13,320 --> 00:12:14,440 Two MacBook Pros. 309 00:12:14,440 --> 00:12:15,680 Not bad. 310 00:12:16,260 --> 00:12:17,640 Thanks to Packet Sled. 311 00:12:18,020 --> 00:12:18,660 Packets, 312 00:12:18,660 --> 00:12:20,080 Capture the Packet is directly, 313 00:12:20,220 --> 00:12:22,320 diagonally behind us. 314 00:12:22,640 --> 00:12:23,680 And also, 315 00:12:23,820 --> 00:12:25,180 great news, 316 00:12:25,400 --> 00:12:26,760 big news this year, 317 00:12:26,920 --> 00:12:28,960 that Capture the Packet 318 00:12:28,960 --> 00:12:30,840 is now a training simulator 319 00:12:30,840 --> 00:12:32,720 used by the Department of Defense. 320 00:12:36,720 --> 00:12:37,360 Now, 321 00:12:37,460 --> 00:12:39,560 for those of you who may be feeling, 322 00:12:39,640 --> 00:12:39,920 okay, 323 00:12:39,980 --> 00:12:41,020 I'm new at this. 324 00:12:41,140 --> 00:12:43,660 I'm new at network forensics. 325 00:12:43,660 --> 00:12:45,980 I really want to sit down and learn. 326 00:12:46,280 --> 00:12:48,740 I want to learn before I 327 00:12:48,740 --> 00:12:51,200 compete for two MacBook Pros 328 00:12:51,200 --> 00:12:52,560 at the Capture the Packet. 329 00:12:52,660 --> 00:12:53,820 Is that possible? 330 00:12:53,940 --> 00:12:55,580 And the answer is absolutely yes. 331 00:12:56,120 --> 00:12:57,120 Behind us, 332 00:12:57,140 --> 00:12:58,300 behind us here, 333 00:12:58,420 --> 00:12:59,280 behind that curtain, 334 00:12:59,400 --> 00:13:00,920 is Packet Detective. 335 00:13:01,460 --> 00:13:02,140 Now, 336 00:13:02,340 --> 00:13:04,600 it uses the same exact engine 337 00:13:04,600 --> 00:13:06,280 as Capture the Packet. 338 00:13:06,540 --> 00:13:07,220 However, 339 00:13:07,400 --> 00:13:08,860 the only big difference is 340 00:13:08,860 --> 00:13:10,600 that the game 341 00:13:10,600 --> 00:13:12,520 is built for beginners 342 00:13:12,520 --> 00:13:13,880 of all ages, 343 00:13:14,020 --> 00:13:14,760 including children, 344 00:13:15,360 --> 00:13:16,260 to learn the fundamentals 345 00:13:16,260 --> 00:13:17,540 of network forensics. 346 00:13:18,400 --> 00:13:19,440 Behind us, 347 00:13:19,460 --> 00:13:21,040 there are also 20 laptops, 348 00:13:21,100 --> 00:13:22,400 like 20-plus laptops 349 00:13:22,400 --> 00:13:24,660 that are on the table. 350 00:13:24,920 --> 00:13:25,820 And the goal is 351 00:13:25,820 --> 00:13:26,860 so you don't have to bring 352 00:13:26,860 --> 00:13:27,460 your laptop. 353 00:13:27,700 --> 00:13:29,280 And I'm sure you may have heard news, 354 00:13:29,380 --> 00:13:30,840 especially if this is your first time, 355 00:13:30,940 --> 00:13:32,640 it may not be the wisest thing 356 00:13:32,640 --> 00:13:33,760 to bring electronic devices 357 00:13:33,760 --> 00:13:35,700 because what goes wrong 358 00:13:35,700 --> 00:13:36,760 will go wrong. 359 00:13:37,220 --> 00:13:37,740 So, 360 00:13:38,320 --> 00:13:39,680 we cannot thank you, 361 00:13:39,700 --> 00:13:40,180 the sponsors, 362 00:13:40,380 --> 00:13:41,760 for helping us out 363 00:13:41,760 --> 00:13:43,020 and making it possible 364 00:13:43,020 --> 00:13:44,700 so you don't actually, 365 00:13:45,580 --> 00:13:46,160 let's say, 366 00:13:46,200 --> 00:13:46,960 need to bring your devices 367 00:13:46,960 --> 00:13:47,960 and then things go wrong 368 00:13:47,960 --> 00:13:49,060 and then you have to burn your laptop 369 00:13:49,060 --> 00:13:49,940 when you go back home. 370 00:13:50,200 --> 00:13:50,540 So, 371 00:13:50,640 --> 00:13:51,720 that's all the equipment 372 00:13:51,720 --> 00:13:53,120 is all available for you. 373 00:13:53,300 --> 00:13:55,180 And when you feel comfortable 374 00:13:55,180 --> 00:13:56,920 after playing Packet Detective, 375 00:13:57,140 --> 00:13:57,760 of course, 376 00:13:57,780 --> 00:13:58,500 you're more than welcome 377 00:13:58,500 --> 00:13:59,140 to jump in 378 00:13:59,140 --> 00:14:00,360 to Capture the Packet. 379 00:14:01,760 --> 00:14:02,700 This year, 380 00:14:02,860 --> 00:14:03,820 brand new, 381 00:14:03,900 --> 00:14:04,800 is Sheep City. 382 00:14:05,320 --> 00:14:05,800 Now, 383 00:14:05,820 --> 00:14:06,420 Sheep City, 384 00:14:06,540 --> 00:14:07,620 this is our first year, 385 00:14:08,220 --> 00:14:10,060 and what this is, 386 00:14:10,280 --> 00:14:11,000 of course, 387 00:14:11,000 --> 00:14:12,000 one of the biggest things, 388 00:14:12,200 --> 00:14:13,240 the biggest trends 389 00:14:13,240 --> 00:14:14,100 of this year 390 00:14:14,100 --> 00:14:15,200 you may have heard of, 391 00:14:15,260 --> 00:14:16,560 it's called the Internet of Crap. 392 00:14:16,640 --> 00:14:16,880 I mean, 393 00:14:16,900 --> 00:14:17,580 the Internet of Things. 394 00:14:18,360 --> 00:14:18,880 Okay? 395 00:14:19,460 --> 00:14:20,260 This is a, 396 00:14:20,320 --> 00:14:20,640 that, 397 00:14:20,720 --> 00:14:22,640 Sheep City is a miniature city 398 00:14:22,640 --> 00:14:24,740 that is all connected. 399 00:14:25,280 --> 00:14:25,800 Door, 400 00:14:26,120 --> 00:14:27,000 the power grid, 401 00:14:27,200 --> 00:14:28,380 the train set, 402 00:14:28,740 --> 00:14:30,000 the water supply, 403 00:14:30,280 --> 00:14:31,220 the lighting, 404 00:14:31,420 --> 00:14:32,300 you name it. 405 00:14:32,540 --> 00:14:33,880 You have one job. 406 00:14:34,100 --> 00:14:35,240 You have one goal. 407 00:14:35,460 --> 00:14:36,440 See if you can disrupt 408 00:14:36,440 --> 00:14:37,540 or shut down the whole damn thing. 409 00:14:38,640 --> 00:14:40,300 And remember, folks, 410 00:14:40,300 --> 00:14:42,620 you cannot spell idiot 411 00:14:42,620 --> 00:14:44,520 without I-O-T. 412 00:14:48,820 --> 00:14:50,100 Our next main event 413 00:14:50,100 --> 00:14:51,840 is the Wi-Fi Sheep Hunt. 414 00:14:52,320 --> 00:14:53,860 Now, the Wi-Fi Sheep Hunt 415 00:14:53,860 --> 00:14:54,640 has evolved for 416 00:14:54,640 --> 00:14:56,180 the last couple of years. 417 00:14:56,460 --> 00:14:58,200 The goal of the Wi-Fi Sheep Hunt 418 00:14:58,200 --> 00:14:58,840 is to hunt around 419 00:14:58,840 --> 00:14:59,780 for mobile devices 420 00:14:59,780 --> 00:15:02,440 all throughout the conference. 421 00:15:02,840 --> 00:15:03,780 That means 422 00:15:03,780 --> 00:15:04,480 who, 423 00:15:04,700 --> 00:15:05,680 different hotels. 424 00:15:06,360 --> 00:15:07,560 There are three 425 00:15:07,560 --> 00:15:08,940 big challenges, 426 00:15:09,260 --> 00:15:10,140 sub-challenges 427 00:15:10,140 --> 00:15:10,280 of the conference 428 00:15:10,300 --> 00:15:11,480 of the Wi-Fi Sheep Hunt. 429 00:15:11,940 --> 00:15:13,580 There is an NFC, 430 00:15:13,600 --> 00:15:15,180 a near-field communication tag 431 00:15:15,180 --> 00:15:15,760 sheep hunt. 432 00:15:16,520 --> 00:15:18,600 There is a sheep hunt 433 00:15:18,600 --> 00:15:19,580 for the radio frequency. 434 00:15:20,040 --> 00:15:21,780 If you're into software 435 00:15:21,780 --> 00:15:23,320 to find radio and RF, 436 00:15:23,780 --> 00:15:25,060 this may be the event 437 00:15:25,060 --> 00:15:25,440 for you. 438 00:15:25,660 --> 00:15:26,840 And we also have 439 00:15:26,840 --> 00:15:27,760 a sheep hunt 440 00:15:27,760 --> 00:15:29,240 for Wi-Fi. 441 00:15:30,600 --> 00:15:31,940 The story is 442 00:15:31,940 --> 00:15:32,900 a bunch of sheep 443 00:15:32,900 --> 00:15:33,400 have left. 444 00:15:33,860 --> 00:15:35,200 You have to go find them. 445 00:15:36,000 --> 00:15:37,200 Registration is available 446 00:15:37,200 --> 00:15:37,740 today 447 00:15:37,740 --> 00:15:39,360 Tuesday through Sunday. 448 00:15:39,720 --> 00:15:40,280 And if you have 449 00:15:40,280 --> 00:15:41,120 any questions, 450 00:15:41,180 --> 00:15:41,560 And registration is 451 00:15:41,560 --> 00:15:43,520 at our wonderful, 452 00:15:43,860 --> 00:15:45,180 wonderful information booth 453 00:15:45,180 --> 00:15:46,120 all the way in the back. 454 00:15:46,400 --> 00:15:47,420 Hey, information booth, 455 00:15:47,560 --> 00:15:48,220 where are you? 456 00:15:49,180 --> 00:15:50,200 Give a shout out. 457 00:15:51,020 --> 00:15:52,120 And a little camera shot. 458 00:15:55,140 --> 00:15:56,120 The wall of sheep. 459 00:15:56,760 --> 00:15:57,240 Yes. 460 00:15:57,780 --> 00:15:58,720 It's that little, 461 00:15:58,900 --> 00:16:00,360 that little big wall, 462 00:16:00,440 --> 00:16:01,340 that projector screen 463 00:16:01,340 --> 00:16:01,820 that says 464 00:16:01,820 --> 00:16:03,700 don't get your info on there. 465 00:16:04,340 --> 00:16:04,820 That's, 466 00:16:04,820 --> 00:16:05,940 this is the one and only. 467 00:16:06,240 --> 00:16:06,840 We don't need 468 00:16:06,840 --> 00:16:07,580 to say no more. 469 00:16:09,660 --> 00:16:10,140 So, 470 00:16:10,160 --> 00:16:10,260 what we're going to do 471 00:16:10,260 --> 00:16:10,360 is we're going to 472 00:16:10,360 --> 00:16:10,960 have a wall of sheep disco. 473 00:16:11,320 --> 00:16:11,860 Now, 474 00:16:11,900 --> 00:16:12,860 the wall of sheep disco 475 00:16:12,860 --> 00:16:14,120 is a very unique event. 476 00:16:14,360 --> 00:16:16,100 We fly in DJs 477 00:16:16,100 --> 00:16:17,180 from all around the world. 478 00:16:17,800 --> 00:16:19,280 We fly in DJs 479 00:16:19,280 --> 00:16:20,380 from all around the world 480 00:16:20,380 --> 00:16:22,140 to have tracks 481 00:16:22,140 --> 00:16:23,580 for the next, 482 00:16:23,600 --> 00:16:24,920 the next three days here. 483 00:16:25,580 --> 00:16:28,540 All of our DJs, 484 00:16:29,380 --> 00:16:29,920 biographies, 485 00:16:29,920 --> 00:16:30,600 when they're going 486 00:16:30,600 --> 00:16:31,000 to come, 487 00:16:31,840 --> 00:16:32,620 they're on 488 00:16:32,620 --> 00:16:33,320 the wall of sheep 489 00:16:33,320 --> 00:16:33,620 website 490 00:16:33,620 --> 00:16:34,760 at wallofsheep.com 491 00:16:34,760 --> 00:16:35,540 slash pages 492 00:16:35,540 --> 00:16:37,200 slash DC24. 493 00:16:38,040 --> 00:16:38,580 Okay? 494 00:16:38,680 --> 00:16:39,220 And that's 495 00:16:39,220 --> 00:16:39,900 Precocious Event. 496 00:16:40,100 --> 00:16:40,240 So, 497 00:16:40,260 --> 00:16:40,700 hey DJ, 498 00:16:40,880 --> 00:16:41,440 where are you? 499 00:16:42,720 --> 00:16:43,200 Well, 500 00:16:43,320 --> 00:16:44,020 they're not there. 501 00:16:45,020 --> 00:16:45,500 And, 502 00:16:45,660 --> 00:16:46,240 of course, 503 00:16:46,320 --> 00:16:47,140 you know, 504 00:16:47,140 --> 00:16:48,080 one thing that we have 505 00:16:48,080 --> 00:16:48,920 not talked about 506 00:16:48,920 --> 00:16:49,540 is the 507 00:16:49,540 --> 00:16:50,720 Speaker Workshops. 508 00:16:50,820 --> 00:16:51,240 Now, 509 00:16:51,260 --> 00:16:52,080 the Speaker Workshops 510 00:16:52,080 --> 00:16:52,580 is going to run 511 00:16:52,580 --> 00:16:53,320 all day today, 512 00:16:53,740 --> 00:16:54,280 tomorrow, 513 00:16:54,580 --> 00:16:55,980 and for a good part 514 00:16:55,980 --> 00:16:56,500 of Sunday. 515 00:16:57,400 --> 00:16:58,460 At the top 516 00:16:58,460 --> 00:16:59,240 of the hour 517 00:16:59,240 --> 00:17:00,860 plus 10 minutes, 518 00:17:00,920 --> 00:17:01,980 so people can come up 519 00:17:01,980 --> 00:17:03,300 to the 26th floor. 520 00:17:04,400 --> 00:17:04,880 Uh, 521 00:17:05,700 --> 00:17:06,660 that 10, 522 00:17:06,660 --> 00:17:07,560 at the, 523 00:17:07,620 --> 00:17:07,760 at the, 524 00:17:07,760 --> 00:17:08,060 at the, 525 00:17:08,060 --> 00:17:08,160 uh, 526 00:17:08,340 --> 00:17:09,700 the 10 past the hour 527 00:17:10,260 --> 00:17:11,100 we will have 528 00:17:11,100 --> 00:17:11,620 a speaker. 529 00:17:11,920 --> 00:17:12,680 We'll have, 530 00:17:12,760 --> 00:17:12,920 uh, 531 00:17:13,140 --> 00:17:13,640 a speaker, 532 00:17:13,800 --> 00:17:13,960 uh, 533 00:17:14,180 --> 00:17:15,360 at each and every time. 534 00:17:15,480 --> 00:17:17,180 And at 1110, 535 00:17:17,260 --> 00:17:18,340 we will have 536 00:17:18,340 --> 00:17:19,100 Walt William. 537 00:17:19,860 --> 00:17:20,320 Walt, 538 00:17:20,480 --> 00:17:21,160 give a, 539 00:17:21,800 --> 00:17:22,400 give a, 540 00:17:22,440 --> 00:17:22,820 he's, 541 00:17:22,820 --> 00:17:23,680 he's getting prepared, 542 00:17:23,880 --> 00:17:24,480 he's getting prepared 543 00:17:24,480 --> 00:17:25,640 and he'll be talking about, 544 00:17:25,680 --> 00:17:25,820 uh, 545 00:17:25,860 --> 00:17:27,040 presenting metrics to, 546 00:17:27,100 --> 00:17:27,320 uh, 547 00:17:27,420 --> 00:17:28,160 security metrics 548 00:17:28,160 --> 00:17:28,740 to the board. 549 00:17:29,660 --> 00:17:30,120 Now, 550 00:17:30,880 --> 00:17:31,340 so, 551 00:17:31,460 --> 00:17:32,200 it may be, 552 00:17:32,300 --> 00:17:33,380 this is a pretty big, 553 00:17:33,420 --> 00:17:34,500 big event area. 554 00:17:35,160 --> 00:17:36,080 Should you have 555 00:17:36,080 --> 00:17:36,940 more information, 556 00:17:36,940 --> 00:17:37,900 if you need 557 00:17:37,900 --> 00:17:38,500 some help, 558 00:17:38,580 --> 00:17:39,440 or if you need 559 00:17:39,440 --> 00:17:40,380 to find someone, 560 00:17:40,500 --> 00:17:41,660 if you have any question, 561 00:17:41,880 --> 00:17:43,000 we have a world-class 562 00:17:43,000 --> 00:17:43,900 information booth 563 00:17:43,900 --> 00:17:44,900 in the back 564 00:17:44,900 --> 00:17:45,780 when you walk in. 565 00:17:46,020 --> 00:17:46,980 And they will have 566 00:17:46,980 --> 00:17:47,660 more information 567 00:17:47,660 --> 00:17:49,200 about all the different events. 568 00:17:49,640 --> 00:17:50,080 Uh, 569 00:17:50,100 --> 00:17:50,820 the Wall of Sheep 570 00:17:50,820 --> 00:17:51,720 to capture the packet, 571 00:17:52,380 --> 00:17:53,060 Sheep City, 572 00:17:53,260 --> 00:17:53,740 uh, 573 00:17:53,800 --> 00:17:54,440 and the Wi-Fi 574 00:17:54,440 --> 00:17:54,900 sheep hunt. 575 00:17:55,420 --> 00:17:55,860 Uh, 576 00:17:55,940 --> 00:17:56,120 they, 577 00:17:56,200 --> 00:17:57,600 as a world-class team, 578 00:17:57,620 --> 00:17:57,940 uh, 579 00:17:58,080 --> 00:17:58,720 back there, 580 00:17:58,820 --> 00:17:59,280 and, 581 00:17:59,340 --> 00:17:59,800 again, 582 00:17:59,940 --> 00:18:00,820 it's a very welcoming 583 00:18:00,820 --> 00:18:01,280 environment. 584 00:18:01,400 --> 00:18:01,680 And, 585 00:18:01,680 --> 00:18:02,460 you know, 586 00:18:02,500 --> 00:18:03,640 we're very proud to say 587 00:18:03,640 --> 00:18:04,320 we're one of the very, 588 00:18:04,360 --> 00:18:04,720 very few, 589 00:18:04,780 --> 00:18:05,080 you know, 590 00:18:05,100 --> 00:18:06,360 world group that includes, 591 00:18:06,580 --> 00:18:07,760 we like to include 592 00:18:07,760 --> 00:18:08,140 a lot, 593 00:18:08,140 --> 00:18:09,220 lots and lots of folks. 594 00:18:09,620 --> 00:18:10,000 Uh, 595 00:18:10,340 --> 00:18:11,320 Wall of Sheep, 596 00:18:11,320 --> 00:18:13,200 there is a network drop 597 00:18:13,200 --> 00:18:14,080 that you can use. 598 00:18:14,260 --> 00:18:14,620 So, 599 00:18:14,680 --> 00:18:15,600 you can capture packets 600 00:18:15,600 --> 00:18:17,320 from the DepCon network. 601 00:18:18,080 --> 00:18:18,960 Be unsecured. 602 00:18:20,020 --> 00:18:20,820 Feel free. 603 00:18:20,940 --> 00:18:21,740 Hunt for username 604 00:18:21,740 --> 00:18:22,580 and passwords. 605 00:18:23,560 --> 00:18:24,000 And, 606 00:18:24,040 --> 00:18:24,200 uh, 607 00:18:25,040 --> 00:18:25,780 this is, 608 00:18:25,780 --> 00:18:26,380 this is all 609 00:18:26,380 --> 00:18:27,260 for you to learn 610 00:18:27,260 --> 00:18:28,400 and to get to know, 611 00:18:28,480 --> 00:18:28,820 uh, 612 00:18:28,920 --> 00:18:29,300 people. 613 00:18:29,560 --> 00:18:30,640 And we hope you really, 614 00:18:30,860 --> 00:18:31,080 really, 615 00:18:33,420 --> 00:18:33,900 really, 616 00:18:36,800 --> 00:18:37,960 really have fun. 617 00:18:39,020 --> 00:18:40,620 I hope that you will take 618 00:18:40,620 --> 00:18:42,180 advantage of what we have 619 00:18:42,180 --> 00:18:43,420 to offer here. 620 00:18:43,820 --> 00:18:45,440 And we hope that one day 621 00:18:45,440 --> 00:18:47,360 you will be coming back 622 00:18:47,360 --> 00:18:48,560 over and over again 623 00:18:48,560 --> 00:18:49,360 to help out. 624 00:18:49,540 --> 00:18:50,600 Because if it wasn't 625 00:18:50,600 --> 00:18:51,360 for volunteers, 626 00:18:51,540 --> 00:18:52,460 and it wasn't 627 00:18:52,460 --> 00:18:53,140 for the energy, 628 00:18:53,520 --> 00:18:54,380 we would not, 629 00:18:54,380 --> 00:18:54,700 I mean, 630 00:18:54,700 --> 00:18:56,100 we would not be here 631 00:18:56,100 --> 00:18:56,640 right now. 632 00:18:56,780 --> 00:18:57,160 And, 633 00:18:57,200 --> 00:18:57,440 again, 634 00:18:57,500 --> 00:18:58,240 we cannot be 635 00:18:58,860 --> 00:18:59,820 so grateful, 636 00:18:59,960 --> 00:19:00,740 so thankful 637 00:19:00,740 --> 00:19:01,300 for each 638 00:19:01,300 --> 00:19:01,660 and every one 639 00:19:01,660 --> 00:19:02,580 of you to be here. 640 00:19:02,720 --> 00:19:02,900 I mean, 641 00:19:02,920 --> 00:19:03,680 just looking at this, 642 00:19:03,740 --> 00:19:04,660 although the light 643 00:19:04,660 --> 00:19:05,460 is pretty bright, 644 00:19:06,000 --> 00:19:06,440 it's, 645 00:19:06,480 --> 00:19:06,740 um, 646 00:19:07,300 --> 00:19:07,740 it, 647 00:19:07,860 --> 00:19:08,480 it's just really, 648 00:19:08,520 --> 00:19:09,100 really amazing, 649 00:19:09,200 --> 00:19:10,040 really amazing to, 650 00:19:10,140 --> 00:19:10,260 uh, 651 00:19:10,340 --> 00:19:11,260 to all of us to see it. 652 00:19:11,360 --> 00:19:12,400 I do not have any, 653 00:19:12,420 --> 00:19:13,280 any other words. 654 00:19:13,560 --> 00:19:14,640 So have fun. 655 00:19:15,160 --> 00:19:17,060 Welcome to the Packet Hacking Village 656 00:19:17,060 --> 00:19:18,660 here at DepCon 24. 657 00:19:19,260 --> 00:19:20,720 Make yourselves a home. 658 00:19:21,080 --> 00:19:22,200 Meet new people. 659 00:19:22,380 --> 00:19:23,400 Have fun and learn. 660 00:19:23,700 --> 00:19:24,880 Thank you so much. 661 00:19:25,080 --> 00:19:26,120 And we at the, 662 00:19:26,120 --> 00:19:26,460 uh, 663 00:19:26,640 --> 00:19:27,060 at the, 664 00:19:27,100 --> 00:19:27,280 uh, 665 00:19:27,320 --> 00:19:28,100 at 1110, 666 00:19:28,200 --> 00:19:30,140 we will have our very first speaker 667 00:19:30,660 --> 00:19:31,180 of the 668 00:19:31,660 --> 00:19:32,040 workshops, 669 00:19:32,320 --> 00:19:32,660 uh, 670 00:19:32,800 --> 00:19:33,080 here. 671 00:19:33,300 --> 00:19:34,500 Thank you so much. 672 00:19:39,360 --> 00:19:40,200 All right. 673 00:19:40,560 --> 00:19:41,100 So, 674 00:19:41,160 --> 00:19:41,680 good morning, 675 00:19:41,740 --> 00:19:42,080 everyone. 676 00:19:42,240 --> 00:19:43,340 And welcome to, 677 00:19:43,480 --> 00:19:43,860 uh, 678 00:19:43,880 --> 00:19:45,140 the Packet Hacking Village 679 00:19:45,140 --> 00:19:45,880 at the, 680 00:19:46,000 --> 00:19:46,220 uh, 681 00:19:46,440 --> 00:19:47,420 at DepCon 24. 682 00:19:49,380 --> 00:19:50,600 In one minute, 683 00:19:50,740 --> 00:19:51,600 uh, 684 00:19:51,880 --> 00:19:52,400 well, 685 00:19:52,460 --> 00:19:52,760 in about, 686 00:19:52,860 --> 00:19:53,460 oh, 687 00:19:53,700 --> 00:19:53,940 and, 688 00:19:53,960 --> 00:19:54,120 and, 689 00:19:54,260 --> 00:19:55,140 and so it is. 690 00:19:55,240 --> 00:19:56,260 So it's now 1110. 691 00:19:56,920 --> 00:19:59,000 And it is my great pleasure 692 00:19:59,000 --> 00:19:59,900 to introduce 693 00:20:00,520 --> 00:20:01,400 our very, 694 00:20:01,660 --> 00:20:02,360 very first speaker 695 00:20:02,360 --> 00:20:03,900 of the day 696 00:20:03,900 --> 00:20:05,100 and of the, 697 00:20:05,100 --> 00:20:05,340 uh, 698 00:20:05,420 --> 00:20:06,200 of the conference. 699 00:20:07,220 --> 00:20:08,840 He will be talking on 700 00:20:08,840 --> 00:20:10,080 how to present 701 00:20:10,080 --> 00:20:11,860 information security metrics 702 00:20:11,860 --> 00:20:12,520 to boards. 703 00:20:13,240 --> 00:20:14,260 And it is now 704 00:20:14,260 --> 00:20:15,280 my great pleasure 705 00:20:15,280 --> 00:20:16,520 and also, 706 00:20:16,580 --> 00:20:18,020 just for your interest, 707 00:20:18,380 --> 00:20:19,600 he was the very 708 00:20:19,600 --> 00:20:20,480 first speaker 709 00:20:20,480 --> 00:20:21,700 to not only, 710 00:20:21,820 --> 00:20:22,460 he's not only 711 00:20:22,460 --> 00:20:23,160 the first speaker 712 00:20:23,160 --> 00:20:23,640 to speak, 713 00:20:23,880 --> 00:20:24,740 uh, 714 00:20:24,980 --> 00:20:25,460 for the, 715 00:20:25,500 --> 00:20:26,780 at the Packet Hacking Village, 716 00:20:27,040 --> 00:20:27,860 he was also 717 00:20:27,860 --> 00:20:29,020 the very first submission 718 00:20:29,020 --> 00:20:30,620 for the speaker 719 00:20:30,620 --> 00:20:31,080 workshops 720 00:20:31,080 --> 00:20:31,640 at the, 721 00:20:31,640 --> 00:20:31,760 at the Packet Hacking Village. 722 00:20:31,760 --> 00:20:32,360 And it is finally 723 00:20:32,360 --> 00:20:33,400 my pleasure, 724 00:20:33,620 --> 00:20:34,600 give it up, 725 00:20:34,660 --> 00:20:35,900 Walt Williams. 726 00:20:37,720 --> 00:20:38,760 Good morning, 727 00:20:38,820 --> 00:20:39,240 DepCon. 728 00:20:41,660 --> 00:20:42,180 Uh, 729 00:20:42,400 --> 00:20:43,400 a couple of words 730 00:20:43,400 --> 00:20:43,980 about me. 731 00:20:44,060 --> 00:20:44,560 I don't have 732 00:20:44,560 --> 00:20:45,580 the obligatory slide 733 00:20:45,580 --> 00:20:46,240 that says, 734 00:20:46,360 --> 00:20:47,000 I live, 735 00:20:47,140 --> 00:20:47,540 I breathe, 736 00:20:47,640 --> 00:20:48,840 I've done security stuff. 737 00:20:49,100 --> 00:20:50,340 So let me tell you, 738 00:20:50,400 --> 00:20:50,940 I live, 739 00:20:51,040 --> 00:20:51,420 I breathe, 740 00:20:51,500 --> 00:20:52,560 I do security stuff. 741 00:20:52,860 --> 00:20:54,180 But I also want 742 00:20:54,180 --> 00:20:54,580 to tell you 743 00:20:54,580 --> 00:20:55,400 one quick thing 744 00:20:55,400 --> 00:20:56,080 about today. 745 00:20:56,540 --> 00:20:57,060 Uh, 746 00:20:57,200 --> 00:20:58,500 30 years ago today, 747 00:20:58,660 --> 00:20:59,980 I should have been killed 748 00:20:59,980 --> 00:21:02,140 so that I'm on stage today 749 00:21:02,140 --> 00:21:03,440 talking to a bunch 750 00:21:03,440 --> 00:21:05,280 of fellow security geeks 751 00:21:05,280 --> 00:21:06,760 is nothing short of 752 00:21:06,760 --> 00:21:07,080 awesome. 753 00:21:09,080 --> 00:21:09,720 Hurrah! 754 00:21:13,400 --> 00:21:14,040 Alrighty. 755 00:21:15,180 --> 00:21:16,420 So what the hell 756 00:21:16,420 --> 00:21:16,880 are metrics 757 00:21:16,880 --> 00:21:18,180 and why do we care? 758 00:21:18,840 --> 00:21:20,100 Most people think 759 00:21:20,100 --> 00:21:21,340 that metrics are measurements 760 00:21:21,340 --> 00:21:22,280 and they don't understand 761 00:21:22,280 --> 00:21:22,980 the difference. 762 00:21:23,520 --> 00:21:23,880 Um, 763 00:21:24,060 --> 00:21:25,580 a metric is more than 764 00:21:25,580 --> 00:21:26,280 just something 765 00:21:26,280 --> 00:21:27,560 that I should measure. 766 00:21:27,700 --> 00:21:29,360 A metric really is 767 00:21:29,360 --> 00:21:29,960 a result 768 00:21:29,980 --> 00:21:30,620 of analysis. 769 00:21:31,460 --> 00:21:32,660 It is a way 770 00:21:32,660 --> 00:21:33,160 of saying 771 00:21:33,160 --> 00:21:34,520 I am not at 772 00:21:34,520 --> 00:21:36,380 whatever my goal is 773 00:21:36,380 --> 00:21:38,060 and what is the difference 774 00:21:38,060 --> 00:21:39,520 between where I'm at now 775 00:21:39,520 --> 00:21:40,960 and what is my goal. 776 00:21:42,180 --> 00:21:43,800 In order to do metrics, 777 00:21:44,100 --> 00:21:45,280 you have to do 778 00:21:45,280 --> 00:21:46,020 some measurements 779 00:21:46,020 --> 00:21:47,120 but you got to do 780 00:21:47,120 --> 00:21:47,560 measurements 781 00:21:47,560 --> 00:21:49,020 on more than one thing 782 00:21:49,640 --> 00:21:50,780 most of the time. 783 00:21:51,240 --> 00:21:52,560 You need to understand 784 00:21:52,560 --> 00:21:53,620 what your scale is, 785 00:21:53,740 --> 00:21:54,600 you need to understand 786 00:21:54,600 --> 00:21:55,600 the relevance 787 00:21:55,600 --> 00:21:56,320 to time, 788 00:21:56,520 --> 00:21:57,460 you need to understand 789 00:21:57,460 --> 00:21:58,100 the relevance 790 00:21:58,100 --> 00:21:59,160 to, 791 00:21:59,160 --> 00:21:59,560 um, 792 00:21:59,640 --> 00:21:59,960 um, 793 00:21:59,960 --> 00:22:00,240 scale, 794 00:22:00,480 --> 00:22:01,240 you need to have 795 00:22:01,240 --> 00:22:02,020 a unit of measure. 796 00:22:03,300 --> 00:22:03,780 Ideally, 797 00:22:03,780 --> 00:22:05,260 you have an analytical model 798 00:22:05,820 --> 00:22:07,080 and some sort of criteria 799 00:22:07,080 --> 00:22:07,800 that says, 800 00:22:07,980 --> 00:22:08,300 no, 801 00:22:08,460 --> 00:22:10,220 I'm not at my goal yet 802 00:22:10,220 --> 00:22:10,800 or, 803 00:22:10,880 --> 00:22:11,520 hell yeah, 804 00:22:11,640 --> 00:22:12,300 I made it. 805 00:22:13,440 --> 00:22:14,280 The other thing 806 00:22:14,280 --> 00:22:14,840 you got to do 807 00:22:14,840 --> 00:22:15,480 with your metrics 808 00:22:15,480 --> 00:22:17,020 is you have to understand 809 00:22:17,020 --> 00:22:18,540 how mature they are, 810 00:22:19,260 --> 00:22:20,940 how well they'll stand up 811 00:22:20,940 --> 00:22:21,960 to external scrutiny, 812 00:22:22,260 --> 00:22:23,180 especially when you're 813 00:22:23,180 --> 00:22:23,780 going in front of 814 00:22:23,780 --> 00:22:24,520 a board of directors 815 00:22:24,520 --> 00:22:25,900 because they are going 816 00:22:25,900 --> 00:22:26,600 to put you under 817 00:22:26,600 --> 00:22:27,480 a lot of scrutiny. 818 00:22:27,480 --> 00:22:28,500 So, 819 00:22:29,520 --> 00:22:30,500 what do I mean 820 00:22:30,500 --> 00:22:30,980 by goal? 821 00:22:31,880 --> 00:22:32,440 Okay, 822 00:22:33,680 --> 00:22:35,300 what are your business goals? 823 00:22:37,640 --> 00:22:39,140 One of my business goals 824 00:22:39,140 --> 00:22:40,920 is to bring in new logos. 825 00:22:41,180 --> 00:22:42,380 How does security help 826 00:22:42,380 --> 00:22:42,740 with that? 827 00:22:44,300 --> 00:22:45,140 How about 828 00:22:45,140 --> 00:22:46,840 sell more product? 829 00:22:48,080 --> 00:22:48,960 Slightly different 830 00:22:48,960 --> 00:22:49,700 than bringing in 831 00:22:49,700 --> 00:22:50,100 a new logo, 832 00:22:50,180 --> 00:22:50,840 could be a different 833 00:22:50,840 --> 00:22:51,480 business model. 834 00:22:51,620 --> 00:22:52,400 How does security 835 00:22:52,400 --> 00:22:53,060 fit into that? 836 00:22:54,480 --> 00:22:56,260 What are your business goals? 837 00:22:56,620 --> 00:22:57,460 Do you understand 838 00:22:57,480 --> 00:22:58,620 how security fits 839 00:22:58,620 --> 00:22:59,140 into them? 840 00:22:59,980 --> 00:23:01,220 If you don't understand 841 00:23:01,220 --> 00:23:02,260 how security fits 842 00:23:02,260 --> 00:23:03,400 into your business goals, 843 00:23:03,680 --> 00:23:04,720 the time to start 844 00:23:04,720 --> 00:23:05,640 figuring that out 845 00:23:05,640 --> 00:23:06,100 is now. 846 00:23:06,240 --> 00:23:07,160 This is not a matter 847 00:23:07,160 --> 00:23:08,100 of how many packets 848 00:23:08,100 --> 00:23:08,700 you capture. 849 00:23:08,880 --> 00:23:09,980 This is not a matter 850 00:23:09,980 --> 00:23:10,980 of how many hack attacks 851 00:23:10,980 --> 00:23:12,320 that you block. 852 00:23:12,620 --> 00:23:13,240 This is a matter 853 00:23:13,240 --> 00:23:14,280 of how you enable 854 00:23:14,280 --> 00:23:15,460 your business to grow, 855 00:23:15,720 --> 00:23:16,700 how you enable 856 00:23:16,700 --> 00:23:17,780 your business to thrive. 857 00:23:20,960 --> 00:23:21,820 The metric 858 00:23:21,820 --> 00:23:23,020 is the gap between 859 00:23:23,020 --> 00:23:23,840 that goal 860 00:23:23,840 --> 00:23:25,040 and reality. 861 00:23:28,040 --> 00:23:29,300 Now, these numbers 862 00:23:29,300 --> 00:23:29,900 are all fake, 863 00:23:30,020 --> 00:23:30,720 and you'll find 864 00:23:30,720 --> 00:23:31,320 fake numbers 865 00:23:31,320 --> 00:23:32,020 throughout the entire 866 00:23:32,020 --> 00:23:32,520 presentation, 867 00:23:32,840 --> 00:23:33,500 but the metrics 868 00:23:33,500 --> 00:23:34,080 that I'm using 869 00:23:34,080 --> 00:23:34,980 are very, very real. 870 00:23:35,280 --> 00:23:36,160 So when I'm saying 871 00:23:36,160 --> 00:23:37,620 that my antivirus system 872 00:23:37,620 --> 00:23:39,320 blocked 30,000 plus 873 00:23:39,320 --> 00:23:41,300 incidents in the last quarter, 874 00:23:41,380 --> 00:23:42,220 it probably blocked 875 00:23:42,220 --> 00:23:43,280 that many actually 876 00:23:43,280 --> 00:23:44,220 in the last week, 877 00:23:44,220 --> 00:23:45,100 if not more. 878 00:23:45,440 --> 00:23:46,320 Believe it or not, 879 00:23:46,360 --> 00:23:47,420 my antivirus works. 880 00:23:47,560 --> 00:23:48,400 I don't know about yours. 881 00:23:51,240 --> 00:23:52,520 That number where it says 882 00:23:52,520 --> 00:23:53,180 it failed to block 883 00:23:53,180 --> 00:23:54,400 10 incidents last quarter, 884 00:23:54,480 --> 00:23:55,020 I actually think 885 00:23:55,040 --> 00:23:56,380 that's more like 886 00:23:56,380 --> 00:23:58,060 five in the past month. 887 00:23:59,180 --> 00:24:00,280 Okay, so I know 888 00:24:00,280 --> 00:24:00,920 the number's great, 889 00:24:01,200 --> 00:24:02,780 but what do they tell me? 890 00:24:02,820 --> 00:24:03,340 Do they tell me 891 00:24:03,340 --> 00:24:06,100 is blocking 30,000 effective? 892 00:24:06,740 --> 00:24:10,600 Is not blocking five ineffective? 893 00:24:11,160 --> 00:24:12,600 What are my goals for it? 894 00:24:13,960 --> 00:24:15,080 Before I bought 895 00:24:15,080 --> 00:24:16,420 the antivirus software, 896 00:24:16,700 --> 00:24:18,340 what were my goals for it? 897 00:24:18,420 --> 00:24:19,320 Did I have any? 898 00:24:22,240 --> 00:24:24,140 Can I tell from these numbers 899 00:24:24,140 --> 00:24:24,980 if I'm being effective? 900 00:24:25,580 --> 00:24:26,060 No. 901 00:24:27,180 --> 00:24:28,240 If I, however, 902 00:24:28,300 --> 00:24:29,420 take a look at these numbers 903 00:24:29,420 --> 00:24:30,000 over time, 904 00:24:30,340 --> 00:24:32,440 so number of items I block, 905 00:24:32,620 --> 00:24:33,840 number of items I don't block, 906 00:24:34,020 --> 00:24:34,980 measure that over 907 00:24:34,980 --> 00:24:36,480 a three-month span of time, 908 00:24:36,680 --> 00:24:38,400 that may or may not tell me 909 00:24:38,400 --> 00:24:39,320 if I'm being effective, 910 00:24:39,460 --> 00:24:40,500 but it certainly gives me 911 00:24:40,500 --> 00:24:42,380 a trend of relative effectiveness. 912 00:24:44,400 --> 00:24:45,680 My goal, of course, 913 00:24:45,760 --> 00:24:47,980 is always 100% 914 00:24:47,980 --> 00:24:49,240 of viruses blocked, 915 00:24:50,320 --> 00:24:51,200 zero incidents 916 00:24:51,200 --> 00:24:52,520 caused by viruses, 917 00:24:54,440 --> 00:24:55,020 every year, 918 00:24:55,020 --> 00:24:55,920 every single day. 919 00:24:56,500 --> 00:24:57,840 Do I get to that goal? 920 00:24:58,000 --> 00:24:58,140 No. 921 00:24:59,480 --> 00:25:00,840 Combining these two numbers, 922 00:25:00,920 --> 00:25:01,820 which are different measurements, 923 00:25:02,080 --> 00:25:03,940 along with what those goals are, 924 00:25:04,020 --> 00:25:05,520 it allows me to know 925 00:25:05,520 --> 00:25:06,700 if I'm being effective. 926 00:25:07,880 --> 00:25:08,400 Yes. 927 00:25:08,860 --> 00:25:09,760 Speak louder. 928 00:25:10,440 --> 00:25:11,700 Is this loud enough? 929 00:25:12,140 --> 00:25:12,660 Oh. 930 00:25:15,820 --> 00:25:17,140 I mentioned maturity 931 00:25:17,140 --> 00:25:17,880 a bit earlier. 932 00:25:18,500 --> 00:25:20,480 Gary Hinson has a great book 933 00:25:20,480 --> 00:25:21,060 out there, 934 00:25:21,120 --> 00:25:21,960 and I highly recommend 935 00:25:21,960 --> 00:25:23,200 that you pick it up, read it. 936 00:25:23,300 --> 00:25:24,400 It's a fairly thick cover. 937 00:25:24,500 --> 00:25:25,000 It's great. 938 00:25:25,020 --> 00:25:25,100 It's called 939 00:25:25,100 --> 00:25:26,280 Pragmatic Metrics. 940 00:25:26,380 --> 00:25:27,120 I'm going to go through 941 00:25:27,120 --> 00:25:28,160 Pragmatic Metrics 942 00:25:28,160 --> 00:25:29,060 very, very quickly. 943 00:25:29,300 --> 00:25:30,520 Yes, there is a slide 944 00:25:30,520 --> 00:25:31,540 for each bullet item, 945 00:25:31,700 --> 00:25:33,260 so what I define as quickly 946 00:25:33,820 --> 00:25:35,620 may not be your goal as quickly, 947 00:25:35,780 --> 00:25:37,060 but we'll get there. 948 00:25:37,880 --> 00:25:38,760 Hopefully, the gap 949 00:25:38,760 --> 00:25:39,860 is not too big a delta. 950 00:25:40,680 --> 00:25:42,140 But what Pragmatic is, 951 00:25:42,260 --> 00:25:43,760 is it is a model 952 00:25:43,760 --> 00:25:45,200 for measuring the effectiveness 953 00:25:45,200 --> 00:25:46,020 or the maturity 954 00:25:46,020 --> 00:25:47,400 of your metrics over time, 955 00:25:47,880 --> 00:25:48,740 allowing you to help 956 00:25:48,740 --> 00:25:49,480 get them better. 957 00:25:49,700 --> 00:25:50,820 So before we get into 958 00:25:50,820 --> 00:25:52,680 constructing specific metrics, 959 00:25:52,880 --> 00:25:53,480 let's take a look 960 00:25:53,480 --> 00:25:54,780 at what makes a good metric. 961 00:25:57,180 --> 00:25:59,000 First thing is that a metric 962 00:25:59,000 --> 00:26:00,700 ideally is predictive. 963 00:26:01,680 --> 00:26:03,940 So saying that I've had zero breaches 964 00:26:03,940 --> 00:26:05,420 over the past three days 965 00:26:06,080 --> 00:26:07,300 doesn't mean that I'll have 966 00:26:07,300 --> 00:26:07,980 a breach tomorrow 967 00:26:07,980 --> 00:26:09,120 or I won't have 968 00:26:09,120 --> 00:26:09,720 a breach tomorrow. 969 00:26:10,100 --> 00:26:11,000 It's kind of like the 970 00:26:11,000 --> 00:26:12,080 flipping the coin scenario. 971 00:26:12,580 --> 00:26:13,960 I can flip that coin 972 00:26:13,960 --> 00:26:14,940 and get heads or tails 973 00:26:14,940 --> 00:26:16,020 10,000 times, 974 00:26:16,200 --> 00:26:17,500 but you have no idea 975 00:26:17,500 --> 00:26:18,480 what the next flip 976 00:26:18,480 --> 00:26:19,300 is going to be. 977 00:26:19,660 --> 00:26:20,700 And by the way, 978 00:26:20,860 --> 00:26:22,060 who can tell me 979 00:26:22,060 --> 00:26:24,240 what, how many options 980 00:26:24,240 --> 00:26:25,800 there are when you flip a coin? 981 00:26:27,080 --> 00:26:28,140 Did I hear three? 982 00:26:28,720 --> 00:26:29,200 Beautiful. 983 00:26:29,400 --> 00:26:31,280 Yes, it can land on the side. 984 00:26:33,780 --> 00:26:34,800 Now numbers like 985 00:26:34,800 --> 00:26:35,960 how many breaches you've had 986 00:26:35,960 --> 00:26:37,120 over the past three months, 987 00:26:37,240 --> 00:26:37,820 three years, 988 00:26:38,000 --> 00:26:39,600 are very good indicators 989 00:26:39,600 --> 00:26:40,680 of past success, 990 00:26:40,980 --> 00:26:41,800 but they're not predictive. 991 00:26:41,920 --> 00:26:42,560 It's kind of like looking 992 00:26:42,560 --> 00:26:43,520 at the stock market. 993 00:26:44,060 --> 00:26:45,360 Now the change in number 994 00:26:45,360 --> 00:26:46,500 of accepted risks 995 00:26:46,500 --> 00:26:47,540 with an impact 996 00:26:47,540 --> 00:26:48,560 over $1 million 997 00:26:48,560 --> 00:26:50,080 over the last 12 months 998 00:26:50,080 --> 00:26:51,580 is down by three. 999 00:26:53,380 --> 00:26:54,440 That's a great number. 1000 00:26:54,960 --> 00:26:56,140 That shows that you're 1001 00:26:56,140 --> 00:26:57,220 accepting less risk. 1002 00:26:57,280 --> 00:26:58,280 That probably means 1003 00:26:58,280 --> 00:26:59,420 that you're doing 1004 00:26:59,420 --> 00:27:00,900 a better job of remediation, 1005 00:27:01,520 --> 00:27:03,580 but again, it's not predictive. 1006 00:27:03,820 --> 00:27:04,920 It's looking at the past. 1007 00:27:05,920 --> 00:27:06,900 And by the way, 1008 00:27:06,920 --> 00:27:07,800 sound risk management 1009 00:27:07,800 --> 00:27:09,880 doesn't always see a decrease 1010 00:27:09,880 --> 00:27:11,480 in the number of accepted risks. 1011 00:27:11,760 --> 00:27:14,480 It often sees an increase, 1012 00:27:14,640 --> 00:27:16,500 however, in the impact of risk 1013 00:27:16,500 --> 00:27:17,520 because that means 1014 00:27:17,520 --> 00:27:18,500 your company is growing. 1015 00:27:19,620 --> 00:27:21,040 And so if you take a look 1016 00:27:21,040 --> 00:27:21,760 as an example 1017 00:27:21,760 --> 00:27:24,020 of the actual increase 1018 00:27:24,020 --> 00:27:26,460 of business impact 1019 00:27:26,460 --> 00:27:27,620 to the company 1020 00:27:27,620 --> 00:27:29,460 from a security event 1021 00:27:30,280 --> 00:27:32,320 divided by the number 1022 00:27:32,320 --> 00:27:33,240 of security events, 1023 00:27:34,180 --> 00:27:35,380 then you're starting 1024 00:27:35,380 --> 00:27:36,760 to get a decent handle 1025 00:27:36,760 --> 00:27:38,160 on how well you're doing 1026 00:27:38,160 --> 00:27:38,920 risk management. 1027 00:27:42,380 --> 00:27:43,520 Predictive measurements 1028 00:27:44,000 --> 00:27:45,480 are usually best off 1029 00:27:45,480 --> 00:27:46,260 when taking a look 1030 00:27:46,260 --> 00:27:47,460 at things such as 1031 00:27:47,460 --> 00:27:48,940 personnel is to respond 1032 00:27:48,940 --> 00:27:50,160 to remediation demands, 1033 00:27:51,040 --> 00:27:52,860 or how long does it take 1034 00:27:52,860 --> 00:27:53,600 for a customer 1035 00:27:53,600 --> 00:27:56,540 to respond to a security survey, 1036 00:27:56,940 --> 00:27:58,380 areas where you can do 1037 00:27:58,380 --> 00:28:00,000 trend analysis over time. 1038 00:28:00,400 --> 00:28:01,880 You notice in both cases 1039 00:28:01,880 --> 00:28:02,940 of the two sample metrics 1040 00:28:02,940 --> 00:28:03,840 I just gave you, 1041 00:28:03,940 --> 00:28:05,300 there was a unit of measurement 1042 00:28:05,300 --> 00:28:06,260 in there regarding 1043 00:28:06,260 --> 00:28:07,520 duration or time. 1044 00:28:12,020 --> 00:28:13,180 How many companies 1045 00:28:13,180 --> 00:28:15,300 have an SLA of five nines? 1046 00:28:15,460 --> 00:28:15,980 Raise your hand. 1047 00:28:18,000 --> 00:28:19,900 So you're okay with 1048 00:28:19,900 --> 00:28:22,240 five hours of downtime every year. 1049 00:28:25,040 --> 00:28:26,700 It shows operational success 1050 00:28:26,700 --> 00:28:28,080 or maybe not so much 1051 00:28:28,080 --> 00:28:29,220 if five hours of downtime 1052 00:28:29,220 --> 00:28:30,900 makes your customers go crazy. 1053 00:28:31,320 --> 00:28:32,580 But it tells you nothing 1054 00:28:32,580 --> 00:28:33,780 about your security goal 1055 00:28:33,780 --> 00:28:34,260 of availability. 1056 00:28:34,960 --> 00:28:37,340 Did you exceed that measurement? 1057 00:28:38,980 --> 00:28:40,000 Hopefully you did. 1058 00:28:40,220 --> 00:28:41,340 If you didn't exceed 1059 00:28:41,340 --> 00:28:42,060 that measurement, 1060 00:28:42,780 --> 00:28:44,100 then you could be in trouble. 1061 00:28:45,260 --> 00:28:46,820 How many DDoS attacks 1062 00:28:46,820 --> 00:28:47,500 did you have 1063 00:28:47,500 --> 00:28:48,540 in the last four quarters 1064 00:28:48,540 --> 00:28:49,500 that took you down? 1065 00:28:50,320 --> 00:28:51,860 That's again a great measurement, 1066 00:28:52,100 --> 00:28:54,540 but at least that one 1067 00:28:54,540 --> 00:28:56,180 informs on the information security 1068 00:28:56,180 --> 00:28:57,020 goal of availability. 1069 00:28:59,880 --> 00:29:01,820 Remember, while that's a measurement, 1070 00:29:01,940 --> 00:29:03,040 it's looking backwards. 1071 00:29:03,580 --> 00:29:05,080 However, if you take a look 1072 00:29:05,080 --> 00:29:06,100 at that over time 1073 00:29:06,100 --> 00:29:08,160 and that measurement continues 1074 00:29:08,160 --> 00:29:10,300 to be pretty flat, 1075 00:29:11,040 --> 00:29:12,560 that's giving you a good trend 1076 00:29:12,560 --> 00:29:13,960 of your controls are working. 1077 00:29:16,400 --> 00:29:17,000 Actionable. 1078 00:29:17,000 --> 00:29:19,480 A goal should tell you 1079 00:29:19,480 --> 00:29:20,300 something to change. 1080 00:29:20,480 --> 00:29:23,040 So if my denial of service attack metric 1081 00:29:23,040 --> 00:29:23,860 that I just mentioned 1082 00:29:23,860 --> 00:29:24,620 a moment or two ago 1083 00:29:24,620 --> 00:29:26,320 all of a sudden spikes up to 1084 00:29:26,320 --> 00:29:27,700 I had one successful incident 1085 00:29:27,700 --> 00:29:28,680 that took me down, 1086 00:29:29,560 --> 00:29:31,680 well, I need to act on something. 1087 00:29:31,800 --> 00:29:33,720 I need to change my DDoS defenses. 1088 00:29:34,520 --> 00:29:37,560 All good metrics should give you 1089 00:29:37,560 --> 00:29:39,260 something that you can do about them 1090 00:29:39,260 --> 00:29:41,420 when the difference between 1091 00:29:41,420 --> 00:29:42,580 the metric and the goal 1092 00:29:42,580 --> 00:29:44,700 changes in a negative way. 1093 00:29:46,680 --> 00:29:48,900 So 95% of vulnerabilities 1094 00:29:48,900 --> 00:29:50,560 detected on servers found 1095 00:29:50,560 --> 00:29:52,660 on non-OS components 1096 00:29:52,660 --> 00:29:53,840 over the last six months, 1097 00:29:54,020 --> 00:29:55,980 that's a very, very actionable goal. 1098 00:29:56,220 --> 00:29:57,540 Go out there and patch 1099 00:29:57,540 --> 00:29:58,800 your non-Microsoft stuff. 1100 00:29:59,080 --> 00:30:00,580 Patch the Java, patch the Adobe. 1101 00:30:00,940 --> 00:30:01,860 It's very actionable. 1102 00:30:04,740 --> 00:30:05,300 Genuine. 1103 00:30:06,020 --> 00:30:08,300 I love companies that go up there 1104 00:30:08,300 --> 00:30:10,720 and say, I have had zero breaches 1105 00:30:10,720 --> 00:30:12,300 in the past 12 months. 1106 00:30:13,200 --> 00:30:14,420 And you know this how? 1107 00:30:15,420 --> 00:30:17,440 How many of you like science? 1108 00:30:17,820 --> 00:30:18,920 Raise your hands. 1109 00:30:19,120 --> 00:30:20,060 Shout to the heavens. 1110 00:30:20,840 --> 00:30:22,540 There's a little thing in science 1111 00:30:22,540 --> 00:30:23,980 you cannot prove a negative. 1112 00:30:26,000 --> 00:30:28,140 Saying that you had zero breaches 1113 00:30:28,140 --> 00:30:30,800 is effectively trying to prove a negative. 1114 00:30:31,840 --> 00:30:33,240 You can only talk about 1115 00:30:33,240 --> 00:30:34,420 the breaches you know about, 1116 00:30:34,600 --> 00:30:36,300 not the breaches you don't. 1117 00:30:38,620 --> 00:30:40,240 No, it's not implied. 1118 00:30:40,700 --> 00:30:42,820 You can only... 1119 00:30:42,820 --> 00:30:43,760 No. 1120 00:30:43,820 --> 00:30:44,120 No. 1121 00:30:44,700 --> 00:30:46,020 With every single metric, 1122 00:30:46,160 --> 00:30:47,500 you can only talk about 1123 00:30:47,500 --> 00:30:48,140 what you know. 1124 00:30:48,320 --> 00:30:49,760 You cannot talk about 1125 00:30:49,760 --> 00:30:50,820 what you don't know. 1126 00:30:51,800 --> 00:30:53,320 So you can't talk about 1127 00:30:53,320 --> 00:30:54,660 breaches you haven't had. 1128 00:30:54,980 --> 00:30:56,240 You can talk about 1129 00:30:56,240 --> 00:30:57,640 breaches you have had. 1130 00:31:00,520 --> 00:31:01,820 Metrics should be genuine. 1131 00:31:05,220 --> 00:31:07,020 Metrics should be meaningful. 1132 00:31:07,660 --> 00:31:10,700 So is 54 emails identified as spam 1133 00:31:10,700 --> 00:31:12,080 a good thing or a bad thing? 1134 00:31:12,460 --> 00:31:13,940 It could be that 1135 00:31:13,940 --> 00:31:15,220 you're getting no spam. 1136 00:31:15,540 --> 00:31:17,100 It could be that your controls 1137 00:31:17,100 --> 00:31:18,760 are so horrible 1138 00:31:19,780 --> 00:31:22,040 that you get 54 emails as spam. 1139 00:31:22,340 --> 00:31:23,640 I don't know, is that a good thing 1140 00:31:23,640 --> 00:31:24,220 or a bad thing? 1141 00:31:24,480 --> 00:31:25,880 Personally, I think if I'm only 1142 00:31:25,880 --> 00:31:27,240 getting 54 as spam, 1143 00:31:27,460 --> 00:31:28,800 that's a pretty good thing. 1144 00:31:29,160 --> 00:31:30,080 Other people would say 1145 00:31:30,080 --> 00:31:31,760 if you're getting 54 in a day, 1146 00:31:31,860 --> 00:31:33,320 that means your spam controls 1147 00:31:33,320 --> 00:31:33,960 are horrible. 1148 00:31:34,200 --> 00:31:35,040 What's your goal? 1149 00:31:36,680 --> 00:31:38,560 You don't want a metric to just, 1150 00:31:38,600 --> 00:31:40,240 however, show that a product 1151 00:31:40,240 --> 00:31:41,500 is doing something. 1152 00:31:42,240 --> 00:31:43,180 Okay, great. 1153 00:31:43,280 --> 00:31:46,100 It's blocked everything except 54. 1154 00:31:46,400 --> 00:31:47,740 Well, how many did it block? 1155 00:31:49,460 --> 00:31:51,300 Probably a better metric here is 1156 00:31:51,300 --> 00:31:53,920 how many tickets have people opened up 1157 00:31:53,920 --> 00:31:56,040 with my IT staff over emails 1158 00:31:56,040 --> 00:31:57,920 that were identified by them as spam? 1159 00:31:59,940 --> 00:32:01,080 It can be meaningful. 1160 00:32:01,200 --> 00:32:02,680 It can be tracked over time. 1161 00:32:02,820 --> 00:32:03,580 It can be predictive. 1162 00:32:04,120 --> 00:32:06,020 If the trend is heading downwards, 1163 00:32:06,160 --> 00:32:07,700 it means that the changes you made 1164 00:32:07,700 --> 00:32:08,700 to your controls, remember, 1165 00:32:08,820 --> 00:32:10,400 you did something about it, 1166 00:32:10,400 --> 00:32:11,460 have been successful. 1167 00:32:12,900 --> 00:32:13,440 Accurate. 1168 00:32:14,940 --> 00:32:16,420 These are two eye charts. 1169 00:32:16,760 --> 00:32:19,340 Anyone remember Nessus reports? 1170 00:32:21,120 --> 00:32:22,720 These are two samples 1171 00:32:22,720 --> 00:32:24,000 right out of Nessus reports. 1172 00:32:24,300 --> 00:32:26,180 They are impossible to read, 1173 00:32:26,280 --> 00:32:27,220 and that's somewhat deliberate. 1174 00:32:27,320 --> 00:32:28,140 I don't want you knowing 1175 00:32:28,140 --> 00:32:30,160 what my vulnerable cities were, 1176 00:32:30,360 --> 00:32:32,780 but what you can tell here 1177 00:32:32,780 --> 00:32:33,840 is very, very simple. 1178 00:32:34,260 --> 00:32:36,320 This one doesn't line up 1179 00:32:36,320 --> 00:32:36,900 with this one. 1180 00:32:39,720 --> 00:32:40,380 They work. 1181 00:32:40,400 --> 00:32:41,920 They were taken within a week of each other. 1182 00:32:44,240 --> 00:32:46,520 Did my vulnerability stance change 1183 00:32:46,520 --> 00:32:48,680 over that drastically over a week? 1184 00:32:49,140 --> 00:32:50,240 Probably not. 1185 00:32:51,640 --> 00:32:53,400 Your metrics need to be accurate. 1186 00:32:53,540 --> 00:32:54,680 You need to verify them. 1187 00:32:57,300 --> 00:32:59,480 When you get discrepancies like this, 1188 00:32:59,560 --> 00:33:01,360 you need to go in and independently verify 1189 00:33:01,360 --> 00:33:03,700 that you're getting accuracy 1190 00:33:03,700 --> 00:33:04,740 out of your tools. 1191 00:33:05,040 --> 00:33:07,060 Don't just trust your tools 1192 00:33:07,060 --> 00:33:08,960 because your tools give you information, 1193 00:33:08,960 --> 00:33:10,620 does not make it reality. 1194 00:33:13,340 --> 00:33:15,520 Ideally, you have multiple tools 1195 00:33:15,520 --> 00:33:17,280 that give you the same information 1196 00:33:17,810 --> 00:33:18,940 from different perspectives 1197 00:33:18,940 --> 00:33:21,000 so that you have different ways 1198 00:33:21,000 --> 00:33:22,740 of correlating that data. 1199 00:33:24,600 --> 00:33:26,300 I realize we all have budgets. 1200 00:33:30,320 --> 00:33:32,380 Does anyone care how many vulnerabilities 1201 00:33:32,380 --> 00:33:34,020 I had in 2012? 1202 00:33:34,400 --> 00:33:35,560 Raise your hands if you care. 1203 00:33:37,560 --> 00:33:39,200 I only care if those vulnerabilities 1204 00:33:39,200 --> 00:33:40,280 are still with me. 1205 00:33:41,900 --> 00:33:44,680 Those servers probably don't even exist anymore, 1206 00:33:44,780 --> 00:33:46,640 and if I still have those vulnerabilities today, 1207 00:33:46,820 --> 00:33:48,080 I am in big doo-doo. 1208 00:33:48,480 --> 00:33:50,560 However, the number of vulnerabilities I have 1209 00:33:50,560 --> 00:33:52,280 on a brand-new production system 1210 00:33:52,280 --> 00:33:53,400 as it's staged up, 1211 00:33:53,560 --> 00:33:55,380 that's something that I care about. 1212 00:33:55,860 --> 00:33:57,400 And yes, it's August now, 1213 00:33:57,580 --> 00:33:59,500 and I wrote this presentation in March, 1214 00:33:59,620 --> 00:34:00,640 which is why I was first, 1215 00:34:00,920 --> 00:34:04,020 but the big question is, 1216 00:34:04,020 --> 00:34:04,740 okay, great. 1217 00:34:07,640 --> 00:34:09,220 Do I still have them? 1218 00:34:10,780 --> 00:34:12,720 If I still have them here in August, 1219 00:34:12,880 --> 00:34:13,980 I'm in really big trouble. 1220 00:34:15,260 --> 00:34:17,140 So the data should always be 1221 00:34:17,140 --> 00:34:18,440 about current state, 1222 00:34:18,700 --> 00:34:20,180 not about past state. 1223 00:34:23,760 --> 00:34:25,460 Now, when I'm taking a look 1224 00:34:25,460 --> 00:34:26,800 at the measurements that I use 1225 00:34:26,800 --> 00:34:27,900 for information security, 1226 00:34:29,440 --> 00:34:30,980 I'll come up with my numbers. 1227 00:34:31,480 --> 00:34:33,120 If I hand it off to 1228 00:34:34,020 --> 00:34:35,140 my security engineer, 1229 00:34:35,740 --> 00:34:38,280 and she can't come up with the same numbers 1230 00:34:38,280 --> 00:34:39,340 while I'm here in DEF CON, 1231 00:34:39,600 --> 00:34:41,400 and she's putting together the reports, 1232 00:34:42,220 --> 00:34:44,540 my metrics program is a failure. 1233 00:34:45,280 --> 00:34:47,420 The metrics that are being produced 1234 00:34:47,420 --> 00:34:49,500 by your metrics program should be independent 1235 00:34:49,500 --> 00:34:51,320 of who's ever putting them together. 1236 00:34:51,720 --> 00:34:53,100 There should be no, 1237 00:34:53,300 --> 00:34:55,880 oh, that's a high-risk issue. 1238 00:34:56,320 --> 00:34:57,260 Well, what does high mean? 1239 00:34:58,420 --> 00:34:59,240 To whom? 1240 00:34:59,700 --> 00:35:00,740 Under what conditions? 1241 00:35:02,220 --> 00:35:03,840 The metrics got to be objective. 1242 00:35:05,340 --> 00:35:07,040 It's also got to be cost-effective. 1243 00:35:07,240 --> 00:35:09,620 If you spend 12 hours a day 1244 00:35:09,620 --> 00:35:11,320 calculating out your metrics report, 1245 00:35:12,140 --> 00:35:14,160 you are probably spending 1246 00:35:14,160 --> 00:35:15,800 way too much time on this. 1247 00:35:16,740 --> 00:35:18,460 Your metrics report should be 1248 00:35:18,460 --> 00:35:19,640 very, very quick to generate 1249 00:35:19,640 --> 00:35:20,840 out of the existing tools 1250 00:35:20,840 --> 00:35:21,840 the numbers that you have. 1251 00:35:25,360 --> 00:35:27,120 Okay, so that tells you 1252 00:35:27,120 --> 00:35:29,160 what a pragmatic metric is. 1253 00:35:29,440 --> 00:35:31,400 If your metrics don't conform 1254 00:35:31,400 --> 00:35:33,250 to every one of those goals, 1255 00:35:34,770 --> 00:35:36,050 then there are places 1256 00:35:36,050 --> 00:35:37,710 where your metrics can be improved. 1257 00:35:38,190 --> 00:35:39,970 So as you're taking a look at the metrics 1258 00:35:39,970 --> 00:35:41,210 that you have in your organization, 1259 00:35:41,710 --> 00:35:43,490 compare it to each one of those items, 1260 00:35:43,690 --> 00:35:45,910 look for places where you can get an improvement 1261 00:35:45,910 --> 00:35:47,150 in the metrics you have, 1262 00:35:47,350 --> 00:35:49,150 and then work on improving them. 1263 00:35:49,350 --> 00:35:51,590 That allows you to mature your metrics over time, 1264 00:35:51,810 --> 00:35:52,810 which is part of your goal, 1265 00:35:52,890 --> 00:35:54,810 is to have mature, solid metrics 1266 00:35:54,810 --> 00:35:56,890 when you go in front of the board to present to them. 1267 00:35:57,610 --> 00:35:59,250 Now, what does the board care about 1268 00:35:59,690 --> 00:36:01,290 when you're looking at your program? 1269 00:36:01,290 --> 00:36:02,830 Does the board care about security? 1270 00:36:03,050 --> 00:36:04,450 Does the board care about compliance? 1271 00:36:05,010 --> 00:36:06,530 This is a trick question. 1272 00:36:07,690 --> 00:36:10,030 Who thinks the board cares about security? 1273 00:36:10,310 --> 00:36:10,910 Raise your hand. 1274 00:36:11,830 --> 00:36:12,810 A few people. 1275 00:36:13,130 --> 00:36:15,250 Who thinks the board cares about compliance? 1276 00:36:15,350 --> 00:36:16,130 Raise your hands. 1277 00:36:16,530 --> 00:36:17,410 More people. 1278 00:36:17,990 --> 00:36:19,830 The people who raised their hands 1279 00:36:19,830 --> 00:36:22,110 about compliance were absolutely right. 1280 00:36:22,390 --> 00:36:23,950 The people who raised their hands 1281 00:36:23,950 --> 00:36:26,190 about security are sometimes right. 1282 00:36:27,610 --> 00:36:28,850 Depends upon your board. 1283 00:36:28,970 --> 00:36:29,790 Get to know your board. 1284 00:36:31,870 --> 00:36:32,810 Compliance metrics 1285 00:36:34,170 --> 00:36:35,370 are a good way 1286 00:36:35,370 --> 00:36:36,350 of looking at security 1287 00:36:36,350 --> 00:36:39,190 through a very, very particular lens. 1288 00:36:39,330 --> 00:36:40,990 It involves some dangerous assumptions. 1289 00:36:41,850 --> 00:36:43,450 So, take a look at compliance 1290 00:36:43,450 --> 00:36:44,750 in terms of, okay, 1291 00:36:44,870 --> 00:36:47,250 if the policies and procedures 1292 00:36:47,250 --> 00:36:49,270 and standards are doing their job, 1293 00:36:49,490 --> 00:36:51,530 and if the organization 1294 00:36:51,530 --> 00:36:53,230 is compliant with them, 1295 00:36:53,890 --> 00:36:55,050 then you can measure 1296 00:36:55,050 --> 00:36:56,930 to what degree you're compliant with 1297 00:36:58,070 --> 00:36:59,570 those policies, procedures, 1298 00:36:59,830 --> 00:37:00,330 and standards. 1299 00:37:01,310 --> 00:37:03,190 Some dangerous assumptions there. 1300 00:37:03,270 --> 00:37:04,230 I love the word if. 1301 00:37:04,330 --> 00:37:05,910 It's so small, so very meaningful. 1302 00:37:07,020 --> 00:37:09,010 Your board will certainly care about 1303 00:37:09,010 --> 00:37:11,250 measuring your policies, 1304 00:37:11,570 --> 00:37:13,210 measuring your procedures, 1305 00:37:13,550 --> 00:37:15,070 measuring your standards. 1306 00:37:15,370 --> 00:37:17,070 They may also care about 1307 00:37:17,070 --> 00:37:19,950 external standards, such as PCI DSS, 1308 00:37:20,090 --> 00:37:21,430 such as SOC 2, 1309 00:37:21,630 --> 00:37:23,430 such as Sarbanes-Oxley, 1310 00:37:23,650 --> 00:37:26,030 such as etc., etc., etc. 1311 00:37:26,550 --> 00:37:28,290 So, it's always a good idea 1312 00:37:28,290 --> 00:37:29,570 to line up your standards 1313 00:37:29,570 --> 00:37:31,270 with those external standards. 1314 00:37:32,950 --> 00:37:33,990 Okay, great. 1315 00:37:34,350 --> 00:37:35,730 So, now we're to the point 1316 00:37:35,730 --> 00:37:36,850 where we're ready to start 1317 00:37:36,850 --> 00:37:37,810 deriving metrics. 1318 00:37:38,210 --> 00:37:40,050 And I highly recommend that 1319 00:37:40,050 --> 00:37:43,290 you take a good look at ISO 27004, 1320 00:37:44,490 --> 00:37:45,850 which has been the basis 1321 00:37:45,850 --> 00:37:47,650 of everything that I've been saying here. 1322 00:37:47,950 --> 00:37:49,270 It is an international 1323 00:37:49,870 --> 00:37:50,990 security standard. 1324 00:37:52,150 --> 00:37:53,810 Yes, are you compliant 1325 00:37:53,810 --> 00:37:54,690 with that standard 1326 00:37:54,690 --> 00:37:57,030 on how you put together a metric? 1327 00:37:57,250 --> 00:37:57,790 And by the way, 1328 00:37:57,930 --> 00:38:00,790 it does not mandate particular metrics. 1329 00:38:01,290 --> 00:38:02,190 It mandates the approach 1330 00:38:02,190 --> 00:38:04,050 that I'm recommending regarding 1331 00:38:04,050 --> 00:38:05,310 putting metrics together. 1332 00:38:05,690 --> 00:38:07,750 It involves you thinking about 1333 00:38:07,750 --> 00:38:09,190 what's important to your organization. 1334 00:38:11,450 --> 00:38:13,410 Now, the metrics that we're using 1335 00:38:13,410 --> 00:38:14,030 at Lattice 1336 00:38:14,030 --> 00:38:16,030 are goal-oriented. 1337 00:38:16,610 --> 00:38:18,470 They inform the success 1338 00:38:18,470 --> 00:38:19,470 regarding our program. 1339 00:38:19,830 --> 00:38:21,550 They identify the relationship 1340 00:38:21,550 --> 00:38:22,790 between different measurements 1341 00:38:22,790 --> 00:38:24,050 that we take regarding tools 1342 00:38:24,050 --> 00:38:25,750 that we have in our environment. 1343 00:38:26,330 --> 00:38:28,130 And the metric is the goal. 1344 00:38:31,290 --> 00:38:31,370 And the goal, 1345 00:38:31,370 --> 00:38:32,590 or other layers of management 1346 00:38:32,590 --> 00:38:33,950 within my organization, 1347 00:38:34,230 --> 00:38:35,610 is the difference between 1348 00:38:35,610 --> 00:38:37,010 where reality is 1349 00:38:37,010 --> 00:38:38,550 and where my goal is. 1350 00:38:40,150 --> 00:38:42,570 Now, before I get into specific metrics, 1351 00:38:43,270 --> 00:38:44,690 the metrics produce results. 1352 00:38:46,230 --> 00:38:48,470 Inside of six months, 1353 00:38:48,670 --> 00:38:49,870 the number of vulnerabilities 1354 00:38:49,870 --> 00:38:51,450 that we had in our organization 1355 00:38:51,450 --> 00:38:53,290 plunged by 98% 1356 00:38:53,290 --> 00:38:54,730 of what they were. 1357 00:38:55,070 --> 00:38:57,150 Does that mean that I no longer 1358 00:38:57,150 --> 00:38:58,350 have vulnerabilities? No. 1359 00:39:02,130 --> 00:39:03,010 Unauthorized changes 1360 00:39:03,010 --> 00:39:04,730 plunged by 100% 1361 00:39:05,130 --> 00:39:06,070 from what they were. 1362 00:39:06,950 --> 00:39:09,070 Now it's very, very rare that I have 1363 00:39:09,070 --> 00:39:10,170 an unauthorized change. 1364 00:39:10,890 --> 00:39:13,330 My confidence by the Board of Directors 1365 00:39:13,330 --> 00:39:15,210 and Senior Management in our DR strategy 1366 00:39:15,810 --> 00:39:16,850 rose significantly. 1367 00:39:17,070 --> 00:39:18,570 I don't have an exact number here. 1368 00:39:19,070 --> 00:39:20,350 Hard to measure confidence. 1369 00:39:20,830 --> 00:39:22,590 But I get a lot of pats on the back 1370 00:39:22,590 --> 00:39:24,270 because we're doing a recovery 1371 00:39:24,270 --> 00:39:25,730 every single month. 1372 00:39:26,990 --> 00:39:29,470 And finally, 100% of the metrics 1373 00:39:29,470 --> 00:39:31,150 that I started with 1374 00:39:31,290 --> 00:39:32,230 have been adjusted 1375 00:39:32,230 --> 00:39:33,690 over the last six months 1376 00:39:33,690 --> 00:39:35,550 as we work on maturing them. 1377 00:39:37,610 --> 00:39:38,410 All right. 1378 00:39:39,790 --> 00:39:41,130 I'm certain none of you 1379 00:39:41,130 --> 00:39:42,430 care about most of this stuff 1380 00:39:42,430 --> 00:39:44,450 because this is a lot of specific stuff. 1381 00:39:44,590 --> 00:39:45,990 I want to point out a resource to you. 1382 00:39:46,590 --> 00:39:48,150 If you don't know 1383 00:39:48,150 --> 00:39:50,590 about the Thomas Scoring System, 1384 00:39:50,810 --> 00:39:52,670 I highly recommend you start reading 1385 00:39:52,670 --> 00:39:54,410 the Exploring Possible Space blog 1386 00:39:54,410 --> 00:39:56,530 and become familiar with 1387 00:39:56,530 --> 00:39:57,590 the Thomas Scoring System. 1388 00:39:57,950 --> 00:39:59,530 It's an effort to produce 1389 00:40:01,290 --> 00:40:01,710 pretty metrics 1390 00:40:01,710 --> 00:40:04,210 that aggregate across multiple controls 1391 00:40:04,210 --> 00:40:05,750 in a realistic way 1392 00:40:05,750 --> 00:40:08,790 that's not multiplying apples 1393 00:40:08,790 --> 00:40:10,670 times oranges to get grapefruits 1394 00:40:11,050 --> 00:40:13,150 but is a realistic way 1395 00:40:13,150 --> 00:40:13,810 of looking at 1396 00:40:13,810 --> 00:40:15,810 the different measurements 1397 00:40:15,810 --> 00:40:18,030 in a way that understands 1398 00:40:18,030 --> 00:40:19,370 how they inform each other. 1399 00:40:19,790 --> 00:40:20,970 Highly recommend it. 1400 00:40:21,310 --> 00:40:23,350 Now if you came here looking for 1401 00:40:23,350 --> 00:40:25,790 okay, what do good dashboards look like, 1402 00:40:25,850 --> 00:40:27,050 that's somebody else's talk. 1403 00:40:27,370 --> 00:40:29,010 And by the way, when I present metrics 1404 00:40:31,290 --> 00:40:32,070 I don't recommend the wrong numbers 1405 00:40:32,070 --> 00:40:34,350 but I'm working at a data science firm. 1406 00:40:34,490 --> 00:40:35,310 We like numbers. 1407 00:40:35,650 --> 00:40:37,550 So again, know what your board wants. 1408 00:40:38,990 --> 00:40:40,590 Now for the sample metrics 1409 00:40:40,590 --> 00:40:42,850 right after this sponsored drink. 1410 00:40:46,270 --> 00:40:47,250 All righty. 1411 00:40:47,370 --> 00:40:48,570 Now I can talk again. 1412 00:40:49,890 --> 00:40:50,850 Risk management. 1413 00:40:51,110 --> 00:40:53,370 This is a metric that I do report to the board. 1414 00:40:53,770 --> 00:40:55,090 When I look at risk, 1415 00:40:55,230 --> 00:40:58,370 I'm looking at the measurements 1416 00:40:58,370 --> 00:40:59,610 that I'm taking come out 1417 00:41:01,290 --> 00:41:02,510 of the basis of information risk program. 1418 00:41:02,970 --> 00:41:04,890 And so we're going to take a look 1419 00:41:04,890 --> 00:41:06,790 at the impact value of 1420 00:41:06,790 --> 00:41:08,950 unremediated risks divided by 1421 00:41:08,950 --> 00:41:10,910 the impact value of total risks. 1422 00:41:11,050 --> 00:41:13,170 We're looking for that delta to shrink over time. 1423 00:41:13,430 --> 00:41:15,490 So we are taking a look at this 1424 00:41:15,490 --> 00:41:17,310 on a per quarter basis 1425 00:41:17,310 --> 00:41:19,090 over the past four years. 1426 00:41:19,310 --> 00:41:20,450 We have watched 1427 00:41:20,450 --> 00:41:23,130 a market decrease in time. 1428 00:41:24,050 --> 00:41:25,290 That's a good thing. 1429 00:41:28,530 --> 00:41:30,910 In terms of the effectiveness of my security 1430 00:41:31,290 --> 00:41:33,630 policy, I actually come up with two metrics here. 1431 00:41:33,730 --> 00:41:35,050 One of them is counterintuitive 1432 00:41:35,050 --> 00:41:36,890 to many security professionals. 1433 00:41:37,370 --> 00:41:39,490 How many of you like when you have 1434 00:41:39,490 --> 00:41:41,210 people who violate 1435 00:41:41,210 --> 00:41:42,610 your security policy? 1436 00:41:42,890 --> 00:41:44,750 Raise your hand if you like people 1437 00:41:44,750 --> 00:41:46,230 violating your security policy. 1438 00:41:46,570 --> 00:41:49,230 I got three other crazy people here. 1439 00:41:50,810 --> 00:41:52,690 Violations of your security policy 1440 00:41:52,690 --> 00:41:53,950 tell you a couple of things. 1441 00:41:54,170 --> 00:41:54,810 One of the things 1442 00:41:54,810 --> 00:41:56,590 that it tells you is that 1443 00:41:56,590 --> 00:41:59,270 you have an ineffective control. 1444 00:41:59,650 --> 00:42:00,850 You have a control 1445 00:42:01,290 --> 00:42:02,990 that is probably too draconian 1446 00:42:02,990 --> 00:42:05,090 for your enterprise and so people 1447 00:42:05,090 --> 00:42:06,310 are trying to go around it. 1448 00:42:06,630 --> 00:42:08,730 So I measure the amount, the effectiveness 1449 00:42:08,730 --> 00:42:10,570 of my security policy based upon 1450 00:42:10,570 --> 00:42:13,030 how many people are trying to go around it. 1451 00:42:13,310 --> 00:42:14,870 If the amount of people who are trying 1452 00:42:14,870 --> 00:42:16,330 to go around my security policy 1453 00:42:16,330 --> 00:42:18,830 are small to none, then I have 1454 00:42:18,830 --> 00:42:20,210 an effective security policy. 1455 00:42:20,670 --> 00:42:22,330 So while I don't like the fact that 1456 00:42:22,330 --> 00:42:23,470 they're trying to go around me, 1457 00:42:23,730 --> 00:42:25,630 I like what that's telling me about 1458 00:42:25,630 --> 00:42:27,490 my security policy and I'm looking 1459 00:42:27,490 --> 00:42:28,730 for that number to go down. 1460 00:42:31,290 --> 00:42:33,190 This is a great other metric that I use 1461 00:42:33,190 --> 00:42:35,250 to inform on my value of my 1462 00:42:35,250 --> 00:42:36,570 information security program. 1463 00:42:36,730 --> 00:42:39,390 This one I love reporting onto my board. 1464 00:42:40,110 --> 00:42:41,410 I can tell you 1465 00:42:41,410 --> 00:42:42,690 flat out that in 1466 00:42:43,150 --> 00:42:44,990 2015, the information 1467 00:42:44,990 --> 00:42:47,190 security program on that has brought in 1468 00:42:48,010 --> 00:42:49,190 84% 1469 00:42:49,190 --> 00:42:50,710 of our ACV 1470 00:42:51,090 --> 00:42:52,090 to our organization. 1471 00:42:53,030 --> 00:42:55,090 That means that 84% of 1472 00:42:55,090 --> 00:42:57,050 our gross 1473 00:42:57,050 --> 00:42:59,210 bookings last year would not 1474 00:42:59,210 --> 00:43:01,090 have happened if we did not have an 1475 00:43:01,290 --> 00:43:02,150 effective security policy. 1476 00:43:03,210 --> 00:43:04,310 That's a great number. 1477 00:43:05,510 --> 00:43:07,150 I get to that number 1478 00:43:07,150 --> 00:43:09,090 by taking a look at the total 1479 00:43:09,090 --> 00:43:11,050 dollar amount of those contracts that we 1480 00:43:11,050 --> 00:43:13,170 book versus the total dollar 1481 00:43:13,170 --> 00:43:14,850 amount of contracts we book 1482 00:43:14,850 --> 00:43:17,170 at organizations that look 1483 00:43:17,170 --> 00:43:18,390 at our security program. 1484 00:43:19,390 --> 00:43:20,590 And I track that 1485 00:43:20,590 --> 00:43:23,070 over time. And I 1486 00:43:23,070 --> 00:43:25,070 track that not only on a per 1487 00:43:25,070 --> 00:43:27,010 year basis, but on a multiple year 1488 00:43:27,010 --> 00:43:28,970 basis. The goal here 1489 00:43:28,970 --> 00:43:31,070 is to always increase 1490 00:43:31,290 --> 00:43:33,070 the value of my business being 1491 00:43:33,070 --> 00:43:35,170 able to be successful. And this 1492 00:43:35,170 --> 00:43:37,130 is a great way of demonstrating to the board 1493 00:43:37,130 --> 00:43:38,850 of directors how I have 1494 00:43:38,850 --> 00:43:41,150 increased the effectiveness of their 1495 00:43:41,150 --> 00:43:43,290 ability to do what they're trying 1496 00:43:43,290 --> 00:43:44,370 to do on a business basis. 1497 00:43:46,170 --> 00:43:47,110 Asset management 1498 00:43:47,110 --> 00:43:49,190 is something that my board of directors doesn't 1499 00:43:49,190 --> 00:43:51,250 give two hoots about, but it is 1500 00:43:51,250 --> 00:43:52,950 something that my director of technology 1501 00:43:52,950 --> 00:43:54,970 cares about. So I report to 1502 00:43:54,970 --> 00:43:57,110 him on a pretty regular basis. 1503 00:43:57,210 --> 00:43:59,210 Actually, this is now down to 1504 00:43:59,210 --> 00:44:00,630 monthly on the 1505 00:44:01,290 --> 00:44:03,290 gap between where we want to be with our 1506 00:44:03,290 --> 00:44:05,290 assets and where we actually are 1507 00:44:05,290 --> 00:44:07,210 in our assets. And I'm using my 1508 00:44:07,210 --> 00:44:09,050 vulnerability scans compared 1509 00:44:09,050 --> 00:44:11,310 to the hosts in the actual 1510 00:44:11,310 --> 00:44:12,710 inventory to identify that. 1511 00:44:12,970 --> 00:44:15,330 And I'm looking at two different things about hosts 1512 00:44:15,330 --> 00:44:17,130 in the inventory. When I scan 1513 00:44:17,130 --> 00:44:19,290 a host and see it's on our network, is it 1514 00:44:19,290 --> 00:44:20,210 in the asset register? 1515 00:44:20,790 --> 00:44:23,050 More importantly, is it in the asset register 1516 00:44:23,050 --> 00:44:23,790 with an owner? 1517 00:44:24,850 --> 00:44:27,250 If it's not in the asset register with an owner, 1518 00:44:27,330 --> 00:44:29,230 I got fail, and that's something 1519 00:44:29,230 --> 00:44:31,170 that I would need to be able to report 1520 00:44:31,290 --> 00:44:32,430 to my director of technology. 1521 00:44:35,030 --> 00:44:36,410 Okay, computer, come on. 1522 00:44:38,230 --> 00:44:39,150 Let's try that again. 1523 00:44:39,270 --> 00:44:40,530 There we go. Security awareness. 1524 00:44:41,250 --> 00:44:42,950 I love security awareness. 1525 00:44:43,330 --> 00:44:45,130 By the way, how many of you have 1526 00:44:45,130 --> 00:44:46,550 heard about Hacker Jeopardy? 1527 00:44:47,990 --> 00:44:49,210 It's a great game 1528 00:44:49,210 --> 00:44:50,110 here at DEF CON. 1529 00:44:51,430 --> 00:44:53,070 Not exactly work safe, 1530 00:44:53,250 --> 00:44:55,230 but I did a very work safe 1531 00:44:55,230 --> 00:44:57,270 version of Hacker Jeopardy as my 1532 00:44:57,270 --> 00:44:58,770 way of doing my security awareness 1533 00:44:59,290 --> 00:45:00,930 campaign this past year. 1534 00:45:01,290 --> 00:45:03,330 Where I got ten people on a conference 1535 00:45:03,330 --> 00:45:05,390 call or in a room, and we played 1536 00:45:05,390 --> 00:45:06,290 a game of Jeopardy. 1537 00:45:07,210 --> 00:45:09,310 Instead of just reading to them, 1538 00:45:09,490 --> 00:45:11,250 thou shalt not do this, 1539 00:45:11,330 --> 00:45:12,490 thou shalt not do that. 1540 00:45:12,710 --> 00:45:14,770 And people had a blast. It was interactive. 1541 00:45:15,650 --> 00:45:17,130 This year I'm looking at maybe 1542 00:45:17,130 --> 00:45:19,270 doing some prizes for the people who did it 1543 00:45:19,270 --> 00:45:21,330 the best. But the trick is that 1544 00:45:21,330 --> 00:45:23,230 at the tail end of it all, 1545 00:45:23,450 --> 00:45:25,190 I gave people a quiz 1546 00:45:25,190 --> 00:45:26,670 three months later. 1547 00:45:27,050 --> 00:45:29,370 And I looked at how much did people remember 1548 00:45:29,370 --> 00:45:31,310 from our Hacker Jeopardy campaign 1549 00:45:31,310 --> 00:45:33,250 to see how many people answered 1550 00:45:33,250 --> 00:45:34,230 the wrong number of questions 1551 00:45:35,990 --> 00:45:37,030 compared to the 1552 00:45:37,030 --> 00:45:39,570 number of questions times the number of employees. 1553 00:45:40,110 --> 00:45:41,230 So that gave me a 1554 00:45:41,230 --> 00:45:43,270 good way of looking at how 1555 00:45:43,270 --> 00:45:45,070 effective Hacker Jeopardy was 1556 00:45:45,070 --> 00:45:47,410 at conveying the information 1557 00:45:47,410 --> 00:45:48,910 to my employees 1558 00:45:48,910 --> 00:45:50,470 when I needed them to remember. 1559 00:45:50,950 --> 00:45:52,050 It wasn't so bad. 1560 00:45:54,250 --> 00:45:55,270 By the way, that one 1561 00:45:55,270 --> 00:45:56,650 I report to my director of HR. 1562 00:45:57,650 --> 00:45:58,910 Security of operations 1563 00:45:59,370 --> 00:46:01,090 they need to care about 1564 00:46:01,090 --> 00:46:02,650 change management. If there are 1565 00:46:03,290 --> 00:46:05,270 unauthorized changes coming into our 1566 00:46:05,270 --> 00:46:07,290 environment, that's a bad thing. 1567 00:46:08,090 --> 00:46:09,270 So we take a look at 1568 00:46:09,270 --> 00:46:10,630 the number of change records created. 1569 00:46:11,230 --> 00:46:13,030 We take a look at the number of changes 1570 00:46:13,030 --> 00:46:14,990 that have been detected in our platform 1571 00:46:14,990 --> 00:46:17,270 environment. And by the way, if you don't 1572 00:46:17,270 --> 00:46:19,490 have a SIEM, get a SIEM 1573 00:46:19,490 --> 00:46:21,270 of one kind or another. I don't care what SIEM 1574 00:46:21,270 --> 00:46:23,390 you're using. And tune your SIEM 1575 00:46:23,390 --> 00:46:24,910 to record detected 1576 00:46:24,910 --> 00:46:27,390 changes by looking at 1577 00:46:27,390 --> 00:46:28,970 your logs in a very, very 1578 00:46:30,170 --> 00:46:31,050 critical way. 1579 00:46:31,350 --> 00:46:33,110 It's much more important to your 1580 00:46:33,110 --> 00:46:34,810 organization than you can believe. 1581 00:46:35,130 --> 00:46:37,270 You've got to know how many unauthorized 1582 00:46:37,270 --> 00:46:39,070 changes you have, because that tells you 1583 00:46:39,070 --> 00:46:40,990 how well managed your environment is. 1584 00:46:42,250 --> 00:46:43,210 Ideally, the 1585 00:46:43,210 --> 00:46:45,330 number of changes compared to 1586 00:46:45,330 --> 00:46:46,710 the number of recorded changes 1587 00:46:47,160 --> 00:46:48,990 is a one-to-one relationship. 1588 00:46:53,210 --> 00:46:53,790 Okay. 1589 00:46:55,990 --> 00:46:57,190 How many databases 1590 00:46:57,190 --> 00:46:59,250 do you back up? How many databases 1591 00:46:59,370 --> 00:47:00,130 do you recover? 1592 00:47:03,730 --> 00:47:05,210 The relationship of 1593 00:47:05,210 --> 00:47:06,970 databases to database backup 1594 00:47:06,970 --> 00:47:09,230 jobs. This is an old 1595 00:47:09,230 --> 00:47:11,290 metric. I should have changed this 1596 00:47:11,290 --> 00:47:12,930 one. We also 1597 00:47:12,930 --> 00:47:15,270 multiply this by the number of 1598 00:47:15,270 --> 00:47:16,210 recoveries we do. 1599 00:47:17,410 --> 00:47:18,750 We decided that 1600 00:47:19,170 --> 00:47:20,790 we needed to incorporate that. 1601 00:47:21,690 --> 00:47:23,490 So the goal here is no longer 1602 00:47:23,490 --> 00:47:25,350 one. The goal here is to have 1603 00:47:25,350 --> 00:47:26,750 an N plus one, 1604 00:47:26,910 --> 00:47:29,210 because the number of databases, the number of backup 1605 00:47:29,370 --> 00:47:30,690 jobs should still be one, 1606 00:47:30,810 --> 00:47:33,250 and multiplying that by the number of recoveries 1607 00:47:33,250 --> 00:47:34,030 we do successfully, 1608 00:47:35,490 --> 00:47:37,270 we should have a number greater than one. 1609 00:47:39,010 --> 00:47:41,150 Our monitoring system, and I'm not just 1610 00:47:41,150 --> 00:47:43,070 talking information security monitoring, 1611 00:47:43,290 --> 00:47:44,790 I'm also talking about 1612 00:47:44,790 --> 00:47:47,190 IT monitoring. Is it up? 1613 00:47:47,330 --> 00:47:49,290 Is it responding? Is the processor in good 1614 00:47:49,290 --> 00:47:51,210 shape? I want this to be 1615 00:47:51,210 --> 00:47:53,390 at 100% for both security monitoring 1616 00:47:53,390 --> 00:47:54,750 and operations monitoring. 1617 00:47:55,090 --> 00:47:57,270 So here's a system where I take a look at 1618 00:47:57,270 --> 00:47:59,230 the number of systems times the number of 1619 00:47:59,370 --> 00:48:01,390 protocols, divided by the total 1620 00:48:01,390 --> 00:48:03,310 number of systems and the total number of 1621 00:48:03,310 --> 00:48:05,310 protocols, and that gets me a 1622 00:48:05,310 --> 00:48:07,130 great relationship again, and my goal 1623 00:48:07,130 --> 00:48:08,990 here is that I have a one-to-one 1624 00:48:08,990 --> 00:48:11,090 relationship between the systems, 1625 00:48:11,130 --> 00:48:13,250 the protocols, and everything that 1626 00:48:13,250 --> 00:48:13,990 I should be measuring. 1627 00:48:18,110 --> 00:48:21,030 Every now and then, I get somebody 1628 00:48:21,030 --> 00:48:23,030 who's trying to do something that 1629 00:48:23,030 --> 00:48:23,890 they shouldn't do. 1630 00:48:28,410 --> 00:48:28,970 And 1631 00:48:29,370 --> 00:48:31,450 so sometimes they'll go to IT and they'll ask 1632 00:48:31,450 --> 00:48:33,350 me, do me a favor, I need to be 1633 00:48:33,350 --> 00:48:35,110 in this group, put me into this group. 1634 00:48:37,830 --> 00:48:39,310 What I'm looking at here 1635 00:48:39,310 --> 00:48:41,470 isn't just who's 1636 00:48:41,470 --> 00:48:43,290 in groups, but I'm 1637 00:48:43,290 --> 00:48:45,150 comparing that to authorizations 1638 00:48:45,150 --> 00:48:47,290 to put them into those groups. 1639 00:48:47,770 --> 00:48:49,390 Do I have a letter 1640 00:48:49,390 --> 00:48:51,270 from a manager someplace 1641 00:48:51,270 --> 00:48:53,490 that authorized that person 1642 00:48:53,490 --> 00:48:54,810 being put into that group? 1643 00:48:55,270 --> 00:48:57,470 Does that person ever get removed out 1644 00:48:57,470 --> 00:48:59,350 of that group, especially when 1645 00:48:59,370 --> 00:49:00,350 they're supposed to be? 1646 00:49:00,650 --> 00:49:02,850 So I'm going to take a look at this over time. 1647 00:49:03,570 --> 00:49:05,370 The goal here is I should 1648 00:49:05,370 --> 00:49:07,050 never have a single employee 1649 00:49:07,050 --> 00:49:09,230 in a group where I don't have some 1650 00:49:09,230 --> 00:49:10,790 sort of form of authorization 1651 00:49:11,370 --> 00:49:13,310 from their manager. So my goal here is 1652 00:49:13,310 --> 00:49:13,670 zero. 1653 00:49:16,350 --> 00:49:17,230 I hate 1654 00:49:17,230 --> 00:49:17,770 this metric. 1655 00:49:19,130 --> 00:49:21,050 Why? I hate CVSS. 1656 00:49:21,550 --> 00:49:22,110 Why? 1657 00:49:22,910 --> 00:49:23,790 It's wrong. 1658 00:49:25,430 --> 00:49:26,910 It is so wrong. 1659 00:49:27,270 --> 00:49:28,830 But it's all I've got. 1660 00:49:29,370 --> 00:49:31,170 In terms of somebody else looking 1661 00:49:31,170 --> 00:49:32,830 at the vulnerability and saying 1662 00:49:33,070 --> 00:49:35,090 how dangerous is it in an 1663 00:49:35,090 --> 00:49:37,010 objective way. And by the way, 1664 00:49:37,050 --> 00:49:38,850 I'm doing those quote things. 1665 00:49:39,650 --> 00:49:41,370 CVSS isn't truly 1666 00:49:41,370 --> 00:49:43,270 objective. It doesn't truly work. 1667 00:49:43,590 --> 00:49:45,310 It works better if 1668 00:49:45,310 --> 00:49:47,090 you're using CVSS3. 1669 00:49:47,270 --> 00:49:49,090 It works better if you do 1670 00:49:49,090 --> 00:49:51,270 the full put it in context stuff 1671 00:49:51,270 --> 00:49:53,330 by doing extended CVSS. 1672 00:49:53,650 --> 00:49:55,390 But it is a way 1673 00:49:55,390 --> 00:49:56,790 of tracking things over time. 1674 00:49:57,190 --> 00:49:59,070 So when I take a look at this thing 1675 00:49:59,370 --> 00:50:00,650 this is one of those things where 1676 00:50:00,650 --> 00:50:02,830 I do it by gritting my teeth 1677 00:50:03,370 --> 00:50:05,230 by taking a look at the change 1678 00:50:05,230 --> 00:50:06,410 in this over time 1679 00:50:06,410 --> 00:50:09,170 I can look at at least a trend 1680 00:50:09,170 --> 00:50:11,030 of is that number 1681 00:50:11,030 --> 00:50:13,290 getting better even if I don't 1682 00:50:13,290 --> 00:50:15,230 believe that number has anything to do with 1683 00:50:15,230 --> 00:50:15,490 risk. 1684 00:50:18,650 --> 00:50:21,090 You'll notice one thing about my CVSS 1685 00:50:21,090 --> 00:50:21,530 metric. 1686 00:50:22,470 --> 00:50:24,990 I weighed it. So issues 1687 00:50:24,990 --> 00:50:26,390 rated 7 through 10 1688 00:50:27,610 --> 00:50:29,110 are modified by 1689 00:50:29,370 --> 00:50:31,550 one factor. Issues 4 to 6 1690 00:50:31,550 --> 00:50:33,210 modified by another factor. 1691 00:50:33,490 --> 00:50:34,810 Issues related 1692 00:50:35,370 --> 00:50:36,750 1 to whatever 1693 00:50:37,370 --> 00:50:39,290 are unmodified. 1694 00:50:40,270 --> 00:50:41,350 I want to 1695 00:50:41,350 --> 00:50:43,330 make certain that the scaling 1696 00:50:43,330 --> 00:50:44,750 highlights out the 1697 00:50:46,030 --> 00:50:46,790 potential 1698 00:50:47,270 --> 00:50:48,650 risk of a higher 1699 00:50:49,370 --> 00:50:51,170 CVSS number on a 1700 00:50:51,170 --> 00:50:53,350 very, very proportionate and repeatable way. 1701 00:50:55,150 --> 00:50:56,630 So I've taken a bad number 1702 00:50:57,150 --> 00:50:59,050 and I've modified it to make it 1703 00:50:59,370 --> 00:51:00,650 exponential and 1704 00:51:01,250 --> 00:51:02,990 I don't like it but it does 1705 00:51:02,990 --> 00:51:04,730 allow me to do good trend analysis. 1706 00:51:06,950 --> 00:51:08,090 This is a better 1707 00:51:08,090 --> 00:51:10,270 I need a drink. 1708 00:51:13,810 --> 00:51:15,070 This is a better 1709 00:51:15,070 --> 00:51:16,990 way to measure vulnerabilities 1710 00:51:16,990 --> 00:51:18,970 in my opinion. And by the way 1711 00:51:18,970 --> 00:51:20,130 this one really should be 1712 00:51:20,970 --> 00:51:23,310 number of exploitable critical vulnerabilities 1713 00:51:24,490 --> 00:51:25,350 to show 1714 00:51:25,350 --> 00:51:27,190 the effectiveness of my vulnerability management 1715 00:51:27,190 --> 00:51:29,270 program. This is a raw measurement. 1716 00:51:29,370 --> 00:51:30,790 This should 1717 00:51:31,130 --> 00:51:33,210 be zero. This is an 1718 00:51:33,210 --> 00:51:35,210 example of how sometimes 1719 00:51:35,210 --> 00:51:36,950 taking a single raw measurement 1720 00:51:36,950 --> 00:51:38,830 can be a good thing. 1721 00:51:40,070 --> 00:51:41,410 But I'm looking at it 1722 00:51:41,410 --> 00:51:41,870 over time. 1723 00:51:43,210 --> 00:51:44,950 Pen tests. Anyone 1724 00:51:44,950 --> 00:51:47,150 not do pen tests in this day and age? 1725 00:51:48,410 --> 00:51:49,050 Good. 1726 00:51:49,670 --> 00:51:51,450 How many of you are tracking 1727 00:51:51,450 --> 00:51:53,050 the remediation 1728 00:51:53,050 --> 00:51:54,890 of the findings in your pen tests? 1729 00:51:56,830 --> 00:51:57,470 Maybe 1730 00:51:57,470 --> 00:51:59,190 about 5% of the 1731 00:51:59,370 --> 00:51:59,550 audience? 1732 00:52:00,490 --> 00:52:02,870 This is an area that you should be tracking 1733 00:52:02,870 --> 00:52:05,230 because when you've had a pen test and you've had a 1734 00:52:05,230 --> 00:52:07,190 finding, you know that this is a path 1735 00:52:07,190 --> 00:52:08,970 into your environment to do some 1736 00:52:08,970 --> 00:52:10,070 pretty nasty stuff. 1737 00:52:10,610 --> 00:52:12,650 So the goal here should be 1738 00:52:13,220 --> 00:52:14,550 zero paths to compromise 1739 00:52:15,270 --> 00:52:16,770 any aspect of 1740 00:52:17,340 --> 00:52:18,950 integrity, confidentiality, availability, 1741 00:52:19,350 --> 00:52:20,230 etc, etc, etc 1742 00:52:20,230 --> 00:52:22,990 through un-remediated pen test 1743 00:52:22,990 --> 00:52:25,390 results over a span of time. 1744 00:52:25,570 --> 00:52:26,890 And that span of time 1745 00:52:27,450 --> 00:52:28,990 should be based upon the risk 1746 00:52:29,370 --> 00:52:30,490 tolerance of your organization. 1747 00:52:31,490 --> 00:52:33,210 Some organizations have a 1748 00:52:33,210 --> 00:52:34,750 very high risk tolerance where 1749 00:52:35,310 --> 00:52:37,010 they'll give themselves an entire 1750 00:52:37,010 --> 00:52:38,370 year to fix these things. 1751 00:52:38,670 --> 00:52:41,010 Some organizations, you have to fix it within 1752 00:52:41,010 --> 00:52:42,850 a month. Know the risk tolerance 1753 00:52:42,850 --> 00:52:45,050 of your organization. But if you have 1754 00:52:45,050 --> 00:52:47,210 something here that is found in a pen test 1755 00:52:47,210 --> 00:52:48,830 that is a path to a compromise, 1756 00:52:49,290 --> 00:52:51,070 this should be something that you're 1757 00:52:51,070 --> 00:52:51,950 tracking over time. 1758 00:52:54,670 --> 00:52:55,210 Realize 1759 00:52:55,210 --> 00:52:56,030 security incidents. 1760 00:52:56,550 --> 00:52:58,230 There's a difference between a security 1761 00:52:59,370 --> 00:53:00,630 investigation and a security incident. 1762 00:53:01,030 --> 00:53:03,130 We call a security incident a 1763 00:53:03,130 --> 00:53:04,550 realized security incident because 1764 00:53:04,550 --> 00:53:06,810 every investigation we're tracking 1765 00:53:06,810 --> 00:53:09,190 as a security incident simply 1766 00:53:09,190 --> 00:53:10,790 because it's people 1767 00:53:11,370 --> 00:53:13,310 doing something over time. 1768 00:53:14,430 --> 00:53:15,030 So 1769 00:53:15,030 --> 00:53:17,190 it's a very, very simple way for us to 1770 00:53:17,190 --> 00:53:19,230 look at how much time we are 1771 00:53:19,230 --> 00:53:21,030 spending doing triage and investigation. 1772 00:53:21,730 --> 00:53:23,210 So I'll track this 1773 00:53:23,210 --> 00:53:25,110 and I'll take a look at the number of false 1774 00:53:25,110 --> 00:53:27,070 positives. I'll take a look at 1775 00:53:27,070 --> 00:53:29,170 the actual incidents where I had 1776 00:53:29,370 --> 00:53:31,090 to do something to remediate 1777 00:53:31,090 --> 00:53:33,050 somebody in my environment or 1778 00:53:33,050 --> 00:53:35,470 something in my environment trying to do us harm. 1779 00:53:35,790 --> 00:53:37,190 And the goal here 1780 00:53:37,190 --> 00:53:39,250 is for me that both numbers 1781 00:53:39,250 --> 00:53:41,170 should be zero and I 1782 00:53:41,170 --> 00:53:43,330 do a non-mathematical 1783 00:53:43,330 --> 00:53:45,210 thing here and I do 1784 00:53:45,210 --> 00:53:46,690 zero over zero 1785 00:53:46,690 --> 00:53:49,230 and say that's valid. Matter of fact, 1786 00:53:49,250 --> 00:53:50,110 that's my goal. 1787 00:53:51,130 --> 00:53:52,850 I don't care if it's rational. 1788 00:53:53,710 --> 00:53:55,230 The metric doesn't have 1789 00:53:55,230 --> 00:53:57,070 to be a number. It can be the 1790 00:53:57,070 --> 00:53:58,810 proportion. It can be the relationship. 1791 00:54:00,850 --> 00:54:02,030 Business continuity. 1792 00:54:02,330 --> 00:54:03,510 How many tests 1793 00:54:03,510 --> 00:54:04,930 do you do that 1794 00:54:04,930 --> 00:54:07,090 succeed versus 1795 00:54:07,090 --> 00:54:08,730 how many tests you do? 1796 00:54:08,970 --> 00:54:11,330 A very simple trend analysis over 1797 00:54:11,330 --> 00:54:13,350 time. Ideally, you're doing 1798 00:54:13,350 --> 00:54:15,010 this more than once a year. 1799 00:54:15,290 --> 00:54:17,330 If you're only testing your business continuity 1800 00:54:17,330 --> 00:54:18,410 once per year, 1801 00:54:19,310 --> 00:54:21,330 a lot changes over a 1802 00:54:21,330 --> 00:54:21,630 year. 1803 00:54:22,870 --> 00:54:24,910 That doesn't give you a lot of assurance 1804 00:54:24,910 --> 00:54:26,870 in the 11th month that what you tested 1805 00:54:26,870 --> 00:54:29,350 11 months ago is still going to work. 1806 00:54:33,370 --> 00:54:35,650 I love my auditors. 1807 00:54:35,970 --> 00:54:37,350 The only people who are 1808 00:54:37,350 --> 00:54:39,290 more my friends than my auditors 1809 00:54:39,290 --> 00:54:40,590 are my legal team. 1810 00:54:41,370 --> 00:54:43,230 My auditors help me 1811 00:54:43,230 --> 00:54:45,330 understand how good a job 1812 00:54:45,330 --> 00:54:46,150 I'm doing. 1813 00:54:47,150 --> 00:54:49,290 If I have zero audit findings 1814 00:54:49,290 --> 00:54:51,190 through a third-party audit, 1815 00:54:51,410 --> 00:54:52,950 that is my goal. 1816 00:54:53,410 --> 00:54:55,270 This past year with my 1817 00:54:55,270 --> 00:54:57,330 SOC 2 audit against 1818 00:54:57,330 --> 00:54:58,630 the cloud security matrix, 1819 00:54:59,370 --> 00:55:00,750 I had 11 findings. 1820 00:55:00,950 --> 00:55:01,990 None of them major. 1821 00:55:02,350 --> 00:55:04,790 Against my ISO 27001 1822 00:55:05,230 --> 00:55:06,930 audit, I had 1823 00:55:06,930 --> 00:55:09,310 four findings. None of them major. 1824 00:55:10,150 --> 00:55:11,250 As of this 1825 00:55:11,250 --> 00:55:12,770 date, I'm looking at my 1826 00:55:13,650 --> 00:55:14,210 annual 1827 00:55:14,890 --> 00:55:16,090 reassessment against ISO. 1828 00:55:16,670 --> 00:55:18,870 Only one of those findings is outstanding. 1829 00:55:20,070 --> 00:55:21,130 Not only am I 1830 00:55:21,130 --> 00:55:22,810 going to look at the number of findings, 1831 00:55:23,010 --> 00:55:24,590 I'm going to track them over time 1832 00:55:24,590 --> 00:55:27,110 as we work to remediate 1833 00:55:27,110 --> 00:55:28,890 those findings and get them out of my 1834 00:55:29,370 --> 00:55:30,390 current. By the way, 1835 00:55:31,130 --> 00:55:33,110 yes, I'm doing both a SOC 2 and an ISO. 1836 00:55:33,290 --> 00:55:35,110 Can anyone tell me what the key difference 1837 00:55:35,110 --> 00:55:37,110 is between a SOC and an ISO? 1838 00:55:37,310 --> 00:55:39,170 And if you can tell me, there will be a mouse 1839 00:55:39,170 --> 00:55:39,810 for you. Yes? 1840 00:55:40,110 --> 00:55:43,030 The SOC doesn't state which controls you have to 1841 00:55:43,030 --> 00:55:43,570 apply with. 1842 00:55:43,910 --> 00:55:47,210 The SOC actually will state which controls 1843 00:55:47,210 --> 00:55:48,750 you have to apply with within the scope. 1844 00:55:48,870 --> 00:55:50,450 There's a different difference. Yes? 1845 00:55:50,830 --> 00:55:53,210 The SOC actually will document evidence 1846 00:55:53,210 --> 00:55:54,170 of the controls. 1847 00:55:54,570 --> 00:55:57,030 The SOC and an ISO will 1848 00:55:57,030 --> 00:55:59,250 both document the evidence of controls 1849 00:55:59,370 --> 00:56:01,010 within your organization. The difference is 1850 00:56:01,010 --> 00:56:02,110 something else. Yes? 1851 00:56:07,470 --> 00:56:08,950 Yes, that is 1852 00:56:08,950 --> 00:56:10,070 one difference. 1853 00:56:10,890 --> 00:56:11,770 You get a mouse. 1854 00:56:13,950 --> 00:56:14,730 Good catch. 1855 00:56:15,790 --> 00:56:17,010 There's another critical 1856 00:56:17,010 --> 00:56:18,790 difference between a SOC and an ISO. 1857 00:56:19,110 --> 00:56:21,090 An ISO will challenge you to 1858 00:56:21,090 --> 00:56:23,070 improve your controls over time. 1859 00:56:23,370 --> 00:56:25,030 A SOC won't. A SOC, 1860 00:56:25,110 --> 00:56:27,110 you can have the same findings year after 1861 00:56:27,110 --> 00:56:29,110 year after year, and because 1862 00:56:29,370 --> 00:56:31,030 it's not a certification, 1863 00:56:31,570 --> 00:56:33,090 but it's an attestation, 1864 00:56:34,130 --> 00:56:35,370 they don't care. 1865 00:56:36,230 --> 00:56:37,130 With an ISO, 1866 00:56:37,430 --> 00:56:39,270 you can actually lose your certification 1867 00:56:39,270 --> 00:56:41,570 if you don't work to remediate 1868 00:56:41,570 --> 00:56:43,410 your findings. So if you look 1869 00:56:43,410 --> 00:56:45,410 at an organization and they hand you a SOC 2 1870 00:56:45,410 --> 00:56:47,490 report, look at it over 1871 00:56:47,490 --> 00:56:49,310 time to see if they actually do something 1872 00:56:49,310 --> 00:56:50,790 to fix the findings. 1873 00:56:50,990 --> 00:56:53,250 That would be a great metric of 1874 00:56:53,250 --> 00:56:55,230 the third-party risk in your 1875 00:56:55,230 --> 00:56:57,510 organization. It's not to the presentation. 1876 00:56:57,750 --> 00:56:59,330 It's an extra, which is 1877 00:56:59,370 --> 00:56:59,930 why you got a mouse. 1878 00:57:06,570 --> 00:57:08,930 No, SOC leads to an attestation 1879 00:57:08,930 --> 00:57:10,690 of compliance, not a certification. 1880 00:57:11,910 --> 00:57:12,590 Attestation. 1881 00:57:13,150 --> 00:57:14,930 And there's no penalty 1882 00:57:14,930 --> 00:57:17,030 for not remediating the findings. 1883 00:57:17,410 --> 00:57:18,390 With an ISO, 1884 00:57:19,290 --> 00:57:20,510 it's a certification. 1885 00:57:21,170 --> 00:57:23,050 You can get certified without 1886 00:57:23,050 --> 00:57:24,990 being 100% compliance with 1887 00:57:24,990 --> 00:57:27,070 everything. You just have to be 1888 00:57:27,070 --> 00:57:28,830 100% compliant with the core 1889 00:57:29,370 --> 00:57:31,030 elements of ISO. However, 1890 00:57:31,610 --> 00:57:33,250 the following year, they're 1891 00:57:33,250 --> 00:57:35,030 going to look, have you improved 1892 00:57:35,030 --> 00:57:37,010 on your program? If you have not 1893 00:57:37,010 --> 00:57:39,010 improved on your program, if you've done nothing 1894 00:57:39,010 --> 00:57:41,150 to remediate the findings, you can 1895 00:57:41,150 --> 00:57:43,210 lose your certification with ISO. Yes? 1896 00:57:52,630 --> 00:57:55,190 That is true. With an ISO audit, 1897 00:57:55,430 --> 00:57:57,190 the results of the 1898 00:57:57,190 --> 00:57:58,950 ISO audit are not normally 1899 00:57:59,370 --> 00:58:00,630 shared with third parties. They're 1900 00:58:00,630 --> 00:58:01,910 normally private and privileged. 1901 00:58:02,590 --> 00:58:04,810 What you can do is you can put yourself 1902 00:58:04,810 --> 00:58:07,090 under an NDA with the organization 1903 00:58:07,090 --> 00:58:08,790 that's gone under, gone 1904 00:58:08,790 --> 00:58:10,850 an ISO audit, and they can, 1905 00:58:11,010 --> 00:58:11,950 if they choose, 1906 00:58:12,790 --> 00:58:14,870 share with you those findings. 1907 00:58:15,290 --> 00:58:17,090 What many organizations do 1908 00:58:17,090 --> 00:58:18,610 that go through an ISO finding 1909 00:58:18,610 --> 00:58:20,910 is they'll ask their auditors to produce 1910 00:58:20,910 --> 00:58:22,810 two reports, one for 1911 00:58:22,810 --> 00:58:24,730 internal consumption, one for external 1912 00:58:24,730 --> 00:58:25,290 consumption. 1913 00:58:26,810 --> 00:58:28,610 That's well within reason. A good 1914 00:58:29,370 --> 00:58:30,070 auditor will do that. 1915 00:58:32,310 --> 00:58:33,170 By the way, 1916 00:58:33,970 --> 00:58:35,350 that's it in terms of the 1917 00:58:35,350 --> 00:58:37,230 stuff I came. I'm ending a few 1918 00:58:37,230 --> 00:58:39,010 minutes early if there are any other questions. 1919 00:58:43,230 --> 00:58:43,710 Yes? 1920 00:58:46,870 --> 00:58:48,550 Can you get a copy of this? 1921 00:58:49,110 --> 00:58:51,290 That's a great question. Will this be posted 1922 00:58:51,290 --> 00:58:53,270 up on the Wall of Sheep webpage 1923 00:58:53,270 --> 00:58:53,770 someplace? 1924 00:58:56,750 --> 00:58:57,570 Anyone know? 1925 00:58:59,570 --> 00:59:00,430 They're all for sale. 1926 00:59:02,050 --> 00:59:03,170 This is not for sale. 1927 00:59:03,230 --> 00:59:05,290 This is for free. If it's not 1928 00:59:05,290 --> 00:59:07,270 going to be on the Wall of Sheep page, give me your business card. 1929 00:59:07,390 --> 00:59:08,870 I will email this to you. 1930 00:59:10,030 --> 00:59:11,310 Hopefully this will be up on the 1931 00:59:11,310 --> 00:59:13,210 Wall of Sheep webpage in a day 1932 00:59:13,210 --> 00:59:14,250 or two if it's not already there. 1933 00:59:15,150 --> 00:59:16,070 Any other questions? 1934 00:59:17,330 --> 00:59:17,690 Yes? 1935 00:59:22,650 --> 00:59:25,290 Could you either speak up or come to the 1936 00:59:25,290 --> 00:59:25,490 mic? 1937 00:59:29,370 --> 00:59:31,170 I did not hear that over the funky rhythm. 1938 00:59:34,190 --> 00:59:35,250 It's the eyesight party 1939 00:59:35,250 --> 00:59:37,350 last night. You're tracking quite a range of 1940 00:59:37,350 --> 00:59:39,310 different data types to capture all 1941 00:59:39,310 --> 00:59:40,690 these metrics. How do you store all that? 1942 00:59:41,950 --> 00:59:42,430 Currently, 1943 00:59:43,610 --> 00:59:45,230 his question is, where 1944 00:59:45,230 --> 00:59:47,110 are we storing all the different data 1945 00:59:47,110 --> 00:59:48,330 types that we are tracking? 1946 00:59:49,170 --> 00:59:51,110 This is bad news for me. 1947 00:59:51,330 --> 00:59:53,030 Currently, I'm tracking these in a 1948 00:59:53,030 --> 00:59:55,250 fairly large Excel spreadsheet. 1949 00:59:57,610 --> 00:59:59,110 I'm a startup. Sorry. 1950 01:00:01,290 --> 01:00:01,850 If 1951 01:00:01,850 --> 01:00:03,710 you have a GRC 1952 01:00:03,710 --> 01:00:05,210 tool, I'm certain that 1953 01:00:05,210 --> 01:00:07,230 it's a great place for you to track these 1954 01:00:07,230 --> 01:00:08,170 sort of things. 1955 01:00:10,050 --> 01:00:11,230 There are a couple of 1956 01:00:11,230 --> 01:00:13,210 free GRC tools that are out there 1957 01:00:13,210 --> 01:00:14,430 that I'm taking a look at. 1958 01:00:14,930 --> 01:00:16,450 Having trouble, of course, 1959 01:00:17,090 --> 01:00:19,290 free stuff means it's tough to 1960 01:00:19,290 --> 01:00:21,030 implement, so we're not 1961 01:00:21,030 --> 01:00:23,290 there yet with our implementation. 1962 01:00:25,110 --> 01:00:26,890 I can't tell you whether or not 1963 01:00:26,890 --> 01:00:28,910 IRAMBA or RISC 1964 01:00:29,370 --> 01:00:31,230 are good ways 1965 01:00:31,230 --> 01:00:32,830 of solving that problem 1966 01:00:32,830 --> 01:00:35,130 in terms of free GRC 1967 01:00:35,130 --> 01:00:37,370 tools, but we are certainly 1968 01:00:37,370 --> 01:00:39,210 looking into that. Because I hate 1969 01:00:39,210 --> 01:00:41,210 doing this on spreadsheets just 1970 01:00:41,210 --> 01:00:42,470 as much as everybody else. 1971 01:00:44,030 --> 01:00:45,250 Any other questions? 1972 01:00:49,630 --> 01:00:50,270 Yes? 1973 01:00:53,990 --> 01:00:54,930 What about 1974 01:00:54,930 --> 01:00:57,290 when you have an auditor 1975 01:00:57,290 --> 01:00:59,350 that may not be as savvy, 1976 01:00:59,370 --> 01:00:59,830 as you? 1977 01:01:02,010 --> 01:01:02,690 Okay. 1978 01:01:04,230 --> 01:01:05,170 If my 1979 01:01:05,170 --> 01:01:06,990 auditor is not as savvy 1980 01:01:06,990 --> 01:01:09,170 as I am, I take time 1981 01:01:09,170 --> 01:01:11,130 to educate my auditor, because 1982 01:01:11,130 --> 01:01:13,370 I want them to have just as good 1983 01:01:13,370 --> 01:01:15,090 a knowledge and understanding of 1984 01:01:15,090 --> 01:01:17,290 what I'm doing as I do, and 1985 01:01:17,290 --> 01:01:18,810 I hide nothing 1986 01:01:19,370 --> 01:01:20,770 from my auditor. 1987 01:01:21,030 --> 01:01:23,070 Because my auditor is my best 1988 01:01:23,070 --> 01:01:25,250 friend for getting things fixed. 1989 01:01:26,130 --> 01:01:27,010 Any other 1990 01:01:27,010 --> 01:01:27,230 questions? 1991 01:01:34,110 --> 01:01:34,630 So, 1992 01:01:35,290 --> 01:01:36,910 the data you collect, you collect 1993 01:01:36,910 --> 01:01:38,730 from various sources, right? 1994 01:01:38,930 --> 01:01:40,970 What kind of sources do you actually do? 1995 01:01:47,570 --> 01:01:49,010 The data that I'm collecting 1996 01:01:49,010 --> 01:01:50,930 comes from sources that are based upon 1997 01:01:50,930 --> 01:01:52,490 the tools that I have in my organization. 1998 01:01:52,930 --> 01:01:54,950 So as an example, I'm using Tenable 1999 01:01:54,950 --> 01:01:56,610 Security Center, which collects 2000 01:01:56,610 --> 01:01:58,790 a lot of different measurements across my 2001 01:01:59,370 --> 01:02:01,210 enterprise. I'm using McAfee EPO 2002 01:02:01,210 --> 01:02:03,150 that collects a lot of data across my 2003 01:02:03,150 --> 01:02:05,470 enterprise. Every single 2004 01:02:05,470 --> 01:02:07,310 tool that I have 2005 01:02:07,310 --> 01:02:09,090 will give me measurements on 2006 01:02:09,090 --> 01:02:10,990 the effectiveness of that tool. 2007 01:02:11,430 --> 01:02:13,190 So what I do is, on a 2008 01:02:13,190 --> 01:02:14,690 periodic and regular basis, 2009 01:02:14,930 --> 01:02:17,070 I go and I pick 2010 01:02:17,070 --> 01:02:19,110 out those measurements from that 2011 01:02:19,110 --> 01:02:20,990 tool, and I aggregate them 2012 01:02:20,990 --> 01:02:23,030 together. And I've got a 2013 01:02:23,030 --> 01:02:24,950 90-page presentation 2014 01:02:24,950 --> 01:02:27,170 that I give to operations on 2015 01:02:27,170 --> 01:02:29,190 a weekly basis, pulled 2016 01:02:29,370 --> 01:02:30,870 out of all of those tools. 2017 01:02:31,350 --> 01:02:32,510 Yes, they hate me. 2018 01:02:33,210 --> 01:02:34,330 Any other questions? 2019 01:02:35,070 --> 01:02:35,670 Yeah? 2020 01:02:38,350 --> 01:02:39,450 Probably loud enough. 2021 01:02:39,750 --> 01:02:40,970 So for your... 2022 01:02:40,970 --> 01:02:42,030 Oh! 2023 01:02:42,770 --> 01:02:45,250 Yeah. For your 2024 01:02:45,250 --> 01:02:47,090 verification of your tools 2025 01:02:47,090 --> 01:02:49,150 and verification of your discrepancies, 2026 01:02:49,470 --> 01:02:51,330 how do you go about that process? 2027 01:02:55,050 --> 01:02:55,970 Want to ask? 2028 01:02:56,330 --> 01:02:56,630 Yeah. 2029 01:03:01,930 --> 01:03:02,610 . 2030 01:03:07,090 --> 01:03:07,770 . 2031 01:03:09,830 --> 01:03:10,510 . 2032 01:03:10,510 --> 01:03:10,870 Thank you. 2033 01:03:10,930 --> 01:03:12,450 Otherwise I'd forget what the question was. 2034 01:03:12,790 --> 01:03:14,910 I actually normally 2035 01:03:14,910 --> 01:03:16,550 have multiple tools 2036 01:03:17,090 --> 01:03:18,970 that have the same job 2037 01:03:18,970 --> 01:03:20,890 within my environment. So I have 2038 01:03:20,890 --> 01:03:22,890 two different anti-malware. I have 2039 01:03:22,890 --> 01:03:24,870 two different vulnerability 2040 01:03:24,870 --> 01:03:27,130 testing tools. I have two different 2041 01:03:27,130 --> 01:03:29,110 almost everything. 2042 01:03:29,370 --> 01:03:30,930 A lot of those 2043 01:03:30,930 --> 01:03:33,190 supplements will be free shareware 2044 01:03:33,190 --> 01:03:35,030 kind of stuff. The open source 2045 01:03:35,030 --> 01:03:36,050 community is wonderful. 2046 01:03:37,490 --> 01:03:39,070 Sometimes I'll dump 2047 01:03:39,070 --> 01:03:40,970 a paid-for tool based upon 2048 01:03:40,970 --> 01:03:42,730 what I'm getting out of the open source tools. 2049 01:03:43,550 --> 01:03:44,190 But 2050 01:03:44,190 --> 01:03:46,990 by having multiple tools 2051 01:03:46,990 --> 01:03:49,010 on the same problem, I 2052 01:03:49,010 --> 01:03:51,050 not only have an independent record 2053 01:03:51,050 --> 01:03:53,390 of that particular measurement, 2054 01:03:53,530 --> 01:03:55,270 but I have a way of 2055 01:03:56,710 --> 01:03:57,350 validating 2056 01:03:57,350 --> 01:03:58,650 the measurements I'm getting. 2057 01:04:00,370 --> 01:04:01,210 . 2058 01:04:01,210 --> 01:04:03,650 What risk assessment 2059 01:04:03,650 --> 01:04:05,090 methodology would you recommend? 2060 01:04:11,230 --> 01:04:12,650 Risk assessment 2061 01:04:12,650 --> 01:04:14,630 versus risk analysis 2062 01:04:14,630 --> 01:04:17,250 are two different things when you're talking 2063 01:04:17,250 --> 01:04:18,150 about methodology. 2064 01:04:19,270 --> 01:04:21,230 So from a risk assessment 2065 01:04:21,230 --> 01:04:23,250 point of view, I like either 2066 01:04:23,250 --> 01:04:25,370 Octave or ISO 27005. 2067 01:04:25,990 --> 01:04:27,270 From a risk 2068 01:04:27,270 --> 01:04:28,930 analysis point of view, 2069 01:04:29,370 --> 01:04:31,170 you don't get better than 2070 01:04:31,170 --> 01:04:32,290 FAIR, 2071 01:04:32,350 --> 01:04:34,810 Factor Analysis of Information Risk 2072 01:04:34,810 --> 01:04:36,110 by Jack and Jack. 2073 01:04:37,330 --> 01:04:38,930 It's a tremendously 2074 01:04:38,930 --> 01:04:41,390 brilliant way of looking at 2075 01:04:41,390 --> 01:04:43,110 risk from a 2076 01:04:43,110 --> 01:04:45,170 quantitative approach. The nice thing is that 2077 01:04:45,170 --> 01:04:46,970 both Octave as 2078 01:04:46,970 --> 01:04:49,370 a management 2079 01:04:49,370 --> 01:04:51,170 framework and 2080 01:04:51,170 --> 01:04:53,010 ISO 27005 2081 01:04:53,010 --> 01:04:54,550 as a management framework 2082 01:04:55,770 --> 01:04:57,110 allow you to 2083 01:04:57,110 --> 01:04:58,810 integrate into it 2084 01:04:59,370 --> 01:05:00,810 an external analysis framework 2085 01:05:00,810 --> 01:05:02,550 like FAIR transparently. 2086 01:05:03,170 --> 01:05:05,350 So if you're interested in 2087 01:05:05,350 --> 01:05:07,310 that, I highly recommend that you take a look 2088 01:05:07,310 --> 01:05:08,530 at the 2089 01:05:08,530 --> 01:05:11,170 open group, which has very 2090 01:05:11,170 --> 01:05:13,030 good write-ups of how to integrate 2091 01:05:13,030 --> 01:05:15,190 FAIR into those larger risk 2092 01:05:15,190 --> 01:05:16,070 management frameworks. 2093 01:05:18,150 --> 01:05:19,270 Any other questions? 2094 01:05:19,510 --> 01:05:19,730 Yes? 2095 01:05:24,030 --> 01:05:25,170 So for 2096 01:05:25,170 --> 01:05:27,210 boards who may not be as 2097 01:05:27,210 --> 01:05:28,710 sophisticated as you, 2098 01:05:29,370 --> 01:05:30,750 how do you explain to them 2099 01:05:31,290 --> 01:05:33,350 what they should be looking at 2100 01:05:33,350 --> 01:05:34,930 and what questions 2101 01:05:34,930 --> 01:05:36,430 they should be asking you? 2102 01:05:40,590 --> 01:05:41,830 I don't. 2103 01:05:43,210 --> 01:05:45,130 I find out from them 2104 01:05:45,130 --> 01:05:47,110 what they care about to 2105 01:05:47,110 --> 01:05:49,090 grow their business. I then 2106 01:05:49,090 --> 01:05:51,170 work on aligning what I do 2107 01:05:51,170 --> 01:05:53,310 based upon what they care about. 2108 01:05:56,230 --> 01:05:59,230 I then educate them on the 2109 01:05:59,370 --> 01:06:01,290 relationship between what I do 2110 01:06:01,290 --> 01:06:02,810 and how it helps them 2111 01:06:02,810 --> 01:06:04,450 succeed at what 2112 01:06:05,130 --> 01:06:06,950 they want the business 2113 01:06:06,950 --> 01:06:07,630 to accomplish. 2114 01:06:08,610 --> 01:06:11,030 So the only thing that I'm educating them 2115 01:06:11,030 --> 01:06:13,030 is on how my 2116 01:06:13,030 --> 01:06:15,130 activity is helping 2117 01:06:15,130 --> 01:06:17,070 them achieve what they want 2118 01:06:17,070 --> 01:06:18,630 to achieve on the business level. 2119 01:06:18,890 --> 01:06:21,190 So I don't ask them to change the questions 2120 01:06:21,190 --> 01:06:23,150 they're asking. I just make 2121 01:06:23,150 --> 01:06:24,830 certain the answers I'm giving them 2122 01:06:25,230 --> 01:06:26,410 actually help them 2123 01:06:27,290 --> 01:06:29,250 answer those questions in a way that's 2124 01:06:29,370 --> 01:06:30,770 meaningful for them and 2125 01:06:30,770 --> 01:06:31,450 their goals. 2126 01:06:32,410 --> 01:06:34,550 I never push the board 2127 01:06:34,550 --> 01:06:37,010 to ask a question the board doesn't 2128 01:06:37,010 --> 01:06:38,850 care about because they 2129 01:06:39,230 --> 01:06:41,110 won't trust that I care about 2130 01:06:41,110 --> 01:06:42,690 what they're interested in. 2131 01:06:44,530 --> 01:06:46,630 It involves putting 2132 01:06:46,630 --> 01:06:48,030 myself second. 2133 01:06:48,570 --> 01:06:50,550 Security doesn't run the business. 2134 01:06:50,910 --> 01:06:52,970 Security just allows the business 2135 01:06:52,970 --> 01:06:55,270 to operate in a trusted framework. 2136 01:06:55,510 --> 01:06:56,930 And if security is not 2137 01:06:56,930 --> 01:06:59,190 about the business and making the 2138 01:06:59,370 --> 01:07:00,910 business operate in a trusted framework, 2139 01:07:01,170 --> 01:07:03,330 then security is doing the wrong 2140 01:07:03,330 --> 01:07:04,370 job in that company. 2141 01:07:06,370 --> 01:07:07,270 Anyone else? 2142 01:07:10,050 --> 01:07:11,190 I think this is 2143 01:07:11,190 --> 01:07:11,910 the last question. 2144 01:07:12,570 --> 01:07:14,170 Sorry about yelling out before. 2145 01:07:15,930 --> 01:07:17,290 Just to go back 2146 01:07:17,290 --> 01:07:18,570 to that question, when you said 2147 01:07:19,290 --> 01:07:20,790 you can't prove a negative, right? 2148 01:07:21,350 --> 01:07:22,950 So if you're saying 2149 01:07:22,950 --> 01:07:25,150 use the positive, I had 2150 01:07:25,150 --> 01:07:27,270 37 virus infections last month, 2151 01:07:27,490 --> 01:07:29,170 aren't you saying the 2152 01:07:29,370 --> 01:07:31,230 same thing? That I only had 37 2153 01:07:31,230 --> 01:07:33,190 virus infections? Isn't that the same? 2154 01:07:33,830 --> 01:07:35,330 No, what I say is 2155 01:07:35,330 --> 01:07:37,190 I only know about 37. 2156 01:07:39,430 --> 01:07:41,230 No, I can't say 2157 01:07:41,230 --> 01:07:42,150 I know about zero. 2158 01:07:42,490 --> 01:07:45,130 What I can say is I don't know 2159 01:07:45,130 --> 01:07:45,910 of any. 2160 01:07:46,970 --> 01:07:48,950 Which is a very, very different statement. 2161 01:07:49,250 --> 01:07:51,130 I'm admitting to ignorance 2162 01:07:51,130 --> 01:07:52,790 rather than saying 2163 01:07:52,790 --> 01:07:56,370 I know of nothing. 2164 01:07:58,190 --> 01:07:59,270 This is one of 2165 01:07:59,370 --> 01:08:01,170 those areas where syntax is very, 2166 01:08:01,250 --> 01:08:01,910 very important. 2167 01:08:02,390 --> 01:08:05,170 And having the syntax where 2168 01:08:05,170 --> 01:08:06,970 I'm forward with 2169 01:08:06,970 --> 01:08:08,570 what I don't know. 2170 01:08:09,110 --> 01:08:10,870 So I know of no 2171 01:08:10,870 --> 01:08:11,830 data breaches 2172 01:08:11,830 --> 01:08:14,750 is a very, very 2173 01:08:14,750 --> 01:08:15,990 realistic statement. 2174 01:08:16,870 --> 01:08:18,730 Saying that I 2175 01:08:18,730 --> 01:08:19,230 have 2176 01:08:21,570 --> 01:08:24,890 I forget the other way of approaching 2177 01:08:24,890 --> 01:08:25,490 it, but 2178 01:08:27,430 --> 01:08:28,910 by being open 2179 01:08:29,370 --> 01:08:29,650 to ignorance, 2180 01:08:30,990 --> 01:08:32,730 I'm not setting false 2181 01:08:32,730 --> 01:08:33,330 expectation. 2182 01:08:37,830 --> 01:08:40,610 The board doesn't assume I'm omniscient. 2183 01:08:41,130 --> 01:08:42,870 The board assumes that 2184 01:08:42,870 --> 01:08:45,210 I'm as failed a human as 2185 01:08:45,210 --> 01:08:46,870 they are, and 2186 01:08:46,870 --> 01:08:49,450 they don't expect me to be omniscient. 2187 01:08:49,630 --> 01:08:51,330 What they expect me to be 2188 01:08:51,330 --> 01:08:52,970 is as 2189 01:08:52,970 --> 01:08:55,270 open about the limitations of 2190 01:08:55,270 --> 01:08:56,890 my knowledge and insight as possible. 2191 01:08:57,150 --> 01:08:59,270 So if I go to the board 2192 01:08:59,370 --> 01:09:00,810 and say over the past quarter 2193 01:09:01,370 --> 01:09:03,150 I know of no 2194 01:09:03,150 --> 01:09:03,890 data breaches, 2195 01:09:04,590 --> 01:09:06,850 they'll understand that there may have 2196 01:09:06,850 --> 01:09:09,050 been one that gets detected 2197 01:09:09,050 --> 01:09:10,290 two months from now, 2198 01:09:10,510 --> 01:09:13,110 but I didn't lie to them 2199 01:09:13,110 --> 01:09:14,710 when I said I know of none. 2200 01:09:20,350 --> 01:09:22,910 Yeah, it's not really a 2201 01:09:22,910 --> 01:09:24,830 FUD factor. It isn't 2202 01:09:25,070 --> 01:09:26,050 based upon fear. 2203 01:09:26,530 --> 01:09:28,070 And I'm not 2204 01:09:29,370 --> 01:09:29,690 trying to say that I'm 2205 01:09:29,690 --> 01:09:31,110 Yes, there is uncertainty there, 2206 01:09:31,210 --> 01:09:33,150 and that never goes away in our discipline. 2207 01:09:33,450 --> 01:09:35,530 We can never be 100% certain 2208 01:09:35,530 --> 01:09:37,630 about anything other than 2209 01:09:37,630 --> 01:09:39,470 we can never be 100% certain 2210 01:09:39,470 --> 01:09:40,150 about anything. 2211 01:09:41,410 --> 01:09:43,730 This, however, does not mean that 2212 01:09:43,730 --> 01:09:44,970 we have to have doubt. 2213 01:09:45,930 --> 01:09:48,290 By saying I have detected 2214 01:09:48,290 --> 01:09:49,650 no breaches 2215 01:09:50,350 --> 01:09:52,590 means I'm actively trying and 2216 01:09:52,590 --> 01:09:54,010 looking at for them. 2217 01:09:54,010 --> 01:09:55,850 It just means that I'm 2218 01:09:55,850 --> 01:09:57,530 unaware of any breaches. 2219 01:09:59,670 --> 01:10:01,890 Yeah, it could be that I suck at my job 2220 01:10:01,890 --> 01:10:03,110 or it could be that 2221 01:10:04,710 --> 01:10:05,750 and frankly 2222 01:10:05,750 --> 01:10:07,070 if I ever have a breach 2223 01:10:07,070 --> 01:10:09,870 where I find it and they were 2224 01:10:09,870 --> 01:10:11,650 in my environment for nine months 2225 01:10:11,650 --> 01:10:13,690 prior to when I found it, 2226 01:10:13,770 --> 01:10:15,490 yes, I suck at my job! 2227 01:10:17,310 --> 01:10:19,350 And that is a very real metric. 2228 01:10:19,490 --> 01:10:21,750 So looking at time to discovery 2229 01:10:21,750 --> 01:10:23,810 for data breach is a very 2230 01:10:24,010 --> 01:10:25,090 good way of looking at 2231 01:10:25,090 --> 01:10:27,810 how badly do I suck at my job? 2232 01:10:28,510 --> 01:10:29,630 And it's a 2233 01:10:29,630 --> 01:10:31,330 measurement that every CISO, 2234 01:10:31,490 --> 01:10:33,590 Director of Security, or somebody 2235 01:10:33,590 --> 01:10:35,690 in that kind of position should be 2236 01:10:35,690 --> 01:10:37,630 looking at and we all should be very 2237 01:10:37,630 --> 01:10:39,190 very self-critical about this 2238 01:10:39,190 --> 01:10:41,550 and honest that you can only talk about 2239 01:10:41,550 --> 01:10:43,470 what you found. You can't 2240 01:10:43,470 --> 01:10:45,050 ever talk about what you haven't. 2241 01:10:47,470 --> 01:10:49,690 Alright, I think that's all I have 2242 01:10:49,690 --> 01:10:51,570 time for. Thank you so much. 2243 01:10:52,870 --> 01:10:53,910 Enjoy DEF CON! 2244 01:10:54,870 --> 01:10:55,550 Applause 2245 01:10:59,710 --> 01:11:02,290 It is my pleasure 2246 01:11:02,290 --> 01:11:03,910 to introduce 2247 01:11:03,910 --> 01:11:04,910 you to the next speaker 2248 01:11:05,750 --> 01:11:08,070 who is the Head of Research 2249 01:11:08,070 --> 01:11:09,210 at Topspin Security 2250 01:11:09,710 --> 01:11:10,790 based out of Israel. 2251 01:11:11,250 --> 01:11:13,130 And Omar Zohar 2252 01:11:13,130 --> 01:11:15,630 he will be presenting on 2253 01:11:15,630 --> 01:11:17,790 a topic that I'm sure a lot of you 2254 01:11:17,790 --> 01:11:19,470 are very curious on. It's on the 2255 01:11:20,010 --> 01:11:21,570 topic of deception. 2256 01:11:22,130 --> 01:11:23,650 So without much ado 2257 01:11:24,010 --> 01:11:25,530 please give a very warm welcome 2258 01:11:25,530 --> 01:11:26,510 Omar Zohar. 2259 01:11:27,290 --> 01:11:27,930 Applause 2260 01:11:30,570 --> 01:11:31,530 Hi everyone. 2261 01:11:33,170 --> 01:11:33,810 Okay. 2262 01:11:33,990 --> 01:11:35,930 So here's the scenario. You spent 2263 01:11:35,930 --> 01:11:38,070 months preparing 2264 01:11:38,070 --> 01:11:39,910 to infiltrate 2265 01:11:39,910 --> 01:11:41,050 the evil corp. 2266 01:11:41,850 --> 01:11:42,850 You tried 2267 01:11:44,870 --> 01:11:46,150 everything, exploits, 2268 01:11:46,150 --> 01:11:47,890 whatever, and finally after months 2269 01:11:47,890 --> 01:11:49,870 of preparation you finally got a foothold 2270 01:11:49,870 --> 01:11:51,710 on the network. Now 2271 01:11:51,710 --> 01:11:53,910 you got to some work states 2272 01:11:54,010 --> 01:11:55,810 somewhere. You don't know. You 2273 01:11:55,810 --> 01:11:57,230 succeeded in 2274 01:11:58,250 --> 01:11:59,690 infiltrating. And now 2275 01:11:59,690 --> 01:12:00,910 you try to 2276 01:12:01,850 --> 01:12:03,490 move your way in order to 2277 01:12:04,010 --> 01:12:04,630 well 2278 01:12:05,610 --> 01:12:07,690 your goal is to basically 2279 01:12:07,690 --> 01:12:09,930 excitate some data, important data 2280 01:12:09,930 --> 01:12:11,590 out of the organization. So 2281 01:12:11,590 --> 01:12:13,970 you're looking for the work station that you 2282 01:12:13,970 --> 01:12:15,970 found and you come 2283 01:12:15,970 --> 01:12:18,050 across quite a bit of 2284 01:12:18,050 --> 01:12:19,530 interesting information. So 2285 01:12:21,010 --> 01:12:21,810 you look 2286 01:12:21,810 --> 01:12:23,650 you see some emails that the users 2287 01:12:24,670 --> 01:12:25,830 discovered. You see some 2288 01:12:25,830 --> 01:12:27,950 credentials. You see some session 2289 01:12:27,950 --> 01:12:29,730 data. And 2290 01:12:30,990 --> 01:12:31,970 what I want from you 2291 01:12:31,970 --> 01:12:33,550 in the show of hands to 2292 01:12:33,550 --> 01:12:35,770 tell me what 2293 01:12:35,770 --> 01:12:37,850 kind of data would you think 2294 01:12:37,850 --> 01:12:39,830 would help you to 2295 01:12:39,830 --> 01:12:41,790 move along in your 2296 01:12:41,790 --> 01:12:43,990 data laterally across the network. 2297 01:12:44,070 --> 01:12:45,570 Who thinks number one 2298 01:12:45,570 --> 01:12:47,490 is the one that's going to help the most? 2299 01:12:48,830 --> 01:12:50,070 Okay. Show of hands. 2300 01:12:50,210 --> 01:12:51,750 No one? Alright. 2301 01:12:52,390 --> 01:12:53,110 Number two? 2302 01:12:54,770 --> 01:12:55,870 Alright. A little bit more. 2303 01:12:56,050 --> 01:12:57,810 And who thinks number three is the most? 2304 01:12:59,150 --> 01:12:59,590 Okay. 2305 01:12:59,710 --> 01:13:01,930 So we have a majority for number three. 2306 01:13:03,210 --> 01:13:03,650 And 2307 01:13:03,650 --> 01:13:05,830 these are the types of questions that I've been 2308 01:13:06,310 --> 01:13:07,970 dealing with in the past 2309 01:13:07,970 --> 01:13:09,030 few months. And 2310 01:13:09,030 --> 01:13:11,730 this is what I'm going to talk about today. Basically 2311 01:13:11,730 --> 01:13:14,030 what I was thinking about 2312 01:13:14,030 --> 01:13:15,890 the past few months is what attackers 2313 01:13:15,890 --> 01:13:17,630 are interested in when they are 2314 01:13:18,130 --> 01:13:19,710 inside your network where they 2315 01:13:19,710 --> 01:13:20,110 inside 2316 01:13:21,430 --> 01:13:23,710 where they see your data and what 2317 01:13:24,010 --> 01:13:25,870 they care about in order to execute 2318 01:13:25,870 --> 01:13:27,710 whatever they're here for. 2319 01:13:28,590 --> 01:13:30,010 So my name is Omar 2320 01:13:30,010 --> 01:13:31,710 Zohar. I'm the head of research for Topsy 2321 01:13:31,710 --> 01:13:33,230 Insecurity. And 2322 01:13:33,870 --> 01:13:35,930 we're going to talk about some research that we have 2323 01:13:35,930 --> 01:13:37,990 been participating in the past 2324 01:13:37,990 --> 01:13:39,830 couple of months about 2325 01:13:41,390 --> 01:13:41,870 how 2326 01:13:41,870 --> 01:13:43,470 deception can be applied 2327 01:13:43,830 --> 01:13:45,910 in the network, inside the 2328 01:13:45,910 --> 01:13:46,710 network, and 2329 01:13:47,490 --> 01:13:49,490 how efficient it is and how to do it 2330 01:13:50,010 --> 01:13:51,690 in an effective way. 2331 01:13:51,830 --> 01:13:53,990 So we're going to talk about today a little 2332 01:13:54,010 --> 01:13:54,530 bit about 2333 01:13:56,710 --> 01:13:57,870 how is 2334 01:13:57,870 --> 01:13:59,370 deception implemented at 2335 01:14:00,190 --> 01:14:01,610 post-infection scenarios. 2336 01:14:01,990 --> 01:14:02,830 We're going to put 2337 01:14:02,830 --> 01:14:06,110 I'm going to explain a little bit about the test that we made 2338 01:14:06,110 --> 01:14:07,610 in order to test 2339 01:14:07,610 --> 01:14:09,650 the efficiency of deception solution. 2340 01:14:10,650 --> 01:14:11,370 We're going to 2341 01:14:11,370 --> 01:14:13,870 show you a few examples of some traps and 2342 01:14:13,870 --> 01:14:15,850 decoys and different deception mechanisms 2343 01:14:15,850 --> 01:14:17,410 that we implemented for our test. 2344 01:14:17,630 --> 01:14:19,390 And we're going to discuss the results. 2345 01:14:20,370 --> 01:14:21,970 So why are we even 2346 01:14:21,970 --> 01:14:23,190 talking about post-witch 2347 01:14:24,010 --> 01:14:25,870 detection? So everybody 2348 01:14:25,870 --> 01:14:27,970 here today probably agrees that 2349 01:14:27,970 --> 01:14:29,210 the perimeter of Apache 2350 01:14:30,010 --> 01:14:31,710 can be easily 2351 01:14:31,710 --> 01:14:33,910 bypassed. Add to 2352 01:14:33,910 --> 01:14:35,030 that that chaotic 2353 01:14:35,770 --> 01:14:37,510 internal networks with 2354 01:14:37,510 --> 01:14:39,790 little or sometimes 2355 01:14:39,790 --> 01:14:40,730 even no security 2356 01:14:40,730 --> 01:14:43,930 that leads to a further ground for 2357 01:14:43,930 --> 01:14:45,890 attackers to roam 2358 01:14:45,890 --> 01:14:47,570 around your network and 2359 01:14:47,570 --> 01:14:49,750 do basically whatever they want. 2360 01:14:50,630 --> 01:14:51,710 Attackers have 2361 01:14:51,710 --> 01:14:53,810 most of the advantage in a cyber attack. 2362 01:14:54,010 --> 01:14:55,710 They have the initiative. They have the 2363 01:14:55,710 --> 01:14:56,890 veil of anonymity. 2364 01:14:57,010 --> 01:14:59,990 They have the privilege 2365 01:14:59,990 --> 01:15:01,070 to try and try again 2366 01:15:02,350 --> 01:15:03,710 until they succeed. 2367 01:15:03,910 --> 01:15:05,370 While defenders have exactly 2368 01:15:05,890 --> 01:15:07,650 the opposite position. 2369 01:15:07,870 --> 01:15:09,350 They don't know who is attacking them usually. 2370 01:15:09,850 --> 01:15:12,010 Usually they don't even know if it's an attack 2371 01:15:12,010 --> 01:15:13,250 or a false positive. 2372 01:15:13,510 --> 01:15:15,870 And they usually end up trying to defend 2373 01:15:15,870 --> 01:15:17,890 everything from everything all the time. 2374 01:15:18,870 --> 01:15:19,390 But 2375 01:15:19,910 --> 01:15:21,830 defenders do have one big 2376 01:15:21,830 --> 01:15:23,710 advantage. And this is the 2377 01:15:24,010 --> 01:15:24,810 control of information 2378 01:15:24,810 --> 01:15:27,790 that they have and the asset they have on their 2379 01:15:27,790 --> 01:15:29,590 network. So in order to 2380 01:15:29,590 --> 01:15:31,950 if a good defender 2381 01:15:31,950 --> 01:15:33,270 would prepare in advance 2382 01:15:33,270 --> 01:15:35,930 the image that an attacker would see 2383 01:15:35,930 --> 01:15:37,770 once he's inside your network 2384 01:15:37,770 --> 01:15:39,810 then it is possible 2385 01:15:39,810 --> 01:15:41,910 to change 2386 01:15:41,910 --> 01:15:43,950 the image that the attacker would see 2387 01:15:43,950 --> 01:15:45,950 once they're inside the network and to channel 2388 01:15:45,950 --> 01:15:47,290 attackers towards 2389 01:15:47,770 --> 01:15:49,830 detection mechanism instead of 2390 01:15:49,830 --> 01:15:51,970 the real asset in the organization. 2391 01:15:52,450 --> 01:15:53,890 And I'll show 2392 01:15:54,010 --> 01:15:54,950 you how it's done. So 2393 01:15:55,790 --> 01:15:57,890 every network has its assets, workstation 2394 01:15:57,890 --> 01:15:59,690 servers, IoT devices, 2395 01:16:00,810 --> 01:16:01,990 switches, routers 2396 01:16:01,990 --> 01:16:03,490 and everything that connects between them. 2397 01:16:03,690 --> 01:16:05,850 So the deception mechanism 2398 01:16:05,850 --> 01:16:07,570 that we call the 2399 01:16:07,570 --> 01:16:08,710 decoy is exactly 2400 01:16:08,710 --> 01:16:11,930 the device 2401 01:16:11,930 --> 01:16:13,830 that will mimic the operation of 2402 01:16:13,830 --> 01:16:15,570 each and every type of the asset. 2403 01:16:15,750 --> 01:16:17,790 So from the 2404 01:16:17,790 --> 01:16:19,110 standpoint of networking 2405 01:16:19,830 --> 01:16:20,150 services, 2406 01:16:21,790 --> 01:16:23,070 operating system, 2407 01:16:24,010 --> 01:16:25,830 application and sometimes even data 2408 01:16:25,830 --> 01:16:27,170 it all depends on the different 2409 01:16:29,090 --> 01:16:30,030 interactivity level 2410 01:16:30,030 --> 01:16:31,250 of the decoy. 2411 01:16:35,510 --> 01:16:36,410 Okay so 2412 01:16:37,590 --> 01:16:39,870 decoys have, because they're 2413 01:16:39,870 --> 01:16:41,890 not part of the organization, they're not part 2414 01:16:41,890 --> 01:16:43,750 of the real operation 2415 01:16:44,430 --> 01:16:45,630 no one's supposed to 2416 01:16:45,630 --> 01:16:47,910 know about them and therefore 2417 01:16:47,910 --> 01:16:49,770 no legitimate users 2418 01:16:49,770 --> 01:16:51,990 are ever supposed to touch the decoys. 2419 01:16:52,890 --> 01:16:53,510 But 2420 01:16:55,250 --> 01:16:56,370 so every 2421 01:16:56,370 --> 01:16:58,250 time someone is touching the decoy 2422 01:16:58,250 --> 01:16:59,830 then you should 2423 01:16:59,830 --> 01:17:02,150 the alert is very 2424 01:17:02,150 --> 01:17:02,830 suspicious. 2425 01:17:03,730 --> 01:17:05,470 Another advantage of the decoy is 2426 01:17:05,470 --> 01:17:07,510 because it doesn't hold any important 2427 01:17:07,510 --> 01:17:08,550 information for 2428 01:17:09,790 --> 01:17:11,870 the organization, you can use the decoys 2429 01:17:11,870 --> 01:17:13,090 in order to employ the attacker, 2430 01:17:13,370 --> 01:17:16,010 delay it and study it a little bit 2431 01:17:16,010 --> 01:17:17,650 and while 2432 01:17:17,650 --> 01:17:19,830 it's been detected you also know 2433 01:17:19,830 --> 01:17:21,870 what does he want, what is 2434 01:17:21,870 --> 01:17:23,170 his needs, what is his goals. 2435 01:17:25,230 --> 01:17:25,750 So 2436 01:17:25,750 --> 01:17:27,030 this is the decoys. 2437 01:17:27,490 --> 01:17:29,530 The only issue with decoys is that 2438 01:17:29,530 --> 01:17:31,730 as I said before they're not part of the organization 2439 01:17:31,730 --> 01:17:33,510 no legitimate users are supposed to ever touch them 2440 01:17:33,510 --> 01:17:35,570 and then the question is 2441 01:17:35,570 --> 01:17:37,850 how sophisticated attackers who would not do 2442 01:17:37,850 --> 01:17:39,370 some scanning on the network 2443 01:17:39,370 --> 01:17:41,110 how do they ever find about the decoys? 2444 01:17:41,370 --> 01:17:43,630 And here we introduce another deception 2445 01:17:43,630 --> 01:17:45,590 mechanism that is called the trap. 2446 01:17:46,370 --> 01:17:47,450 Trap are actually 2447 01:17:47,450 --> 01:17:50,090 a piece of breadcrumbs, links if you may 2448 01:17:50,090 --> 01:17:52,130 that of pieces of information 2449 01:17:52,130 --> 01:17:53,750 that we place on the endpoints 2450 01:17:54,010 --> 01:17:55,510 in order to 2451 01:17:56,850 --> 01:17:58,050 let attackers 2452 01:17:58,050 --> 01:17:59,830 know about either 2453 01:17:59,830 --> 01:18:01,610 decoys or other detection mechanism 2454 01:18:01,610 --> 01:18:03,890 and we're going to talk about it moving on. 2455 01:18:04,010 --> 01:18:05,970 So if an attacker would find 2456 01:18:05,970 --> 01:18:07,410 one of my traps 2457 01:18:07,410 --> 01:18:09,350 he would gain information about 2458 01:18:09,890 --> 01:18:11,250 different services that 2459 01:18:11,250 --> 01:18:13,590 I deployed and 2460 01:18:13,590 --> 01:18:15,130 will eventually 2461 01:18:15,790 --> 01:18:16,970 reach the decoys. 2462 01:18:18,050 --> 01:18:19,350 Okay, so 2463 01:18:19,990 --> 01:18:21,610 up to now this was the theory. 2464 01:18:21,770 --> 01:18:23,990 Okay, in real life 2465 01:18:24,670 --> 01:18:25,950 deploying decoys and 2466 01:18:25,950 --> 01:18:28,050 traps can be quite a task 2467 01:18:28,050 --> 01:18:29,930 because there are 2468 01:18:29,930 --> 01:18:31,410 so many types, I guess 2469 01:18:31,830 --> 01:18:33,690 some of you are already thinking about 2470 01:18:33,690 --> 01:18:35,230 what kind of traps and decoys 2471 01:18:35,230 --> 01:18:37,490 can be deployed on a network 2472 01:18:37,490 --> 01:18:38,850 and how you're going to do that. 2473 01:18:39,330 --> 01:18:41,910 And the deployments are very very difficult 2474 01:18:41,910 --> 01:18:43,170 because there are endless possibilities. 2475 01:18:44,670 --> 01:18:45,790 So for example 2476 01:18:45,790 --> 01:18:47,770 what kind of traps would I 2477 01:18:48,830 --> 01:18:49,350 deploy? 2478 01:18:50,010 --> 01:18:51,770 What kind of decoys? How many 2479 01:18:51,770 --> 01:18:53,790 should I put in each machine? How many 2480 01:18:54,010 --> 01:18:55,190 should I put on my network? 2481 01:18:55,390 --> 01:18:57,250 All these are very important to our question and 2482 01:18:57,250 --> 01:18:59,950 we pondered about them a lot 2483 01:18:59,950 --> 01:19:01,690 and we had some 2484 01:19:01,690 --> 01:19:03,550 hunches about them but we really 2485 01:19:03,550 --> 01:19:05,750 didn't have a lot of real data about 2486 01:19:05,750 --> 01:19:07,210 this stuff. So 2487 01:19:07,210 --> 01:19:09,730 we thought we would check and 2488 01:19:09,730 --> 01:19:11,490 it's apparently that no one 2489 01:19:12,030 --> 01:19:13,130 that we know of 2490 01:19:13,130 --> 01:19:15,210 ever checked them. So we decided 2491 01:19:15,850 --> 01:19:17,230 we're going to do this research and 2492 01:19:17,230 --> 01:19:19,190 this is what I'm going to talk about today. 2493 01:19:19,610 --> 01:19:20,410 We defined 2494 01:19:21,390 --> 01:19:22,950 three different research questions. 2495 01:19:24,010 --> 01:19:25,190 First is, are decoys and traps 2496 01:19:25,730 --> 01:19:27,390 effective in real life scenarios? 2497 01:19:27,610 --> 01:19:29,870 Can they actually help me detect attacks 2498 01:19:29,870 --> 01:19:32,110 in a post-breach scenario? 2499 01:19:32,690 --> 01:19:34,030 And what types of attacks 2500 01:19:34,030 --> 01:19:35,790 should I be expecting to 2501 01:19:36,390 --> 01:19:37,390 be able to detect? 2502 01:19:38,070 --> 01:19:39,030 The second is, 2503 01:19:39,170 --> 01:19:41,730 do attackers really take my baits? 2504 01:19:41,730 --> 01:19:43,150 What kind of baits are better than others? 2505 01:19:43,250 --> 01:19:45,530 What kind of baits will help me against 2506 01:19:45,530 --> 01:19:46,630 in different scenarios? 2507 01:19:47,110 --> 01:19:49,770 And the third is, is there an ideal 2508 01:19:49,770 --> 01:19:51,850 deployment or what rule of thumb 2509 01:19:51,850 --> 01:19:53,830 can I be expected to use 2510 01:19:54,010 --> 01:19:56,030 in order to 2511 01:19:56,030 --> 01:19:58,050 increase the effectivity of my 2512 01:19:58,050 --> 01:19:58,950 deception deployment? 2513 01:19:59,870 --> 01:20:02,070 So we pondered about how to 2514 01:20:02,070 --> 01:20:03,230 answer those questions 2515 01:20:03,910 --> 01:20:05,470 which are all very 2516 01:20:05,470 --> 01:20:07,430 can be answered in a lot of ways and we 2517 01:20:07,430 --> 01:20:08,370 have to check 2518 01:20:08,370 --> 01:20:11,270 a lot of types of deception mechanisms 2519 01:20:11,770 --> 01:20:13,770 in real life scenarios against real attackers. 2520 01:20:14,090 --> 01:20:15,750 But we also have to do it in a controlled 2521 01:20:15,750 --> 01:20:17,810 environment where we can actually test the results 2522 01:20:17,810 --> 01:20:20,190 of the interaction 2523 01:20:20,190 --> 01:20:21,730 with the deception technology. 2524 01:20:22,030 --> 01:20:23,530 So we ended up 2525 01:20:24,010 --> 01:20:25,950 doing, we decided the best 2526 01:20:25,950 --> 01:20:27,770 way is to do a CTF, 2527 01:20:27,830 --> 01:20:29,710 a game, to gamify it, bring 2528 01:20:29,710 --> 01:20:30,390 attackers in, 2529 01:20:33,210 --> 01:20:33,990 let them 2530 01:20:33,990 --> 01:20:35,670 have their prizes so we have the incentive 2531 01:20:35,670 --> 01:20:36,650 to do 2532 01:20:36,650 --> 01:20:39,690 real attacks and 2533 01:20:39,690 --> 01:20:41,490 we're gonna deploy 2534 01:20:41,890 --> 01:20:43,090 our stuff inside 2535 01:20:43,930 --> 01:20:45,930 and see how they 2536 01:20:45,930 --> 01:20:47,730 interact with it. So this is exactly 2537 01:20:47,730 --> 01:20:49,370 what we did. We built a whole 2538 01:20:49,830 --> 01:20:51,690 corporate environment, workstations, 2539 01:20:51,710 --> 01:20:53,630 servers, connected in a 2540 01:20:54,010 --> 01:20:55,790 main controller with DNS 2541 01:20:55,790 --> 01:20:58,030 servers and what not 2542 01:20:58,030 --> 01:20:59,650 in order to make it a real 2543 01:20:59,650 --> 01:21:01,710 organization. We added a lot 2544 01:21:01,710 --> 01:21:03,570 and lots of data, emails, 2545 01:21:04,050 --> 01:21:04,610 files, 2546 01:21:06,690 --> 01:21:07,350 users, 2547 01:21:07,770 --> 01:21:09,410 applications, corporate 2548 01:21:09,800 --> 01:21:11,710 web applications, all to create a 2549 01:21:11,710 --> 01:21:13,670 snapshot of a real live 2550 01:21:13,670 --> 01:21:14,390 organization. 2551 01:21:15,930 --> 01:21:17,490 On top of it came 2552 01:21:17,800 --> 01:21:19,870 the deception there. So we deployed 2553 01:21:19,870 --> 01:21:21,910 decoys on the network in order 2554 01:21:21,910 --> 01:21:23,910 to, in all sorts 2555 01:21:24,010 --> 01:21:25,710 of configuration, in order to 2556 01:21:28,070 --> 01:21:29,050 mimic the 2557 01:21:30,450 --> 01:21:31,630 operation of the 2558 01:21:31,630 --> 01:21:33,310 regular assets on the 2559 01:21:33,910 --> 01:21:35,910 network and we 2560 01:21:35,910 --> 01:21:37,670 placed traps on the real assets 2561 01:21:38,770 --> 01:21:39,990 to lure the 2562 01:21:39,990 --> 01:21:42,010 attackers towards decoys and other detection 2563 01:21:42,010 --> 01:21:43,850 mechanisms. The traps 2564 01:21:43,850 --> 01:21:45,370 and decoys that we used were all 2565 01:21:46,010 --> 01:21:47,210 sorts of types of 2566 01:21:48,250 --> 01:21:49,850 things that we already had, 2567 01:21:50,050 --> 01:21:51,890 things that were in POC mode 2568 01:21:51,890 --> 01:21:53,790 and some open source projects 2569 01:21:54,010 --> 01:21:55,570 that we wanted to test. So there was a 2570 01:21:55,570 --> 01:21:57,670 very big variety of different deception 2571 01:21:57,670 --> 01:21:59,790 mechanisms. We're going to get to that in a minute. 2572 01:22:01,190 --> 01:22:01,930 On top 2573 01:22:01,930 --> 01:22:03,670 of it all, we built the challenge. So 2574 01:22:03,670 --> 01:22:05,870 our challenge consisted of five 2575 01:22:05,870 --> 01:22:06,870 different types of 2576 01:22:08,490 --> 01:22:09,010 information 2577 01:22:09,830 --> 01:22:11,390 we spread around the network. 2578 01:22:12,030 --> 01:22:13,110 We then infected 2579 01:22:13,110 --> 01:22:15,790 one machine with remote access 2580 01:22:15,790 --> 01:22:18,130 to the RAT and gave the contestant 2581 01:22:18,130 --> 01:22:19,790 access to that machine. From 2582 01:22:19,790 --> 01:22:21,410 there, the contestant had to 2583 01:22:21,870 --> 01:22:23,990 do his reconnaissance, get to know 2584 01:22:24,010 --> 01:22:25,610 where he is at, what his target is, 2585 01:22:25,710 --> 01:22:27,930 and to execute this data out 2586 01:22:27,930 --> 01:22:29,510 of the organization. So basically you get 2587 01:22:29,510 --> 01:22:31,790 a really classic 2588 01:22:31,790 --> 01:22:33,710 data exploitation scenario. 2589 01:22:34,950 --> 01:22:35,970 Then we 2590 01:22:35,970 --> 01:22:37,850 gave the shout out to 2591 01:22:37,850 --> 01:22:39,870 everyone that wanted to participate. 2592 01:22:40,230 --> 01:22:41,110 We had 2593 01:22:42,010 --> 01:22:43,750 people from all over the 2594 01:22:43,750 --> 01:22:45,730 world participating. So a few 2595 01:22:45,730 --> 01:22:47,430 numbers about our CTF. 2596 01:22:48,890 --> 01:22:49,910 We ran 2597 01:22:49,910 --> 01:22:51,530 it for over a month with 2598 01:22:51,530 --> 01:22:53,890 over 50 security professionals 2599 01:22:54,010 --> 01:22:55,550 taking place, taking 2600 01:22:55,550 --> 01:22:56,890 part, sorry. 2601 01:22:57,690 --> 01:22:59,450 Each and every one of them spent 2602 01:22:59,450 --> 01:23:00,810 six to seven hours 2603 01:23:01,790 --> 01:23:03,130 doing the CTF exclusively 2604 01:23:03,970 --> 01:23:05,010 in this network. 2605 01:23:06,070 --> 01:23:07,990 And some of them took a lot 2606 01:23:07,990 --> 01:23:08,590 more than that. 2607 01:23:09,750 --> 01:23:11,770 We also ran quite a few 2608 01:23:11,770 --> 01:23:12,790 malware samples 2609 01:23:12,790 --> 01:23:15,510 on the same environment in order to 2610 01:23:15,510 --> 01:23:17,290 test how automatic malware 2611 01:23:18,010 --> 01:23:19,610 responds with the detection 2612 01:23:19,610 --> 01:23:21,970 mechanism as opposed to human 2613 01:23:21,970 --> 01:23:22,310 attackers. 2614 01:23:24,010 --> 01:23:25,170 We collected more than two million 2615 01:23:25,170 --> 01:23:26,350 lines of data. 2616 01:23:27,250 --> 01:23:29,330 We had a lot of data to walk through. 2617 01:23:29,590 --> 01:23:30,870 Over here you can see some of the 2618 01:23:30,870 --> 01:23:32,290 declarations that we placed. 2619 01:23:33,230 --> 01:23:35,450 We really wanted to make a live 2620 01:23:36,010 --> 01:23:37,550 real environment for attackers 2621 01:23:37,550 --> 01:23:39,830 to roam in. This is very important 2622 01:23:39,830 --> 01:23:40,370 for deception. 2623 01:23:41,330 --> 01:23:42,710 Let's talk a little bit about 2624 01:23:42,710 --> 01:23:44,170 some of the results. 2625 01:23:46,490 --> 01:23:47,770 The first thing 2626 01:23:47,770 --> 01:23:49,530 that we noticed is 2627 01:23:49,530 --> 01:23:51,750 how much time does people take 2628 01:23:51,750 --> 01:23:53,670 in order to solve each and every one 2629 01:23:54,010 --> 01:23:54,190 of these phases. 2630 01:23:54,450 --> 01:23:56,770 The first phase of our CTF 2631 01:23:56,770 --> 01:23:58,470 was very simple. 2632 01:23:58,590 --> 01:24:00,070 We just gave 2633 01:24:00,070 --> 01:24:02,910 the contestant 2634 01:24:02,910 --> 01:24:04,690 to find one file 2635 01:24:04,690 --> 01:24:06,810 inside of the local file system 2636 01:24:06,810 --> 01:24:09,050 of the initial infected machine. 2637 01:24:09,250 --> 01:24:10,490 We thought it was going to be a really 2638 01:24:10,490 --> 01:24:12,750 simple task as a first task for the CTF. 2639 01:24:13,550 --> 01:24:14,770 What we found is 2640 01:24:14,770 --> 01:24:16,990 this task took attackers 2641 01:24:16,990 --> 01:24:18,230 the longest. 2642 01:24:19,570 --> 01:24:21,430 We measured this in shell command, 2643 01:24:21,590 --> 01:24:22,810 the number of shell commands they had 2644 01:24:24,810 --> 01:24:26,130 to type in order to 2645 01:24:26,130 --> 01:24:27,530 get to each one of the phases. 2646 01:24:27,590 --> 01:24:30,270 The first phase took 600 steps 2647 01:24:30,270 --> 01:24:31,690 while the second phase, 2648 01:24:31,770 --> 01:24:32,830 which was a lot more technical, 2649 01:24:32,990 --> 01:24:34,770 which consisted of moving laterally 2650 01:24:34,770 --> 01:24:36,890 on the network and doing all sorts of scanning, 2651 01:24:37,170 --> 01:24:39,850 took a lot less and it went down from there. 2652 01:24:41,190 --> 01:24:41,950 We had 2653 01:24:41,950 --> 01:24:43,650 on this phase people doing 2654 01:24:44,210 --> 01:24:45,350 all sorts of stuff 2655 01:24:45,350 --> 01:24:46,990 from exploit kits 2656 01:24:46,990 --> 01:24:50,150 to privilege escalations. 2657 01:24:50,890 --> 01:24:52,130 We had even one guy 2658 01:24:52,130 --> 01:24:53,990 who downloaded each and every 2659 01:24:54,010 --> 01:24:55,230 file of the file system 2660 01:24:55,230 --> 01:24:57,750 in order to check if this is the correct file. 2661 01:24:59,810 --> 01:25:02,190 It's not like we didn't give any hints. 2662 01:25:02,830 --> 01:25:04,250 In our instructions 2663 01:25:04,250 --> 01:25:05,830 we gave a very 2664 01:25:05,830 --> 01:25:07,130 specific hint 2665 01:25:07,130 --> 01:25:09,010 for the attackers 2666 01:25:09,890 --> 01:25:12,030 where exactly to find 2667 01:25:12,030 --> 01:25:13,030 that first file. 2668 01:25:13,790 --> 01:25:15,850 Our first conclusion is 2669 01:25:15,850 --> 01:25:17,710 if you're going to do a CTF 2670 01:25:17,710 --> 01:25:19,690 read the fucking manual. 2671 01:25:21,730 --> 01:25:22,370 Really. 2672 01:25:24,010 --> 01:25:25,170 Because when people 2673 01:25:25,170 --> 01:25:26,650 who actually read this stuff 2674 01:25:26,650 --> 01:25:28,250 and people who actually 2675 01:25:28,250 --> 01:25:30,970 or we pointed out when we see that 2676 01:25:30,970 --> 01:25:32,110 they're taking too long, 2677 01:25:32,270 --> 01:25:35,490 they found this file in no more than 100 steps. 2678 01:25:35,870 --> 01:25:38,010 What we have here is a gap. 2679 01:25:38,090 --> 01:25:39,730 A gap between a knowledgeable attacker 2680 01:25:39,730 --> 01:25:40,710 and 2681 01:25:40,710 --> 01:25:44,210 a disinformed attacker. 2682 01:25:44,770 --> 01:25:45,970 We call this the knowledge gap 2683 01:25:45,970 --> 01:25:47,030 which is exactly the 2684 01:25:47,030 --> 01:25:49,630 difference between the perception 2685 01:25:49,630 --> 01:25:50,870 of the attacker 2686 01:25:50,870 --> 01:25:53,350 and what is actually going on. 2687 01:25:54,650 --> 01:25:56,090 So we also 2688 01:25:56,790 --> 01:25:57,630 found that 2689 01:25:58,990 --> 01:26:00,390 this knowledge gap 2690 01:26:00,390 --> 01:26:02,010 as we saw in the graph before 2691 01:26:02,010 --> 01:26:04,130 it decreases as much 2692 01:26:04,130 --> 01:26:06,030 as the time the attacker 2693 01:26:06,030 --> 01:26:07,410 spends on your network. 2694 01:26:07,570 --> 01:26:08,750 At first the attackers 2695 01:26:08,750 --> 01:26:10,130 they don't know where they are 2696 01:26:10,910 --> 01:26:13,690 they don't know where is their target 2697 01:26:13,690 --> 01:26:16,270 they try to look and find out 2698 01:26:16,270 --> 01:26:17,630 as much as they can about the network 2699 01:26:17,630 --> 01:26:19,950 and this is exactly the time 2700 01:26:19,950 --> 01:26:22,010 that they're making the most noise. 2701 01:26:22,310 --> 01:26:23,990 They're making a lot of noise 2702 01:26:24,010 --> 01:26:25,470 a lot of command, 2703 01:26:25,670 --> 01:26:26,510 they issue a lot of stuff 2704 01:26:26,510 --> 01:26:28,570 in order to find out where they are. 2705 01:26:31,830 --> 01:26:33,690 These gaps are also the difference 2706 01:26:33,690 --> 01:26:35,310 between a sophisticated 2707 01:26:35,310 --> 01:26:36,370 and knowledgeable attacker 2708 01:26:36,370 --> 01:26:39,090 and some random crime 2709 01:26:39,090 --> 01:26:41,590 or malware infection 2710 01:26:41,590 --> 01:26:42,990 that doesn't care about 2711 01:26:42,990 --> 01:26:44,830 the specific attacker. 2712 01:26:45,590 --> 01:26:47,170 If we think about it 2713 01:26:47,170 --> 01:26:49,630 in the aspect of detection 2714 01:26:49,630 --> 01:26:51,890 then this knowledge gap 2715 01:26:51,890 --> 01:26:53,870 is what the deception mechanism 2716 01:26:54,010 --> 01:26:54,910 is supposed to do 2717 01:26:54,910 --> 01:26:55,930 in order 2718 01:26:57,030 --> 01:26:58,430 to widen this gap 2719 01:26:58,430 --> 01:27:00,310 is actually what the deception mechanism 2720 01:27:00,310 --> 01:27:01,150 is supposed to do. 2721 01:27:01,210 --> 01:27:02,270 The wider the gap 2722 01:27:02,270 --> 01:27:04,490 the harder for the attacker 2723 01:27:04,490 --> 01:27:06,430 to know what's really going on 2724 01:27:06,430 --> 01:27:08,250 and it's going to make a lot more noise 2725 01:27:08,250 --> 01:27:08,770 in the network 2726 01:27:08,770 --> 01:27:10,910 and it will do a lot more stuff 2727 01:27:10,910 --> 01:27:13,570 in order to find out what's going on 2728 01:27:13,570 --> 01:27:14,730 and this is where we're going to 2729 01:27:14,730 --> 01:27:16,270 be able to detect it. 2730 01:27:17,150 --> 01:27:20,590 So before we move on with more results 2731 01:27:24,010 --> 01:27:24,170 we're going to look at 2732 01:27:24,170 --> 01:27:25,090 different detection mechanisms 2733 01:27:25,090 --> 01:27:28,230 that we placed for this CTF. 2734 01:27:28,750 --> 01:27:31,150 So, traps. 2735 01:27:31,730 --> 01:27:32,990 We divided traps 2736 01:27:32,990 --> 01:27:34,090 into four types 2737 01:27:35,190 --> 01:27:37,250 network-based traps 2738 01:27:37,250 --> 01:27:39,430 file-based, credential-based traps 2739 01:27:39,430 --> 01:27:40,550 and application-based traps 2740 01:27:40,550 --> 01:27:42,510 and each one of them 2741 01:27:42,510 --> 01:27:43,870 we have a long list 2742 01:27:43,870 --> 01:27:46,210 of different traps 2743 01:27:46,210 --> 01:27:48,290 and actually this is the place 2744 01:27:48,290 --> 01:27:49,890 where you can really get creative 2745 01:27:49,890 --> 01:27:51,330 because everything on the asset 2746 01:27:54,010 --> 01:27:54,610 that you think that an attacker 2747 01:27:54,610 --> 01:27:55,930 can be looking at 2748 01:27:55,930 --> 01:27:57,170 you can use as a trap. 2749 01:27:57,430 --> 01:27:59,170 So we start with the file-based trap 2750 01:27:59,170 --> 01:28:01,950 file-based are really the simplest types of traps 2751 01:28:01,950 --> 01:28:04,790 they can be very simple 2752 01:28:04,790 --> 01:28:05,970 like for example 2753 01:28:05,970 --> 01:28:08,310 the configuration file 2754 01:28:08,310 --> 01:28:09,790 containing username and passwords 2755 01:28:09,790 --> 01:28:11,310 it can also be a document 2756 01:28:11,310 --> 01:28:13,910 with IP addresses and URLs 2757 01:28:13,910 --> 01:28:15,570 and username and password 2758 01:28:15,570 --> 01:28:17,730 from the IT department supposedly 2759 01:28:17,730 --> 01:28:18,990 to how to connect to the VPN 2760 01:28:18,990 --> 01:28:22,370 and everything, all these IPs and URLs 2761 01:28:24,010 --> 01:28:24,270 either 2762 01:28:25,790 --> 01:28:28,010 bringing the attacker to the decoy 2763 01:28:28,010 --> 01:28:29,570 or some other detection mechanism. 2764 01:28:30,930 --> 01:28:31,890 But sometimes 2765 01:28:31,890 --> 01:28:33,350 it's not enough just to 2766 01:28:34,070 --> 01:28:35,330 send the attacker somewhere 2767 01:28:35,330 --> 01:28:38,070 we want to know exactly when he's opening the file 2768 01:28:38,070 --> 01:28:39,970 or if he's exiting the file 2769 01:28:39,970 --> 01:28:41,050 from the file system 2770 01:28:41,050 --> 01:28:43,510 we want to know when the attacker 2771 01:28:43,510 --> 01:28:45,310 even if he's not on premise anymore 2772 01:28:45,310 --> 01:28:46,470 we want to know 2773 01:28:46,470 --> 01:28:50,110 when he opened the file 2774 01:28:50,110 --> 01:28:51,270 and this concept 2775 01:28:51,770 --> 01:28:53,830 this mechanism is called a canary 2776 01:28:54,010 --> 01:28:55,490 a canary is basically 2777 01:28:55,750 --> 01:28:57,410 some mechanism that will trigger 2778 01:28:57,770 --> 01:29:00,110 once someone is opening either a document 2779 01:29:00,110 --> 01:29:01,190 it can be an email file 2780 01:29:01,190 --> 01:29:02,270 it can be a database table 2781 01:29:02,270 --> 01:29:05,330 and you can imagine what other types you can do 2782 01:29:06,010 --> 01:29:08,190 so what's going on in this example 2783 01:29:08,190 --> 01:29:09,110 we have 2784 01:29:09,110 --> 01:29:11,190 a document 2785 01:29:11,190 --> 01:29:13,430 and once someone is opening this document 2786 01:29:13,430 --> 01:29:15,030 an HTTP request for 2787 01:29:15,030 --> 01:29:16,370 going out for 2788 01:29:17,590 --> 01:29:19,210 some domain that we control 2789 01:29:19,210 --> 01:29:21,770 with a unique token so we know exactly which file 2790 01:29:21,770 --> 01:29:22,790 has been opened 2791 01:29:24,010 --> 01:29:25,690 in this example we used 2792 01:29:25,690 --> 01:29:27,430 an open source project 2793 01:29:27,430 --> 01:29:29,630 called Canary Tokens 2794 01:29:29,630 --> 01:29:31,710 which is made available 2795 01:29:31,710 --> 01:29:33,470 by the folks at Thinkest 2796 01:29:33,770 --> 01:29:35,890 I think a year ago 2797 01:29:35,890 --> 01:29:37,790 and it makes it really easy to 2798 01:29:37,790 --> 01:29:39,150 implement Canaries 2799 01:29:39,790 --> 01:29:40,990 for everyone 2800 01:29:40,990 --> 01:29:42,450 so really recommended 2801 01:29:44,610 --> 01:29:45,290 Emails 2802 01:29:46,010 --> 01:29:47,630 Emails are working the same as 2803 01:29:48,490 --> 01:29:49,890 documents but they have 2804 01:29:49,890 --> 01:29:51,510 the credibility of being 2805 01:29:51,510 --> 01:29:53,990 a conversation between two people 2806 01:29:54,010 --> 01:29:56,190 so the data 2807 01:29:56,190 --> 01:29:56,850 inside emails 2808 01:29:56,850 --> 01:29:58,710 really can be 2809 01:29:58,710 --> 01:30:00,870 have really the credibility 2810 01:30:02,390 --> 01:30:03,870 and the data 2811 01:30:03,870 --> 01:30:04,930 for users 2812 01:30:04,930 --> 01:30:07,290 for the attackers can be a lot more valuable 2813 01:30:07,290 --> 01:30:09,670 this email that we found 2814 01:30:09,670 --> 01:30:11,650 has been triggered by 27% 2815 01:30:11,650 --> 01:30:12,910 of the contacts opened 2816 01:30:12,910 --> 01:30:14,250 this specific email 2817 01:30:14,250 --> 01:30:16,370 so it was quite popular 2818 01:30:16,370 --> 01:30:18,810 actually it was the most popular trap 2819 01:30:18,810 --> 01:30:19,810 we had on the CTF 2820 01:30:19,810 --> 01:30:21,610 and as a wise man once said 2821 01:30:24,350 --> 01:30:25,890 you can hear a human 2822 01:30:25,890 --> 01:30:27,930 saying but when you control 2823 01:30:27,930 --> 01:30:29,590 the mail you control 2824 01:30:29,590 --> 01:30:30,570 information 2825 01:30:34,090 --> 01:30:34,610 so 2826 01:30:35,690 --> 01:30:37,090 let's talk about our users 2827 01:30:37,090 --> 01:30:39,990 can users create a 2828 01:30:39,990 --> 01:30:41,830 false positive when we press the traps 2829 01:30:41,830 --> 01:30:43,670 you're probably asking that because 2830 01:30:44,250 --> 01:30:45,930 they can, they can find your traps 2831 01:30:45,930 --> 01:30:47,750 they can find the documents we put in 2832 01:30:47,750 --> 01:30:49,890 or whatever that we found and they can 2833 01:30:49,890 --> 01:30:52,210 either delete it or accidentally click on it 2834 01:30:52,210 --> 01:30:53,510 and we have false positive 2835 01:30:54,010 --> 01:30:54,650 so what do we do 2836 01:30:55,390 --> 01:30:57,930 certainly it's really wise not to put it in 2837 01:30:57,930 --> 01:30:59,470 the user's face so don't put it in the 2838 01:30:59,880 --> 01:31:01,670 high on his email don't put it on the 2839 01:31:01,670 --> 01:31:03,810 documents folder there are quite 2840 01:31:03,810 --> 01:31:05,810 a few places we found that can be used 2841 01:31:05,810 --> 01:31:07,690 in order to put traps 2842 01:31:07,690 --> 01:31:09,890 where users usually doesn't look 2843 01:31:09,890 --> 01:31:11,810 like the temp folder, recycle bin 2844 01:31:12,890 --> 01:31:13,450 printer's pool 2845 01:31:13,890 --> 01:31:15,890 and the list goes on and on so 2846 01:31:16,750 --> 01:31:17,590 again creativity 2847 01:31:18,730 --> 01:31:19,870 but I want to 2848 01:31:19,870 --> 01:31:21,770 share with you a nice method that we found 2849 01:31:21,770 --> 01:31:23,710 was very useful and this is 2850 01:31:24,010 --> 01:31:25,850 using the file permission system so 2851 01:31:25,850 --> 01:31:27,230 in this case we hid 2852 01:31:27,850 --> 01:31:29,570 some directory that contained traps 2853 01:31:30,570 --> 01:31:31,990 to the system 2854 01:31:31,990 --> 01:31:33,530 system hidden files and 2855 01:31:33,530 --> 01:31:35,970 this is not the problem but 2856 01:31:36,670 --> 01:31:37,690 really what we 2857 01:31:37,690 --> 01:31:39,890 did is to lock this directory 2858 01:31:39,890 --> 01:31:41,750 to the domain admin user 2859 01:31:41,750 --> 01:31:43,610 and it doesn't have to be the domain admin 2860 01:31:43,610 --> 01:31:45,710 it can be any privileged user 2861 01:31:45,710 --> 01:31:47,950 the thing is that the legitimate users 2862 01:31:47,950 --> 01:31:49,650 on the workstation doesn't have 2863 01:31:49,650 --> 01:31:51,910 access to these traps so it cannot create 2864 01:31:51,910 --> 01:31:52,890 false positive but 2865 01:31:54,550 --> 01:31:55,130 once 2866 01:31:55,830 --> 01:31:57,330 someone is taking this trap 2867 01:31:57,330 --> 01:31:59,710 we not only know that we have an attacker 2868 01:31:59,710 --> 01:32:01,350 on our premise but 2869 01:32:01,350 --> 01:32:03,690 we also know that this attacker 2870 01:32:03,690 --> 01:32:05,950 has the credentials to 2871 01:32:05,950 --> 01:32:07,350 read these traps so 2872 01:32:07,760 --> 01:32:10,110 we also know that this is a highly privileged 2873 01:32:10,110 --> 01:32:11,810 attacker who is also deep in my 2874 01:32:11,810 --> 01:32:12,670 system 2875 01:32:12,670 --> 01:32:15,430 and he has the domain admin credibility 2876 01:32:15,920 --> 01:32:16,210 so 2877 01:32:17,750 --> 01:32:19,890 one way to prevent false positive 2878 01:32:20,550 --> 01:32:21,950 moving on to network 2879 01:32:21,950 --> 01:32:22,470 based traps 2880 01:32:24,010 --> 01:32:24,730 one way of 2881 01:32:24,730 --> 01:32:27,730 a very popular way for attackers to know 2882 01:32:27,730 --> 01:32:29,850 the network neighbors is using the 2883 01:32:29,850 --> 01:32:31,270 ARP cache in our experiment 2884 01:32:31,270 --> 01:32:34,070 a third of the attackers 2885 01:32:34,070 --> 01:32:35,870 use the ARP cache in order to view 2886 01:32:35,870 --> 01:32:37,790 who is the neighbors 2887 01:32:37,790 --> 01:32:39,970 on the LAN so it's a very popular method 2888 01:32:39,970 --> 01:32:41,310 and how do we 2889 01:32:41,310 --> 01:32:43,470 implement deception on it so 2890 01:32:44,010 --> 01:32:45,490 what we want to do is to 2891 01:32:45,930 --> 01:32:48,010 inject the IP 2892 01:32:48,010 --> 01:32:50,030 addresses and the MAC addresses of our decoys 2893 01:32:50,030 --> 01:32:51,930 to the ARP cache so we can 2894 01:32:51,930 --> 01:32:53,490 use static entries and this is 2895 01:32:54,010 --> 01:32:55,510 a very simple way 2896 01:32:55,510 --> 01:32:57,790 but it doesn't look very authentic 2897 01:32:57,790 --> 01:32:59,950 because everybody can see over here 2898 01:32:59,950 --> 01:33:01,370 you can see the static methods 2899 01:33:01,370 --> 01:33:03,890 the static entries so what we found 2900 01:33:03,890 --> 01:33:05,190 is a way of injecting 2901 01:33:06,070 --> 01:33:07,870 entries into the ARP table 2902 01:33:07,870 --> 01:33:09,810 and this is done very 2903 01:33:09,810 --> 01:33:11,650 simply by sending an ARP 2904 01:33:11,650 --> 01:33:13,990 sorry a SYN packet 2905 01:33:13,990 --> 01:33:15,030 to the 2906 01:33:16,570 --> 01:33:17,910 to one of 2907 01:33:17,910 --> 01:33:19,510 the open ports on the asset 2908 01:33:19,510 --> 01:33:21,210 so any open port can do 2909 01:33:21,210 --> 01:33:23,810 and what's going on is when you send the SYN 2910 01:33:24,010 --> 01:33:25,670 packets or a SYN reset or a SYN 2911 01:33:25,670 --> 01:33:27,790 hack reply should 2912 01:33:27,790 --> 01:33:29,610 be returned to the sender 2913 01:33:29,610 --> 01:33:31,850 because the sender is 2914 01:33:31,850 --> 01:33:33,150 not in the ARP cache he 2915 01:33:33,730 --> 01:33:35,730 sends an ARP request and we're going to send 2916 01:33:35,730 --> 01:33:37,590 an ARP reply from our 2917 01:33:37,590 --> 01:33:39,790 decoy and repeating 2918 01:33:39,790 --> 01:33:41,910 that every 2-3 hours 2919 01:33:42,650 --> 01:33:43,390 from each 2920 01:33:43,830 --> 01:33:45,350 decoy you can make sure that 2921 01:33:45,350 --> 01:33:47,370 every one of your 2922 01:33:47,370 --> 01:33:49,890 the IP addresses of the decoys are in the 2923 01:33:49,890 --> 01:33:51,670 ARP cache always and 2924 01:33:51,670 --> 01:33:53,710 in our experiment we found 2925 01:33:54,010 --> 01:33:55,050 that each attacker that 2926 01:33:56,010 --> 01:33:57,970 contacted the ARP cache 2927 01:33:57,970 --> 01:34:02,070 that viewed the ARP had a 14% 2928 01:34:02,070 --> 01:34:03,450 more likelihood in 2929 01:34:04,010 --> 01:34:05,310 interacting with the decoy 2930 01:34:05,310 --> 01:34:07,310 than any other attacker so 2931 01:34:08,170 --> 01:34:09,090 it's probably 2932 01:34:09,090 --> 01:34:10,970 it's a nice method 2933 01:34:12,110 --> 01:34:13,630 moving on to applications 2934 01:34:13,630 --> 01:34:15,290 applications can be 2935 01:34:15,830 --> 01:34:17,930 any data that you can insert into an application 2936 01:34:17,930 --> 01:34:19,930 that can be used by attackers 2937 01:34:19,930 --> 01:34:21,830 the most obvious example are 2938 01:34:21,830 --> 01:34:23,790 all sorts of connectivity programs 2939 01:34:24,010 --> 01:34:25,630 like PuTTY or 2940 01:34:25,630 --> 01:34:26,970 RDP or 2941 01:34:27,850 --> 01:34:29,730 FTP clients and what not you can 2942 01:34:29,730 --> 01:34:31,650 use either installed or even 2943 01:34:31,650 --> 01:34:33,990 uninstalled program with installed program you also 2944 01:34:33,990 --> 01:34:35,690 have the more 2945 01:34:35,690 --> 01:34:36,670 complicated 2946 01:34:38,110 --> 01:34:39,310 complicity of 2947 01:34:41,790 --> 01:34:43,390 the data that you insert 2948 01:34:43,390 --> 01:34:44,970 from the user so 2949 01:34:45,870 --> 01:34:47,690 depends of course it looks more authentic 2950 01:34:47,690 --> 01:34:49,110 if the program is installed 2951 01:34:49,110 --> 01:34:51,510 but the hard part about implementing 2952 01:34:51,510 --> 01:34:53,310 this kind of traps is 2953 01:34:54,010 --> 01:34:55,890 how to reverse engineer each and every 2954 01:34:55,890 --> 01:34:57,850 application in order to know 2955 01:34:57,850 --> 01:34:59,530 exactly what the data structure looks like 2956 01:34:59,530 --> 01:35:01,590 what values in the registry or the file system 2957 01:35:01,590 --> 01:35:03,690 or other databases I need to insert 2958 01:35:03,690 --> 01:35:04,590 in order to 2959 01:35:06,310 --> 01:35:07,350 insert my 2960 01:35:08,430 --> 01:35:08,950 traps 2961 01:35:08,950 --> 01:35:11,870 so fortunately for us we don't have to 2962 01:35:11,870 --> 01:35:13,810 because malware has done 2963 01:35:13,810 --> 01:35:14,670 these works for us 2964 01:35:16,910 --> 01:35:17,950 TrojanDarkPony, GameOverZeus 2965 01:35:17,950 --> 01:35:19,870 and a lot of others have their 2966 01:35:19,870 --> 01:35:21,990 source code leaked in the past couple 2967 01:35:21,990 --> 01:35:23,810 of years and they implemented 2968 01:35:24,010 --> 01:35:25,970 exactly this method in order to 2969 01:35:25,970 --> 01:35:26,370 find 2970 01:35:28,510 --> 01:35:29,790 this session 2971 01:35:29,790 --> 01:35:31,970 credentials in different applications 2972 01:35:31,970 --> 01:35:33,590 so over from the 2973 01:35:33,590 --> 01:35:35,750 source code that we already found we have 2974 01:35:35,750 --> 01:35:37,690 more than 200 different 2975 01:35:37,690 --> 01:35:39,590 applications lying around 2976 01:35:39,590 --> 01:35:41,690 that we can place traps on 2977 01:35:43,270 --> 01:35:45,890 and finally I want to talk to you 2978 01:35:45,890 --> 01:35:47,850 about credential based 2979 01:35:49,150 --> 01:35:49,790 traps 2980 01:35:49,790 --> 01:35:50,950 so 2981 01:35:51,790 --> 01:35:53,730 Windows has the Windows Credential Manager 2982 01:35:54,510 --> 01:35:55,910 and it makes it 2983 01:35:55,910 --> 01:35:58,050 it's a bad place to save your password 2984 01:35:58,050 --> 01:36:00,050 because every attacker that is 2985 01:36:00,050 --> 01:36:01,990 using a tool like Mimikatz can see 2986 01:36:01,990 --> 01:36:02,590 your passwords 2987 01:36:03,570 --> 01:36:05,750 in the clear if you have domain 2988 01:36:05,750 --> 01:36:08,050 if they have some admin privileges 2989 01:36:08,050 --> 01:36:09,150 on their workstations but 2990 01:36:09,150 --> 01:36:11,590 by default every RDP password 2991 01:36:11,590 --> 01:36:13,910 is being saved there but you can save 2992 01:36:13,910 --> 01:36:16,270 any type of data that you want 2993 01:36:16,270 --> 01:36:17,830 IP addresses, passwords, whatever 2994 01:36:17,830 --> 01:36:19,730 you want and inject them 2995 01:36:20,570 --> 01:36:21,750 there and you can see 2996 01:36:21,750 --> 01:36:23,030 on the CredMan 2997 01:36:24,010 --> 01:36:25,850 type of Mimikatz that you can see 2998 01:36:25,850 --> 01:36:27,450 all the data in plain text 2999 01:36:28,470 --> 01:36:29,830 another cool method 3000 01:36:29,830 --> 01:36:31,430 is injecting some 3001 01:36:32,270 --> 01:36:32,830 domain 3002 01:36:34,150 --> 01:36:35,270 user passwords 3003 01:36:35,270 --> 01:36:37,670 in this example we injected the domain admin 3004 01:36:37,670 --> 01:36:39,830 we have a unique password for each 3005 01:36:40,570 --> 01:36:41,670 for each 3006 01:36:41,670 --> 01:36:43,690 asset so we later 3007 01:36:43,690 --> 01:36:45,730 going to be able to know where 3008 01:36:45,730 --> 01:36:46,710 the password came from 3009 01:36:46,710 --> 01:36:49,750 so in this example we also used 3010 01:36:49,750 --> 01:36:51,790 another open source 3011 01:36:51,790 --> 01:36:52,710 project called Decept 3012 01:36:54,070 --> 01:36:56,090 Decept has been released by the folks 3013 01:36:56,090 --> 01:36:57,530 at SecureWorks not a while ago 3014 01:36:57,530 --> 01:37:00,050 and it makes it really easy 3015 01:37:00,050 --> 01:37:02,010 to inject and deploy 3016 01:37:02,010 --> 01:37:03,510 this stuff to 3017 01:37:03,510 --> 01:37:04,550 all sorts of 3018 01:37:04,550 --> 01:37:06,730 all sorts of workstations 3019 01:37:06,730 --> 01:37:09,250 so however you want 3020 01:37:09,250 --> 01:37:10,670 the attacker to 3021 01:37:11,970 --> 01:37:14,010 once the attacker takes the password 3022 01:37:14,010 --> 01:37:15,890 it doesn't matter how we use it 3023 01:37:15,890 --> 01:37:17,510 and we had tons of stuff 3024 01:37:17,510 --> 01:37:19,890 that we saw in tons of different types 3025 01:37:19,890 --> 01:37:21,910 of passwords 3026 01:37:21,910 --> 01:37:23,890 usage attempts in our city 3027 01:37:24,010 --> 01:37:25,790 and you can see some example here 3028 01:37:25,790 --> 01:37:27,910 every time an attacker 3029 01:37:27,910 --> 01:37:29,670 tries to login to some network 3030 01:37:29,670 --> 01:37:30,790 asset he can 3031 01:37:30,790 --> 01:37:33,950 make a request to the DC 3032 01:37:33,950 --> 01:37:34,730 for authentication 3033 01:37:34,730 --> 01:37:37,970 in this request there is the password 3034 01:37:37,970 --> 01:37:40,010 hash and by brute forcing 3035 01:37:40,010 --> 01:37:42,010 this hash we know the plain text so it's really 3036 01:37:42,010 --> 01:37:43,670 easy we can verify that 3037 01:37:43,670 --> 01:37:45,950 this type of login 3038 01:37:45,950 --> 01:37:47,610 attempt was made by 3039 01:37:48,750 --> 01:37:50,030 from the injected 3040 01:37:50,030 --> 01:37:51,490 password which is unique 3041 01:37:52,010 --> 01:37:53,550 so and 3042 01:37:54,010 --> 01:37:55,910 just mind you that in this example we didn't 3043 01:37:55,910 --> 01:37:58,010 even use the decoys we just used some 3044 01:37:58,010 --> 01:37:59,670 network analysis 3045 01:37:59,670 --> 01:38:00,870 network sniffing 3046 01:38:00,870 --> 01:38:03,150 in order to find the trap 3047 01:38:05,530 --> 01:38:07,950 so finally I'd like to leave you with 3048 01:38:07,950 --> 01:38:09,530 a few guidelines 3049 01:38:10,210 --> 01:38:11,810 towards how to create 3050 01:38:11,810 --> 01:38:14,030 how to 3051 01:38:14,030 --> 01:38:15,750 create a good trap so first of all 3052 01:38:15,750 --> 01:38:17,570 a trap must blend in 3053 01:38:17,570 --> 01:38:19,090 to the environment it has to be 3054 01:38:20,930 --> 01:38:21,690 lucrative and 3055 01:38:21,690 --> 01:38:21,910 authentic 3056 01:38:24,010 --> 01:38:25,850 otherwise attackers just not gonna 3057 01:38:25,850 --> 01:38:27,890 buy it it has to be 3058 01:38:27,890 --> 01:38:29,930 non-intrusive as we saw before don't create 3059 01:38:29,930 --> 01:38:31,710 false positives don't agitate the users 3060 01:38:31,710 --> 01:38:33,890 so otherwise you create 3061 01:38:33,890 --> 01:38:35,810 a lot of noise and finally 3062 01:38:36,850 --> 01:38:37,870 your trap should 3063 01:38:37,870 --> 01:38:39,730 have a low attack surface 3064 01:38:39,730 --> 01:38:41,850 and what I mean by that is 3065 01:38:41,850 --> 01:38:43,130 don't create new vulnerabilities 3066 01:38:43,920 --> 01:38:45,870 by placing traps so if you run 3067 01:38:45,870 --> 01:38:47,830 code on the machine or stuff like that to create your 3068 01:38:47,830 --> 01:38:49,690 traps that may be 3069 01:38:49,690 --> 01:38:52,030 a possibility for 3070 01:38:52,030 --> 01:38:53,930 attacker to take advantage of your trap 3071 01:38:54,010 --> 01:38:55,410 and to actually gain 3072 01:38:56,010 --> 01:38:57,830 privileges or do some other attacks 3073 01:38:57,830 --> 01:38:59,470 on your network so mind of that 3074 01:39:00,570 --> 01:39:01,790 ok back to our 3075 01:39:01,790 --> 01:39:02,190 CTF 3076 01:39:03,530 --> 01:39:05,790 so we had more than 3077 01:39:05,790 --> 01:39:06,970 177 3078 01:39:06,970 --> 01:39:09,430 different traps placed all over our 3079 01:39:09,790 --> 01:39:10,130 networks 3080 01:39:11,190 --> 01:39:13,470 11 different decoys with different 3081 01:39:14,350 --> 01:39:15,350 decoy services 3082 01:39:16,010 --> 01:39:17,910 and we had 3083 01:39:17,910 --> 01:39:18,850 one clear win 3084 01:39:18,850 --> 01:39:21,710 only one winner emerged from our 3085 01:39:21,710 --> 01:39:23,390 CTF which I was able to solve 3086 01:39:24,010 --> 01:39:25,610 all the riddles so this is a 3087 01:39:25,610 --> 01:39:27,810 snapshot of a message 3088 01:39:27,810 --> 01:39:29,830 text that he sent me at 2.30 3089 01:39:29,830 --> 01:39:31,950 in the morning very happy about being able 3090 01:39:31,950 --> 01:39:33,970 to solve our CTF 3091 01:39:33,970 --> 01:39:35,730 but by the way 3092 01:39:35,730 --> 01:39:37,910 that doesn't mean that he also 3093 01:39:38,650 --> 01:39:39,770 did not 3094 01:39:39,770 --> 01:39:41,470 fall in one of our traps so 3095 01:39:41,470 --> 01:39:43,990 he solved the CTF but still he stumbled 3096 01:39:43,990 --> 01:39:45,990 about quite a few 3097 01:39:45,990 --> 01:39:47,090 deception 3098 01:39:48,690 --> 01:39:49,810 mechanisms so 3099 01:39:50,870 --> 01:39:51,690 some results 3100 01:39:52,910 --> 01:39:53,470 um 3101 01:39:54,010 --> 01:39:56,050 we made a breakdown of 3102 01:39:56,050 --> 01:39:57,790 the different types of traps and 3103 01:39:57,790 --> 01:39:59,750 exactly how many 3104 01:39:59,750 --> 01:40:02,030 traps were consumed in each type of the CTF 3105 01:40:02,030 --> 01:40:04,150 so as you can see 3106 01:40:04,150 --> 01:40:05,950 the most popular one was the fire based 3107 01:40:05,950 --> 01:40:07,930 trap out of the 340 traps 3108 01:40:07,930 --> 01:40:08,730 that were consumed 3109 01:40:10,570 --> 01:40:11,730 120 were 3110 01:40:11,730 --> 01:40:13,850 fire based traps but as you can see 3111 01:40:13,850 --> 01:40:15,790 only 64 of them 3112 01:40:15,790 --> 01:40:17,330 were revealed so not all 3113 01:40:17,330 --> 01:40:18,970 even though it was very popular 3114 01:40:19,670 --> 01:40:21,690 not all traps were discovered 3115 01:40:21,690 --> 01:40:22,190 by 3116 01:40:24,010 --> 01:40:24,310 the attackers 3117 01:40:24,310 --> 01:40:27,130 we had one trap who were 3118 01:40:27,130 --> 01:40:29,890 very popular it was consumed 21 3119 01:40:29,890 --> 01:40:31,850 times which was the party application 3120 01:40:31,850 --> 01:40:33,650 but on average 3121 01:40:34,630 --> 01:40:35,950 each trap 3122 01:40:35,950 --> 01:40:37,970 was consumed only 3 times 3123 01:40:37,970 --> 01:40:39,630 and this proves the 3124 01:40:40,450 --> 01:40:41,210 the 3125 01:40:42,010 --> 01:40:43,810 the diversity of 3126 01:40:43,810 --> 01:40:45,470 attackers and what they are looking for 3127 01:40:45,470 --> 01:40:47,650 and how attackers diverse from one another 3128 01:40:47,650 --> 01:40:49,830 so each attacker took 3129 01:40:49,830 --> 01:40:51,850 interest in very different 3130 01:40:51,850 --> 01:40:52,570 types of traps 3131 01:40:54,010 --> 01:40:54,570 um 3132 01:40:54,570 --> 01:40:57,650 and overall 62% of our traps 3133 01:40:57,650 --> 01:40:58,510 has been discovered 3134 01:40:58,510 --> 01:41:01,710 we also checked the difference between 3135 01:41:01,710 --> 01:41:03,570 humans and malware 3136 01:41:03,570 --> 01:41:05,590 and automatic 3137 01:41:05,590 --> 01:41:07,770 malware and as you can see 3138 01:41:07,770 --> 01:41:09,350 there is a clear different patterns 3139 01:41:09,350 --> 01:41:11,770 between what malware are looking 3140 01:41:11,770 --> 01:41:13,730 for and what humans 3141 01:41:13,730 --> 01:41:15,210 attackers are looking for so 3142 01:41:15,750 --> 01:41:17,590 malware being automatic they look for the 3143 01:41:17,590 --> 01:41:20,010 structured data, application data, browser 3144 01:41:20,010 --> 01:41:21,610 data and 3145 01:41:21,610 --> 01:41:23,970 the most sophisticated ones actually look at 3146 01:41:24,010 --> 01:41:25,730 files and try to find tokens in them 3147 01:41:25,730 --> 01:41:27,790 but not more than that 3148 01:41:27,790 --> 01:41:29,950 human base are really more diverse 3149 01:41:29,950 --> 01:41:31,830 they like the files most but 3150 01:41:31,830 --> 01:41:33,690 they also did in high numbers emails 3151 01:41:33,690 --> 01:41:35,790 and credentials and more 3152 01:41:35,790 --> 01:41:37,810 on average each human 3153 01:41:37,810 --> 01:41:39,990 attacker tried 3154 01:41:39,990 --> 01:41:40,910 triggered 3155 01:41:41,570 --> 01:41:44,010 around 10 traps so this is a lot 3156 01:41:44,010 --> 01:41:44,590 of information 3157 01:41:45,310 --> 01:41:47,630 each and every attacker gained from 3158 01:41:47,630 --> 01:41:49,550 from our traps during his 3159 01:41:49,550 --> 01:41:51,910 his contestant 3160 01:41:52,710 --> 01:41:53,310 so 3161 01:41:54,010 --> 01:41:55,010 what we have here so 3162 01:41:55,010 --> 01:41:57,990 we have traps being triggered 3163 01:41:57,990 --> 01:41:59,250 by the assets 3164 01:42:00,070 --> 01:42:01,250 and we have 3165 01:42:01,750 --> 01:42:03,890 and we know that the attackers saw these 3166 01:42:03,890 --> 01:42:05,570 traps and they 3167 01:42:05,570 --> 01:42:07,550 consumed it and we actually 3168 01:42:07,550 --> 01:42:08,950 had a lot of 3169 01:42:08,950 --> 01:42:11,870 we did a lot of data analysis in order to 3170 01:42:11,870 --> 01:42:13,650 make sure the attacker 3171 01:42:13,650 --> 01:42:15,950 each traps that we 3172 01:42:15,950 --> 01:42:17,750 found actually 3173 01:42:17,750 --> 01:42:19,570 reached the attackers eyeballs so a lot of 3174 01:42:19,570 --> 01:42:22,050 data analysis and stuff like that in order to 3175 01:42:22,050 --> 01:42:22,990 make sure of that 3176 01:42:24,010 --> 01:42:25,490 but how attackers really 3177 01:42:26,130 --> 01:42:28,090 use the information how did they 3178 01:42:28,090 --> 01:42:29,830 employ it how did they 3179 01:42:29,830 --> 01:42:31,650 act upon it so 3180 01:42:32,650 --> 01:42:34,090 eternal attackers doesn't 3181 01:42:34,090 --> 01:42:35,970 really give a shit about what we 3182 01:42:35,970 --> 01:42:37,750 think when they use 3183 01:42:37,750 --> 01:42:39,930 the traps so we 3184 01:42:39,930 --> 01:42:40,430 had attackers 3185 01:42:41,970 --> 01:42:44,010 using the data that we gave them 3186 01:42:44,010 --> 01:42:46,030 right away some attackers ignored 3187 01:42:46,030 --> 01:42:47,330 completely some of them 3188 01:42:47,810 --> 01:42:49,570 mixed the trap data together 3189 01:42:49,570 --> 01:42:51,890 some of them even added information 3190 01:42:51,890 --> 01:42:53,990 on top of what we actually 3191 01:42:54,010 --> 01:42:54,570 gave them 3192 01:42:54,570 --> 01:42:57,170 so we 3193 01:42:57,730 --> 01:42:59,670 basically we were a little bit concerned about 3194 01:42:59,670 --> 01:43:01,770 what types of traps we 3195 01:43:01,770 --> 01:43:03,650 supposed to do in order to really channel the attackers 3196 01:43:03,650 --> 01:43:04,430 so we 3197 01:43:04,430 --> 01:43:06,250 want to use 3198 01:43:07,670 --> 01:43:08,610 it's kinda tough 3199 01:43:10,050 --> 01:43:10,990 it's kinda 3200 01:43:10,990 --> 01:43:12,330 so we 3201 01:43:12,330 --> 01:43:15,170 took a look about on one 3202 01:43:16,050 --> 01:43:17,290 one case 3203 01:43:17,870 --> 01:43:19,250 of an attacker who 3204 01:43:19,930 --> 01:43:21,270 who did 3205 01:43:22,010 --> 01:43:22,490 access 3206 01:43:24,010 --> 01:43:25,090 decoys in different services 3207 01:43:25,090 --> 01:43:27,930 so we want to find out 3208 01:43:27,930 --> 01:43:29,350 how he found 3209 01:43:29,810 --> 01:43:31,670 all these types of services 3210 01:43:31,670 --> 01:43:33,850 so we 3211 01:43:33,850 --> 01:43:35,450 went back and see what traps he triggered 3212 01:43:35,450 --> 01:43:37,970 so this type of trap he found 3213 01:43:37,970 --> 01:43:40,010 from so many emails that we found 3214 01:43:40,010 --> 01:43:41,810 and that contained 3215 01:43:41,810 --> 01:43:43,870 the IP address of an 3216 01:43:43,870 --> 01:43:45,610 RDP service in order 3217 01:43:45,610 --> 01:43:47,370 so he accessed that 3218 01:43:47,650 --> 01:43:49,970 and then he stumbled 3219 01:43:49,970 --> 01:43:51,110 upon the PhyZilla 3220 01:43:51,710 --> 01:43:53,150 FTP application 3221 01:43:54,210 --> 01:43:56,270 which contained three different 3222 01:43:56,270 --> 01:43:57,950 three different 3223 01:43:57,950 --> 01:43:58,690 IP addresses 3224 01:43:58,690 --> 01:44:00,870 please stop that 3225 01:44:01,670 --> 01:44:03,750 it contained three different 3226 01:44:03,750 --> 01:44:05,650 IP addresses along with the username and password 3227 01:44:05,650 --> 01:44:07,910 so he tried two of them 3228 01:44:07,910 --> 01:44:09,270 and even though 3229 01:44:09,270 --> 01:44:11,870 I had the password written for each 3230 01:44:11,870 --> 01:44:13,590 specifically for each service 3231 01:44:13,590 --> 01:44:16,050 he actually tried several of them 3232 01:44:16,050 --> 01:44:17,830 I don't know why 3233 01:44:17,830 --> 01:44:20,050 several of them on each service 3234 01:44:20,050 --> 01:44:21,650 so really added information 3235 01:44:21,650 --> 01:44:22,210 there 3236 01:44:24,010 --> 01:44:25,390 and then another two services 3237 01:44:25,390 --> 01:44:27,290 he found from an RDP file 3238 01:44:27,290 --> 01:44:28,890 that was sitting around in the file system 3239 01:44:28,890 --> 01:44:30,230 and this email that I've seen before 3240 01:44:30,230 --> 01:44:32,110 which was the most popular one 3241 01:44:32,110 --> 01:44:34,950 so all in all we could explain 3242 01:44:34,950 --> 01:44:37,070 five of these services 3243 01:44:38,170 --> 01:44:39,930 so how did he find about 3244 01:44:40,570 --> 01:44:41,490 the rest of them 3245 01:44:41,490 --> 01:44:43,630 it was a real puzzle to us 3246 01:44:43,630 --> 01:44:45,610 and we looked down and we checked 3247 01:44:45,610 --> 01:44:47,310 there is no traps for these 3248 01:44:47,870 --> 01:44:48,530 for these services 3249 01:44:48,530 --> 01:44:49,850 so how did we know about them 3250 01:44:51,270 --> 01:44:52,530 our guess is that 3251 01:44:54,010 --> 01:44:54,850 there is an RDP service here 3252 01:44:54,850 --> 01:44:57,870 and he figured that some of the 3253 01:44:57,870 --> 01:45:00,250 some of the decoys has RDP service 3254 01:45:00,250 --> 01:45:01,250 so he would try 3255 01:45:01,870 --> 01:45:02,550 another one 3256 01:45:02,550 --> 01:45:05,630 he figured because there is an RDP service 3257 01:45:05,630 --> 01:45:07,390 then it's probably a Windows machine 3258 01:45:07,390 --> 01:45:09,470 so he's gonna try 3259 01:45:10,270 --> 01:45:11,470 SMB sharing 3260 01:45:12,270 --> 01:45:13,390 and then 3261 01:45:13,850 --> 01:45:16,010 and he got to the rest of the SMB services 3262 01:45:16,010 --> 01:45:17,930 so overall the attacker 3263 01:45:17,930 --> 01:45:20,370 added a lot more information 3264 01:45:20,370 --> 01:45:22,570 from the basic trap information 3265 01:45:22,570 --> 01:45:23,710 that we 3266 01:45:24,010 --> 01:45:24,550 got him 3267 01:45:24,550 --> 01:45:26,970 he thought that the decoys were very interesting for him 3268 01:45:26,970 --> 01:45:29,150 he spent more than four hours 3269 01:45:29,710 --> 01:45:30,850 interacting with our decoys 3270 01:45:30,850 --> 01:45:33,030 in a lot of ways 3271 01:45:33,030 --> 01:45:36,130 and he spent most of his CTF 3272 01:45:36,130 --> 01:45:37,830 interacting with our decoys 3273 01:45:37,830 --> 01:45:38,830 instead of solving 3274 01:45:38,830 --> 01:45:40,730 the readers 3275 01:45:40,730 --> 01:45:43,050 so what we did here 3276 01:45:43,050 --> 01:45:45,950 is not only did our traps 3277 01:45:45,950 --> 01:45:47,950 widen the information gap 3278 01:45:47,950 --> 01:45:49,130 for the attacker 3279 01:45:49,130 --> 01:45:51,390 we also had him because the decoys 3280 01:45:51,390 --> 01:45:53,130 were a little bit convincing for him 3281 01:45:54,070 --> 01:45:54,550 so he could 3282 01:45:54,550 --> 01:45:56,150 more information gap by himself 3283 01:45:58,350 --> 01:45:58,830 ok 3284 01:46:00,150 --> 01:46:00,970 moving on 3285 01:46:00,970 --> 01:46:02,830 our final result is about 3286 01:46:02,830 --> 01:46:04,070 the decoy access 3287 01:46:05,090 --> 01:46:06,770 so we also did a breakdown 3288 01:46:06,770 --> 01:46:09,610 of what kind of 3289 01:46:09,610 --> 01:46:10,170 decoy services 3290 01:46:10,170 --> 01:46:12,750 are being used in each and every 3291 01:46:13,590 --> 01:46:14,330 by the attack 3292 01:46:14,330 --> 01:46:15,870 and you can see that the number of 3293 01:46:15,870 --> 01:46:18,370 decoy accesses were in the 10th of thousands 3294 01:46:18,370 --> 01:46:20,770 so we had a lot of events 3295 01:46:21,590 --> 01:46:22,650 in our decoys 3296 01:46:24,010 --> 01:46:25,370 in which each contestant used 3297 01:46:26,550 --> 01:46:27,830 access 10 different 3298 01:46:28,710 --> 01:46:29,550 decoy services 3299 01:46:30,270 --> 01:46:31,610 but this only 3300 01:46:31,610 --> 01:46:33,590 takes you half the picture because 3301 01:46:33,590 --> 01:46:35,650 if we look at the histogram of the 3302 01:46:35,650 --> 01:46:37,490 decoy accesses we see that indeed 3303 01:46:37,490 --> 01:46:39,810 most of the attackers actually used 3304 01:46:40,470 --> 01:46:41,810 these roughly 10 3305 01:46:42,730 --> 01:46:43,570 decoy services 3306 01:46:43,570 --> 01:46:45,410 but we have quite a few attackers 3307 01:46:45,410 --> 01:46:47,850 who made a lot, a lot, a lot more than that 3308 01:46:47,850 --> 01:46:49,790 so we decided 3309 01:46:49,790 --> 01:46:51,630 to figure out, we wanted to know 3310 01:46:51,630 --> 01:46:53,210 why is it so 3311 01:46:54,010 --> 01:46:55,990 so we looked 3312 01:46:55,990 --> 01:46:57,950 at the type of services that these guys 3313 01:46:57,950 --> 01:46:59,290 that did these 3314 01:47:00,230 --> 01:47:02,070 lots of accesses 3315 01:47:02,070 --> 01:47:04,010 how, what kind of services 3316 01:47:04,010 --> 01:47:05,270 did they access and we realized 3317 01:47:05,270 --> 01:47:07,930 that most of these accesses are low interactivity 3318 01:47:09,030 --> 01:47:10,450 events on the decoys 3319 01:47:10,450 --> 01:47:11,490 and that means this is 3320 01:47:11,830 --> 01:47:13,830 TCP SYN, PINGS 3321 01:47:13,830 --> 01:47:15,010 and all sorts of 3322 01:47:15,810 --> 01:47:17,270 initial connection packets 3323 01:47:18,010 --> 01:47:19,770 which are basically 3324 01:47:19,770 --> 01:47:21,910 what it is, is a network scan 3325 01:47:21,910 --> 01:47:23,730 so some of the users are doing 3326 01:47:24,010 --> 01:47:25,530 a network scan of the network in order to find 3327 01:47:25,530 --> 01:47:27,750 who can they access on the network 3328 01:47:27,750 --> 01:47:30,130 so if you have decoys 3329 01:47:30,130 --> 01:47:31,910 on the network, network scanning is 3330 01:47:31,910 --> 01:47:33,970 going to be very, very loud as you can see 3331 01:47:33,970 --> 01:47:34,270 for that 3332 01:47:36,270 --> 01:47:37,530 so we want to 3333 01:47:37,530 --> 01:47:39,930 see how attackers 3334 01:47:40,990 --> 01:47:41,890 interacted deeply 3335 01:47:41,890 --> 01:47:42,810 a little bit more 3336 01:47:44,030 --> 01:47:45,590 with the decoys 3337 01:47:45,590 --> 01:47:48,430 so we removed all the low interactivity 3338 01:47:48,430 --> 01:47:49,890 low interactivity events 3339 01:47:49,890 --> 01:47:51,950 and what we found is 3340 01:47:51,950 --> 01:47:53,010 that we still had 3341 01:47:54,010 --> 01:47:55,930 on average four different 3342 01:47:56,850 --> 01:47:57,690 services 3343 01:47:57,690 --> 01:47:58,910 and attacker 3344 01:47:59,790 --> 01:48:01,350 each attacker 3345 01:48:01,350 --> 01:48:02,630 has been interacting 3346 01:48:04,150 --> 01:48:04,990 so 3347 01:48:04,990 --> 01:48:07,110 this means that 3348 01:48:07,110 --> 01:48:09,070 even though you remove all the 3349 01:48:09,070 --> 01:48:11,590 PINGS and SYNs and stuff like that 3350 01:48:11,590 --> 01:48:12,950 attackers really found 3351 01:48:12,950 --> 01:48:15,750 our decoys really believable 3352 01:48:15,750 --> 01:48:17,990 because as you can see 3353 01:48:17,990 --> 01:48:20,030 these four different 3354 01:48:20,030 --> 01:48:21,770 accesses, it means that the user 3355 01:48:21,770 --> 01:48:23,110 has either logged into 3356 01:48:24,010 --> 01:48:24,290 one of the services 3357 01:48:24,290 --> 01:48:27,490 or he downloaded the file 3358 01:48:27,490 --> 01:48:28,430 uploaded the file 3359 01:48:28,430 --> 01:48:30,670 looked around the directories 3360 01:48:30,670 --> 01:48:32,230 of some services and stuff like that 3361 01:48:32,230 --> 01:48:34,150 so it's really been into 3362 01:48:34,950 --> 01:48:36,230 interacting with our decoys 3363 01:48:36,930 --> 01:48:37,530 and 3364 01:48:38,610 --> 01:48:39,810 if we compare 3365 01:48:39,810 --> 01:48:42,630 the high interactivity events 3366 01:48:42,630 --> 01:48:44,030 with the rest of the events 3367 01:48:44,030 --> 01:48:45,670 you can see that the pattern 3368 01:48:45,670 --> 01:48:47,310 is not very different 3369 01:48:47,310 --> 01:48:50,390 the pattern between high interactivity events only 3370 01:48:50,390 --> 01:48:52,310 and all the rest of the events 3371 01:48:54,010 --> 01:48:54,850 the usage of attackers who access 3372 01:48:54,850 --> 01:48:56,270 are not very different 3373 01:48:56,270 --> 01:48:58,350 what this means for us is that 3374 01:48:58,350 --> 01:49:00,610 first of all, attackers 3375 01:49:01,910 --> 01:49:03,810 those attackers who did the scanning 3376 01:49:04,490 --> 01:49:05,390 found about 3377 01:49:05,390 --> 01:49:06,910 about the decoys 3378 01:49:06,910 --> 01:49:09,110 but most of them continued on 3379 01:49:09,110 --> 01:49:11,090 and the decoys were interesting enough for them 3380 01:49:11,090 --> 01:49:13,270 to do high interactivity events 3381 01:49:13,270 --> 01:49:15,090 so most of them continued 3382 01:49:15,090 --> 01:49:16,570 and interacted with the decoys 3383 01:49:16,570 --> 01:49:18,570 and if you see that 3384 01:49:18,570 --> 01:49:20,570 no single bar here 3385 01:49:20,570 --> 01:49:22,430 is over 50% 3386 01:49:24,010 --> 01:49:25,510 the overall detection rate 3387 01:49:25,510 --> 01:49:27,870 of the decoys were 66% 3388 01:49:27,870 --> 01:49:29,690 so 66% of the 3389 01:49:29,690 --> 01:49:31,710 attackers has 3390 01:49:31,710 --> 01:49:34,150 interacted with the decoys 3391 01:49:34,150 --> 01:49:35,010 and been discovered 3392 01:49:35,950 --> 01:49:36,670 so 3393 01:49:36,670 --> 01:49:40,010 in order to reach 66% 3394 01:49:40,010 --> 01:49:41,250 no single 3395 01:49:41,790 --> 01:49:42,970 service is enough 3396 01:49:43,890 --> 01:49:44,810 in order to 3397 01:49:44,810 --> 01:49:47,010 cover all types of attackers 3398 01:49:47,010 --> 01:49:49,450 so in order to get high coverage rate 3399 01:49:49,450 --> 01:49:50,330 when you have decoys 3400 01:49:50,330 --> 01:49:51,390 you have to have 3401 01:49:54,010 --> 01:49:54,770 different types of decoys 3402 01:49:54,770 --> 01:49:56,530 different types of services 3403 01:49:56,530 --> 01:49:58,690 and to spread them around 3404 01:49:58,690 --> 01:50:00,850 in order to really comply 3405 01:50:00,850 --> 01:50:02,670 with each attacker 3406 01:50:02,670 --> 01:50:04,050 and whatever he wants 3407 01:50:06,350 --> 01:50:07,890 but as I told you 3408 01:50:07,890 --> 01:50:09,150 66% is not enough 3409 01:50:09,150 --> 01:50:11,510 but as I reminded earlier 3410 01:50:14,190 --> 01:50:15,310 decoys are not 3411 01:50:15,310 --> 01:50:16,010 the only 3412 01:50:17,150 --> 01:50:19,090 type of detection that we had 3413 01:50:19,090 --> 01:50:21,950 so if you consider 3414 01:50:21,950 --> 01:50:23,790 the canaries and the data analysis 3415 01:50:24,570 --> 01:50:26,910 and the example for that 3416 01:50:26,910 --> 01:50:27,970 that we showed you earlier 3417 01:50:28,790 --> 01:50:30,730 if you combine all this together 3418 01:50:30,730 --> 01:50:32,250 we reached 3419 01:50:32,630 --> 01:50:34,690 a level of 100% 3420 01:50:34,690 --> 01:50:36,010 of attackers 3421 01:50:36,630 --> 01:50:38,030 that did some 3422 01:50:38,030 --> 01:50:40,010 significant activity 3423 01:50:41,050 --> 01:50:41,690 in the network 3424 01:50:41,690 --> 01:50:43,010 has been detected by 3425 01:50:43,010 --> 01:50:44,110 either one of them 3426 01:50:44,110 --> 01:50:45,290 of course there is some overlap 3427 01:50:45,290 --> 01:50:47,370 between them 3428 01:50:50,010 --> 01:50:51,290 so finally 3429 01:50:51,290 --> 01:50:53,230 just to share with you 3430 01:50:54,370 --> 01:50:55,330 a little bit 3431 01:50:55,330 --> 01:50:57,050 about how attackers 3432 01:50:57,050 --> 01:50:57,870 interacted with decoys 3433 01:50:57,870 --> 01:50:58,770 this is just a small 3434 01:51:00,170 --> 01:51:01,290 conversation I had 3435 01:51:01,290 --> 01:51:02,270 with one of the frustrated 3436 01:51:03,690 --> 01:51:05,070 contestants in a CTF 3437 01:51:05,070 --> 01:51:07,410 he actually knew the right file 3438 01:51:07,410 --> 01:51:08,210 that he wanted to get 3439 01:51:08,210 --> 01:51:09,270 but he tried to 3440 01:51:09,870 --> 01:51:12,190 access some server 3441 01:51:14,430 --> 01:51:15,870 and he's telling me 3442 01:51:15,870 --> 01:51:17,450 dude this is not working 3443 01:51:18,590 --> 01:51:20,130 I'm sure the file is there 3444 01:51:20,130 --> 01:51:22,030 and I said to him 3445 01:51:24,010 --> 01:51:24,410 are you sure 3446 01:51:24,410 --> 01:51:25,290 and he told me 3447 01:51:25,290 --> 01:51:26,630 I found it in the history 3448 01:51:26,630 --> 01:51:27,210 in the email 3449 01:51:27,210 --> 01:51:28,770 and I asked history of what 3450 01:51:28,770 --> 01:51:30,310 history of Firefox 3451 01:51:30,950 --> 01:51:32,470 and then I realized 3452 01:51:33,210 --> 01:51:35,190 where he got this information 3453 01:51:35,190 --> 01:51:36,310 and I said 3454 01:51:36,310 --> 01:51:39,110 dude you are playing with a decoy 3455 01:51:41,210 --> 01:51:42,910 and this guy just spent 3456 01:51:42,910 --> 01:51:44,030 two hours of his life 3457 01:51:44,030 --> 01:51:45,130 trying different stuff 3458 01:51:45,130 --> 01:51:48,390 so just a first hand example 3459 01:51:48,390 --> 01:51:50,070 about how to interact with decoys 3460 01:51:55,430 --> 01:51:57,030 as we saw 3461 01:51:57,030 --> 01:51:58,010 deception increases 3462 01:51:58,010 --> 01:51:59,290 the attacker's knowledge gap 3463 01:51:59,910 --> 01:52:01,030 the bigger it is 3464 01:52:01,030 --> 01:52:02,270 the easier it is 3465 01:52:02,270 --> 01:52:05,950 to have proper detection 3466 01:52:05,950 --> 01:52:07,270 of attackers using 3467 01:52:07,870 --> 01:52:08,670 different deception 3468 01:52:08,670 --> 01:52:09,470 mechanism 3469 01:52:11,770 --> 01:52:13,130 diversity is the key 3470 01:52:13,130 --> 01:52:14,210 to get full coverage 3471 01:52:14,210 --> 01:52:16,210 of each and every type of attacker 3472 01:52:16,210 --> 01:52:17,330 attackers are diverse 3473 01:52:17,330 --> 01:52:19,210 they each have different interests 3474 01:52:19,210 --> 01:52:20,510 on your networks 3475 01:52:24,090 --> 01:52:25,610 and you can see 3476 01:52:25,610 --> 01:52:28,070 and deploy the traps 3477 01:52:28,070 --> 01:52:29,310 and decoys accordingly 3478 01:52:29,310 --> 01:52:31,730 as you see 3479 01:52:31,730 --> 01:52:33,290 the decoys are better 3480 01:52:33,290 --> 01:52:34,770 working better 3481 01:52:34,770 --> 01:52:35,830 when they are tailored 3482 01:52:35,830 --> 01:52:36,730 to the organization 3483 01:52:36,730 --> 01:52:38,310 and finally 3484 01:52:38,310 --> 01:52:39,990 remember that the end goal 3485 01:52:39,990 --> 01:52:41,010 is not deception 3486 01:52:41,010 --> 01:52:42,070 it's detection 3487 01:52:42,070 --> 01:52:42,950 so it doesn't matter 3488 01:52:54,010 --> 01:52:54,790 or even canaries 3489 01:52:55,450 --> 01:52:58,150 the end goal is to get detection 3490 01:52:58,150 --> 01:52:59,510 and by getting 3491 01:52:59,510 --> 01:53:01,910 high rate of detection 3492 01:53:01,910 --> 01:53:04,810 is about combining different types 3493 01:53:04,810 --> 01:53:06,050 of detection mechanisms 3494 01:53:06,050 --> 01:53:09,010 so our friend Newman 3495 01:53:09,010 --> 01:53:10,630 he had it half right 3496 01:53:11,290 --> 01:53:12,450 it's not about 3497 01:53:12,450 --> 01:53:13,670 he who controls the mail 3498 01:53:13,670 --> 01:53:14,430 controls information 3499 01:53:15,130 --> 01:53:17,030 it's about he who controls information 3500 01:53:17,030 --> 01:53:19,350 and he knows how to employ it 3501 01:53:19,350 --> 01:53:20,130 and how to use it 3502 01:53:24,010 --> 01:53:24,550 and he will truly be 3503 01:53:24,550 --> 01:53:26,510 master of your domain 3504 01:53:27,330 --> 01:53:28,170 thank you 3505 01:53:32,810 --> 01:53:33,930 any questions 3506 01:53:39,330 --> 01:53:41,050 thank you for that presentation 3507 01:53:41,050 --> 01:53:41,970 that was very informative 3508 01:53:41,970 --> 01:53:43,690 the question that I have is 3509 01:53:43,690 --> 01:53:45,750 when trying to do this in a large enterprise 3510 01:53:45,750 --> 01:53:47,550 speak up 3511 01:53:47,550 --> 01:53:49,550 when trying to do this in a large enterprise 3512 01:53:49,550 --> 01:53:52,010 what's the thought process around 3513 01:53:54,010 --> 01:53:55,610 how realistic and how wide to deploy 3514 01:53:55,610 --> 01:53:56,530 that deception layer 3515 01:53:56,530 --> 01:53:57,730 because that could get pretty expensive 3516 01:54:01,670 --> 01:54:02,190 so 3517 01:54:03,190 --> 01:54:05,190 when you do it in a large enterprise 3518 01:54:05,830 --> 01:54:06,550 it's really 3519 01:54:07,310 --> 01:54:08,710 important to understand 3520 01:54:08,710 --> 01:54:09,670 what are the key assets 3521 01:54:09,670 --> 01:54:12,150 that are in the organization 3522 01:54:12,150 --> 01:54:14,590 where you want to put some high interactive 3523 01:54:15,590 --> 01:54:16,110 decoys 3524 01:54:16,110 --> 01:54:19,090 to be filled with a lot of data 3525 01:54:19,090 --> 01:54:20,790 which takes a lot of time to prepare 3526 01:54:20,790 --> 01:54:23,270 and how to deploy 3527 01:54:24,010 --> 01:54:26,450 and where you want to put some low interactive decoys 3528 01:54:27,090 --> 01:54:28,310 that will just 3529 01:54:28,310 --> 01:54:29,090 you know 3530 01:54:29,090 --> 01:54:30,830 be there in order to 3531 01:54:30,830 --> 01:54:34,170 in order to 3532 01:54:34,170 --> 01:54:34,970 be 3533 01:54:34,970 --> 01:54:37,370 a general detection mechanism 3534 01:54:37,370 --> 01:54:39,910 for those guys who are just spraying 3535 01:54:39,910 --> 01:54:41,030 spraying around 3536 01:54:41,030 --> 01:54:41,670 so 3537 01:54:43,370 --> 01:54:45,830 the low interactivity of decoys 3538 01:54:45,830 --> 01:54:47,770 the deployment is really easy 3539 01:54:47,770 --> 01:54:50,190 and when you get to high interactivity 3540 01:54:50,190 --> 01:54:51,550 you get deployments very hard 3541 01:54:51,550 --> 01:54:53,990 so you have to make a balance between the high interactivity 3542 01:54:54,010 --> 01:54:56,230 and the ease of deployment 3543 01:54:56,230 --> 01:54:58,390 regarding to traps 3544 01:54:58,390 --> 01:55:01,030 some of the traps 3545 01:55:01,030 --> 01:55:02,150 can be easily deployed 3546 01:55:02,150 --> 01:55:03,690 and can be very generic 3547 01:55:03,690 --> 01:55:05,330 but some of them 3548 01:55:05,330 --> 01:55:07,330 if you have some specific asset 3549 01:55:07,330 --> 01:55:09,610 or specific data on some assets 3550 01:55:09,610 --> 01:55:10,870 then really 3551 01:55:10,870 --> 01:55:12,710 you can try to 3552 01:55:15,210 --> 01:55:16,350 specific tailor 3553 01:55:16,950 --> 01:55:17,710 specific 3554 01:55:18,930 --> 01:55:19,690 traps 3555 01:55:19,690 --> 01:55:21,730 in specific location on your network 3556 01:55:21,730 --> 01:55:23,350 so it's basically a 3557 01:55:24,010 --> 01:55:25,410 balance between the ease of deployment 3558 01:55:25,410 --> 01:55:27,710 and the ease of 3559 01:55:27,710 --> 01:55:29,110 the interactivity level 3560 01:55:29,110 --> 01:55:30,310 and the believability 3561 01:55:30,310 --> 01:55:32,170 of that deception solution 3562 01:55:33,410 --> 01:55:34,610 Any other questions? 3563 01:55:40,110 --> 01:55:40,710 Okay 3564 01:55:40,710 --> 01:55:42,010 Thank you very much 3565 01:55:46,170 --> 01:55:47,310 Thank you very much 3566 01:55:47,910 --> 01:55:48,210 and 3567 01:55:49,830 --> 01:55:50,750 we had 3568 01:55:50,750 --> 01:55:52,270 we are very very lucky 3569 01:55:54,010 --> 01:55:54,690 to have 3570 01:55:54,690 --> 01:55:57,010 a very very good friend of ours 3571 01:55:57,010 --> 01:55:58,550 and also a legendary speaker 3572 01:55:59,810 --> 01:56:01,190 Jay you've given talks 3573 01:56:01,190 --> 01:56:02,370 all around the world 3574 01:56:02,370 --> 01:56:04,850 and you've also given trainings 3575 01:56:04,850 --> 01:56:05,750 at Black Hat 3576 01:56:05,750 --> 01:56:07,690 did you train this year at Black Hat? 3577 01:56:08,130 --> 01:56:10,710 and some people 3578 01:56:10,710 --> 01:56:12,010 have actually asked 3579 01:56:12,010 --> 01:56:13,810 why do we have Black Hat 3580 01:56:13,810 --> 01:56:15,290 we have Black Hat speakers 3581 01:56:15,290 --> 01:56:17,370 why are they speaking at two times 3582 01:56:17,370 --> 01:56:19,110 because one thing we're very mindful of 3583 01:56:19,110 --> 01:56:21,230 is not everyone has the opportunity to go to 3584 01:56:24,370 --> 01:56:24,890 Black Hat 3585 01:56:24,890 --> 01:56:25,130 and you know 3586 01:56:25,130 --> 01:56:27,070 it's nice that you can come over here 3587 01:56:27,070 --> 01:56:29,090 and see the content as well 3588 01:56:29,810 --> 01:56:31,930 so that's something that we're very mindful 3589 01:56:31,930 --> 01:56:33,470 because there's a huge significant cost 3590 01:56:33,470 --> 01:56:35,210 to go to Black Hat 3591 01:56:35,210 --> 01:56:36,850 and it is not 3592 01:56:36,850 --> 01:56:38,090 it is our pleasure 3593 01:56:38,090 --> 01:56:39,130 it is our pleasure 3594 01:56:39,130 --> 01:56:40,070 and without much ado 3595 01:56:40,750 --> 01:56:42,850 this man needs no introduction 3596 01:56:42,850 --> 01:56:43,410 Jay Beal 3597 01:56:44,790 --> 01:56:46,270 Thank you thank you 3598 01:56:46,270 --> 01:56:49,350 I love that free applause you get before you even speak 3599 01:56:54,010 --> 01:56:56,090 years ago I created a hardening tool 3600 01:56:56,090 --> 01:56:57,370 called Bastille Linux 3601 01:56:57,990 --> 01:57:00,250 so you'll pardon the name of this talk 3602 01:57:00,910 --> 01:57:02,290 the focus of this talk 3603 01:57:02,290 --> 01:57:03,030 is SELinux 3604 01:57:03,030 --> 01:57:05,550 I basically want to give you 3605 01:57:06,930 --> 01:57:08,390 I want to give you 3606 01:57:08,390 --> 01:57:10,070 an awareness and understanding of SELinux 3607 01:57:10,070 --> 01:57:11,050 that you could actually use 3608 01:57:11,050 --> 01:57:13,570 that you can go home with and start playing with things right now 3609 01:57:13,570 --> 01:57:15,670 if any of you have a laptop and want to crack it open 3610 01:57:16,530 --> 01:57:17,430 CentOS or Fedora 3611 01:57:17,430 --> 01:57:19,950 or something that came with SELinux by default is really useful 3612 01:57:19,950 --> 01:57:21,930 if you don't I totally understand 3613 01:57:21,930 --> 01:57:23,410 they are videoing this talk 3614 01:57:24,010 --> 01:57:25,850 and the slides are going to be up 3615 01:57:25,850 --> 01:57:27,410 on InGuardian's website later on 3616 01:57:28,010 --> 01:57:29,210 so let's start just 3617 01:57:29,790 --> 01:57:31,910 who's done anything 3618 01:57:31,910 --> 01:57:33,130 with SELinux besides 3619 01:57:34,390 --> 01:57:36,150 gone with set and force zero 3620 01:57:36,150 --> 01:57:38,230 who's done anything with SELinux 3621 01:57:38,230 --> 01:57:39,110 besides turn it off 3622 01:57:40,170 --> 01:57:42,090 okay who's turned it off 3623 01:57:44,110 --> 01:57:45,130 who's lying 3624 01:57:46,550 --> 01:57:47,470 thank you 3625 01:57:47,470 --> 01:57:48,730 okay the liars are here 3626 01:57:48,730 --> 01:57:51,050 so what I'm going to do is 3627 01:57:51,050 --> 01:57:53,890 in my experience most people 3628 01:57:54,010 --> 01:57:54,630 with SELinux 3629 01:57:54,630 --> 01:57:56,950 they either never run into it 3630 01:57:56,950 --> 01:57:58,110 they never realize it's there 3631 01:57:58,110 --> 01:58:00,790 because the configuration the default config is so good 3632 01:58:00,790 --> 01:58:03,650 that it's just on it's helping them and they don't realize it 3633 01:58:03,650 --> 01:58:05,190 or alternatively 3634 01:58:05,810 --> 01:58:07,150 some set of people 3635 01:58:07,150 --> 01:58:09,110 run into the first pitfall 3636 01:58:09,110 --> 01:58:11,350 where something doesn't quite work the way they hoped 3637 01:58:11,870 --> 01:58:13,290 and they say 3638 01:58:13,290 --> 01:58:15,210 ah I'll just turn the whole damn thing off 3639 01:58:15,210 --> 01:58:16,530 and I'll get back to this later 3640 01:58:16,530 --> 01:58:19,790 and later ends up being 2-3 years 3641 01:58:19,790 --> 01:58:21,470 sometimes when they were compromised 3642 01:58:21,470 --> 01:58:22,870 and wishing they turned it back on 3643 01:58:24,150 --> 01:58:26,230 I'll give a shout out to the SELinux people 3644 01:58:26,230 --> 01:58:27,810 they have worked very hard 3645 01:58:27,810 --> 01:58:30,070 on making SELinux something that's 3646 01:58:30,070 --> 01:58:31,990 much much easier for all of us to use 3647 01:58:31,990 --> 01:58:33,610 and I think you're going to get that out of this talk 3648 01:58:35,130 --> 01:58:35,610 so 3649 01:58:35,610 --> 01:58:37,710 what does SELinux basically do 3650 01:58:37,710 --> 01:58:40,510 you have discretionary access control 3651 01:58:40,510 --> 01:58:41,670 there's some theory in here 3652 01:58:41,670 --> 01:58:42,910 there's discretionary access control 3653 01:58:42,910 --> 01:58:44,770 that's the normal unixy thingy 3654 01:58:45,510 --> 01:58:47,250 where people set file permissions 3655 01:58:47,250 --> 01:58:49,930 and files are inherently all 3656 01:58:49,930 --> 01:58:51,990 readable by everybody unless you choose otherwise 3657 01:58:53,270 --> 01:58:53,990 lots of 3658 01:58:54,010 --> 01:58:55,510 us have had that experience of realizing 3659 01:58:55,510 --> 01:58:57,750 that we can see and sometimes write to files 3660 01:58:57,750 --> 01:58:59,290 in the system that don't belong to us 3661 01:58:59,290 --> 01:59:01,830 and sometimes that's what 3662 01:59:01,830 --> 01:59:03,190 got us into hacker conferences 3663 01:59:04,150 --> 01:59:04,630 so 3664 01:59:06,130 --> 01:59:07,910 SELinux adds what's called mandatory 3665 01:59:07,910 --> 01:59:09,790 access control there are a bunch of things that do 3666 01:59:09,790 --> 01:59:11,670 this including app armor 3667 01:59:11,670 --> 01:59:12,890 and tomoyo and smack 3668 01:59:14,010 --> 01:59:15,830 SELinux is certainly the one that seems to provide 3669 01:59:15,830 --> 01:59:18,050 the most comprehensive 3670 01:59:19,070 --> 01:59:19,550 controls 3671 01:59:19,550 --> 01:59:21,930 but it also means it's got the steepest learning 3672 01:59:21,930 --> 01:59:22,330 curve 3673 01:59:24,050 --> 01:59:25,570 so here's how the 3674 01:59:25,570 --> 01:59:27,490 I'm going to talk about how it works 3675 01:59:27,490 --> 01:59:29,030 we'll get into like playing with it 3676 01:59:29,030 --> 01:59:31,590 I've got a couple videos that are inherently 3677 01:59:31,590 --> 01:59:33,330 here to defeat the demo gods 3678 01:59:33,330 --> 01:59:35,850 and we'll hope that that works 3679 01:59:35,850 --> 01:59:37,770 or I know that'll work because 3680 01:59:37,770 --> 01:59:38,630 that's why we do it 3681 01:59:39,890 --> 01:59:41,490 so discretionary access control 3682 01:59:41,890 --> 01:59:43,710 every single decision about 3683 01:59:43,710 --> 01:59:45,550 access control that happens on a linux system 3684 01:59:45,550 --> 01:59:47,310 is first going to run into the normal 3685 01:59:47,310 --> 01:59:49,790 unix stuff that's been with us for 3686 01:59:49,790 --> 01:59:51,550 you know 20 plus years 3687 01:59:51,550 --> 01:59:53,410 so linux file permissions 3688 01:59:53,410 --> 01:59:54,670 file ACLs 3689 01:59:54,670 --> 01:59:56,430 root capabilities all that stuff 3690 01:59:57,090 --> 01:59:59,190 if and only if the DAC 3691 01:59:59,190 --> 02:00:01,270 permits that even if only if 3692 02:00:01,270 --> 02:00:03,230 the DAC permits that access SELinux gets 3693 02:00:03,230 --> 02:00:04,910 a shot the first thing it does 3694 02:00:04,910 --> 02:00:07,150 is it checks out it's access vector 3695 02:00:07,150 --> 02:00:09,050 cache and the reason I'm telling you about that word 3696 02:00:09,050 --> 02:00:10,790 is you see that a lot in the logs 3697 02:00:10,790 --> 02:00:12,250 AVC and 3698 02:00:12,250 --> 02:00:15,010 if the answer isn't in the AVC 3699 02:00:15,010 --> 02:00:17,030 it goes and looks at the policy and that policy 3700 02:00:17,030 --> 02:00:19,250 stored on disk it's really big it takes 3701 02:00:19,250 --> 02:00:21,150 a little while to look up 3702 02:00:21,150 --> 02:00:23,290 and that's why everything gets aggressively cached 3703 02:00:23,410 --> 02:00:24,310 so 3704 02:00:25,150 --> 02:00:27,030 to make things really simple 3705 02:00:27,030 --> 02:00:29,170 SELinux's most popular policy is the targeted 3706 02:00:29,170 --> 02:00:31,070 policy it confines only 3707 02:00:31,070 --> 02:00:33,390 some of the systems so it confines 3708 02:00:33,390 --> 02:00:35,370 the programs a lot of the programs started on boot 3709 02:00:35,370 --> 02:00:37,310 generally everything listening to the 3710 02:00:37,310 --> 02:00:39,290 network and then some privileged programs 3711 02:00:39,290 --> 02:00:40,370 like set UID programs 3712 02:00:41,170 --> 02:00:43,250 so it's not trying to confine 3713 02:00:43,250 --> 02:00:45,290 everything perfectly SELinux can 3714 02:00:45,290 --> 02:00:47,290 do that but the targeted config doesn't 3715 02:00:47,290 --> 02:00:49,170 try and for really good reason 3716 02:00:49,170 --> 02:00:51,230 it gets really annoying so basically 3717 02:00:51,230 --> 02:00:53,310 just like with the rest of hardening 3718 02:00:53,890 --> 02:00:55,550 this is a bang 3719 02:00:55,550 --> 02:00:56,670 for your buck what are the 3720 02:00:57,190 --> 02:00:58,430 where's the highest risk 3721 02:00:58,430 --> 02:01:01,290 and how can I address that risk at the 3722 02:01:01,290 --> 02:01:03,210 lowest cost and I'm constantly trying 3723 02:01:03,210 --> 02:01:05,310 to and anybody who's designing a system 3724 02:01:05,310 --> 02:01:07,330 like this and when you're playing with a system like 3725 02:01:07,330 --> 02:01:09,150 this that's the trade off you're trying to make 3726 02:01:09,950 --> 02:01:10,430 so 3727 02:01:10,430 --> 02:01:13,370 the user processes by default aren't 3728 02:01:13,370 --> 02:01:15,250 targeted that means that all the users run in 3729 02:01:15,250 --> 02:01:17,430 unconfined mode and we're going to talk about that in a little 3730 02:01:17,430 --> 02:01:19,210 bit SELinux 3731 02:01:19,210 --> 02:01:20,810 SELinux actually enables 3732 02:01:21,410 --> 02:01:23,350 three different types of mandatory access controls 3733 02:01:23,970 --> 02:01:25,350 type enforcement or TE 3734 02:01:25,350 --> 02:01:27,290 and then also RBAC and MLS 3735 02:01:27,290 --> 02:01:29,250 the targeted policy is all about type 3736 02:01:29,250 --> 02:01:30,850 enforcement you 3737 02:01:31,190 --> 02:01:33,110 can do the other two but 3738 02:01:33,110 --> 02:01:35,310 that's not on by default and I 3739 02:01:35,310 --> 02:01:37,010 don't really recommend you get into it unless 3740 02:01:37,010 --> 02:01:38,830 you're doing specific things like 3741 02:01:39,410 --> 02:01:40,870 building kiosks or 3742 02:01:41,410 --> 02:01:43,310 other systems that are going to have a lot 3743 02:01:43,310 --> 02:01:45,270 of users on them that aren't 3744 02:01:45,270 --> 02:01:46,990 very trusted or what have you if you're 3745 02:01:46,990 --> 02:01:49,210 most Linux servers you don't even want to touch 3746 02:01:49,210 --> 02:01:49,810 that for now 3747 02:01:51,190 --> 02:01:52,510 if you're ready to touch 3748 02:01:53,750 --> 02:01:55,390 RBAC if you're ready 3749 02:01:55,390 --> 02:01:57,390 to touch roles and users on this then you're 3750 02:01:57,390 --> 02:01:59,410 done then skip past the rest 3751 02:01:59,410 --> 02:02:01,310 of this talk on YouTube or wherever we're 3752 02:02:01,310 --> 02:02:03,250 watching it and just find your next 3753 02:02:03,250 --> 02:02:04,490 talk okay 3754 02:02:05,190 --> 02:02:06,390 so SELinux 3755 02:02:06,390 --> 02:02:09,150 a few quick commands you can use get enforce 3756 02:02:09,150 --> 02:02:11,130 to find out whether the thing is on 3757 02:02:11,130 --> 02:02:13,090 you can use set enforce to turn 3758 02:02:13,090 --> 02:02:15,130 enforcing on and off 3759 02:02:15,130 --> 02:02:17,370 and you can use SELinux status to 3760 02:02:17,370 --> 02:02:18,990 see basically what mode you're in 3761 02:02:18,990 --> 02:02:21,310 and some other information like 3762 02:02:21,310 --> 02:02:22,390 what policies in place 3763 02:02:23,410 --> 02:02:25,750 if you're going to change things from enforcing 3764 02:02:25,750 --> 02:02:27,310 to anything else so people 3765 02:02:27,310 --> 02:02:28,750 basically go with enforcing 3766 02:02:29,390 --> 02:02:31,350 permissive disabled never 3767 02:02:31,350 --> 02:02:33,030 ever ever ever please 3768 02:02:33,030 --> 02:02:35,250 please god forbid please don't use 3769 02:02:35,250 --> 02:02:37,290 disabled okay you've got 3770 02:02:37,290 --> 02:02:39,050 enforcing that makes it work 3771 02:02:39,050 --> 02:02:41,290 you've got permissive that lets 3772 02:02:41,290 --> 02:02:43,210 it go and gather all the data that will be useful 3773 02:02:43,210 --> 02:02:45,250 when you do want to use it later it'll tell you 3774 02:02:45,250 --> 02:02:47,230 all the things that it would have blocked if you'd let it 3775 02:02:47,230 --> 02:02:49,210 and having all those logs 3776 02:02:49,210 --> 02:02:51,390 makes it a lot easier to profile your system 3777 02:02:51,390 --> 02:02:53,090 right so you know it in 3778 02:02:53,410 --> 02:02:55,170 we have we have work we do where 3779 02:02:55,170 --> 02:02:57,370 we're like okay we're going to we want to make a really 3780 02:02:57,370 --> 02:02:59,090 good outbound firewall for a client 3781 02:02:59,090 --> 02:03:01,390 what we might need is a year of flow data do you have 3782 02:03:01,390 --> 02:03:03,330 flow data and they say no it's 3783 02:03:03,330 --> 02:03:05,250 like you want to say okay come 3784 02:03:05,250 --> 02:03:07,310 back to us in a year you can you can generally be 3785 02:03:07,310 --> 02:03:09,270 smarter than that but in this kind 3786 02:03:09,270 --> 02:03:11,390 of situation what I want to do is say instead 3787 02:03:11,390 --> 02:03:13,330 of I turned it off I have no data 3788 02:03:13,330 --> 02:03:15,350 I want to say I told it 3789 02:03:15,350 --> 02:03:17,170 not to block anything and I 3790 02:03:17,170 --> 02:03:19,370 kept all the logs for a year or for 3791 02:03:19,370 --> 02:03:21,290 six months or three months or however much time 3792 02:03:21,290 --> 02:03:22,550 it takes you to get the data you need 3793 02:03:23,410 --> 02:03:25,070 and then the other variable here is targeted 3794 02:03:25,070 --> 02:03:27,170 so at its core 3795 02:03:28,230 --> 02:03:29,070 SELinux basically 3796 02:03:29,070 --> 02:03:31,130 does this it labels 3797 02:03:31,130 --> 02:03:33,410 processes and files 3798 02:03:33,410 --> 02:03:34,950 with security context 3799 02:03:34,950 --> 02:03:37,290 okay so it has a policy 3800 02:03:37,290 --> 02:03:39,310 that says how those things are all 3801 02:03:39,310 --> 02:03:41,330 allowed to interact the parsing is 3802 02:03:41,330 --> 02:03:42,990 default deny but 3803 02:03:42,990 --> 02:03:45,190 that would result in lots of denies 3804 02:03:45,190 --> 02:03:47,310 and so as a result you end up with lots of 3805 02:03:47,310 --> 02:03:49,370 types that are called unconfined or that 3806 02:03:49,370 --> 02:03:51,010 are classified as unconfined 3807 02:03:51,010 --> 02:03:53,230 which means they can kind of do anything most of the 3808 02:03:53,410 --> 02:03:55,250 time so a 3809 02:03:55,250 --> 02:03:57,110 label breaks down into a user 3810 02:03:57,110 --> 02:03:59,050 a role a level and a type 3811 02:03:59,830 --> 02:04:01,310 the only one that 3812 02:04:01,310 --> 02:04:03,250 really gets used much is going 3813 02:04:03,250 --> 02:04:05,310 to be that type so you'll 3814 02:04:05,310 --> 02:04:07,270 see let's see I'm not going 3815 02:04:07,270 --> 02:04:09,250 to step out of the camera they've 3816 02:04:09,250 --> 02:04:11,270 reminded me don't step out of the light if I 3817 02:04:11,270 --> 02:04:13,070 can if I'm not being blinded then 3818 02:04:14,090 --> 02:04:15,270 something's wrong I'm not going 3819 02:04:15,270 --> 02:04:17,310 to be on camera okay so this could be the best 3820 02:04:17,310 --> 02:04:19,250 recording they've had all day I've been promised 3821 02:04:19,250 --> 02:04:21,130 if I just don't step out of the light 3822 02:04:21,130 --> 02:04:23,290 that sounds like some kind of you 3823 02:04:23,410 --> 02:04:24,450 know end of life thing 3824 02:04:25,510 --> 02:04:26,390 okay so 3825 02:04:27,970 --> 02:04:29,250 go into the light 3826 02:04:29,250 --> 02:04:30,490 go into the light 3827 02:04:32,050 --> 02:04:33,290 God good we need 3828 02:04:33,290 --> 02:04:35,470 some humor in here this this gets a little 3829 02:04:35,470 --> 02:04:36,810 this gets a little dry right 3830 02:04:37,230 --> 02:04:37,450 so 3831 02:04:39,070 --> 02:04:41,330 you've got system you've got object and you've 3832 02:04:41,330 --> 02:04:43,090 got a type on here and 3833 02:04:43,090 --> 02:04:45,270 you've got level and container 3834 02:04:45,270 --> 02:04:47,330 and so on and the only one you're going to pay 3835 02:04:47,330 --> 02:04:48,910 attention to is this thing that ends in T 3836 02:04:49,370 --> 02:04:51,470 now this is the great thing I really like 3837 02:04:51,470 --> 02:04:52,870 the idea I like 3838 02:04:53,410 --> 02:04:54,830 I'm imagining that you're all drunk 3839 02:04:55,410 --> 02:04:57,410 maybe 80% of you are drunk since this is 3840 02:04:57,410 --> 02:04:59,290 DEF CON could you raise your hand if you're currently under 3841 02:04:59,290 --> 02:04:59,790 the influence 3842 02:05:01,770 --> 02:05:02,210 whoa 3843 02:05:04,810 --> 02:05:06,610 we might need to pass this around 3844 02:05:07,430 --> 02:05:08,890 okay so so 3845 02:05:09,310 --> 02:05:11,210 well then my job's a little bit tougher I was 3846 02:05:11,210 --> 02:05:13,350 just going to say like okay let's 3847 02:05:13,350 --> 02:05:14,810 do this let's imagine that you're drunk 3848 02:05:15,310 --> 02:05:17,090 and so you can just barely focus 3849 02:05:17,090 --> 02:05:19,370 on anything and the thing I want you to focus on 3850 02:05:19,370 --> 02:05:21,130 is anything in that line 3851 02:05:21,130 --> 02:05:23,010 that ends in an underscore T 3852 02:05:23,550 --> 02:05:25,270 all you care about are underscore 3853 02:05:25,270 --> 02:05:27,230 T's okay so 3854 02:05:27,230 --> 02:05:29,370 I have taken every single 3855 02:05:29,370 --> 02:05:31,430 every single thing I was going to do on 3856 02:05:31,430 --> 02:05:33,310 the command line and either made it part of the slide 3857 02:05:33,310 --> 02:05:35,350 or made it into a video so you're going to watch me 3858 02:05:35,350 --> 02:05:37,250 flipping slides here and 3859 02:05:37,250 --> 02:05:39,210 we'll talk about it so I can run 3860 02:05:39,210 --> 02:05:41,330 basically SELinux adds a capital 3861 02:05:41,330 --> 02:05:43,430 Z to a bunch of commands so instead of 3862 02:05:43,430 --> 02:05:45,070 running PS minus EF you go 3863 02:05:45,070 --> 02:05:47,290 PS minus EF with a capital 3864 02:05:47,290 --> 02:05:49,170 Z and it tells you about all the SELinux stuff 3865 02:05:49,170 --> 02:05:51,390 and you're like wait I've been running on Red Hat 3866 02:05:51,390 --> 02:05:53,230 for you know so many years 3867 02:05:53,410 --> 02:05:55,370 and I never even knew this stuff was here and that's 3868 02:05:55,370 --> 02:05:57,610 mostly the goal of the people who are writing the policies 3869 02:05:58,450 --> 02:05:59,410 but you do 3870 02:05:59,410 --> 02:06:01,270 that Z and you start seeing okay you've got 3871 02:06:01,270 --> 02:06:03,330 this program of ahi daemon it's got it's own type 3872 02:06:03,330 --> 02:06:05,510 called of ahi T you've got an SSH 3873 02:06:05,510 --> 02:06:07,150 daemon it's got a type called SSHD 3874 02:06:08,310 --> 02:06:09,110 SSHT all 3875 02:06:09,110 --> 02:06:11,350 of these types are basically how 3876 02:06:11,350 --> 02:06:12,910 it gets labeled okay 3877 02:06:12,910 --> 02:06:15,430 SELinux has users we're not 3878 02:06:15,430 --> 02:06:17,350 going to talk about that because at the end 3879 02:06:17,350 --> 02:06:18,350 of the day basically 3880 02:06:19,230 --> 02:06:21,330 the way the users get mapped this is a little bit 3881 02:06:21,330 --> 02:06:23,350 harder to see on my copy of the slide 3882 02:06:23,410 --> 02:06:24,450 so I'm going to turn toward the screen 3883 02:06:25,810 --> 02:06:27,150 anybody who logs in 3884 02:06:27,150 --> 02:06:28,930 by default is going to be unconfined 3885 02:06:28,930 --> 02:06:31,190 and then you've got the system user which is system you 3886 02:06:31,190 --> 02:06:32,910 and that's it 3887 02:06:32,910 --> 02:06:35,190 you can there are like eight more users 3888 02:06:35,190 --> 02:06:37,390 that come with the policy there are rules for them 3889 02:06:37,390 --> 02:06:39,290 and until you get some 3890 02:06:39,290 --> 02:06:40,490 experience don't touch those 3891 02:06:41,310 --> 02:06:43,430 again that's really really good for the kiosks 3892 02:06:43,430 --> 02:06:44,830 and for the public use 3893 02:06:44,830 --> 02:06:47,090 systems there are also 3894 02:06:47,090 --> 02:06:49,350 roles and in practice there are 3895 02:06:49,350 --> 02:06:51,190 only two roles that get used the system role 3896 02:06:51,190 --> 02:06:53,310 and the unconfined role if you want to learn 3897 02:06:53,410 --> 02:06:55,030 more about roles look at the documentation 3898 02:06:55,030 --> 02:06:56,510 so we're all about types 3899 02:06:57,050 --> 02:06:59,330 types and domains are the same thing 3900 02:06:59,330 --> 02:07:01,330 if you hear the word domain just think 3901 02:07:01,330 --> 02:07:01,930 of it as a type 3902 02:07:01,930 --> 02:07:04,690 if you hear the word type think of that as a type 3903 02:07:04,690 --> 02:07:06,610 if you want to think of it as a domain that'd be fine too 3904 02:07:07,510 --> 02:07:09,230 whole idea of the domains is to basically 3905 02:07:09,230 --> 02:07:11,190 say we'll take all the programs on the system 3906 02:07:11,190 --> 02:07:12,870 we'll lock them each in their own little jails 3907 02:07:13,230 --> 02:07:14,810 we'll define what that jail is 3908 02:07:15,430 --> 02:07:17,330 when you use SELinux as opposed to 3909 02:07:17,330 --> 02:07:19,070 normal unix what do you see well 3910 02:07:19,070 --> 02:07:21,270 if you were the apache demon there 3911 02:07:21,270 --> 02:07:23,350 are a bunch of files that are labeled on the system 3912 02:07:23,410 --> 02:07:25,170 as ones that either are 3913 02:07:25,170 --> 02:07:27,270 that are ones that you're allowed to see 3914 02:07:27,270 --> 02:07:29,430 and the ones that anything else on the 3915 02:07:29,430 --> 02:07:30,890 system that's not labeled for you to see 3916 02:07:30,890 --> 02:07:33,450 you can't look at you can't read you can't 3917 02:07:33,450 --> 02:07:35,390 nothing what does that mean why is that 3918 02:07:35,390 --> 02:07:37,250 useful well it means if an attacker 3919 02:07:37,250 --> 02:07:39,370 compromises like breaks in through your 3920 02:07:39,370 --> 02:07:40,890 web server or 3921 02:07:41,310 --> 02:07:43,150 whatever but they break in through your web server they 3922 02:07:43,150 --> 02:07:44,990 can read the web servers config 3923 02:07:44,990 --> 02:07:47,290 files they can look at the 3924 02:07:47,290 --> 02:07:49,310 content was there if things are 3925 02:07:49,310 --> 02:07:51,190 labeled as such they could modify it 3926 02:07:51,190 --> 02:07:52,930 but sometimes you even set the permissions 3927 02:07:53,410 --> 02:07:54,850 sometimes you even set these rules 3928 02:07:55,310 --> 02:07:56,730 so that somebody can't somebody 3929 02:07:56,730 --> 02:07:59,390 takes over the web server can't actually modify the content 3930 02:07:59,390 --> 02:08:00,250 so 3931 02:08:01,030 --> 02:08:02,490 just a quick count 3932 02:08:03,210 --> 02:08:04,990 it's all about types there are 3933 02:08:04,990 --> 02:08:06,910 8 users 14 roles and 3934 02:08:07,870 --> 02:08:09,150 4622 types 3935 02:08:09,150 --> 02:08:10,870 it's all about the types 3936 02:08:11,570 --> 02:08:13,310 by default the users 3937 02:08:13,310 --> 02:08:14,970 processes run as this 3938 02:08:14,970 --> 02:08:17,110 unconfined type and 3939 02:08:17,110 --> 02:08:19,210 unconfined is just an arbitrary name 3940 02:08:19,210 --> 02:08:21,330 there are other types that are unconfined 3941 02:08:21,330 --> 02:08:23,150 and we can run 3942 02:08:23,730 --> 02:08:24,970 seinfo and ask it 3943 02:08:24,970 --> 02:08:27,690 hey tell me which domains are unconfined 3944 02:08:27,690 --> 02:08:29,230 and get a list 3945 02:08:29,230 --> 02:08:31,030 we look at the first 5 we find there are 3946 02:08:31,030 --> 02:08:32,730 89 unconfined types there 3947 02:08:33,410 --> 02:08:35,430 so you can even take something 3948 02:08:35,430 --> 02:08:36,790 and just add it to unconfined 3949 02:08:37,410 --> 02:08:38,590 we'll talk about that a little bit later 3950 02:08:38,590 --> 02:08:41,130 now with that said we've said the users 3951 02:08:41,130 --> 02:08:43,710 the users processes all are unconfined 3952 02:08:43,710 --> 02:08:44,630 right except 3953 02:08:44,630 --> 02:08:47,350 it turns out selinux has this thing called transitions 3954 02:08:47,890 --> 02:08:49,530 and if you run a program 3955 02:08:49,530 --> 02:08:50,930 that has an automatic transition 3956 02:08:51,410 --> 02:08:53,390 you go into a new type you started out on a 3957 02:08:53,410 --> 02:08:55,050 unconfined and you end up in 3958 02:08:55,050 --> 02:08:57,050 the password type you end up in a type 3959 02:08:57,050 --> 02:08:59,370 that's just for when you run the password 3960 02:08:59,370 --> 02:09:00,910 program to change your own password 3961 02:09:00,910 --> 02:09:03,350 so the example here is 3962 02:09:03,350 --> 02:09:05,430 basically I'm running the password program 3963 02:09:05,430 --> 02:09:07,370 and then I paused and in another 3964 02:09:07,370 --> 02:09:08,850 window I've looked and run ps 3965 02:09:09,410 --> 02:09:11,130 and looked at my password program 3966 02:09:11,130 --> 02:09:13,130 and normally this would run 3967 02:09:13,130 --> 02:09:14,350 with my user 3968 02:09:14,890 --> 02:09:17,230 except it's setuid so it runs with root's user 3969 02:09:17,230 --> 02:09:19,410 and normally it would 3970 02:09:19,410 --> 02:09:21,350 run with my unconfined type but 3971 02:09:21,350 --> 02:09:23,390 now it's running with a password type and that's 3972 02:09:23,910 --> 02:09:24,630 that's the big 3973 02:09:24,630 --> 02:09:27,190 that's how selinux goes and confines 3974 02:09:27,190 --> 02:09:29,430 setuid programs and anything else 3975 02:09:29,430 --> 02:09:31,110 so you can basically say listen 3976 02:09:31,110 --> 02:09:32,970 I got all these users they're unconfined all the time 3977 02:09:32,970 --> 02:09:34,250 but whenever they touch this program 3978 02:09:34,250 --> 02:09:35,790 they're getting a lot of privilege 3979 02:09:35,790 --> 02:09:38,770 maybe that lots of privilege is the ability to write to 3980 02:09:38,770 --> 02:09:40,590 web server files or to write to somewhere 3981 02:09:40,590 --> 02:09:41,950 they shouldn't normally be able to write to 3982 02:09:41,950 --> 02:09:45,010 or whatever maybe it's the part where they run 3983 02:09:45,010 --> 02:09:46,530 this program they're able to talk to the network 3984 02:09:46,530 --> 02:09:49,290 and so you can then say hey I'm gonna make it 3985 02:09:49,290 --> 02:09:50,410 so that I'm sticking 3986 02:09:50,410 --> 02:09:51,950 so that I'm sticking you in a box 3987 02:09:53,410 --> 02:09:55,290 you can do anything the hell you want but when you 3988 02:09:55,290 --> 02:09:57,150 run this program I know what that program 3989 02:09:57,150 --> 02:09:59,110 does I know what files 3990 02:09:59,110 --> 02:10:00,770 or what have you it needs access to 3991 02:10:01,150 --> 02:10:03,430 I'll confine it and you're confined just for that 3992 02:10:04,590 --> 02:10:05,150 so 3993 02:10:05,150 --> 02:10:06,390 that type transition 3994 02:10:07,590 --> 02:10:09,010 this is the 3995 02:10:09,010 --> 02:10:10,810 big control around setuid programs 3996 02:10:11,410 --> 02:10:13,250 if you've been in my class 3997 02:10:13,250 --> 02:10:15,270 you know like one of the things we talk about is setuid 3998 02:10:15,270 --> 02:10:15,950 is the biggest 3999 02:10:17,490 --> 02:10:19,450 internal privilege escalation risk 4000 02:10:19,450 --> 02:10:21,190 an attacker you find 4001 02:10:21,190 --> 02:10:23,170 some setuid program that's got a 4002 02:10:23,410 --> 02:10:24,750 vulnerability in it you use the vulnerability 4003 02:10:25,210 --> 02:10:26,850 and this program now instead of just 4004 02:10:26,850 --> 02:10:29,170 you know letting you change your password 4005 02:10:29,170 --> 02:10:31,410 lets you have a shell on the system 4006 02:10:31,410 --> 02:10:33,510 running as root and thus do anything the hell you want 4007 02:10:33,510 --> 02:10:35,470 unless you're in an SELinux situation 4008 02:10:35,470 --> 02:10:37,310 or AppArm or one of the other mandatory 4009 02:10:37,310 --> 02:10:39,330 access controls where now you're 4010 02:10:39,330 --> 02:10:40,250 getting stuck and confined 4011 02:10:42,050 --> 02:10:42,930 okay so 4012 02:10:44,130 --> 02:10:45,050 y'all having fun 4013 02:10:45,050 --> 02:10:46,890 this stuff can be dry 4014 02:10:46,890 --> 02:10:48,450 but it can also be very useful 4015 02:10:48,990 --> 02:10:51,130 I see a few of you starting to you know 4016 02:10:51,130 --> 02:10:52,690 take a swig out of a little bottle 4017 02:10:53,410 --> 02:10:55,350 that does help I promise 4018 02:10:55,350 --> 02:10:57,090 but okay 4019 02:10:57,090 --> 02:10:57,950 okay 4020 02:10:59,150 --> 02:11:00,390 let's see so 4021 02:11:02,270 --> 02:11:02,770 SELinux 4022 02:11:03,380 --> 02:11:05,050 the type transitions you basically 4023 02:11:05,050 --> 02:11:05,890 spell out 4024 02:11:08,070 --> 02:11:09,010 we're gonna look 4025 02:11:09,010 --> 02:11:10,930 at what happens when you run password 4026 02:11:10,930 --> 02:11:13,470 the password has three types 4027 02:11:13,470 --> 02:11:14,230 that it deals with 4028 02:11:14,230 --> 02:11:17,250 I wanna step out of the light and point to the 4029 02:11:17,250 --> 02:11:19,330 and point to the screen and I'm not 4030 02:11:19,330 --> 02:11:21,350 gonna do it I'm not gonna do it this is gonna be a great 4031 02:11:21,350 --> 02:11:22,830 recording I mean 4032 02:11:23,410 --> 02:11:25,170 you might wanna mute it if this is boring 4033 02:11:25,170 --> 02:11:27,250 but at least I'm gonna be like I'm gonna be the 4034 02:11:27,250 --> 02:11:29,470 one who stayed in the light I'm so happy 4035 02:11:29,470 --> 02:11:30,730 about it okay so 4036 02:11:31,310 --> 02:11:33,290 I've got I'm trying to 4037 02:11:33,290 --> 02:11:35,310 see but my I've been blinded by the 4038 02:11:35,310 --> 02:11:37,850 light where's our song blinded 4039 02:11:37,850 --> 02:11:38,910 by the light 4040 02:11:38,910 --> 02:11:41,270 okay don't drink Jay you sing and 4041 02:11:41,270 --> 02:11:43,250 it's bad okay so password 4042 02:11:43,250 --> 02:11:45,250 T so password lets you edit the shadow 4043 02:11:45,250 --> 02:11:47,130 file shadow 4044 02:11:47,130 --> 02:11:49,510 T is the shadow file and then password 4045 02:11:49,510 --> 02:11:51,230 exec T is what you label the password 4046 02:11:51,230 --> 02:11:53,290 program as so in 4047 02:11:53,410 --> 02:11:55,130 order for you to have this transition 4048 02:11:55,130 --> 02:11:57,490 thing happen if you wanted to write your own transition 4049 02:11:57,490 --> 02:11:58,930 you do it like this 4050 02:11:58,930 --> 02:12:00,630 so unconfined T 4051 02:12:01,250 --> 02:12:03,130 what your user was running as already 4052 02:12:03,130 --> 02:12:05,350 has to be able to run the 4053 02:12:05,350 --> 02:12:07,270 password program so it has to have execute on 4054 02:12:07,270 --> 02:12:08,570 the password exec T type 4055 02:12:09,630 --> 02:12:11,330 and unconfined T has to be 4056 02:12:11,330 --> 02:12:13,190 allowed to transition into 4057 02:12:13,190 --> 02:12:15,330 password T that thing we're gonna be when we 4058 02:12:15,330 --> 02:12:16,510 can write to the password file 4059 02:12:18,090 --> 02:12:19,310 and password exec 4060 02:12:19,310 --> 02:12:21,290 T has to be defined as an entry point as 4061 02:12:21,290 --> 02:12:23,050 a way in to password 4062 02:12:23,410 --> 02:12:25,370 T and so what you end up with 4063 02:12:25,370 --> 02:12:27,370 is these your rules and those 4064 02:12:27,370 --> 02:12:29,430 rules best basically do with that diagram 4065 02:12:29,430 --> 02:12:31,430 just did and they add one more 4066 02:12:31,430 --> 02:12:33,410 thing which is this first line so 4067 02:12:33,410 --> 02:12:35,430 those those last three were 4068 02:12:35,430 --> 02:12:37,430 all the allows and then that 4069 02:12:37,430 --> 02:12:39,450 first line basically specifies 4070 02:12:39,450 --> 02:12:41,410 that it has to happen whether people like it or 4071 02:12:41,410 --> 02:12:42,870 not so specifies the transition 4072 02:12:43,330 --> 02:12:45,410 and makes it automatic it's not just something you can 4073 02:12:45,410 --> 02:12:47,370 request it something that happens whether you like it 4074 02:12:47,370 --> 02:12:48,730 or not so 4075 02:12:49,310 --> 02:12:51,390 there are a lot of these transitions there 4076 02:12:51,390 --> 02:12:53,370 are there are more than 12,000 4077 02:12:53,410 --> 02:12:54,850 of them in the Red Hat 7 policy 4078 02:12:56,230 --> 02:12:57,030 so yeah 4079 02:12:57,030 --> 02:12:59,090 this is pretty integral to the way the system works 4080 02:12:59,850 --> 02:13:01,130 so I'm gonna go into 4081 02:13:01,130 --> 02:13:03,350 an example now and what I want to show you how 4082 02:13:03,350 --> 02:13:05,110 to do is the main thing you're gonna find yourself 4083 02:13:05,110 --> 02:13:06,710 doing on SELinux systems 4084 02:13:07,150 --> 02:13:08,910 so there are basically three things 4085 02:13:09,690 --> 02:13:10,810 the one is 4086 02:13:11,250 --> 02:13:13,070 that something's gonna go wrong 4087 02:13:13,070 --> 02:13:15,290 you're gonna move a file to another place you're 4088 02:13:15,290 --> 02:13:17,050 gonna need your web server you're gonna move the web 4089 02:13:17,050 --> 02:13:19,310 server space where it keeps all the files you're 4090 02:13:19,310 --> 02:13:21,190 gonna want it you're gonna need to know what you 4091 02:13:21,190 --> 02:13:23,250 do so that the web server can now see 4092 02:13:23,410 --> 02:13:25,110 this other directory okay so 4093 02:13:25,110 --> 02:13:26,090 that's the one 4094 02:13:26,750 --> 02:13:29,050 the next one is you're gonna flip 4095 02:13:29,050 --> 02:13:31,050 booleans because you're gonna think of something the system 4096 02:13:31,050 --> 02:13:33,250 needs to do and the folks who 4097 02:13:33,250 --> 02:13:35,270 maintain the policies have already thought of that 4098 02:13:35,270 --> 02:13:36,850 they've created a nice little on off switch 4099 02:13:38,010 --> 02:13:39,170 and that's your 4100 02:13:39,170 --> 02:13:40,830 basically second most 4101 02:13:41,410 --> 02:13:43,230 common thing and then the 4102 02:13:43,230 --> 02:13:45,110 third most common which is pretty 4103 02:13:45,110 --> 02:13:47,350 rare is when you actually add a new program 4104 02:13:47,350 --> 02:13:49,030 that's nothing like the others 4105 02:13:49,030 --> 02:13:50,290 and you have to add new types 4106 02:13:50,290 --> 02:13:53,230 okay so let's look at 4107 02:13:53,410 --> 02:13:55,310 this first just starting with bind so 4108 02:13:55,310 --> 02:13:56,110 we've got bind 4109 02:13:58,170 --> 02:13:59,450 and we've got bind 4110 02:13:59,450 --> 02:14:01,430 and we look at just the files for 4111 02:14:01,430 --> 02:14:03,270 name D for the bind DNS server 4112 02:14:03,830 --> 02:14:05,430 what we find is remember 4113 02:14:05,430 --> 02:14:07,270 we don't look at the U we don't look at the R 4114 02:14:07,270 --> 02:14:08,970 just razor focus on the T's 4115 02:14:08,970 --> 02:14:11,450 and I've tried to make it simple by making there are only 4116 02:14:11,450 --> 02:14:13,250 three types here so I've taken those 4117 02:14:13,250 --> 02:14:15,270 three types and put them in red 4118 02:14:15,270 --> 02:14:17,370 and I even got it right so the name D 4119 02:14:17,370 --> 02:14:19,490 configuration file is of type name D 4120 02:14:19,490 --> 02:14:21,230 conf T okay and 4121 02:14:21,230 --> 02:14:22,570 you've got name D cache T 4122 02:14:23,430 --> 02:14:24,970 that's going to be for anything 4123 02:14:24,970 --> 02:14:27,390 that is going to be primarily for the things 4124 02:14:27,390 --> 02:14:29,410 that name D is changing so that'll 4125 02:14:29,410 --> 02:14:31,330 be where it's keeping its file 4126 02:14:31,330 --> 02:14:32,130 caching data 4127 02:14:33,110 --> 02:14:35,330 where it and then you have name D 4128 02:14:35,330 --> 02:14:37,250 zone T which in general is stuff 4129 02:14:37,250 --> 02:14:38,970 that you don't change now 4130 02:14:38,970 --> 02:14:41,290 if you need bind to be able to maintain its own 4131 02:14:41,290 --> 02:14:43,130 zone files there's a boolean for that 4132 02:14:43,130 --> 02:14:45,150 and we'll get to that later so 4133 02:14:45,950 --> 02:14:47,150 let's look at what bind 4134 02:14:47,150 --> 02:14:49,090 what bind D runs as so 4135 02:14:49,090 --> 02:14:51,330 or what name D runs as name D runs as 4136 02:14:51,330 --> 02:14:53,330 name D T so name D 4137 02:14:53,410 --> 02:14:53,450 T 4138 02:14:54,950 --> 02:14:57,330 name D T is what name D runs as 4139 02:14:57,330 --> 02:14:58,710 that's basically the name of 4140 02:14:58,710 --> 02:15:01,110 bind or name D's 4141 02:15:01,110 --> 02:15:03,210 jail it's domain is called name 4142 02:15:03,210 --> 02:15:05,250 D T and the binary 4143 02:15:05,250 --> 02:15:07,250 itself is labeled as name D exec T 4144 02:15:07,250 --> 02:15:09,290 and that differentiates between like 4145 02:15:09,290 --> 02:15:11,130 hey who's allowed to run 4146 02:15:11,130 --> 02:15:13,310 name D exec T once they run 4147 02:15:13,310 --> 02:15:15,110 it the system transitions 4148 02:15:15,110 --> 02:15:17,250 we have a transition into name 4149 02:15:17,250 --> 02:15:18,830 D T so the name D T 4150 02:15:19,170 --> 02:15:21,290 type can read the configuration file can write 4151 02:15:21,290 --> 02:15:21,950 to files 4152 02:15:24,470 --> 02:15:25,430 okay so 4153 02:15:25,430 --> 02:15:27,410 you can if you want to 4154 02:15:27,410 --> 02:15:29,290 this is one of the most useful tools in SE 4155 02:15:29,290 --> 02:15:31,230 Linux honestly if you want to understand how the policy 4156 02:15:31,230 --> 02:15:32,870 is working is SE search 4157 02:15:33,230 --> 02:15:35,270 you fire up SE search you do a 4158 02:15:35,270 --> 02:15:37,110 minus minus allow or minus 4159 02:15:37,110 --> 02:15:39,190 capital A and say what source 4160 02:15:39,190 --> 02:15:41,230 domain are you looking for and 4161 02:15:41,230 --> 02:15:43,390 what target domain are you looking for and you'll see 4162 02:15:43,390 --> 02:15:44,990 the rules that basically 4163 02:15:44,990 --> 02:15:47,330 say name D T is allowed to do this 4164 02:15:47,330 --> 02:15:48,830 and name D T is allowed to do that 4165 02:15:49,390 --> 02:15:51,350 so what I want to do is do 4166 02:15:51,350 --> 02:15:53,110 an example real quick and this is where 4167 02:15:53,410 --> 02:15:54,750 I'm going to switch over to a video 4168 02:15:54,750 --> 02:15:57,050 the bottom of the slide says let's change 4169 02:15:57,050 --> 02:15:59,170 the label on name D dot conf 4170 02:15:59,670 --> 02:16:01,150 from what it is right now 4171 02:16:01,150 --> 02:16:02,770 from the name D conf type 4172 02:16:03,230 --> 02:16:05,430 over to the same one that's used for 4173 02:16:05,430 --> 02:16:06,330 roots home directory 4174 02:16:07,010 --> 02:16:09,330 so I'm going to switch over and do 4175 02:16:09,330 --> 02:16:09,990 our first video 4176 02:16:13,030 --> 02:16:14,410 let's do full screen on that 4177 02:16:15,170 --> 02:16:16,270 so I change it 4178 02:16:19,050 --> 02:16:21,250 and I'm going to try to start name D 4179 02:16:22,470 --> 02:16:23,310 and I'm going to 4180 02:16:23,410 --> 02:16:25,530 get an error name D won't start for me 4181 02:16:28,450 --> 02:16:30,110 and I'll just change it back 4182 02:16:30,110 --> 02:16:33,090 in this case now we're going to deal with the same 4183 02:16:33,090 --> 02:16:35,070 problem where we actually change the configuration 4184 02:16:35,070 --> 02:16:36,650 so I change it back 4185 02:16:37,690 --> 02:16:39,170 and I can start it now 4186 02:16:39,950 --> 02:16:41,230 and it started just fine 4187 02:16:41,710 --> 02:16:42,150 so 4188 02:16:45,850 --> 02:16:47,270 so this is the slide 4189 02:16:47,270 --> 02:16:48,010 where we do that 4190 02:16:48,810 --> 02:16:51,150 and we changed it back and we're able to start 4191 02:16:51,150 --> 02:16:52,450 name D so 4192 02:16:53,410 --> 02:16:55,230 I'm going to talk to you now about basically how we're creating 4193 02:16:55,230 --> 02:16:57,410 new modules so instead of just changing it back 4194 02:16:57,410 --> 02:16:59,710 we can actually change the configuration of the system 4195 02:16:59,710 --> 02:17:00,990 that chacon 4196 02:17:00,990 --> 02:17:03,250 the reason I also showed you that 4197 02:17:03,250 --> 02:17:04,950 is that chacon is like chmod 4198 02:17:04,950 --> 02:17:06,970 and chgroup and chown 4199 02:17:06,970 --> 02:17:09,110 it's basically change file context 4200 02:17:09,110 --> 02:17:11,290 if you want to change a file's 4201 02:17:11,290 --> 02:17:13,350 context at least until the next 4202 02:17:13,350 --> 02:17:15,230 reboot you do it that way 4203 02:17:15,230 --> 02:17:16,650 I'll show you how to make it permanent later on 4204 02:17:16,650 --> 02:17:19,390 so the SELinux policy 4205 02:17:19,390 --> 02:17:20,350 is made up of modules 4206 02:17:20,350 --> 02:17:22,730 there are 393 of them to start 4207 02:17:23,410 --> 02:17:25,350 on Red Hat 7 you end up with 4208 02:17:25,350 --> 02:17:26,290 more over time 4209 02:17:27,050 --> 02:17:29,470 the modules are just the way they've broken up the policy 4210 02:17:29,470 --> 02:17:31,490 they could make the policies one big monolithic 4211 02:17:31,490 --> 02:17:33,210 thing and to be honest it gets compiled 4212 02:17:33,210 --> 02:17:34,870 into one big monolithic thing 4213 02:17:35,410 --> 02:17:37,090 but we're going to create a new module 4214 02:17:37,090 --> 02:17:38,990 we'll activate it we'll deactivate it 4215 02:17:38,990 --> 02:17:41,230 by having it modular we're able to turn 4216 02:17:41,230 --> 02:17:42,970 stuff off so 4217 02:17:44,070 --> 02:17:45,290 let's look and see 4218 02:17:45,290 --> 02:17:47,010 how we can make a new module 4219 02:17:47,010 --> 02:17:48,350 so we saw this 4220 02:17:49,030 --> 02:17:51,090 log message about 4221 02:17:51,090 --> 02:17:53,090 how name D had a problem 4222 02:17:53,410 --> 02:17:55,410 and so we can just basically look at the 4223 02:17:55,410 --> 02:17:57,330 audit log where the SELinux errors 4224 02:17:57,330 --> 02:17:58,790 are getting written it's one of the places 4225 02:17:59,390 --> 02:18:01,050 and we can pipe it into a program 4226 02:18:01,050 --> 02:18:03,050 this is going to be one of your favorite programs 4227 02:18:03,050 --> 02:18:04,790 if you play with SELinux called audit to allow 4228 02:18:05,270 --> 02:18:07,270 and it basically says I can turn 4229 02:18:07,270 --> 02:18:09,290 entries in the audit log into 4230 02:18:09,290 --> 02:18:11,310 allow rules that you can then load 4231 02:18:11,310 --> 02:18:12,630 you don't have to even learn 4232 02:18:12,630 --> 02:18:14,510 the rule language 4233 02:18:15,790 --> 02:18:17,270 it's not that complicated 4234 02:18:17,270 --> 02:18:19,170 to learn it but you don't have to learn it 4235 02:18:19,170 --> 02:18:20,370 for most anything 4236 02:18:21,330 --> 02:18:23,290 so what we're going to do is we're going to run 4237 02:18:23,410 --> 02:18:25,150 audit to allow or to create a new module called 4238 02:18:25,150 --> 02:18:26,630 something like name D admin home 4239 02:18:27,130 --> 02:18:29,210 that'll be a I'll show you the rule that that 4240 02:18:29,210 --> 02:18:31,310 generates we'll insert that module into 4241 02:18:31,310 --> 02:18:33,110 our running policy and then we'll have one more 4242 02:18:33,110 --> 02:18:35,130 and then stuff's going to work so 4243 02:18:35,130 --> 02:18:36,270 let's look at that video 4244 02:18:42,390 --> 02:18:43,270 all SELinux 4245 02:18:43,270 --> 02:18:45,310 work should have a driving base beat behind it 4246 02:18:45,310 --> 02:18:45,710 like this 4247 02:18:47,770 --> 02:18:49,130 okay so here we go 4248 02:18:49,130 --> 02:18:51,250 we've got roots home directory 4249 02:18:51,250 --> 02:18:53,290 is admin home T so we're going to 4250 02:18:53,410 --> 02:18:55,290 change Etsy name D dot com to have 4251 02:18:55,290 --> 02:18:56,010 that same type 4252 02:18:58,570 --> 02:18:59,410 now we're going to try 4253 02:18:59,410 --> 02:19:00,090 to start name D 4254 02:19:01,170 --> 02:19:02,010 it's going to fail 4255 02:19:04,130 --> 02:19:05,370 we're going to look for 4256 02:19:05,370 --> 02:19:07,110 log messages in 4257 02:19:07,110 --> 02:19:07,910 audit dot log 4258 02:19:09,170 --> 02:19:10,850 and we're not even going to look at them in this case 4259 02:19:10,850 --> 02:19:12,670 we're just going to pipe them straight to audit to allow 4260 02:19:13,310 --> 02:19:15,230 and we're going to tell audit to allow that we'd like 4261 02:19:15,230 --> 02:19:16,970 it to make a new module called 4262 02:19:16,970 --> 02:19:19,090 name D can read admin home T 4263 02:19:19,630 --> 02:19:20,850 you could just call this 4264 02:19:21,470 --> 02:19:22,770 Joe if you wanted to 4265 02:19:23,410 --> 02:19:25,350 and it says hey here's how you put this in 4266 02:19:25,350 --> 02:19:26,610 so we're going to look at it 4267 02:19:26,610 --> 02:19:28,190 it creates two files basically 4268 02:19:28,190 --> 02:19:30,650 there's a TE file there's a PP file 4269 02:19:31,410 --> 02:19:33,090 the TE file basically 4270 02:19:33,090 --> 02:19:34,650 is our I'm going to pause right here 4271 02:19:35,190 --> 02:19:36,350 the TE file 4272 02:19:37,190 --> 02:19:39,170 has two basic important lines 4273 02:19:39,170 --> 02:19:40,350 so it has a bunch of like hey 4274 02:19:40,350 --> 02:19:42,470 you need to make sure these types are defined 4275 02:19:43,210 --> 02:19:44,750 and as long as they're defined 4276 02:19:45,410 --> 02:19:46,950 I'm skipping the other lines 4277 02:19:46,950 --> 02:19:49,050 so I end up with 4278 02:19:49,050 --> 02:19:49,770 two new rules 4279 02:19:50,370 --> 02:19:52,810 and the second of these rules is the 4280 02:19:53,410 --> 02:19:54,850 one that we were aiming for 4281 02:19:54,850 --> 02:19:56,450 audit to allow caught another issue too 4282 02:19:56,450 --> 02:19:58,670 but this second rule says 4283 02:19:58,670 --> 02:20:01,010 allow name T to read files 4284 02:20:01,010 --> 02:20:02,750 that are labeled with admin home T 4285 02:20:03,330 --> 02:20:05,210 okay cool it's just one simple thing 4286 02:20:05,990 --> 02:20:06,510 so 4287 02:20:07,230 --> 02:20:08,310 okay I've highlighted it 4288 02:20:10,350 --> 02:20:11,210 so I'm going to 4289 02:20:11,210 --> 02:20:12,550 insert that module SE module 4290 02:20:13,230 --> 02:20:14,970 the same thing it asked me to do 4291 02:20:14,970 --> 02:20:17,390 it's that simple we can do it while intoxicated 4292 02:20:17,390 --> 02:20:19,690 I don't recommend admitting systems while intoxicated 4293 02:20:19,690 --> 02:20:21,430 but it does sometimes make it fun 4294 02:20:21,430 --> 02:20:22,430 um 4295 02:20:23,410 --> 02:20:24,650 you have to wait 4296 02:20:24,650 --> 02:20:26,410 while that module gets 4297 02:20:26,410 --> 02:20:29,170 while the whole darn policy 4298 02:20:29,170 --> 02:20:31,270 file gets recompiled so it takes about 4299 02:20:31,270 --> 02:20:33,510 five six seconds on this laptop 4300 02:20:33,510 --> 02:20:35,270 that's got a that has an SSD 4301 02:20:35,990 --> 02:20:36,510 um 4302 02:20:37,250 --> 02:20:38,810 so I try to start name D and 4303 02:20:39,290 --> 02:20:41,330 it still won't start something else has gone 4304 02:20:41,330 --> 02:20:42,850 wrong so 4305 02:20:43,410 --> 02:20:45,050 I'm just going to go and say oh screw it 4306 02:20:45,710 --> 02:20:47,250 let's cat that auto log 4307 02:20:47,250 --> 02:20:48,670 again let's create a new file 4308 02:20:49,390 --> 02:20:50,270 create a second module 4309 02:20:50,970 --> 02:20:52,110 insert that module 4310 02:20:59,030 --> 02:20:59,550 wait 4311 02:20:59,550 --> 02:21:01,210 wait our obligatory five seconds 4312 02:21:01,210 --> 02:21:02,270 maybe six 4313 02:21:03,430 --> 02:21:04,330 come on 4314 02:21:08,930 --> 02:21:10,030 okay it's done 4315 02:21:10,810 --> 02:21:13,050 man computers have gotten so fast we don't like 4316 02:21:13,050 --> 02:21:15,230 wait for anything that long anymore unless we're 4317 02:21:15,230 --> 02:21:16,550 on a raspberry pi or 4318 02:21:16,550 --> 02:21:18,970 any other IOT system on a chip 4319 02:21:18,970 --> 02:21:21,290 8 megahertz thing that's still faster than my first computer 4320 02:21:24,210 --> 02:21:25,450 so we can run 4321 02:21:25,450 --> 02:21:27,390 that now we can start name D 4322 02:21:27,390 --> 02:21:28,790 successfully everything's great 4323 02:21:31,550 --> 02:21:33,270 so that's that's honestly 4324 02:21:33,270 --> 02:21:34,950 the thing you end up doing the most in 4325 02:21:34,950 --> 02:21:37,350 SELinux there are a few other things we can 4326 02:21:37,350 --> 02:21:38,910 do though so we 4327 02:21:38,910 --> 02:21:40,950 used chacon before to 4328 02:21:40,950 --> 02:21:43,270 to relabel a directory so that name D could 4329 02:21:43,270 --> 02:21:45,290 read it if we wanted to if we 4330 02:21:45,290 --> 02:21:47,210 want to make that permanent what we 4331 02:21:47,210 --> 02:21:49,030 end up doing is using SEManage 4332 02:21:49,770 --> 02:21:50,950 SEManage file context 4333 02:21:50,950 --> 02:21:53,070 I'm going to minus a for 4334 02:21:53,410 --> 02:21:55,290 basically add a type name 4335 02:21:55,290 --> 02:21:56,930 D zone type to 4336 02:21:56,930 --> 02:21:58,870 all of these to this 4337 02:21:59,330 --> 02:22:01,010 directory and then to anything 4338 02:22:01,010 --> 02:22:03,130 under it you'll notice this is regular expressions 4339 02:22:03,130 --> 02:22:05,350 if you're a unix admin 4340 02:22:05,350 --> 02:22:06,870 or a windows admin for that 4341 02:22:06,870 --> 02:22:08,990 matter or heck if you're at this conference 4342 02:22:08,990 --> 02:22:10,890 you don't know regular expressions yet 4343 02:22:11,350 --> 02:22:13,350 find five or ten pages from a good book 4344 02:22:13,350 --> 02:22:15,350 read that and you will 4345 02:22:15,350 --> 02:22:16,430 gain like another 4346 02:22:18,290 --> 02:22:19,070 what's it called 4347 02:22:19,070 --> 02:22:20,690 little loop on your karate belt 4348 02:22:21,410 --> 02:22:22,710 a stripe there you go 4349 02:22:23,410 --> 02:22:25,450 stripe on your karate belt it's pretty worth it 4350 02:22:25,450 --> 02:22:26,810 okay I told you 4351 02:22:27,290 --> 02:22:29,150 that you've got these Booleans 4352 02:22:29,150 --> 02:22:31,450 and if you run SEManage Boolean 4353 02:22:31,450 --> 02:22:33,530 minus L you'll see all the Booleans 4354 02:22:33,530 --> 02:22:35,470 in the system there are a whole bunch of them 4355 02:22:36,330 --> 02:22:37,050 if you 4356 02:22:37,050 --> 02:22:39,490 look at name D it's going to tell 4357 02:22:39,490 --> 02:22:41,250 you there are two different Booleans 4358 02:22:41,250 --> 02:22:43,330 if you were to make it so that your 4359 02:22:43,330 --> 02:22:45,030 name D server is going to start like say 4360 02:22:45,030 --> 02:22:47,170 signing your zones for DNSSEC or 4361 02:22:47,170 --> 02:22:49,450 otherwise is going to need to write to the zone files 4362 02:22:49,450 --> 02:22:51,310 maybe it's a slave DNS 4363 02:22:51,310 --> 02:22:51,750 server 4364 02:22:53,410 --> 02:22:55,250 then what you could end up doing is basically 4365 02:22:55,250 --> 02:22:57,070 just changing one Boolean that name D 4366 02:22:57,070 --> 02:22:59,070 write master zones and 4367 02:22:59,070 --> 02:23:00,710 that's something that the 4368 02:23:01,290 --> 02:23:03,410 people writing SELinux policies have done 4369 02:23:03,410 --> 02:23:05,150 that let their policies be 4370 02:23:05,150 --> 02:23:06,890 as tight as possible 4371 02:23:07,330 --> 02:23:09,390 while not breaking things if you're in a different 4372 02:23:09,390 --> 02:23:11,510 configuration so the way I think about it 4373 02:23:11,510 --> 02:23:13,370 whenever you're hardening a system is you're customizing 4374 02:23:13,370 --> 02:23:15,290 that system from the general purpose 4375 02:23:15,290 --> 02:23:17,050 that the operating system was shipped as 4376 02:23:17,050 --> 02:23:19,390 to now being really specific to 4377 02:23:19,390 --> 02:23:21,250 what you want sometimes that's stripping out 4378 02:23:21,250 --> 02:23:23,390 code sometimes that's just flipping Booleans 4379 02:23:24,190 --> 02:23:25,070 in an 4380 02:23:25,070 --> 02:23:26,530 SELinux config file 4381 02:23:26,530 --> 02:23:28,830 one way or another that's what you're doing and so 4382 02:23:28,830 --> 02:23:30,930 I love that SELinux has these kind of nice 4383 02:23:30,930 --> 02:23:32,930 on off switches and 4384 02:23:32,930 --> 02:23:34,950 you can use getCBool to see 4385 02:23:34,950 --> 02:23:37,430 what the status is of one you can use setCBool 4386 02:23:37,430 --> 02:23:38,130 to change it 4387 02:23:38,690 --> 02:23:41,370 if you change it and things are working you set it 4388 02:23:41,370 --> 02:23:42,750 persistently with another flag 4389 02:23:42,750 --> 02:23:44,050 with that minus P flag 4390 02:23:45,910 --> 02:23:46,390 here's 4391 02:23:46,390 --> 02:23:48,230 one more thing 4392 02:23:48,230 --> 02:23:51,230 that I haven't mentioned in terms of what you'd be 4393 02:23:51,230 --> 02:23:52,910 doing when you're creating new files 4394 02:23:53,410 --> 02:23:55,290 if you move the port on something 4395 02:23:55,290 --> 02:23:56,990 SELinux will usually break 4396 02:23:56,990 --> 02:23:58,850 will usually break what you're doing 4397 02:23:58,850 --> 02:24:01,030 and that's good and that's also 4398 02:24:01,030 --> 02:24:02,070 really really impressive 4399 02:24:02,750 --> 02:24:05,070 so as an attacker by day 4400 02:24:05,070 --> 02:24:06,970 that's really what I get to do most of all 4401 02:24:06,970 --> 02:24:09,030 I only get to play with this stuff kind of 4402 02:24:09,830 --> 02:24:11,190 as a very very very 4403 02:24:11,190 --> 02:24:12,230 tiny part of my work 4404 02:24:13,010 --> 02:24:15,310 as an attacker by day what I find 4405 02:24:15,310 --> 02:24:16,450 is you compromise 4406 02:24:16,450 --> 02:24:19,090 a computer that usually means you compromise 4407 02:24:19,090 --> 02:24:21,270 a program so you're in the running 4408 02:24:21,270 --> 02:24:23,290 execution of that program 4409 02:24:23,410 --> 02:24:25,170 and whatever the rules are in that program 4410 02:24:25,170 --> 02:24:26,590 those are the ones that are confining you 4411 02:24:26,590 --> 02:24:28,770 you're hoping to just get a root program or 4412 02:24:28,770 --> 02:24:30,890 a program running a system or what have you 4413 02:24:30,890 --> 02:24:33,310 and be able to do whatever you want but when you have a mandatory access 4414 02:24:33,310 --> 02:24:35,430 control layer in if that mandatory 4415 02:24:35,430 --> 02:24:37,230 access control layer is like this and says 4416 02:24:37,230 --> 02:24:39,210 ah you can bind to port 53 and 4417 02:24:39,210 --> 02:24:40,210 to no other port 4418 02:24:40,670 --> 02:24:42,270 well that's really a pain in the ass 4419 02:24:42,770 --> 02:24:45,330 as an attacker what I want to be able to do is I want to be able to 4420 02:24:45,330 --> 02:24:47,310 create arbitrary connections out I want to be able 4421 02:24:47,310 --> 02:24:49,130 to allow arbitrary connections 4422 02:24:49,130 --> 02:24:51,070 in and bind other ports so 4423 02:24:51,070 --> 02:24:53,310 SELinux doesn't do that and this is one of the things 4424 02:24:53,410 --> 02:24:55,450 I this is one thing I like about it over app armor 4425 02:24:55,450 --> 02:24:57,310 and that is that you can 4426 02:24:57,310 --> 02:24:59,150 basically say hey this 4427 02:24:59,150 --> 02:25:01,270 is port 53 was your port 4428 02:25:01,270 --> 02:25:03,250 okay that's the only port you can listen on 4429 02:25:03,250 --> 02:25:05,530 and you can actually specify all the different behaviors 4430 02:25:05,530 --> 02:25:07,230 on in terms of its in terms of what 4431 02:25:07,230 --> 02:25:09,030 ports it's allowed to listen on and talk to 4432 02:25:09,030 --> 02:25:11,190 so you can go and change it 4433 02:25:11,190 --> 02:25:13,350 if we if you add 54 in 4434 02:25:13,350 --> 02:25:15,190 you basically run one command se 4435 02:25:15,190 --> 02:25:17,050 manage my port definition 4436 02:25:17,050 --> 02:25:19,030 I'm going to take the DNS port T 4437 02:25:19,030 --> 02:25:21,250 definition and say ah that's not just 4438 02:25:21,250 --> 02:25:23,230 port 53 now now it's 54 too 4439 02:25:23,790 --> 02:25:24,230 okay 4440 02:25:25,010 --> 02:25:26,450 just a couple more slides 4441 02:25:27,790 --> 02:25:28,230 so 4442 02:25:29,110 --> 02:25:30,470 se manage permissive 4443 02:25:30,470 --> 02:25:33,350 I can set so I told 4444 02:25:33,350 --> 02:25:35,270 you I told you never to turn it off 4445 02:25:35,270 --> 02:25:37,270 always put SELinux in permissive mode 4446 02:25:37,270 --> 02:25:39,690 so it should either be in permissive or enforcing 4447 02:25:39,690 --> 02:25:41,090 I'm going to tell you next 4448 02:25:41,090 --> 02:25:43,210 that what I really recommend you do is you 4449 02:25:43,210 --> 02:25:45,450 always leave SELinux in enforcing mode 4450 02:25:45,450 --> 02:25:47,410 but if it's getting to be a pain 4451 02:25:47,410 --> 02:25:49,310 in your butt and you're thinking about turning it off 4452 02:25:49,310 --> 02:25:50,550 or turning it into permissive mode 4453 02:25:50,550 --> 02:25:53,270 then go and take the one program that's getting 4454 02:25:53,410 --> 02:25:55,230 in your way the one program that you're trying to get 4455 02:25:55,230 --> 02:25:56,710 work that isn't working right now 4456 02:25:56,710 --> 02:25:59,190 and basically say okay it's 4457 02:25:59,190 --> 02:26:01,150 type in this case the name DT type 4458 02:26:01,150 --> 02:26:03,250 if you can't figure out how to make things work right 4459 02:26:03,250 --> 02:26:04,690 now and you want to come back to this later 4460 02:26:05,250 --> 02:26:06,810 go and take the entire name D type 4461 02:26:07,230 --> 02:26:09,370 and just say that's in permissive mode but the rest 4462 02:26:09,370 --> 02:26:11,290 isn't now I know some of the 4463 02:26:11,290 --> 02:26:13,170 purists right now are like you know 4464 02:26:13,170 --> 02:26:15,450 are like oh my god he's turning things off 4465 02:26:15,450 --> 02:26:17,250 he's the security guy he's not supposed to turn 4466 02:26:17,250 --> 02:26:19,510 things off he's the blue team what the hell 4467 02:26:19,510 --> 02:26:20,950 and what I'm going to say is this 4468 02:26:20,950 --> 02:26:23,390 I've spent enough time where it's where what I've 4469 02:26:23,410 --> 02:26:25,530 learned is if the configuration is too tight 4470 02:26:25,530 --> 02:26:26,930 or the tools are too hard to use 4471 02:26:27,450 --> 02:26:28,890 people will often go 4472 02:26:29,210 --> 02:26:31,050 all or nothing so they'll go from 4473 02:26:31,050 --> 02:26:33,290 it's going to be super super tight wait 4474 02:26:33,290 --> 02:26:35,310 that didn't work okay we're throwing it entirely 4475 02:26:35,310 --> 02:26:37,370 out and sometimes that throw it entirely out 4476 02:26:37,370 --> 02:26:39,210 isn't really their decision it's their boss 4477 02:26:39,210 --> 02:26:41,230 who says listen you know listen you can't 4478 02:26:41,230 --> 02:26:43,210 make this work screw it you know we're 4479 02:26:43,210 --> 02:26:45,350 turning it off we'll look at it again in a year 4480 02:26:45,350 --> 02:26:47,370 so what I like 4481 02:26:47,370 --> 02:26:49,090 to do is then say okay let's 4482 02:26:49,090 --> 02:26:50,930 find the damn middle ground if 4483 02:26:50,930 --> 02:26:53,190 you have to take one program 4484 02:26:53,410 --> 02:26:55,370 turn it into permissive and spend your time 4485 02:26:55,370 --> 02:26:57,310 profiling that and figuring out when you're able 4486 02:26:57,310 --> 02:26:59,310 to get it back into that fully locked 4487 02:26:59,310 --> 02:27:00,810 down mode that 4488 02:27:01,350 --> 02:27:03,330 also means that even while you're 4489 02:27:03,330 --> 02:27:05,410 stuck trying to figure out how to make that thing work 4490 02:27:05,410 --> 02:27:07,370 or you're in a delay loop or you have to wait 4491 02:27:07,370 --> 02:27:09,230 a year to build trust again cool 4492 02:27:09,230 --> 02:27:10,990 for that year you have the rest of SELinux 4493 02:27:10,990 --> 02:27:12,710 and I think that's a really good idea 4494 02:27:13,230 --> 02:27:15,150 it may sound like I'm trying to sell 4495 02:27:15,150 --> 02:27:17,310 SELinux here but it's free and it's on 4496 02:27:17,310 --> 02:27:18,890 all your systems and you can you know 4497 02:27:18,890 --> 02:27:21,430 play with it really easily so I just think 4498 02:27:21,430 --> 02:27:23,110 it's a really I think it's a really great technology 4499 02:27:23,410 --> 02:27:25,210 but most of us don't ever touch it 4500 02:27:25,210 --> 02:27:27,290 just for lack of this kind of one hour 4501 02:27:27,290 --> 02:27:29,410 or 45 minutes of introduction 4502 02:27:29,410 --> 02:27:30,230 so 4503 02:27:31,870 --> 02:27:33,210 yeah that's mostly it 4504 02:27:33,210 --> 02:27:35,430 I've got a quick SELinux 4505 02:27:35,430 --> 02:27:37,190 is logging to audit to the audit log 4506 02:27:37,190 --> 02:27:39,110 the way you saw and 4507 02:27:39,650 --> 02:27:41,390 if audit D isn't running 4508 02:27:41,390 --> 02:27:43,310 then it doesn't log to the audit log yet 4509 02:27:43,310 --> 02:27:45,350 it just logs to var log messages 4510 02:27:45,350 --> 02:27:47,570 but there's also a program on Red Hat 4511 02:27:47,570 --> 02:27:49,310 on my Red Hat system that's now shipping by 4512 02:27:49,310 --> 02:27:50,910 default which is SE Troubleshoot D 4513 02:27:50,910 --> 02:27:53,210 and it'll tell you how to get more data 4514 02:27:53,410 --> 02:27:55,010 and it'll give you 4515 02:27:55,010 --> 02:27:57,170 with SE Alert it'll give you kind of 4516 02:27:57,170 --> 02:27:57,910 more 4517 02:27:59,050 --> 02:28:01,270 it'll give you an explanation that's a little bit 4518 02:28:01,270 --> 02:28:02,730 easier to read and I like that a lot 4519 02:28:03,490 --> 02:28:05,110 lastly I just want to mention there's some 4520 02:28:05,110 --> 02:28:07,370 SELinux alternatives if what you saw 4521 02:28:07,370 --> 02:28:08,810 here was holy 4522 02:28:09,270 --> 02:28:11,130 holy bejesus I never want to play with this 4523 02:28:11,130 --> 02:28:13,090 this is this is not going to work in my 4524 02:28:13,090 --> 02:28:15,130 environment it's too complicated I'm you know 4525 02:28:15,130 --> 02:28:17,050 maybe I'm you know one of the new funky 4526 02:28:17,050 --> 02:28:19,070 DevOps kids and you know we're not going to do it 4527 02:28:19,070 --> 02:28:21,190 I don't know whatever but it's whatever your 4528 02:28:21,190 --> 02:28:23,130 reason is there's some other 4529 02:28:23,410 --> 02:28:25,270 alternatives the only the there 4530 02:28:25,270 --> 02:28:26,670 there are three big ones 4531 02:28:26,670 --> 02:28:29,250 one is app armor which is what ships 4532 02:28:29,250 --> 02:28:31,250 on Ubuntu by default 4533 02:28:31,250 --> 02:28:32,850 and SUSE Linux 4534 02:28:33,670 --> 02:28:35,170 you've got Tomoyo and smack 4535 02:28:35,170 --> 02:28:37,470 and smack I know actually a bunch 4536 02:28:37,470 --> 02:28:38,910 of us are running we don't know it it's on the 4537 02:28:38,910 --> 02:28:39,750 philips smart TVs 4538 02:28:41,090 --> 02:28:43,310 the only one of these three that I've played 4539 02:28:43,310 --> 02:28:45,350 with a lot is app armor and I 4540 02:28:45,350 --> 02:28:47,450 think app armor is really really neat so 4541 02:28:47,450 --> 02:28:49,590 SELinux can give you better assurance 4542 02:28:49,590 --> 02:28:51,550 it can give you a heck of a lot more control 4543 02:28:51,550 --> 02:28:53,330 control it's a little bit 4544 02:28:53,410 --> 02:28:55,090 but the difference between between 4545 02:28:55,090 --> 02:28:57,110 SELinux and app armor is almost like the 4546 02:28:57,110 --> 02:28:59,090 difference between driving a stick shift car and automatic 4547 02:28:59,090 --> 02:29:01,210 some of us want the control of 4548 02:29:01,210 --> 02:29:03,350 sticks so that every single time we're 4549 02:29:03,350 --> 02:29:04,990 like going from stopping to starting 4550 02:29:04,990 --> 02:29:07,370 we're exactly engaging we're exactly 4551 02:29:07,370 --> 02:29:09,290 deciding when the clutch engages and 4552 02:29:09,290 --> 02:29:10,450 when we get that nice powerful 4553 02:29:10,450 --> 02:29:12,950 you know push forward right but 4554 02:29:12,950 --> 02:29:15,290 some of us just want the car to freaking go 4555 02:29:16,030 --> 02:29:17,270 app armor is not quite 4556 02:29:17,270 --> 02:29:19,050 just go but it is 4557 02:29:19,050 --> 02:29:21,510 really really fast and easy to write a profile 4558 02:29:21,510 --> 02:29:23,330 with and I enjoy 4559 02:29:23,410 --> 02:29:25,430 that a lot so I'm going to I'll make my 4560 02:29:25,430 --> 02:29:27,410 make my push for app armor if you 4561 02:29:27,410 --> 02:29:28,910 thought SELinux was too much 4562 02:29:28,910 --> 02:29:31,430 I could teach you I know 4563 02:29:31,430 --> 02:29:33,270 this from teaching my classes I could teach you 4564 02:29:33,270 --> 02:29:35,350 how to sit down and confine a root 4565 02:29:35,350 --> 02:29:37,310 shell to something that can do say three things 4566 02:29:37,310 --> 02:29:38,230 in under ten minutes 4567 02:29:39,230 --> 02:29:40,990 so that should speak to 4568 02:29:40,990 --> 02:29:43,290 the ease of creating app armor profiles 4569 02:29:44,170 --> 02:29:45,410 the downside is 4570 02:29:45,410 --> 02:29:47,290 that app armor basically confines 4571 02:29:47,290 --> 02:29:48,990 root capabilities and 4572 02:29:48,990 --> 02:29:51,250 file access you're not going to get the same 4573 02:29:51,250 --> 02:29:53,370 kind of among other things you're not going to get 4574 02:29:53,410 --> 02:29:54,530 the same kind of 4575 02:29:55,370 --> 02:29:57,270 program can't talk to them can't talk to 4576 02:29:57,270 --> 02:29:59,230 the network or sorry more to the point 4577 02:29:59,230 --> 02:30:01,070 program can only talk to these ports 4578 02:30:01,070 --> 02:30:02,790 in these ways so 4579 02:30:03,890 --> 02:30:05,010 so that's the deal 4580 02:30:05,010 --> 02:30:06,570 anyway I hope this was fun 4581 02:30:07,350 --> 02:30:09,410 it's 1.43 I think this is 4582 02:30:09,410 --> 02:30:11,210 one of the first talks I've ever finished early we're seven 4583 02:30:11,210 --> 02:30:13,370 minutes early so what would you like would you like to ask me 4584 02:30:13,370 --> 02:30:15,310 questions should I do some kind of dance 4585 02:30:15,310 --> 02:30:17,390 on the stage that hopefully won't be caught on camera 4586 02:30:18,710 --> 02:30:19,110 dance 4587 02:30:19,110 --> 02:30:19,310 dance 4588 02:30:22,210 --> 02:30:23,150 any wait wait 4589 02:30:23,410 --> 02:30:24,930 there's a question on SELinux before we dance 4590 02:30:24,930 --> 02:30:26,670 maybe I can stall okay 4591 02:30:29,910 --> 02:30:31,370 if the boss says 4592 02:30:31,370 --> 02:30:32,790 if you turn SELinux on 4593 02:30:32,790 --> 02:30:33,370 you're fired 4594 02:30:33,370 --> 02:30:34,610 you stand your ground 4595 02:30:34,610 --> 02:30:36,910 you are going to serve your organization 4596 02:30:36,910 --> 02:30:38,770 best by being an example 4597 02:30:38,770 --> 02:30:40,630 yeah the guy who got fired 4598 02:30:40,630 --> 02:30:42,410 no no no 4599 02:30:42,410 --> 02:30:42,790 so 4600 02:30:46,670 --> 02:30:47,230 so 4601 02:30:47,230 --> 02:30:49,110 so my thought is 4602 02:30:49,110 --> 02:30:50,550 if the boss says you're going to get fired 4603 02:30:50,550 --> 02:30:53,030 like have a conversation realize you're going to 4604 02:30:53,410 --> 02:30:55,390 have a conversation so I have a talk tomorrow 4605 02:30:55,390 --> 02:30:57,690 on phishing that's a lot more human 4606 02:30:57,690 --> 02:30:58,850 than the SELinux stuff 4607 02:30:58,850 --> 02:31:00,870 it's a lot more talking actually about 4608 02:31:01,410 --> 02:31:02,850 communication and negotiation 4609 02:31:03,150 --> 02:31:05,230 and collaborating with your client 4610 02:31:05,230 --> 02:31:07,030 with the other people at work and trying to 4611 02:31:07,030 --> 02:31:09,230 have the situations where you think that 4612 02:31:09,230 --> 02:31:11,490 your two choices are either to piss off 4613 02:31:11,490 --> 02:31:12,210 the other party 4614 02:31:12,810 --> 02:31:14,990 you know whether that's your client or your co-worker 4615 02:31:14,990 --> 02:31:17,230 or your boss or to 4616 02:31:17,230 --> 02:31:18,330 instead you know 4617 02:31:18,330 --> 02:31:20,530 give in and have the 4618 02:31:20,530 --> 02:31:22,850 and basically create a solution that's 4619 02:31:23,410 --> 02:31:24,570 bad go talk 4620 02:31:25,010 --> 02:31:26,830 what's that plan six months ahead 4621 02:31:27,550 --> 02:31:29,070 I have no idea what you're saying 4622 02:31:29,070 --> 02:31:30,970 but I'm going to take the next question 4623 02:31:30,970 --> 02:31:31,470 what was that 4624 02:31:33,510 --> 02:31:35,510 I do a lot of pentesting for the day job 4625 02:31:41,130 --> 02:31:42,750 have I ever configured anybody 4626 02:31:42,750 --> 02:31:44,910 in pentesting configure 4627 02:31:44,910 --> 02:31:47,070 SELinux on the system and totally fuck it up 4628 02:31:47,070 --> 02:31:49,130 does fuck it up mean make the system not work 4629 02:31:49,130 --> 02:31:51,170 or make my attacks work more easily 4630 02:31:51,790 --> 02:31:52,230 either 4631 02:31:53,410 --> 02:31:55,110 I don't think so no I mean honestly 4632 02:31:55,110 --> 02:31:57,170 if I end up if I'm in a pentest 4633 02:31:57,170 --> 02:31:59,590 and I end up compromising 4634 02:31:59,590 --> 02:32:01,010 an SELinux system compromised 4635 02:32:01,010 --> 02:32:03,290 if I my goal is 4636 02:32:03,290 --> 02:32:05,410 to be a user where I've got that unconfined 4637 02:32:05,410 --> 02:32:06,930 if I end up in a confined process 4638 02:32:06,930 --> 02:32:08,710 I'm pretty screwed 4639 02:32:09,410 --> 02:32:11,430 and it's time to find 4640 02:32:11,430 --> 02:32:13,110 another time to find 4641 02:32:13,110 --> 02:32:15,050 another way in another 4642 02:32:15,050 --> 02:32:15,570 machine 4643 02:32:17,070 --> 02:32:23,170 there's a legend that it's impossible 4644 02:32:23,410 --> 02:32:25,110 to configure SELinux unless they're superhuman 4645 02:32:26,310 --> 02:32:27,750 so I will say 4646 02:32:27,750 --> 02:32:28,490 that you can 4647 02:32:28,490 --> 02:32:30,210 I've shown you how to do 4648 02:32:30,210 --> 02:32:32,450 some configuration here 4649 02:32:32,450 --> 02:32:35,110 and a lot of that relies on the types 4650 02:32:35,110 --> 02:32:36,330 that are already on the system 4651 02:32:36,330 --> 02:32:39,030 you can go and create your own types 4652 02:32:39,030 --> 02:32:41,250 and that's what you'd have to do for a whole brand new program 4653 02:32:41,250 --> 02:32:43,450 and that is a bit more 4654 02:32:43,450 --> 02:32:44,830 of a pain in the butt especially 4655 02:32:44,830 --> 02:32:46,790 if you don't know what the program does to start 4656 02:32:47,290 --> 02:32:49,130 the nice thing is that the people who've been 4657 02:32:49,130 --> 02:32:51,110 creating SELinux profiles for all of us 4658 02:32:51,110 --> 02:32:52,950 have been doing it for like ten odd years 4659 02:32:53,410 --> 02:32:55,050 and so the profiles have gotten really good 4660 02:32:55,050 --> 02:32:56,790 and so we tend to only have to tweak them 4661 02:32:56,790 --> 02:32:59,410 if you do have to create one, it is not impossible 4662 02:32:59,410 --> 02:33:00,710 you don't have to be a god 4663 02:33:00,710 --> 02:33:03,010 but you do have to have some time on your hands 4664 02:33:03,830 --> 02:33:04,890 and that's what I'll say 4665 02:33:04,890 --> 02:33:06,990 there are also some really really good books out there 4666 02:33:08,230 --> 02:33:09,310 I'll also tell you that 4667 02:33:09,310 --> 02:33:11,190 a lot more of you are running SELinux 4668 02:33:11,190 --> 02:33:11,990 than realize it 4669 02:33:12,870 --> 02:33:15,230 the most recent version or two of Android 4670 02:33:15,230 --> 02:33:17,570 has got SELinux on it 4671 02:33:17,570 --> 02:33:18,430 and it's enforcing 4672 02:33:20,110 --> 02:33:21,570 so there was another question 4673 02:33:21,570 --> 02:33:22,450 back right 4674 02:33:24,750 --> 02:33:25,050 service 4675 02:33:39,770 --> 02:33:41,110 I'm going to ask you to repeat the question 4676 02:33:41,110 --> 02:33:42,470 it was basically, it was Linux containers 4677 02:33:53,450 --> 02:33:58,270 Yeah, we've got a pretty complicated situation as soon as you're talking about as soon as you're talking about a program 4678 02:33:58,910 --> 02:34:03,050 That's in a container that has a profile on the outer host 4679 02:34:03,050 --> 02:34:07,410 That is trying to the outer host profile isn't so bad because the program in the container 4680 02:34:08,150 --> 02:34:14,070 Is almost always trying to wait is that is that that waving hand back there an answer to the question? 4681 02:34:14,350 --> 02:34:19,250 Oh, we have a really good answer. We'll get your butt up here. Oh 4682 02:34:19,250 --> 02:34:22,430 That's a really good question, but we're not gonna do that right now 4683 02:34:22,430 --> 02:34:27,070 So so the container thing so the container question 4684 02:34:28,570 --> 02:34:32,190 Yeah, as soon as you're in a container you end up in a different type anyway 4685 02:34:32,190 --> 02:34:35,730 And usually the containers basically say I've got all the things that are in the container 4686 02:34:35,730 --> 02:34:39,210 they're all gonna be labeled the type that the programs that are contained can read and 4687 02:34:39,210 --> 02:34:42,830 The bind mounted stuff ends up being a whole different thing 4688 02:34:42,830 --> 02:34:48,890 So no, I don't have don't have a good answer, but I will get you a good answer and 4689 02:34:50,710 --> 02:34:52,350 and God if it's really simple 4690 02:34:52,430 --> 02:34:57,010 And you're watching this and you know you're smacking your head and saying Beale what the hell I I apologize 4691 02:34:57,010 --> 02:34:59,270 I owe you drink if you can come up with an answer that fast 4692 02:35:00,410 --> 02:35:04,210 And I'll make sure the next time I get this question. I'm better prepared. Thank you 4693 02:35:05,410 --> 02:35:09,030 Okay, we got two minutes left. We talked about the the other question back 4694 02:35:09,030 --> 02:35:13,410 There was what if you want to use tomoyo, and you don't speak Japanese yet well 4695 02:35:14,270 --> 02:35:20,950 Obviously as hackers. I mean I've watched enough anime to know that as hackers we all speak Japanese like like out of the womb 4696 02:35:20,950 --> 02:35:22,190 I mean at least 4697 02:35:22,190 --> 02:35:25,530 You do if you're cool, right? I? 4698 02:35:25,570 --> 02:35:25,730 mean 4699 02:35:26,970 --> 02:35:32,750 You speak Japanese right he does he does he won't admit it okay any other questions 4700 02:35:35,490 --> 02:35:41,630 Cool cool. Oh dance is anybody want to come up here and dance with me. I'm stepping out of the light 4701 02:35:41,630 --> 02:35:45,970 I'm hoping that camera can't be moved. Oh, oh no that cameras panning 4702 02:35:47,870 --> 02:35:52,170 Okay, if you want to see me dance then then you have to come to 4703 02:35:52,190 --> 02:35:58,370 To want whatever the biggest parties are that where Keith Meyers is playing if Keith Meyers is playing there 4704 02:35:58,920 --> 02:36:04,310 And I'm dancing. I'll be dancing there, so I don't know if there's not really great music for this 4705 02:36:05,750 --> 02:36:06,770 Let's see what I can do 4706 02:36:13,130 --> 02:36:15,790 That's my that's my drunken frat boy dance