[00:00.000 --> 00:05.480] Okay, this is going to be a much different talk with many less big words. So we're going to go [00:05.480 --> 00:10.840] there. First off, I am required by our very angry lawyers to always say don't buy stock in anything [00:10.840 --> 00:15.640] I talk about. I lie often. Nothing I'm actually going to talk about here is completed. Yada, [00:15.640 --> 00:20.720] yada, yada. Moving on. Who am I? I'm Ryan Kovar, I'm a principal security strategist at Splunk. [00:20.720 --> 00:26.120] I get to fly all over the world, do cool stuff. I used to run a cybercad or intelligence fusion [00:26.120 --> 00:31.680] cell at DARPA before I came to Splunk. My passion is Blue Team. My passion is defending. [00:31.860 --> 00:35.440] And I have come to Jesus and found out math is the way to do that. [00:36.040 --> 00:41.500] I have done a lot of different things in my career. I've pulled over 6,000 feet of Cat5 [00:41.500 --> 00:48.480] cable on an aircraft carrier. I've de-debugged BNC plugs. I've done work with the UK Intelligence [00:48.480 --> 00:52.140] Committee. I've done a whole bunch of weird things. But possibly the most relevant thing [00:52.140 --> 00:57.920] to this conversation and my conversion is that, yes, I did fail first grade math. I said this [00:57.920 --> 01:02.520] earlier, people didn't believe me. Ms. Johnson, I hope you're rotting in hell. Who fails a first [01:02.520 --> 01:09.960] grader? Apparently me. So it's been a long time for me to come to the conclusion that math is [01:09.960 --> 01:14.220] actually a very useful skill for someone to have. This room, however, does not need to be convinced [01:14.220 --> 01:19.440] of that. So I want to talk about the problem that I did find in my world of being a network defender. [01:20.320 --> 01:25.820] I'll be honest, security teams are a bit dazed and confused about the whole idea of statistics and [01:25.820 --> 01:32.320] machine learning and AI. So I want to give you a couple questions around what I've heard network [01:32.320 --> 01:40.180] defenders ask me. Can ML find APTs in my network? Sure. Not really sure how, but I'm sure we'll [01:40.180 --> 01:46.340] figure it out sometime. What do you mean 51% success rate is a success? I had a data scientist [01:46.340 --> 01:50.300] tell me one of my previous projects as I started to learn this, we were going over, I was like, [01:50.300 --> 01:56.260] so how do I know I'm doing okay? She's like, are you doing better than flipping the coin? I said, [01:56.260 --> 02:00.800] yeah. She's like, well, you're rocking it, then. You're doing a great job. 51%? That's better than [02:00.800 --> 02:04.360] nothing. I was like, well, okay. That's a good place to start. I'm slightly better than average, [02:04.360 --> 02:09.340] just like the rest of my life. They keep talking about types of errors. I don't care if there's [02:09.340 --> 02:15.580] one or two of them. I don't want to hear about statistics, damn it. This is a machine learning [02:15.580 --> 02:23.900] problem. Right? And the reality is, this is not the group of people who are in this photo, right? [02:23.900 --> 02:29.360] I am much more in the comfort zone of the belief that snake, oil, machine learning is the future. [02:29.360 --> 02:33.060] Now I tell you, sons and ladies in the audience, what we have in front of us is a solution for [02:33.060 --> 02:39.040] every cyber problem you have that exists. We can give you the APTs, the malwares, the models, [02:39.040 --> 02:44.440] the machines, the GPUs, everything, right? And I feel like that's a lot of time with vendors, [02:44.440 --> 02:49.100] myself included, kind of offer people who are network defenders, right? We make some very [02:49.100 --> 02:55.300] interesting claims. Machine learning can spot previously unseen malware instantly. These are [02:55.300 --> 03:04.060] quotes from RSA. ML can detect intrusions before they start. I love this one. Right? We've actually [03:04.060 --> 03:10.200] invented time travel and now we're selling it to you. Replace your tier 1 and tier 2 socket [03:10.200 --> 03:18.140] and list with algos. Those poor, poor tier 1s and tier 2s. Tier 3 is fine. But this is all [03:18.140 --> 03:23.660] bullshit, to be frank. But the problem is, what my issue is, is there's a very big gap of [03:23.660 --> 03:28.020] understanding for network defenders for what machine learning, what statistics, what AI can [03:28.020 --> 03:34.860] actually do to help them or not. So I sat down. I did some algebraics in my head. And then I [03:35.480 --> 03:40.240] talked to Mr. Shaw. And what I realized is, security data scientists and network defenders [03:40.240 --> 03:44.400] are two incredible disciplines separated by a common language. Right? We're both trying to [03:44.400 --> 03:48.540] get to the same object. We're trying to solve similar problems. But we literally cannot talk [03:48.540 --> 03:52.700] to each other. If I have to go to one more talk where I hear about a data scientist telling me [03:52.700 --> 03:58.460] all the success rate they have for packed malware, or sorry, unpacked malware, I will scream as a [03:58.460 --> 04:03.620] network defender. Because I don't give a shit about unpacked malware that's been bespoke, [04:04.060 --> 04:08.960] unpacked by a reverse engineer. I need to go through a million executables that are hitting [04:08.960 --> 04:13.300] my network every single day and have that reviewed. This is a very hard problem. I'm [04:13.300 --> 04:17.660] not saying there isn't value, of course, in doing the unpacked malware. There's quite a bit there. [04:17.660 --> 04:21.940] But for a network defender, I don't understand the problem. I don't understand the issues. [04:22.060 --> 04:25.640] But there are there. Right? So I gave a talk about this at Canvas years ago. If you haven't [04:25.640 --> 04:30.980] been to Canvas, that is literally one of the best conferences I've ever been to. Life changing for [04:30.980 --> 04:35.220] me. Definitely worth going to. I talked a lot about this here. I want to talk about my progression [04:35.220 --> 04:40.240] through this problem, which is really bridging that gap between network defenders and data [04:40.240 --> 04:44.620] scientists and really trying to educate the network defenders on what you can do. [04:45.760 --> 04:50.340] If anyone knows me here, I'm very well known or to a part known for boss of the sock. [04:50.440 --> 04:56.580] It's a very large CTF. We've had 15,000 people play in two years. And I am a true believer in [04:58.000 --> 05:02.080] gamification for knowledge. I believe that is one of the best ways. I'm super excited about [05:02.700 --> 05:07.640] my colleague's new idea for CTF. And I've been running one for about three years now. [05:07.640 --> 05:12.220] We have a very specific purpose. Right? What we want to do is train people. I work for Splunk. [05:12.220 --> 05:16.040] They pay for most of my clothes at this point in my life. So there's definitely a vendor training [05:16.040 --> 05:20.380] aspect there. But most of what we're doing is teaching people traditional methods for defense. [05:20.660 --> 05:25.820] We try to make it as realistic as possible. And the competition aspect for our tribe of people, [05:25.820 --> 05:29.640] security folks, this is something inherent to what we do. And this is very fun. This is [05:29.640 --> 05:34.480] enjoyable. Which gets to the fun part. We center ours around a completely fake company that we [05:34.480 --> 05:39.400] call Fropley. It's a home brewing company. We set up fake networks. We do no generated data. [05:39.400 --> 05:44.420] Everything is created up in clouds. We have an Amish cyber barn raising where we get together [05:44.420 --> 05:49.520] and we build up a whole network and infrastructure and then we attack it. Because our primary mantra [05:49.520 --> 05:54.560] here is to keep it real. As we've gone through this over four years, we've done everything from [05:54.560 --> 06:01.540] traditional APT, AWS, Azure, ransomware, insider threats, fraud, spear phishing, you name it. It's [06:01.540 --> 06:05.820] all pretty realistic to what people actually experience in their day to day job. We can go [06:05.820 --> 06:11.620] through very long, complicated multigraphs showing our adversary infrastructure, the OSINT involved, [06:11.620 --> 06:16.180] the lateral movement, everything like that. But Hiram took up 15 minutes so I had to cut the fun [06:16.180 --> 06:22.660] stuff. What I do want to announce is that October 21st, 2019, here in Las Vegas, we'll be deploying [06:22.660 --> 06:28.160] boss of the SOC 4.0. This is our newest iteration and it's the first one where we've ever thought [06:28.160 --> 06:33.680] to include machine learning questions and solutions that will be inherent to the possibility [06:33.680 --> 06:37.840] of winning the competition. So this is pretty exciting for us. We have no idea how well it's [06:37.840 --> 06:42.220] going to go. It's always a little bit of an experiment for us. But we'll be using Splunk's [06:42.220 --> 06:47.500] machine learning tool kit, which is just a really thin wrapper of Python, NumPy, all sorts of stuff [06:47.500 --> 06:51.100] like that using the tool. Of course, if you're really savvy, you can figure out how to export [06:51.100 --> 06:55.700] data and run that yourself on your own laptop. And a lot of people, as I started going through [06:55.700 --> 07:01.460] this talk, asking me, like, that's great, but do you have any actual data? And how can I practice? [07:02.140 --> 07:10.620] Yes, we do. We have two fairly large data sets, 6 gigabytes and 16 gigabytes available right now. [07:10.620 --> 07:14.820] Just go to that link. You can download them. They're in various different formats. And these [07:14.820 --> 07:19.880] are the results of our previous CTFs. So every year, we run these CTFs for one year and then [07:19.880 --> 07:24.680] open source all the data that we put into it. So we'll be running this CTF all over the world for [07:24.680 --> 07:30.040] free. Anyone can play if you want for the next year with the machine learning models built in [07:30.040 --> 07:34.220] and actual questions and answers that are specifically designed to teach people ML and [07:34.220 --> 07:38.220] to stretch that boundary and that comfort level of network defenders. But if you actually want to [07:38.220 --> 07:42.800] apply ML models or play around with a data set where it's quantified and as realistic as we can [07:42.800 --> 07:49.600] make it, feel free. It's all open source and free right there now. I have a true belief that when [07:49.600 --> 07:55.380] CTFs are done, everyone comes out a lot better on the other side. We've done, like I said, over [07:55.380 --> 08:00.680] 15,000 people have played our CTFs. It is incredibly popular. People learn. They have fun. [08:00.680 --> 08:05.060] They do new things. They try data that they've never seen. We've had people walk in the door [08:05.060 --> 08:08.700] have never seen or heard of wire data and they come out on the other side and go, how have I [08:08.700 --> 08:13.220] ever done my job before Snort or how have I ever done anything before Zeek? I want that same [08:13.220 --> 08:18.120] experience for machine learning next year. So we're really looking for that. However, as I've [08:18.120 --> 08:23.140] learned, I as a CTF creator and anyone else that wants to create a CTF in the future, if you're [08:23.140 --> 08:28.360] looking at including machine learning questions into your data, you have to think of ML before [08:28.360 --> 08:32.300] you actually write your questions or design your infrastructure. There are things that are going [08:32.300 --> 08:36.540] to pop out and not be realistic and give a false sense of the value of what machine learning can [08:36.540 --> 08:41.880] actually provide or just basic statistics. If you were here earlier today, you know, I have a [08:41.880 --> 08:47.780] complete rage against the misuse of standard deviation versus alert data. That really gets me [08:47.780 --> 08:51.600] and a lot of network defenders have never seen that, never experienced those sort of things. This [08:51.600 --> 08:55.340] is the sort of training we hope to go through there. If you want to use the previous open source [08:55.340 --> 08:59.640] versions for research, please feel free. There's been multiple papers citing this research already, [08:59.640 --> 09:05.320] especially some of the stuff around SSL certificate hunting. Um, go for it. Um, but they are [09:05.320 --> 09:09.300] awesome, right? There's other ones out there. I really hope you enjoy. I know I'm on the last [09:09.300 --> 09:14.620] talk of the day, so I try to end early. Um, I'm Ryan Kovar. I hope you guys enjoyed this. Thank [09:14.620 --> 09:15.540] you very much for your time.