1 00:00:00,000 --> 00:00:04,880 Okay, this is going to be a much different talk with many less big words. 2 00:00:04,880 --> 00:00:06,120 So we're going to go there. 3 00:00:06,480 --> 00:00:11,960 First off, I am required by our very angry lawyers to always say don't buy stock in anything I talk about. 4 00:00:11,960 --> 00:00:12,920 I lie often. 5 00:00:12,920 --> 00:00:15,100 Nothing I'm actually going to talk about here is completed. 6 00:00:15,280 --> 00:00:16,320 Yada, yada, yada. 7 00:00:16,460 --> 00:00:17,440 Moving on. 8 00:00:17,800 --> 00:00:18,260 Who am I? 9 00:00:18,260 --> 00:00:20,720 I'm Ryan Kovar, I'm a principal security strategist at Splunk. 10 00:00:20,720 --> 00:00:23,820 I get to fly all over the world, do cool stuff. 11 00:00:24,120 --> 00:00:28,300 I used to run a cybercad or intelligence fusion cell at DARPA before I came to Splunk. 12 00:00:28,360 --> 00:00:29,840 My passion is Blue Team. 13 00:00:29,840 --> 00:00:31,680 My passion is defending. 14 00:00:31,860 --> 00:00:35,440 And I have come to Jesus and found out math is the way to do that. 15 00:00:36,040 --> 00:00:38,860 I have done a lot of different things in my career. 16 00:00:38,860 --> 00:00:43,320 I've pulled over 6,000 feet of Cat5 cable on an aircraft carrier. 17 00:00:43,320 --> 00:00:46,380 I've de-debugged BNC plugs. 18 00:00:46,380 --> 00:00:48,960 I've done work with the UK Intelligence Committee. 19 00:00:48,960 --> 00:00:50,580 I've done a whole bunch of weird things. 20 00:00:50,580 --> 00:00:57,520 But possibly the most relevant thing to this conversation and my conversion is that, yes, I did fail first grade math. 21 00:00:57,520 --> 00:00:59,480 I said this earlier, people didn't believe me. 22 00:00:59,480 --> 00:00:59,760 Ms. 23 00:00:59,760 --> 00:01:01,620 Johnson, I hope you're rotting in hell. 24 00:01:01,620 --> 00:01:03,320 Who fails a first grader? 25 00:01:04,300 --> 00:01:05,460 Apparently me. 26 00:01:05,980 --> 00:01:12,340 So it's been a long time for me to come to the conclusion that math is actually a very useful skill for someone to have. 27 00:01:12,360 --> 00:01:14,960 This room, however, does not need to be convinced of that. 28 00:01:15,500 --> 00:01:19,440 So I want to talk about the problem that I did find in my world of being a network defender. 29 00:01:20,320 --> 00:01:28,140 I'll be honest, security teams are a bit dazed and confused about the whole idea of statistics and machine learning and AI. 30 00:01:28,140 --> 00:01:33,860 So I want to give you a couple questions around what I've heard network defenders ask me. 31 00:01:34,220 --> 00:01:36,800 Can ML find APTs in my network? 32 00:01:37,580 --> 00:01:38,460 Sure. 33 00:01:38,620 --> 00:01:41,400 Not really sure how, but I'm sure we'll figure it out sometime. 34 00:01:41,820 --> 00:01:45,280 What do you mean 51% success rate is a success? 35 00:01:45,280 --> 00:01:52,460 I had a data scientist tell me one of my previous projects as I started to learn this, we were going over, I was like, so how do I know I'm doing okay? 36 00:01:52,460 --> 00:01:55,580 She's like, are you doing better than flipping the coin? 37 00:01:55,800 --> 00:01:56,660 I said, yeah. 38 00:01:56,660 --> 00:01:58,000 She's like, well, you're rocking it, then. 39 00:01:58,000 --> 00:01:58,780 You're doing a great job. 40 00:01:58,780 --> 00:01:59,800 51%? 41 00:02:00,020 --> 00:02:01,220 That's better than nothing. 42 00:02:01,220 --> 00:02:01,960 I was like, well, okay. 43 00:02:01,960 --> 00:02:02,900 That's a good place to start. 44 00:02:03,000 --> 00:02:05,640 I'm slightly better than average, just like the rest of my life. 45 00:02:06,700 --> 00:02:08,560 They keep talking about types of errors. 46 00:02:08,560 --> 00:02:10,580 I don't care if there's one or two of them. 47 00:02:12,540 --> 00:02:14,600 I don't want to hear about statistics, damn it. 48 00:02:14,600 --> 00:02:16,340 This is a machine learning problem. 49 00:02:18,680 --> 00:02:19,200 Right? 50 00:02:19,780 --> 00:02:23,900 And the reality is, this is not the group of people who are in this photo, right? 51 00:02:23,900 --> 00:02:29,360 I am much more in the comfort zone of the belief that snake, oil, machine learning is the future. 52 00:02:29,360 --> 00:02:35,480 Now I tell you, sons and ladies in the audience, what we have in front of us is a solution for every cyber problem you have that exists. 53 00:02:35,480 --> 00:02:42,320 We can give you the APTs, the malwares, the models, the machines, the GPUs, everything, right? 54 00:02:42,320 --> 00:02:48,160 And I feel like that's a lot of time with vendors, myself included, kind of offer people who are network defenders, right? 55 00:02:48,160 --> 00:02:50,600 We make some very interesting claims. 56 00:02:50,960 --> 00:02:54,960 Machine learning can spot previously unseen malware instantly. 57 00:02:54,960 --> 00:02:56,760 These are quotes from RSA. 58 00:02:57,620 --> 00:03:00,800 ML can detect intrusions before they start. 59 00:03:01,060 --> 00:03:02,980 I love this one. 60 00:03:03,000 --> 00:03:03,660 Right? 61 00:03:03,660 --> 00:03:06,720 We've actually invented time travel and now we're selling it to you. 62 00:03:07,540 --> 00:03:11,700 Replace your tier 1 and tier 2 socket and list with algos. 63 00:03:13,740 --> 00:03:15,480 Those poor, poor tier 1s and tier 2s. 64 00:03:15,480 --> 00:03:16,700 Tier 3 is fine. 65 00:03:16,840 --> 00:03:19,500 But this is all bullshit, to be frank. 66 00:03:19,620 --> 00:03:29,800 But the problem is, what my issue is, is there's a very big gap of understanding for network defenders for what machine learning, what statistics, what AI can actually do to help them or not. 67 00:03:30,400 --> 00:03:31,560 So I sat down. 68 00:03:31,560 --> 00:03:33,580 I did some algebraics in my head. 69 00:03:34,220 --> 00:03:36,280 And then I talked to Mr. 70 00:03:36,280 --> 00:03:36,660 Shaw. 71 00:03:36,660 --> 00:03:43,560 And what I realized is, security data scientists and network defenders are two incredible disciplines separated by a common language. 72 00:03:43,580 --> 00:03:43,800 Right? 73 00:03:43,800 --> 00:03:45,440 We're both trying to get to the same object. 74 00:03:45,440 --> 00:03:46,840 We're trying to solve similar problems. 75 00:03:46,920 --> 00:03:49,300 But we literally cannot talk to each other. 76 00:03:49,320 --> 00:03:58,940 If I have to go to one more talk where I hear about a data scientist telling me all the success rate they have for packed malware, or sorry, unpacked malware, I will scream as a network defender. 77 00:03:59,140 --> 00:04:05,660 Because I don't give a shit about unpacked malware that's been bespoke, unpacked by a reverse engineer. 78 00:04:05,780 --> 00:04:11,700 I need to go through a million executables that are hitting my network every single day and have that reviewed. 79 00:04:11,840 --> 00:04:13,200 This is a very hard problem. 80 00:04:13,220 --> 00:04:16,960 I'm not saying there isn't value, of course, in doing the unpacked malware. 81 00:04:16,960 --> 00:04:17,660 There's quite a bit there. 82 00:04:17,660 --> 00:04:20,640 But for a network defender, I don't understand the problem. 83 00:04:20,640 --> 00:04:21,940 I don't understand the issues. 84 00:04:22,060 --> 00:04:22,920 But there are there. 85 00:04:22,920 --> 00:04:23,280 Right? 86 00:04:23,360 --> 00:04:25,380 So I gave a talk about this at Canvas years ago. 87 00:04:25,380 --> 00:04:30,240 If you haven't been to Canvas, that is literally one of the best conferences I've ever been to. 88 00:04:30,240 --> 00:04:31,200 Life changing for me. 89 00:04:31,200 --> 00:04:32,480 Definitely worth going to. 90 00:04:32,500 --> 00:04:34,080 I talked a lot about this here. 91 00:04:34,080 --> 00:04:44,620 I want to talk about my progression through this problem, which is really bridging that gap between network defenders and data scientists and really trying to educate the network defenders on what you can do. 92 00:04:45,760 --> 00:04:50,340 If anyone knows me here, I'm very well known or to a part known for boss of the sock. 93 00:04:50,440 --> 00:04:52,100 It's a very large CTF. 94 00:04:52,100 --> 00:04:54,860 We've had 15,000 people play in two years. 95 00:04:55,200 --> 00:04:59,760 And I am a true believer in gamification for knowledge. 96 00:04:59,800 --> 00:05:01,160 I believe that is one of the best ways. 97 00:05:01,160 --> 00:05:05,640 I'm super excited about my colleague's new idea for CTF. 98 00:05:05,800 --> 00:05:07,640 And I've been running one for about three years now. 99 00:05:07,640 --> 00:05:09,440 We have a very specific purpose. 100 00:05:09,500 --> 00:05:09,620 Right? 101 00:05:09,620 --> 00:05:11,200 What we want to do is train people. 102 00:05:11,320 --> 00:05:12,220 I work for Splunk. 103 00:05:12,220 --> 00:05:14,580 They pay for most of my clothes at this point in my life. 104 00:05:14,580 --> 00:05:16,680 So there's definitely a vendor training aspect there. 105 00:05:16,680 --> 00:05:20,380 But most of what we're doing is teaching people traditional methods for defense. 106 00:05:20,660 --> 00:05:22,840 We try to make it as realistic as possible. 107 00:05:22,900 --> 00:05:28,580 And the competition aspect for our tribe of people, security folks, this is something inherent to what we do. 108 00:05:28,580 --> 00:05:29,420 And this is very fun. 109 00:05:29,420 --> 00:05:30,260 This is enjoyable. 110 00:05:30,260 --> 00:05:31,740 Which gets to the fun part. 111 00:05:31,780 --> 00:05:35,220 We center ours around a completely fake company that we call Fropley. 112 00:05:35,220 --> 00:05:36,440 It's a home brewing company. 113 00:05:36,440 --> 00:05:37,700 We set up fake networks. 114 00:05:37,700 --> 00:05:39,400 We do no generated data. 115 00:05:39,400 --> 00:05:41,540 Everything is created up in clouds. 116 00:05:41,540 --> 00:05:48,300 We have an Amish cyber barn raising where we get together and we build up a whole network and infrastructure and then we attack it. 117 00:05:48,300 --> 00:05:51,100 Because our primary mantra here is to keep it real. 118 00:05:51,540 --> 00:06:01,520 As we've gone through this over four years, we've done everything from traditional APT, AWS, Azure, ransomware, insider threats, fraud, spear phishing, you name it. 119 00:06:01,520 --> 00:06:05,000 It's all pretty realistic to what people actually experience in their day to day job. 120 00:06:05,160 --> 00:06:14,080 We can go through very long, complicated multigraphs showing our adversary infrastructure, the OSINT involved, the lateral movement, everything like that. 121 00:06:14,120 --> 00:06:16,920 But Hiram took up 15 minutes so I had to cut the fun stuff. 122 00:06:17,580 --> 00:06:24,700 What I do want to announce is that October 21st, 2019, here in Las Vegas, we'll be deploying boss of the SOC 4.0. 123 00:06:24,900 --> 00:06:35,060 This is our newest iteration and it's the first one where we've ever thought to include machine learning questions and solutions that will be inherent to the possibility of winning the competition. 124 00:06:35,220 --> 00:06:36,660 So this is pretty exciting for us. 125 00:06:36,660 --> 00:06:38,640 We have no idea how well it's going to go. 126 00:06:38,660 --> 00:06:40,760 It's always a little bit of an experiment for us. 127 00:06:40,920 --> 00:06:48,880 But we'll be using Splunk's machine learning tool kit, which is just a really thin wrapper of Python, NumPy, all sorts of stuff like that using the tool. 128 00:06:48,880 --> 00:06:53,460 Of course, if you're really savvy, you can figure out how to export data and run that yourself on your own laptop. 129 00:06:54,040 --> 00:06:59,300 And a lot of people, as I started going through this talk, asking me, like, that's great, but do you have any actual data? 130 00:07:00,000 --> 00:07:01,460 And how can I practice? 131 00:07:02,140 --> 00:07:02,940 Yes, we do. 132 00:07:02,940 --> 00:07:10,620 We have two fairly large data sets, 6 gigabytes and 16 gigabytes available right now. 133 00:07:10,620 --> 00:07:11,400 Just go to that link. 134 00:07:11,400 --> 00:07:12,640 You can download them. 135 00:07:12,780 --> 00:07:14,600 They're in various different formats. 136 00:07:14,600 --> 00:07:17,040 And these are the results of our previous CTFs. 137 00:07:17,040 --> 00:07:22,600 So every year, we run these CTFs for one year and then open source all the data that we put into it. 138 00:07:22,720 --> 00:07:25,380 So we'll be running this CTF all over the world for free. 139 00:07:25,380 --> 00:07:37,180 Anyone can play if you want for the next year with the machine learning models built in and actual questions and answers that are specifically designed to teach people ML and to stretch that boundary and that comfort level of network defenders. 140 00:07:37,340 --> 00:07:44,320 But if you actually want to apply ML models or play around with a data set where it's quantified and as realistic as we can make it, feel free. 141 00:07:44,320 --> 00:07:46,340 It's all open source and free right there now. 142 00:07:48,120 --> 00:07:53,680 I have a true belief that when CTFs are done, everyone comes out a lot better on the other side. 143 00:07:54,260 --> 00:07:57,480 We've done, like I said, over 15,000 people have played our CTFs. 144 00:07:57,480 --> 00:07:58,900 It is incredibly popular. 145 00:07:58,900 --> 00:07:59,820 People learn. 146 00:07:59,860 --> 00:08:00,680 They have fun. 147 00:08:00,680 --> 00:08:01,600 They do new things. 148 00:08:01,600 --> 00:08:03,720 They try data that they've never seen. 149 00:08:03,920 --> 00:08:12,300 We've had people walk in the door have never seen or heard of wire data and they come out on the other side and go, how have I ever done my job before Snort or how have I ever done anything before Zeek? 150 00:08:12,300 --> 00:08:15,260 I want that same experience for machine learning next year. 151 00:08:15,420 --> 00:08:17,140 So we're really looking for that. 152 00:08:17,220 --> 00:08:31,400 However, as I've learned, I as a CTF creator and anyone else that wants to create a CTF in the future, if you're looking at including machine learning questions into your data, you have to think of ML before you actually write your questions or design your infrastructure. 153 00:08:31,400 --> 00:08:39,440 There are things that are going to pop out and not be realistic and give a false sense of the value of what machine learning can actually provide or just basic statistics. 154 00:08:39,600 --> 00:08:46,180 If you were here earlier today, you know, I have a complete rage against the misuse of standard deviation versus alert data. 155 00:08:46,680 --> 00:08:51,280 That really gets me and a lot of network defenders have never seen that, never experienced those sort of things. 156 00:08:51,340 --> 00:08:53,500 This is the sort of training we hope to go through there. 157 00:08:53,660 --> 00:08:57,340 If you want to use the previous open source versions for research, please feel free. 158 00:08:57,340 --> 00:09:02,180 There's been multiple papers citing this research already, especially some of the stuff around SSL certificate hunting. 159 00:09:02,740 --> 00:09:03,840 Um, go for it. 160 00:09:04,000 --> 00:09:06,340 Um, but they are awesome, right? 161 00:09:06,340 --> 00:09:07,440 There's other ones out there. 162 00:09:07,580 --> 00:09:08,820 I really hope you enjoy. 163 00:09:08,820 --> 00:09:11,080 I know I'm on the last talk of the day, so I try to end early. 164 00:09:11,180 --> 00:09:13,480 Um, I'm Ryan Kovar. 165 00:09:13,480 --> 00:09:14,480 I hope you guys enjoyed this. 166 00:09:14,480 --> 00:09:15,540 Thank you very much for your time.