WEBVTT

00:00.000 --> 00:04.880
Okay, this is going to be a much different talk with many less big words.

00:04.880 --> 00:06.120
So we're going to go there.

00:06.480 --> 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.

00:11.960 --> 00:12.920
I lie often.

00:12.920 --> 00:15.100
Nothing I'm actually going to talk about here is completed.

00:15.280 --> 00:16.320
Yada, yada, yada.

00:16.460 --> 00:17.440
Moving on.

00:17.800 --> 00:18.260
Who am I?

00:18.260 --> 00:20.720
I'm Ryan Kovar, I'm a principal security strategist at Splunk.

00:20.720 --> 00:23.820
I get to fly all over the world, do cool stuff.

00:24.120 --> 00:28.300
I used to run a cybercad or intelligence fusion cell at DARPA before I came to Splunk.

00:28.360 --> 00:29.840
My passion is Blue Team.

00:29.840 --> 00:31.680
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:38.860
I have done a lot of different things in my career.

00:38.860 --> 00:43.320
I've pulled over 6,000 feet of Cat5 cable on an aircraft carrier.

00:43.320 --> 00:46.380
I've de-debugged BNC plugs.

00:46.380 --> 00:48.960
I've done work with the UK Intelligence Committee.

00:48.960 --> 00:50.580
I've done a whole bunch of weird things.

00:50.580 --> 00:57.520
But possibly the most relevant thing to this conversation and my conversion is that, yes, I did fail first grade math.

00:57.520 --> 00:59.480
I said this earlier, people didn't believe me.

00:59.480 --> 00:59.760
Ms.

00:59.760 --> 01:01.620
Johnson, I hope you're rotting in hell.

01:01.620 --> 01:03.320
Who fails a first grader?

01:04.300 --> 01:05.460
Apparently me.

01:05.980 --> 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.

01:12.360 --> 01:14.960
This room, however, does not need to be convinced of that.

01:15.500 --> 01:19.440
So I want to talk about the problem that I did find in my world of being a network defender.

01:20.320 --> 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.

01:28.140 --> 01:33.860
So I want to give you a couple questions around what I've heard network defenders ask me.

01:34.220 --> 01:36.800
Can ML find APTs in my network?

01:37.580 --> 01:38.460
Sure.

01:38.620 --> 01:41.400
Not really sure how, but I'm sure we'll figure it out sometime.

01:41.820 --> 01:45.280
What do you mean 51% success rate is a success?

01:45.280 --> 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?

01:52.460 --> 01:55.580
She's like, are you doing better than flipping the coin?

01:55.800 --> 01:56.660
I said, yeah.

01:56.660 --> 01:58.000
She's like, well, you're rocking it, then.

01:58.000 --> 01:58.780
You're doing a great job.

01:58.780 --> 01:59.800
51%?

02:00.020 --> 02:01.220
That's better than nothing.

02:01.220 --> 02:01.960
I was like, well, okay.

02:01.960 --> 02:02.900
That's a good place to start.

02:03.000 --> 02:05.640
I'm slightly better than average, just like the rest of my life.

02:06.700 --> 02:08.560
They keep talking about types of errors.

02:08.560 --> 02:10.580
I don't care if there's one or two of them.

02:12.540 --> 02:14.600
I don't want to hear about statistics, damn it.

02:14.600 --> 02:16.340
This is a machine learning problem.

02:18.680 --> 02:19.200
Right?

02:19.780 --> 02:23.900
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: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.

02:35.480 --> 02:42.320
We can give you the APTs, the malwares, the models, the machines, the GPUs, everything, right?

02:42.320 --> 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?

02:48.160 --> 02:50.600
We make some very interesting claims.

02:50.960 --> 02:54.960
Machine learning can spot previously unseen malware instantly.

02:54.960 --> 02:56.760
These are quotes from RSA.

02:57.620 --> 03:00.800
ML can detect intrusions before they start.

03:01.060 --> 03:02.980
I love this one.

03:03.000 --> 03:03.660
Right?

03:03.660 --> 03:06.720
We've actually invented time travel and now we're selling it to you.

03:07.540 --> 03:11.700
Replace your tier 1 and tier 2 socket and list with algos.

03:13.740 --> 03:15.480
Those poor, poor tier 1s and tier 2s.

03:15.480 --> 03:16.700
Tier 3 is fine.

03:16.840 --> 03:19.500
But this is all bullshit, to be frank.

03:19.620 --> 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.

03:30.400 --> 03:31.560
So I sat down.

03:31.560 --> 03:33.580
I did some algebraics in my head.

03:34.220 --> 03:36.280
And then I talked to Mr.

03:36.280 --> 03:36.660
Shaw.

03:36.660 --> 03:43.560
And what I realized is, security data scientists and network defenders are two incredible disciplines separated by a common language.

03:43.580 --> 03:43.800
Right?

03:43.800 --> 03:45.440
We're both trying to get to the same object.

03:45.440 --> 03:46.840
We're trying to solve similar problems.

03:46.920 --> 03:49.300
But we literally cannot talk to each other.

03:49.320 --> 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.

03:59.140 --> 04:05.660
Because I don't give a shit about unpacked malware that's been bespoke, unpacked by a reverse engineer.

04:05.780 --> 04:11.700
I need to go through a million executables that are hitting my network every single day and have that reviewed.

04:11.840 --> 04:13.200
This is a very hard problem.

04:13.220 --> 04:16.960
I'm not saying there isn't value, of course, in doing the unpacked malware.

04:16.960 --> 04:17.660
There's quite a bit there.

04:17.660 --> 04:20.640
But for a network defender, I don't understand the problem.

04:20.640 --> 04:21.940
I don't understand the issues.

04:22.060 --> 04:22.920
But there are there.

04:22.920 --> 04:23.280
Right?

04:23.360 --> 04:25.380
So I gave a talk about this at Canvas years ago.

04:25.380 --> 04:30.240
If you haven't been to Canvas, that is literally one of the best conferences I've ever been to.

04:30.240 --> 04:31.200
Life changing for me.

04:31.200 --> 04:32.480
Definitely worth going to.

04:32.500 --> 04:34.080
I talked a lot about this here.

04:34.080 --> 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.

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:52.100
It's a very large CTF.

04:52.100 --> 04:54.860
We've had 15,000 people play in two years.

04:55.200 --> 04:59.760
And I am a true believer in gamification for knowledge.

04:59.800 --> 05:01.160
I believe that is one of the best ways.

05:01.160 --> 05:05.640
I'm super excited about my colleague's new idea for CTF.

05:05.800 --> 05:07.640
And I've been running one for about three years now.

05:07.640 --> 05:09.440
We have a very specific purpose.

05:09.500 --> 05:09.620
Right?

05:09.620 --> 05:11.200
What we want to do is train people.

05:11.320 --> 05:12.220
I work for Splunk.

05:12.220 --> 05:14.580
They pay for most of my clothes at this point in my life.

05:14.580 --> 05:16.680
So there's definitely a vendor training aspect there.

05:16.680 --> 05:20.380
But most of what we're doing is teaching people traditional methods for defense.

05:20.660 --> 05:22.840
We try to make it as realistic as possible.

05:22.900 --> 05:28.580
And the competition aspect for our tribe of people, security folks, this is something inherent to what we do.

05:28.580 --> 05:29.420
And this is very fun.

05:29.420 --> 05:30.260
This is enjoyable.

05:30.260 --> 05:31.740
Which gets to the fun part.

05:31.780 --> 05:35.220
We center ours around a completely fake company that we call Fropley.

05:35.220 --> 05:36.440
It's a home brewing company.

05:36.440 --> 05:37.700
We set up fake networks.

05:37.700 --> 05:39.400
We do no generated data.

05:39.400 --> 05:41.540
Everything is created up in clouds.

05:41.540 --> 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.

05:48.300 --> 05:51.100
Because our primary mantra here is to keep it real.

05:51.540 --> 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.

06:01.520 --> 06:05.000
It's all pretty realistic to what people actually experience in their day to day job.

06:05.160 --> 06:14.080
We can go through very long, complicated multigraphs showing our adversary infrastructure, the OSINT involved, the lateral movement, everything like that.

06:14.120 --> 06:16.920
But Hiram took up 15 minutes so I had to cut the fun stuff.

06:17.580 --> 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.

06:24.900 --> 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.

06:35.220 --> 06:36.660
So this is pretty exciting for us.

06:36.660 --> 06:38.640
We have no idea how well it's going to go.

06:38.660 --> 06:40.760
It's always a little bit of an experiment for us.

06:40.920 --> 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.

06:48.880 --> 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.

06:54.040 --> 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?

07:00.000 --> 07:01.460
And how can I practice?

07:02.140 --> 07:02.940
Yes, we do.

07:02.940 --> 07:10.620
We have two fairly large data sets, 6 gigabytes and 16 gigabytes available right now.

07:10.620 --> 07:11.400
Just go to that link.

07:11.400 --> 07:12.640
You can download them.

07:12.780 --> 07:14.600
They're in various different formats.

07:14.600 --> 07:17.040
And these are the results of our previous CTFs.

07:17.040 --> 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.

07:22.720 --> 07:25.380
So we'll be running this CTF all over the world for free.

07:25.380 --> 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.

07:37.340 --> 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.

07:44.320 --> 07:46.340
It's all open source and free right there now.

07:48.120 --> 07:53.680
I have a true belief that when CTFs are done, everyone comes out a lot better on the other side.

07:54.260 --> 07:57.480
We've done, like I said, over 15,000 people have played our CTFs.

07:57.480 --> 07:58.900
It is incredibly popular.

07:58.900 --> 07:59.820
People learn.

07:59.860 --> 08:00.680
They have fun.

08:00.680 --> 08:01.600
They do new things.

08:01.600 --> 08:03.720
They try data that they've never seen.

08:03.920 --> 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?

08:12.300 --> 08:15.260
I want that same experience for machine learning next year.

08:15.420 --> 08:17.140
So we're really looking for that.

08:17.220 --> 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.

08:31.400 --> 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.

08:39.600 --> 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.

08:46.680 --> 08:51.280
That really gets me and a lot of network defenders have never seen that, never experienced those sort of things.

08:51.340 --> 08:53.500
This is the sort of training we hope to go through there.

08:53.660 --> 08:57.340
If you want to use the previous open source versions for research, please feel free.

08:57.340 --> 09:02.180
There's been multiple papers citing this research already, especially some of the stuff around SSL certificate hunting.

09:02.740 --> 09:03.840
Um, go for it.

09:04.000 --> 09:06.340
Um, but they are awesome, right?

09:06.340 --> 09:07.440
There's other ones out there.

09:07.580 --> 09:08.820
I really hope you enjoy.

09:08.820 --> 09:11.080
I know I'm on the last talk of the day, so I try to end early.

09:11.180 --> 09:13.480
Um, I'm Ryan Kovar.

09:13.480 --> 09:14.480
I hope you guys enjoyed this.

09:14.480 --> 09:15.540
Thank you very much for your time.

