WEBVTT

00:00.000 --> 00:01.600
All right, I think we got started.

00:04.020 --> 00:06.380
If this is not loud enough, let me know.

00:06.380 --> 00:07.500
Just remind me of it.

00:07.500 --> 00:08.640
I hope it works.

00:08.860 --> 00:11.880
And if anything should not be large enough, also just let me know.

00:11.880 --> 00:14.380
I can always zoom in, but I hope this should all work out.

00:15.400 --> 00:26.060
So I'm here today because I am releasing the first real release of Enzyme, which is a tool I've been working on for, I think, two or three years now.

00:27.320 --> 00:31.700
And I'm going to go through what it is, what it does.

00:31.880 --> 00:35.080
And I wanted to check first, has anyone heard about the tool before?

00:35.080 --> 00:37.280
Because there is a released version already.

00:37.320 --> 00:39.100
I see a few hands going up.

00:39.100 --> 00:39.720
Okay.

00:40.700 --> 00:50.060
And I'll try to also cover kind of a few basics of how wireless networks work and what some problems with the security of those networks are.

00:50.060 --> 00:54.120
You can always either interrupt me if something is completely unclear.

00:54.500 --> 01:00.100
And I think we'll also have a good amount of time for question and answer after this talk.

01:00.900 --> 01:03.020
So just a few things about me.

01:03.020 --> 01:04.100
I'm from Germany originally.

01:04.100 --> 01:05.600
You can probably hear it.

01:05.900 --> 01:09.060
I did start the Greylock project back in 2009.

01:09.060 --> 01:11.720
We actually had a birthday party here in Vegas this year.

01:11.720 --> 01:13.020
It was 10 years ago.

01:14.940 --> 01:17.440
Then a company behind it in 2013.

01:17.600 --> 01:26.080
I moved from Hamburg in Germany to Houston in 2015, which was an interesting move for sure.

01:26.560 --> 01:30.820
Started Enzyme in 2017 and had an initial release in the same year.

01:30.820 --> 01:33.540
I think I released it around DerbyCon 2017.

01:34.360 --> 01:36.360
Used to be a software developer.

01:36.520 --> 01:41.560
I'm going to make some people smile up front here because they used to be software developers together with me.

01:42.280 --> 01:44.960
I'm the CTO and the founder over at Greylock now.

01:45.540 --> 01:49.580
This word Greylock is going to come up a few times.

01:49.580 --> 01:54.400
Very important that I'm going to show Greylock because that's the tool I'm obviously the most familiar with.

01:54.640 --> 02:01.220
You can possibly do the same things with an ELK stack or Splunk or something like that if you send the data into that instead of Greylock.

02:01.220 --> 02:03.180
So don't consider this a vendor talk or something.

02:03.180 --> 02:05.920
This is just the tool I'm obviously the most familiar with.

02:07.220 --> 02:09.240
And Enzyme is my side project.

02:09.240 --> 02:11.080
It's not affiliated with Greylock.

02:11.120 --> 02:22.060
I'm saying that because you should not expect the same level of support and help and everything that comes from a company like Greylock because it would probably be very easy to expect that.

02:22.060 --> 02:23.480
It's my side project.

02:24.000 --> 02:36.920
I'm personally, I'm a huge fan of side projects because when you make the transition from being a developer to being more of a manager and you're managing other engineers, it's very helpful to have something that you're still building yourself because it makes you,

02:36.920 --> 02:44.320
it reminds you constantly of the challenges that software developers are facing and I think it helps a lot when you work together with them.

02:44.320 --> 02:45.800
So that kind of keeps me in the loop.

02:46.060 --> 02:49.280
The trick is to never have that actually interfere with what your real job is.

02:49.280 --> 02:55.000
So it's mostly a weekend, holiday, after work kind of thing when I really want to write some lines of code.

02:55.580 --> 02:57.980
I'm at underscore Leonard on Twitter.

02:57.980 --> 03:04.320
I was specifically asked to point out that my last name is Coltman and I'm not affiliated with system D either.

03:05.100 --> 03:07.100
I was asked to say that.

03:09.000 --> 03:12.020
So I'm making this joke every single time.

03:12.020 --> 03:16.860
I'm starting to get tired of it myself, but I spent a lot of time for the second picture that's about to come.

03:16.860 --> 03:17.620
This is Hamburg.

03:17.620 --> 03:25.620
Moved from there, did this, and then moved there to Houston.

03:26.280 --> 03:28.900
So we are, Greylock itself is based in Houston.

03:28.900 --> 03:30.380
I live in Houston.

03:30.760 --> 03:34.100
It's kind of a little bit of a background of what happened in the last years here.

03:34.740 --> 03:41.800
I'm going to go over just a quick introduction about what Enzyme is, what it does, and also what it's not.

03:42.660 --> 03:45.380
A few things about architecture deployment configuration.

03:45.380 --> 03:46.620
This is not going to be a tutorial.

03:46.620 --> 03:52.500
I just want to give you an impression of how you set it up and how it's architected.

03:52.600 --> 04:02.940
We're going to go over some detection methods, some threat hunting that you can do with it, and then I think the biggest part of this presentation today is going to be a live demo, actually.

04:03.240 --> 04:04.860
And then after that we're going to have Q&A.

04:04.860 --> 04:15.520
I want to say a few things about what I really want to work on after this, so what's going to come after this initial release, and where you can actually download it, and all these fun things.

04:15.520 --> 04:20.740
So I tried to summarize this in one sentence and I ended up with this whole slide.

04:21.360 --> 04:26.960
So Enzyme is an open source tool that reads Wi-Fi frames using network adapters.

04:26.960 --> 04:31.320
So I guess a bunch of you in this village here will know these little alpha network adapters.

04:31.320 --> 04:45.840
You can put them in monitor mode, and it's almost like a promiscuous mode on a wired network interface where they're just going to read everything that comes in, and you can use TCP dump, or Wireshark, or tools like that to read these frames that are going through the air.

04:46.720 --> 04:55.080
Enzyme is reading every single management frame that is going over the air, and it is parsing it, and it's sending it to a Greylock instance.

04:55.080 --> 04:58.740
Like I said, if you put a lock stash in the middle, you can send that anywhere else, too.

05:00.320 --> 05:19.900
And that means that you're going to end up with a repository of frames that were recorded in a lock management system that you can then later search over, filter, use for forensics, use for incident response, because I think that if you catch someone who's walking around with a,

05:19.900 --> 05:30.460
I don't know, with a Wi-Fi pineapple, or someone is actually targeting people very specifically in the parking lot, I think we're all struggling then with, okay, what are we going to do next, right?

05:30.460 --> 05:32.860
You know that, but what actually happened?

05:32.860 --> 05:34.080
Did someone connect to it?

05:34.080 --> 05:36.580
Was only one specific device targeted?

05:36.580 --> 05:40.020
Was it just spraying SSIDs and was hoping someone connects to it?

05:40.020 --> 05:43.740
This is something that you can do the moment you send this stuff into a lock management system.

05:43.740 --> 05:45.460
And that's pretty much what Enzyme used to do.

05:45.460 --> 05:48.160
That's what the currently released version of Enzyme does.

05:48.620 --> 05:55.780
This new release that is coming out now is also allowing you to raise alerts automatically.

05:55.800 --> 05:59.820
So it does things that are very similar to what, I think, what Kismet does.

06:00.340 --> 06:02.860
Why it's not Kismet is, however, on the next slide.

06:03.960 --> 06:20.780
You can run it on a Raspberry Pi, it comes with a web interface, and it's not only employing, I would say, these classic signature-based alerts of, well, I'm expecting this SSID to only be served by access points with these MAC addresses, and then when another MAC address pops up,

06:20.780 --> 06:21.720
I get an alert.

06:21.920 --> 06:26.420
It does that, too, but I think that is so easy to evade that I don't think that's enough anymore.

06:26.420 --> 06:31.180
So it does a few more things that I'm going to go over in just a moment, too.

06:31.500 --> 06:37.940
And then I always, I'm a big fan of having stuff that's easy to be deployed and easy to be configured.

06:38.480 --> 06:51.740
That's actually something that if you go out and you want to try this out, I'm very interested in where you, if you get stuck somewhere, if something was confusing, because I hope that the configuration is fairly easy, but then I wrote it, so for me it's fairly easy.

06:51.740 --> 06:53.580
I hope that it's also easy for you.

06:54.220 --> 07:00.720
I'm running this in production for a while now at home and in the office, and we are over at the Blue Team Village.

07:00.720 --> 07:03.120
There's a sensor running under a table.

07:03.440 --> 07:08.500
It runs pretty stable, and it runs really well on a Raspberry Pi 3.

07:08.680 --> 07:12.100
I'm also running it on one of the new Raspberry Pis, the 4s.

07:12.840 --> 07:13.880
That's better.

07:13.880 --> 07:24.260
It's going to be faster, and especially for an environment like here, where you just have a lot of stuff going on, a lot of devices, a lot of access points, if you can get a Raspberry Pi 4, that might be a good idea.

07:24.620 --> 07:29.480
Because what it's not, it is definitely not designed to have a low resource footprint.

07:29.480 --> 07:36.240
As in, I'm not saying I'm just wasting resources for fun, but it does a bunch of stuff that are simply resource intensive.

07:36.640 --> 07:44.520
That means that if you're looking for something that you can deploy on a tiny embedded system or something like that, this is not it.

07:44.840 --> 07:50.780
This needs probably around at least 256 megabytes of memory.

07:51.020 --> 07:54.060
Probably a good idea to have at least two CPU cores.

07:54.220 --> 07:56.120
Like I said, it runs on a Raspberry Pi.

07:56.120 --> 07:59.500
Not going to run on one of these small Hack 5 devices, for example.

07:59.520 --> 08:01.380
That's probably not going to be enough.

08:02.500 --> 08:07.500
And then it's also not designed to be used for any kind of war driving or reconnaissance tasks or something like that.

08:07.500 --> 08:12.280
It's supposed to be run stationary at one point, not be moved around a lot.

08:12.680 --> 08:16.500
It really likes to be in a somewhat predictable environment.

08:16.500 --> 08:17.860
I'm going to show why in just a second.

08:17.860 --> 08:22.660
So it's also nothing where you... I had one feature request, if we can hook up a GPS receiver into it.

08:22.740 --> 08:29.580
Probably could, but the whole system is not designed to be used to walk around with, basically .

08:29.840 --> 08:34.280
I have heard, or I found this interesting, that red teams were interested to use it for recon.

08:34.280 --> 08:47.220
Not for alerting necessarily, but to send, basically point a Yagi antenna or something at an object that they're looking at and just record a few hours of data and see what is usually connecting to what.

08:47.260 --> 08:49.120
What kind of devices do we have?

08:49.120 --> 08:51.040
What SSIDs are they looking for?

08:51.040 --> 08:52.860
I could totally see that.

08:53.000 --> 08:55.720
And that would be something that would definitely work.

08:56.520 --> 09:01.580
I've never heard this from more than one person, so I'm not sure if that's actually the case or if there's better tools for that out there.

09:03.040 --> 09:04.240
This is a screenshot.

09:04.240 --> 09:07.720
So this is the web interface that comes with it.

09:07.980 --> 09:16.040
This is being served out of the same binary as Enzyme itself, so when you start it, it just tells you, hey, on this IP address and this port, you can reach the web interface.

09:16.940 --> 09:22.260
Supports TLS on top of it, so you don't have to mess with a proxy in front of it.

09:22.500 --> 09:25.320
And I'm going to show more of this in the live demo in just a second.

09:26.240 --> 09:28.160
This is a network detail page.

09:28.160 --> 09:35.360
You see here we're recording the beacon rate of this specific access point and the SSID that it's advertising.

09:35.580 --> 09:37.560
And then we got a list of all the channels.

09:37.560 --> 09:42.380
And you see that we have a, there's a red line, that is the upper expected signal strength.

09:42.380 --> 09:44.920
We have a green line, that's the lower expected signal strength.

09:44.920 --> 09:48.220
And then we got the blue line, that's the actual signal strength that we're receiving.

09:48.220 --> 09:50.680
Also more about that in just one second.

09:52.720 --> 09:55.520
The architecture in the end is pretty simple.

09:55.740 --> 09:59.600
You have the Enzyme process, that's the binary you're starting.

09:59.700 --> 10:03.220
That's connecting to a post-crestial database.

10:03.220 --> 10:07.320
That's where it's keeping state and also some information that it's using later for alerting.

10:07.660 --> 10:15.460
And then to whatever box this is running on, you're collecting, you're connecting at least one Wi-Fi interface that supports monitor mode.

10:15.540 --> 10:19.180
Works fantastic with the standard alpha adapters.

10:19.180 --> 10:22.100
I think it works great with the Panda 5 and the Panda 6.

10:22.540 --> 10:23.800
Those are going to work.

10:23.800 --> 10:26.060
You don't have to do anything as long as the interface is up.

10:26.060 --> 10:28.760
Enzyme is automatically going to put it into monitor mode.

10:28.760 --> 10:30.900
Going to get a PCAP handle on top of it.

10:30.900 --> 10:34.300
It's going to start reading the frames that are coming off the air.

10:34.300 --> 10:37.100
I'm going to show the configuration of this also in just a second.

10:37.500 --> 10:38.880
And then there's the Greylock cluster.

10:38.880 --> 10:40.520
This one is, by the way, that's optional.

10:40.520 --> 10:42.840
You can also start it simply not connected to Greylock.

10:42.840 --> 10:48.200
If you don't want to have the part where it sends messages into Greylock, that's fine.

10:48.200 --> 10:49.480
You don't need to do that.

10:49.940 --> 10:58.140
Then just leave that configuration out and it's just going to run and everything's locally and you don't have this long-term repository of frames, basically, which is completely fine.

10:58.140 --> 10:59.480
Depends on your use case.

11:00.020 --> 11:07.980
If you want to try this out, maybe download the Greylock OVA or Elk Stack or Splunk or whatever you have already, send it in there and just see what you get out of it.

11:07.980 --> 11:10.960
I'm really interested in the use cases that you also find for this.

11:12.360 --> 11:19.780
I said this was not going to be a tutorial, but I just wanted to show you that this is literally all you have to do to get it running on a Raspberry Pi.

11:19.780 --> 11:22.260
So you just install PostgreSQL.

11:22.420 --> 11:23.620
You're going to install Java.

11:23.620 --> 11:24.760
That's what it's written in.

11:25.980 --> 11:27.560
You're downloading the depth file.

11:27.560 --> 11:28.400
You're installing it.

11:28.400 --> 11:31.140
You're changing the configuration file and you start it.

11:31.800 --> 11:32.880
That's all you have to do.

11:32.880 --> 11:34.360
It's going to tell you when it starts up.

11:34.360 --> 11:37.360
It's going to tell you where to point your browser at.

11:37.360 --> 11:41.740
You configure the interface that it's going to listen on in the configuration file.

11:42.760 --> 11:44.020
And that's all you need to do.

11:44.020 --> 11:46.000
That's how fast it is usually.

11:48.340 --> 11:57.840
And there's one other important thing, which I might remember later on, but that's really the steps that you need to do to deploy it.

11:58.820 --> 12:01.380
The... I'm wondering where the... oh yeah, split this up.

12:01.380 --> 12:08.200
So going through the detection methods that it has out of the box, these are these really, really classic alerts, right?

12:08.200 --> 12:12.880
There's an unexpected MAG address that's serving our network.

12:12.880 --> 12:21.000
It's serving it with an unexpected security setting, serving it on an unexpected channel, or there is an access point that is serving an unexpected SSID.

12:21.100 --> 12:25.720
What you have to do is you tell Enzyme in a configuration file, that's the screenshot down there.

12:26.180 --> 12:28.960
You basically give it a list of its networks.

12:28.960 --> 12:30.800
That's this array there that's defined there.

12:30.800 --> 12:33.160
And you tell it, okay, this is one network.

12:33.160 --> 12:34.460
This is its SSID.

12:34.460 --> 12:36.440
This is the channels it's usually running on.

12:36.440 --> 12:38.860
This is the security that I'm expecting on it.

12:39.000 --> 12:44.920
And these are the BSSIDs, so the station MAG addresses basically, that it's being served from.

12:44.920 --> 12:45.980
That's all you do.

12:45.980 --> 12:48.820
You start Enzyme and the alerts for this are already set up.

12:48.820 --> 12:51.360
It does everything behind the scenes automatically for you.

12:51.860 --> 12:54.540
You see the fingerprints in there.

12:54.540 --> 12:56.860
I'm gonna explain that also in just a second.

12:58.480 --> 13:00.220
I'm calling this anomaly detection.

13:00.220 --> 13:04.580
It's not... I mean, this is a little like standing and telling you about AI and next gen security.

13:04.580 --> 13:10.960
It basically looks at a sliding window of what the signal strength was.

13:10.980 --> 13:16.800
And the moment the signal strength deviates from its expected value too much or for too long, it's gonna raise an alert.

13:16.800 --> 13:26.060
This could be that after we record for a day, what this access point up there usually reaches our Enzyme sensor with from a signal strength perspective.

13:26.200 --> 13:34.280
If someone is spoofing that from across the hallway, even if they're perfectly spoofing it, it's really hard to spoof the signal strength.

13:34.280 --> 13:41.140
So you're gonna have between all these expected frames, there's gonna be perfectly spoofed frames that have a much different signal strength.

13:41.240 --> 13:43.140
And Enzyme is trying to figure this out.

13:43.140 --> 13:56.000
It's trying to find those and it's gonna automatically for all the networks that you defined as your networks in that configuration file, it's gonna run in the background constantly checking if there's anything going on with the weird signal strength.

13:56.000 --> 14:01.800
That is still fairly experimental because I wanna see how it works in the real world if you try it out.

14:02.000 --> 14:04.920
It has worked pretty well for me so far.

14:05.260 --> 14:07.120
But there are some tuning parameters.

14:07.540 --> 14:11.300
It's not gonna, if you turn it on out of the box, you're probably gonna get a bunch of false positives.

14:11.300 --> 14:14.660
So you have to tune these parameters a little and just see how the data behaves.

14:14.660 --> 14:16.180
But I've tried it out.

14:16.740 --> 14:22.400
I walked in the garden with a raspberry pipe, turned that thing on, came back, alert was there, signal strength anomaly.

14:22.400 --> 14:23.680
So it can work.

14:23.680 --> 14:26.600
I wanna hear how it actually works for you in practice if you wanna try it out.

14:26.600 --> 14:31.020
So just consider it experimental for now.

14:31.600 --> 14:34.100
The other one is an unexpected beacon rate.

14:34.260 --> 14:40.640
So we're constantly recording how many beacons we're getting from per station or per access point.

14:40.840 --> 14:53.700
If someone would go in and would start to very aggressively send its own beacons, that would raise this beacon rate even if the frames are, again, if they're really well spoofed, the beacon rate would change and Greylock would also alert on that on a threshold basis.

14:53.700 --> 14:56.920
For this, it's not trying to do this automatically for you.

14:56.920 --> 14:57.980
You give it a threshold.

14:57.980 --> 15:00.540
You say this is how many beacons we're usually seeing.

15:00.560 --> 15:03.480
And then the moment it crosses over that for too long, you're getting an alert.

15:03.600 --> 15:04.960
That works really well.

15:04.960 --> 15:07.020
It depends a little on the access point that you're using.

15:07.020 --> 15:14.940
If the access point starts to change the beacon rate a lot, then you might be out of luck for that.

15:14.940 --> 15:18.600
But for those that I've tried it with so far, it worked really well.

15:20.240 --> 15:21.720
Then there's fingerprinting.

15:21.960 --> 15:30.960
That is something that is the most interesting part of the new version of Enzyme.

15:30.960 --> 15:41.320
So what happens is that when we receive a beacon frame or probe response frames, those are the two frame types that are really advertising a network.

15:41.380 --> 15:45.260
So this access point up there is constantly sending beacon frames saying, I am here.

15:45.260 --> 15:46.200
These are my settings.

15:46.200 --> 15:47.780
This is how you connect to me.

15:47.780 --> 15:49.300
This is my SSID.

15:49.480 --> 15:55.280
And this is how on your phone, for example, the list of access points and range is being built.

15:55.660 --> 16:04.960
A probe response is when your phone asks for, hey, is this network in range, then this device might reply and say, yes, I'm here, and it can connect.

16:04.960 --> 16:07.920
So these are the two frame types that are advertising a network.

16:08.100 --> 16:22.480
And they have in their payload, if you look at Wireshark and you look at the details, in the payload, there is a part of the payload that's called the tag parameters.

16:22.480 --> 16:28.060
And tag parameters are stuff like, hey, I'm this access point and I'm operating on these frequencies.

16:28.060 --> 16:29.080
I'm using these channels.

16:29.080 --> 16:31.020
So don't even try to connect on other channels.

16:31.240 --> 16:33.900
There's stuff in it like this is my regulatory domain.

16:33.900 --> 16:38.740
I'm in the North American regulatory domain, so I'm not even going to be on, I believe, channel 14.

16:39.040 --> 16:40.680
These are my security settings.

16:40.680 --> 16:42.540
These are my encryption options.

16:42.540 --> 16:43.180
All of that.

16:43.180 --> 16:45.180
And that usually doesn't change.

16:45.260 --> 16:51.860
And if you take that, parse it out, and basically hash the result of all of that, you get a fingerprint.

16:51.860 --> 16:57.360
And this fingerprint is actually very, very, very, very different per device.

16:57.360 --> 17:07.500
So I've not yet seen the fingerprint been the same twice or have seen a collision, which means that this device over there has a fingerprint like what you see over there.

17:07.680 --> 17:09.780
And we can identify it by that.

17:09.780 --> 17:16.920
Now, every other device from the same vendor with the same firmware on the same chipset and the same network settings is also going to have the same fingerprint.

17:17.250 --> 17:21.900
But we can now say, okay, for my network, I'm expecting this fingerprint.

17:21.960 --> 17:29.360
If I'm seeing another fingerprint, this is simply different hardware, different chipset, a different firmware that is trying to advertise my network here.

17:29.360 --> 17:31.320
That is certainly not good.

17:31.320 --> 17:35.220
And the cool thing is that you can actually fingerprint known bad devices.

17:35.220 --> 17:40.080
So a pineapple nano management access point, that's its fingerprint.

17:40.080 --> 17:41.700
And I've not seen that anywhere else yet.

17:41.700 --> 17:47.100
That is only a Wi-Fi pineapple nano management access point.

17:47.100 --> 17:52.420
So it comes with a list of, I believe, probably six or seven of these devices that it automatically identifies.

17:52.860 --> 18:00.720
So if someone should own a Wi-Fi pineapple in this room, I challenge you to later turn that on when we're in the demo.

18:00.720 --> 18:04.880
It should immediately pop up and say, there's a Wi-Fi pineapple somewhere around here.

18:04.880 --> 18:08.360
It does that also for deauthor boards.

18:08.500 --> 18:14.080
For that one, I'm still trying to see if that's really the deauthor or if it's just the ESP8266 chip on it.

18:14.080 --> 18:16.640
I think there might be some false positives on that one.

18:16.880 --> 18:24.580
But it works good with Wi-Fi Fisher, the pineapple nano, and the pineapple, like the larger one, the tetra or whatever they call it.

18:24.640 --> 18:28.320
It will identify those automatically for you when someone turns them on.

18:28.320 --> 18:29.620
But we'll see that in the demo.

18:30.520 --> 18:32.000
Then there's deception.

18:32.000 --> 18:34.620
That's one more thing they've built into it.

18:35.260 --> 18:46.300
Which is basically, if you add another Wi-Fi adapter that also supports packet injection or frame injection, which there's a list in the README that tells you which ones do.

18:47.160 --> 18:50.400
Most of the alphas and the pandas do, so it's no longer a problem.

18:52.620 --> 18:56.600
Enzyme is actually going to start sending probe requests.

18:56.600 --> 19:01.880
So Enzyme is going to act like an iPhone, for example, and say, hey, I'm looking for these networks.

19:02.000 --> 19:04.280
Is any of those in range?

19:04.620 --> 19:07.280
And none of those networks actually exist.

19:07.280 --> 19:21.120
You configure them like this, and you basically say, fake this transmitter MAC address and start looking for these SSIDs.

19:21.120 --> 19:25.800
If anything replies to that, that's not good, because those don't exist.

19:25.800 --> 19:29.860
There's no legit reason for anything to reply to that.

19:29.860 --> 19:34.560
Except if you're at an airport, then you might sniff up a United Wi-Fi sometimes.

19:34.560 --> 19:37.680
But if you're somewhere in the middle of nowhere in an office, probably not going to happen.

19:37.780 --> 19:44.340
And you can craft these SSIDs in a way that you might even attract attention of an attacker.

19:44.340 --> 19:48.020
Like for example, you could fake a high-risk employee iPhone.

19:48.020 --> 19:56.920
You look for a corporate network of three different locations in San Francisco, somewhere in Asia, and somewhere in New York City.

19:56.920 --> 20:02.540
You're looking for all the airport lounges, and you're looking for all the United Wi-Fis and all of that stuff.

20:02.580 --> 20:09.380
And for an attacker, when that person spins up his attack platform, it's going to see like, this is a very interesting phone.

20:09.380 --> 20:14.260
Let's see if we can answer to some of those, except none of those actually exist.

20:14.340 --> 20:14.840
You know?

20:14.840 --> 20:22.680
So if that happens, that is a pretty clear indication that someone's trying to lure someone to connect to a rogue access point.

20:22.820 --> 20:26.220
For this to work, that's all you need to do.

20:26.220 --> 20:27.660
That's in the enzyme config file.

20:27.660 --> 20:34.980
You basically just tell it what's the device name of the device that's sending, which channels do you want to send on, and then you define these, I call it traps.

20:34.980 --> 20:43.760
You're literally setting up traps of non-legit networks, and if anyone starts interacting with that, now you want to go in your log management system and see, okay, who is that?

20:43.760 --> 20:44.580
What's the signal strength?

20:44.580 --> 20:45.760
Is that person moving?

20:45.760 --> 20:47.160
Has that person been here before?

20:47.160 --> 20:48.540
Who else is he targeting?

20:48.620 --> 20:49.840
You can do all those things.

20:49.840 --> 20:52.140
So that's when it really starts to come together.

20:53.780 --> 21:04.960
And then you can, of course, I think I talked about this a little bit already, if an attack was detected, you can use a log management system like Greylock and go in and figure out what exactly happened.

21:04.960 --> 21:06.300
Who connected to this?

21:06.560 --> 21:11.960
Was this very targeted, or was someone just spraying responses and beacons hoping that something happens?

21:13.020 --> 21:14.720
So we're going to do a live demo.

21:18.690 --> 21:19.850
Here we go.

21:21.670 --> 21:28.650
My friend up here in the first row probably knows that I spend most of the time in software projects finding background images for login pages.

21:29.710 --> 21:31.230
It's kind of what I do.

21:31.390 --> 21:33.230
So it's fully authenticated.

21:34.010 --> 21:39.170
If you dive into the code, you'll see that a lot of it is weirdly similar to how Greylock is architected.

21:39.850 --> 21:41.910
So it's very similar.

21:42.430 --> 21:43.650
It's fully authenticated.

21:43.650 --> 21:48.430
Enzyme is basically spinning up REST APIs that you can only connect to if you have a token.

21:48.430 --> 21:50.390
Token is exchanged here during login.

21:51.830 --> 22:01.950
And so you can interact with it through APIs, too, because this is really just a React JavaScript-based web application that's just firing out REST requests.

22:01.950 --> 22:09.410
So if you want to automate anything, if you want to build your own interface, if you want to build a CLI interface, all these APIs are there because Enzyme itself is using them.

22:09.530 --> 22:10.690
So I log in here.

22:11.510 --> 22:15.530
What you're seeing, basically, oh, here we go.

22:15.690 --> 22:16.470
There's the alerts.

22:16.470 --> 22:20.550
I expected that if I start this up in here, I'll probably get an alert or two.

22:21.690 --> 22:28.710
So this is all running locally because I turned off pretty much all the network on this device here earlier today.

22:28.710 --> 22:37.290
So I only have these charts look weird because I started up, I shut it down, and then I think we have about like half an hour of constant data going on here right now.

22:37.410 --> 22:42.330
But what you see is we've collected about 83,000 wireless frames so far.

22:42.330 --> 22:47.770
We're seeing about 428 distinct clients right now and about 238 access points.

22:47.770 --> 22:55.090
I don't think that there's actually 238 access points in range because what we see here already, these are the active alerts.

22:55.410 --> 22:58.210
We see all these known fingerprints.

22:58.310 --> 23:18.970
If I click on one, this one, for example, you'll see, sure, you'll see that the SSID Bravo, which is one of those, I don't know, I only see those during DEF CON, one of those around here was advertised by one of these deauthing boards.

23:19.110 --> 23:20.010
It just detected that.

23:20.010 --> 23:22.930
Spins up and sees, I know that fingerprint, that's no good.

23:23.070 --> 23:24.890
And we see it was on channel 11.

23:25.470 --> 23:27.190
We get an antenna signal here.

23:27.290 --> 23:31.630
And we also see that that's the fingerprint of the device that does it.

23:32.970 --> 23:39.410
I think we're getting pretty much flooded here right now with this, which I expected, honestly.

23:39.410 --> 23:42.390
But we can go into Greylock and see what exactly it is.

23:42.670 --> 23:46.090
This one here, for example, is WiFi Pineapple Nano or Tetra.

23:46.090 --> 24:04.430
For those two, we can't really distinguish which one it is, but it's definitely one of the attack frames, which means it is, it's a beacon that comes out of the Pineapple firmware frame injection, which is this one here, which I think from the SSID, we can see that this is probably really not a legitimate network we want to connect to,

24:04.430 --> 24:05.010
right?

24:06.410 --> 24:08.950
So that's the overview here.

24:11.190 --> 24:14.330
We see here, this is the channels that we're currently looping over.

24:14.330 --> 24:18.530
When it's highlighted blue, that means that the adapter is currently tuned to that channel.

24:18.530 --> 24:22.250
So you see live kind of which channels we're currently hopping over.

24:22.430 --> 24:24.750
We see how many malformed frames we're getting per channel.

24:24.750 --> 24:28.630
And then we also see how many different frame types we're getting.

24:28.630 --> 24:36.890
And as expected, we're getting mostly beacons and probe responses and then a bunch of deauth frames, obviously, in this environment.

24:37.410 --> 24:42.790
Click on networks, I'm getting a list of all the wireless networks that are currently in range.

24:42.790 --> 24:46.470
Earlier when I turned it on here, I figured out we do support emojis.

24:46.730 --> 24:49.930
So someone is advertising an emoji network, so that works.

24:50.850 --> 24:52.970
We got this list here of all the networks.

24:55.410 --> 25:01.170
And if I click on one, so let's say... Caesar's Resorts.

25:01.490 --> 25:02.670
Click on it.

25:02.830 --> 25:05.110
That's loading all the channels that are in this network.

25:05.110 --> 25:07.470
You see this one is only active on channel 11.

25:07.470 --> 25:09.570
We only receive two frames, though, so that's boring.

25:09.570 --> 25:11.070
Let's see if we got another one.

25:13.170 --> 25:13.850
Oops.

25:14.710 --> 25:15.550
Caesar's Resorts.

25:15.550 --> 25:16.550
Take this one.

25:20.080 --> 25:20.760
Click on it.

25:20.760 --> 25:25.960
We see on channel 6 here we got about two and a half thousand frames that were recorded.

25:25.960 --> 25:26.920
Click on that.

25:27.360 --> 25:29.240
And then we're getting... whoops.

25:32.020 --> 25:38.720
Then we're getting... you see this is when I started it, so it's only... only have a few minutes of data here.

25:38.720 --> 25:43.600
But you see per channel you're basically getting the signal strength, what the expected signal strength was.

25:43.600 --> 25:47.160
You see the fingerprints that we see on this channel, so that's this specific access point.

25:47.160 --> 25:48.900
You see the expected signal quality.

25:49.600 --> 25:51.000
All of this is here.

25:51.000 --> 25:58.820
If I click on the system status, you'll see that we see which alerts are currently configured.

25:59.120 --> 26:04.940
You see that we would be warned if there's an unexpected BSSID, SSID or channel or fingerprint.

26:05.140 --> 26:10.280
Would be warned if the crypto settings on one of our networks suddenly changes.

26:10.280 --> 26:18.600
If there's a known fingerprint around here, unexpected signal print, fingerprint signal anomaly and also the beacon rate anomaly.

26:18.980 --> 26:23.600
This system, this environment here is actually so noisy that I can't... now it's stopped.

26:23.820 --> 26:24.300
All right.

26:24.300 --> 26:26.200
Currently do not have any active alerts left.

26:26.200 --> 26:30.680
So they also stop the moment the same alert is no longer seen, they disappear from that list.

26:30.680 --> 26:35.940
So this is a good moment if someone has a pineapple, you want to turn that on now, this should pop up here then in just a moment.

26:38.840 --> 26:44.640
Then if we go back... I think someone turned it on for a moment because we're seeing a pretty good spike in access points.

26:44.640 --> 26:50.040
So that is simply someone using random MAC addresses probably, which then identifies a different access point all the time.

26:50.040 --> 26:51.980
So that's what we're seeing here.

26:55.020 --> 27:00.880
Now if I go into Greylock, you'll see that this data is coming in here.

27:01.380 --> 27:06.160
If I click on a view, I can say, okay, I want to get my summary of all the data that comes out of Enzyme.

27:06.440 --> 27:20.040
You'll see that I'm getting a histogram here of how many deauthentication frames we've seen, how many distinct devices that were transmitting deauthentication frames, get an overview here of the frames and subtypes that we're seeing.

27:20.040 --> 27:25.800
So this is the total number of frames that were recorded, and then also which subtypes they were.

27:25.800 --> 27:33.200
So you see here we got a few malformed ones, but then disassociation, association, response, authentication, probe request, probe response, beacon.

27:33.360 --> 27:37.200
It kind of gives you an overview of what's currently going on in the environment.

27:37.280 --> 27:44.020
Then if I click on it, this is where it's now really starting to feel like this is a very long-term wire shark, you know?

27:44.020 --> 27:53.500
If I click on it, you'll see that, okay, we have recorded a probe request where this MAC address was looking for the network alpha, which was this signal strength on this frequency.

27:53.500 --> 27:56.680
If I click on it, we're getting this broken down.

27:56.680 --> 27:58.220
Let me see if I can make this a little bigger.

27:59.840 --> 28:01.600
So you will see this broken down.

28:02.540 --> 28:11.920
And what I can do is I can now say, okay, I am interested in all the devices that are looking for the SSID alpha, okay?

28:11.920 --> 28:33.720
So what I can do, I can go in and I can say, okay, in my enzyme messages, show me everything from the last hour where the subtype equals probe request and the SSID equals alpha.

28:33.760 --> 28:35.060
Execute that.

28:35.060 --> 28:36.780
This comes back immediately.

28:37.120 --> 28:40.660
And now we get a list of all the probe requests for the SSID alpha.

28:41.000 --> 28:43.720
And let's say I want to get an overview of who requested this.

28:43.980 --> 28:48.300
So you'll see that we have a field here called transmitter.

28:48.320 --> 28:49.880
This is the IP address.

28:49.880 --> 28:55.180
This is the MAC address of the device that was asking for this network.

28:55.240 --> 29:08.520
And if I click on it, click on aggregate, and we're getting a list of all the MAC addresses that have probe request this SSID in the last hour.

29:08.520 --> 29:10.060
So you can click this stuff together like this.

29:10.060 --> 29:11.560
You can save it as a dashboard.

29:11.560 --> 29:13.520
You can create reports out of it.

29:13.520 --> 29:18.820
But it becomes a very, very powerful, really long-term PCAP that you can use for forensics.

29:18.820 --> 29:20.400
You can use for threat hunting.

29:20.440 --> 29:32.820
If you want to check if something just deviates from what you usually see, you can go and you can run real forensics on long-term network data, which I think is a really powerful concept.

29:34.100 --> 29:40.080
And we can also go in and look at an alert summary.

29:40.080 --> 29:40.720
And this is a really powerful summary.

29:40.840 --> 29:46.340
So this one here is now showing me how many alerts we got here.

29:46.480 --> 29:49.280
It shows me what the targets were.

29:49.920 --> 29:56.920
So you see here the SSIDs that were used in an attack.

29:57.180 --> 30:00.640
You can see here the types of the alerts.

30:00.640 --> 30:12.180
So you see that we had 18 alerts for known bad devices, which were 18 for Wi-Fi pineapples and 5 for a de-authentication board.

30:13.520 --> 30:16.780
And we had... where are we?

30:17.700 --> 30:22.640
Yeah, I think that is the types of devices that we are getting.

30:22.840 --> 30:34.460
And if we go in and we say we want to see this, this here, and also this one here, United Wi-Fi, there's someone already went into that trap.

30:34.460 --> 30:39.460
Someone already triggered an alert because they responded to something that they really shouldn't be responding to.

30:40.220 --> 30:52.020
And I think we should be able to... one second... see here that we're getting an alert type in here somewhere.

30:52.100 --> 30:53.120
Alert type.

30:53.120 --> 30:54.940
We can aggregate that again.

30:55.100 --> 30:57.540
It's going to give me a list of all the alert types.

30:57.820 --> 30:59.100
And there you go.

30:59.340 --> 31:04.140
We had 10 times someone trapped into the probe response trap, basically.

31:04.280 --> 31:13.180
So if I search for only that, we should be able to see when that happened and who did it.

31:13.180 --> 31:13.780
And here we go.

31:13.780 --> 31:14.500
That's the alert.

31:14.500 --> 31:23.560
This device responded to our probe request trap for CenturyLink, something for United Wi-Fi and for this fake corporate network.

31:23.800 --> 31:33.500
So you can use Greylock now or any other system to go in, get an overview of when the alerts happened, what they were about, then go deeper and investigate what exactly happened.

31:33.500 --> 31:39.760
And you can, of course, also add your own fingerprints in this list that it's constantly searching for.

31:39.760 --> 31:47.640
So if you have, I don't know, you have this one employee who's really unhappy with the Wi-Fi signal strength and they just bring their own access point, right?

31:47.640 --> 31:50.240
That has happened a few times in the past, I think.

31:50.240 --> 32:04.700
You can now just record that fingerprint of that, send an alert whenever that device is back online and you can use Greylock or anything else and just send out a text, send out an email and kind of just be alerted the moment someone turns that thing on.

32:04.900 --> 32:07.840
So there's probably also some operations use cases.

32:08.240 --> 32:14.920
I'm sure there's some Red Team use case for that and there's definitely a lot of Wi-Fi defense use cases for this.

32:14.920 --> 32:17.780
So that will be my quick live demo.

32:18.960 --> 32:20.840
Do not actually have any alerts right now.

32:20.840 --> 32:21.840
That's surprising.

32:22.800 --> 32:24.640
I have one more slide.

32:24.660 --> 32:27.100
I think that should be this one.

32:29.180 --> 32:30.900
That's right here.

32:31.060 --> 32:31.060
So

32:38.580 --> 32:54.520
the full release, as in the release that also has the documentation, the release that also has Debian packages, system descripts, all that fun stuff, is happening probably on the next weekend.

32:54.660 --> 32:56.800
You can already build it yourself.

32:56.800 --> 32:58.600
It's on GitHub.

32:58.680 --> 33:00.160
That's the link down there.

33:01.420 --> 33:03.900
And you can try it out.

33:03.900 --> 33:06.160
It's on the version 1.00 branch.

33:06.440 --> 33:09.160
Like I said, the software itself is done.

33:09.660 --> 33:15.920
It's just a few of the scripts around it still need some testing and I simply don't want to release it in a hurry just to be able to send you a link right here.

33:15.920 --> 33:19.040
So it's going to take a few more days until you can release the full distribution.

33:20.320 --> 33:23.240
And if you don't want to forget about that, just follow me on Twitter.

33:23.240 --> 33:25.120
That's my handle there on the left.

33:26.440 --> 33:31.840
And then you should see a tweet when that thing is finally coming out in the next days.

33:32.080 --> 33:37.160
From a future roadmap perspective, so there's a few very clear things I think that need to be done.

33:38.040 --> 33:40.320
There's certainly more deception methods.

33:40.520 --> 33:54.420
I think the deception message also needs some more fine-tuning because if you think about it, now an attacker could technically fingerprint us and figure out if that's an enzyme deception frame or not, basically.

33:54.420 --> 33:56.640
So you want to have a little bit of variance in there.

33:56.640 --> 34:02.080
Right now, the beacon frequency or the frequency of sending these things is very stable.

34:02.080 --> 34:06.380
And if you are a very sophisticated attacker, you might see that there's something going on.

34:06.380 --> 34:12.060
I do think, however, you're going to trap a lot of people who are not expecting something like this to happen right now.

34:12.320 --> 34:16.380
But there's definitely some more work that needs to go into that.

34:16.940 --> 34:18.120
Multi-node support.

34:18.120 --> 34:25.040
So right now, it would be if you have a large campus and you can't cover everything with one enzyme node, obviously, you would spin multiple up.

34:25.040 --> 34:27.300
They don't really know about each other.

34:27.300 --> 34:29.120
And they would all send their messages into Greylock.

34:29.120 --> 34:34.400
I kind of want to get it to a point where you have one that's the leader and all the others are sending their frames into that one.

34:34.560 --> 34:36.620
And that one then writes it up somewhere else.

34:36.620 --> 34:39.520
The central alerting can get smarter about when it alerts.

34:40.440 --> 34:44.020
And then I hope that you're going to try it out and you're going to find a bunch of bugs.

34:44.520 --> 34:45.020
Feedback.

34:45.020 --> 34:46.500
Maybe you get stuck somewhere.

34:46.740 --> 34:48.540
So that's definitely going to come.

34:49.100 --> 34:50.720
And like I said, this is a side project.

34:50.720 --> 34:53.640
So I know this version is going to come out over the next days.

34:54.540 --> 34:58.680
But something like multi-node support is nothing that's going to happen the following week.

34:58.680 --> 35:00.320
So it's on GitHub.

35:00.320 --> 35:03.380
You're all more than invited to maybe contribute your own fingerprints.

35:03.380 --> 35:10.020
If you have devices out there, start fingerprinting them and send a pull request to get them in the list of known fingerprints.

35:10.020 --> 35:11.260
Try it out.

35:11.800 --> 35:16.340
If you feel comfortable writing code, send pull requests for features.

35:16.340 --> 35:18.700
Open tickets for stuff that you would like to see in it.

35:18.700 --> 35:19.980
Stuff that doesn't work.

35:20.840 --> 35:24.560
So this is supposed to be a fully supported product.

35:24.560 --> 35:28.580
This is not something that you just throw out there and good luck.

35:28.700 --> 35:33.580
There's going to be... I hope that there's community forming around it that keeps on improving it.

35:33.580 --> 35:35.860
And it's not only me and my very spare free time.

35:36.620 --> 35:38.260
And I hope that that's going to happen.

35:38.360 --> 35:41.820
So that would be my demo, my presentation.

35:41.840 --> 35:46.820
And I think we have 15 minutes, 10-15 minutes for Q&A.

35:46.820 --> 35:50.100
If you have any questions, any feedback, any initial ideas.

36:00.110 --> 36:00.510
So

36:15.990 --> 36:20.890
the question was, which adapters are supported by it?

36:21.030 --> 36:25.450
And then also kind of how much space you can cover with the sensor.

36:25.630 --> 36:29.450
How much space you can cover really depends on the physical location.

36:30.190 --> 36:33.110
I had a demo lapse last year for the previous version of Enzyme.

36:33.110 --> 36:35.970
There were people who said they deployed 20 of those across the campus.

36:36.270 --> 36:37.790
I think you ought to try it out.

36:37.890 --> 36:40.470
And I think you want to reach a point where it has overlap.

36:40.470 --> 36:46.070
Where you have frames recorded multiple times because multiple Enzyme instances are picking them up.

36:46.070 --> 36:54.110
When it comes to supported devices, so far, pretty much anything that works, that you can put into monitor mode.

36:54.110 --> 36:56.590
So it's not specific to any device.

36:56.590 --> 36:59.750
But you need to have a driver and a chip set that you can put into monitor mode.

36:59.750 --> 37:05.550
So if you have some experience with Kismet, for example, I'm pretty sure that you can use the same adapter.

37:06.310 --> 37:08.750
And all those that I've tested so far work.

37:08.750 --> 37:13.550
There's a list in the documentation of tested devices that definitely work.

37:13.550 --> 37:20.090
I've seen it with the several of the alphas that are the bigger ones and some of these more mobile ones.

37:20.130 --> 37:22.870
The Panda with an antenna, the Panda without an antenna.

37:22.970 --> 37:27.350
Everything that kind of works with PCAP and monitor mode is going to work.

37:27.350 --> 37:30.230
Because we really just interface with the PCAP.

37:30.490 --> 37:33.090
So if PCAP works, Enzyme is going to work, too.

37:37.790 --> 37:39.090
Any more questions?

37:42.190 --> 37:42.870
Okay.

37:43.030 --> 37:45.590
I'll be around at the Blue Team Village for the rest of the day.

37:45.590 --> 37:47.930
But I'm also going to hang out here for a moment if you have more questions.

37:48.590 --> 37:49.330
Try it out.

37:49.350 --> 37:53.910
Follow me on Twitter so you see when the full, the easy to install release is coming out in the next days.

37:53.910 --> 37:55.630
And I think that's it.

37:55.630 --> 37:56.570
Hope you enjoyed it.

