[00:00.000 --> 00:06.760] All right, I think we got started. If this is not loud enough, let me know. Just remind [00:06.760 --> 00:11.640] me of it. I hope it works. And if anything should not be large enough, also just let [00:11.640 --> 00:16.380] me know. I can always zoom in, but I hope this should all work out. So I'm here today [00:16.380 --> 00:23.260] because I am releasing the first real release of Enzyme, which is a tool I've been working [00:23.260 --> 00:30.840] on for, I think, two or three years now. And I'm going to go through what it is, what [00:30.840 --> 00:35.280] it does. And I wanted to check first, has anyone heard about the tool before? Because [00:35.280 --> 00:42.400] there is a released version already. I see a few hands going up. Okay. And I'll try to [00:42.400 --> 00:48.460] also cover kind of a few basics of how wireless networks work and what some problems with [00:48.460 --> 00:52.860] the security of those networks are. You can always either interrupt me if something is [00:52.860 --> 00:57.440] completely unclear. And I think we'll also have a good amount of time for question and [00:57.440 --> 01:04.160] answer after this talk. So just a few things about me. I'm from Germany originally. You [01:04.160 --> 01:10.420] can probably hear it. I did start the Greylock project back in 2009. We actually had a birthday [01:10.420 --> 01:18.300] party here in Vegas this year. It was 10 years ago. Then a company behind it in 2013. I moved [01:18.300 --> 01:27.060] from Hamburg in Germany to Houston in 2015, which was an interesting move for sure. Started [01:27.060 --> 01:31.760] Enzyme in 2017 and had an initial release in the same year. I think I released it around [01:31.760 --> 01:38.260] DerbyCon 2017. Used to be a software developer. I'm going to make some people smile up front [01:38.260 --> 01:43.460] here because they used to be software developers together with me. I'm the CTO and the founder [01:43.460 --> 01:50.000] over at Greylock now. This word Greylock is going to come up a few times. Very important [01:50.000 --> 01:54.400] that I'm going to show Greylock because that's the tool I'm obviously the most familiar with. [01:54.640 --> 01:58.840] You can possibly do the same things with an ELK stack or Splunk or something like that [01:58.840 --> 02:02.400] if you send the data into that instead of Greylock. So don't consider this a vendor [02:02.400 --> 02:08.240] talk or something. This is just the tool I'm obviously the most familiar with. And Enzyme [02:08.240 --> 02:12.500] is my side project. It's not affiliated with Greylock. I'm saying that because you should [02:12.500 --> 02:17.540] not expect the same level of support and help and everything that comes from a company [02:17.540 --> 02:23.480] like Greylock because it would probably be very easy to expect that. It's my side project. [02:24.000 --> 02:28.200] I'm personally, I'm a huge fan of side projects because when you make the transition from [02:28.200 --> 02:32.100] being a developer to being more of a manager and you're managing other engineers, it's [02:32.100 --> 02:36.920] very helpful to have something that you're still building yourself because it makes you, [02:36.920 --> 02:41.520] it reminds you constantly of the challenges that software developers are facing and I [02:41.520 --> 02:45.160] think it helps a lot when you work together with them. So that kind of keeps me in the [02:45.160 --> 02:49.520] loop. The trick is to never have that actually interfere with what your real job is. So it's [02:49.520 --> 02:54.100] mostly a weekend, holiday, after work kind of thing when I really want to write some [02:54.100 --> 02:59.440] lines of code. I'm at underscore Leonard on Twitter. I was specifically asked to point [02:59.440 --> 03:06.040] out that my last name is Coltman and I'm not affiliated with system D either. I was asked [03:06.040 --> 03:12.820] to say that. So I'm making this joke every single time. I'm starting to get tired of [03:12.820 --> 03:16.980] it myself, but I spent a lot of time for the second picture that's about to come. This [03:16.980 --> 03:27.440] is Hamburg. Moved from there, did this, and then moved there to Houston. So we are, Greylock [03:27.440 --> 03:32.180] itself is based in Houston. I live in Houston. It's kind of a little bit of a background [03:32.180 --> 03:38.320] of what happened in the last years here. I'm going to go over just a quick introduction [03:38.320 --> 03:44.200] about what Enzyme is, what it does, and also what it's not. A few things about architecture [03:44.200 --> 03:47.180] deployment configuration. This is not going to be a tutorial. I just want to give you [03:47.180 --> 03:53.780] an impression of how you set it up and how it's architected. We're going to go over some [03:53.780 --> 03:59.660] detection methods, some threat hunting that you can do with it, and then I think the biggest [03:59.660 --> 04:03.840] part of this presentation today is going to be a live demo, actually. And then after [04:03.840 --> 04:07.800] that we're going to have Q&A. I want to say a few things about what I really want to work [04:07.800 --> 04:12.580] on after this, so what's going to come after this initial release, and where you can actually [04:12.580 --> 04:19.180] download it, and all these fun things. So I tried to summarize this in one sentence [04:19.180 --> 04:25.380] and I ended up with this whole slide. So Enzyme is an open source tool that reads Wi-Fi frames [04:25.380 --> 04:29.260] using network adapters. So I guess a bunch of you in this village here will know these [04:29.260 --> 04:34.040] little alpha network adapters. You can put them in monitor mode, and it's almost like [04:34.140 --> 04:37.780] a promiscuous mode on a wired network interface where they're just going to read everything [04:37.780 --> 04:44.060] that comes in, and you can use TCP dump, or Wireshark, or tools like that to read these [04:44.060 --> 04:49.260] frames that are going through the air. Enzyme is reading every single management frame that [04:49.260 --> 04:55.080] 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:07.620] And that means that you're going to end up with a repository of frames that were recorded [05:08.100 --> 05:13.880] in a lock management system that you can then later search over, filter, use for forensics, [05:13.880 --> 05:19.320] use for incident response, because I think that if you catch someone who's walking around [05:19.320 --> 05:24.260] with a, I don't know, with a Wi-Fi pineapple, or someone is actually targeting people very [05:24.260 --> 05:29.380] specifically in the parking lot, I think we're all struggling then with, okay, what [05:29.380 --> 05:33.660] are we going to do next, right? You know that, but what actually happened? Did someone connect [05:33.660 --> 05:38.820] to it? Was only one specific device targeted? Was it just spraying SSIDs and was hoping [05:38.820 --> 05:42.240] someone connects to it? This is something that you can do the moment you send this stuff [05:42.240 --> 05:45.660] into a lock management system. And that's pretty much what Enzyme used to do. That's [05:45.660 --> 05:50.340] what the currently released version of Enzyme does. This new release that is coming out [05:50.340 --> 05:57.120] now is also allowing you to raise alerts automatically. So it does things that are [05:57.120 --> 06:01.880] very similar to what, I think, what Kismet does. Why it's not Kismet is, however, on [06:01.880 --> 06:08.880] the next slide. You can run it on a Raspberry Pi, it comes with a web interface, and it's [06:08.880 --> 06:14.120] not only employing, I would say, these classic signature-based alerts of, well, I'm expecting [06:14.120 --> 06:19.720] this SSID to only be served by access points with these MAC addresses, and then when another [06:19.720 --> 06:24.520] MAC address pops up, I get an alert. It does that, too, but I think that is so easy to [06:24.520 --> 06:28.060] evade that I don't think that's enough anymore. So it does a few more things that I'm going [06:28.060 --> 06:35.240] to go over in just a moment, too. And then I always, I'm a big fan of having stuff that's [06:35.240 --> 06:40.620] easy to be deployed and easy to be configured. That's actually something that if you go out [06:40.620 --> 06:44.460] and you want to try this out, I'm very interested in where you, if you get stuck somewhere, [06:44.460 --> 06:49.040] if something was confusing, because I hope that the configuration is fairly easy, but [06:49.040 --> 06:54.960] then I wrote it, so for me it's fairly easy. I hope that it's also easy for you. I'm running [06:54.960 --> 07:00.000] this in production for a while now at home and in the office, and we are over at the [07:00.000 --> 07:05.840] Blue Team Village. There's a sensor running under a table. It runs pretty stable, and [07:05.840 --> 07:10.680] it runs really well on a Raspberry Pi 3. I'm also running it on one of the new Raspberry [07:10.680 --> 07:16.140] Pis, the 4s. That's better. It's going to be faster, and especially for an environment [07:16.140 --> 07:19.940] like here, where you just have a lot of stuff going on, a lot of devices, a lot of access [07:19.940 --> 07:26.420] points, if you can get a Raspberry Pi 4, that might be a good idea. Because what it's not, [07:26.420 --> 07:30.840] it is definitely not designed to have a low resource footprint. As in, I'm not saying [07:30.840 --> 07:35.360] I'm just wasting resources for fun, but it does a bunch of stuff that are simply resource [07:35.360 --> 07:41.520] intensive. That means that if you're looking for something that you can deploy on a tiny [07:41.520 --> 07:46.800] embedded system or something like that, this is not it. This needs probably around at least [07:46.800 --> 07:54.760] 256 megabytes of memory. Probably a good idea to have at least two CPU cores. Like I said, [07:54.760 --> 07:58.720] it runs on a Raspberry Pi. Not going to run on one of these small Hack 5 devices, for [07:58.720 --> 08:04.480] example. That's probably not going to be enough. And then it's also not designed to be used [08:04.480 --> 08:07.860] for any kind of war driving or reconnaissance tasks or something like that. It's supposed [08:07.860 --> 08:14.540] to be run stationary at one point, not be moved around a lot. It really likes to be in a [08:15.600 --> 08:18.680] somewhat predictable environment. I'm going to show why in just a second. So it's also [08:18.680 --> 08:23.140] nothing where you... I had one feature request, if we can hook up a GPS receiver into it. [08:23.140 --> 08:29.180] Probably could, but the whole system is not designed to be used to walk around with, [08:29.180 --> 08:33.200] basically. I have heard, or I found this interesting, that red teams were interested to use [08:33.200 --> 08:38.360] it for recon. Not for alerting necessarily, but to send, basically point a Yagi antenna or [08:38.360 --> 08:45.220] something at an object that they're looking at and just record a few hours of data and see [08:45.220 --> 08:50.080] what is usually connecting to what. What kind of devices do we have? What SSIDs are they [08:50.080 --> 08:54.900] looking for? I could totally see that. And that would be something that would definitely [08:54.900 --> 08:59.320] work. I've never heard this from more than one person, so I'm not sure if that's actually [08:59.320 --> 09:05.120] the case or if there's better tools for that out there. This is a screenshot. So this is the [09:05.960 --> 09:10.580] web interface that comes with it. This is being served out of the same binary as Enzyme [09:10.580 --> 09:14.740] itself, so when you start it, it just tells you, hey, on this IP address and this port, you [09:14.740 --> 09:21.340] can reach the web interface. Supports TLS on top of it, so you don't have to mess with a [09:21.340 --> 09:25.320] proxy in front of it. And I'm going to show more of this in the live demo in just a second. [09:26.240 --> 09:32.280] This is a network detail page. You see here we're recording the beacon rate of this specific [09:32.280 --> 09:37.560] access point and the SSID that it's advertising. 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:45.660] We have a green line, that's the lower expected signal strength. And then we got the blue [09:45.660 --> 09:49.620] line, that's the actual signal strength that we're receiving. Also more about that in just [09:49.620 --> 09:57.760] one second. The architecture in the end is pretty simple. You have the Enzyme process, that's [09:57.760 --> 10:03.640] the binary you're starting. That's connecting to a post-crestial database. That's where it's [10:03.640 --> 10:08.400] keeping state and also some information that it's using later for alerting. And then to [10:08.400 --> 10:13.380] whatever box this is running on, you're collecting, you're connecting at least one Wi-Fi [10:13.380 --> 10:19.260] interface that supports monitor mode. Works fantastic with the standard alpha adapters. I [10:19.260 --> 10:24.040] think it works great with the Panda 5 and the Panda 6. Those are going to work. You don't [10:24.040 --> 10:27.580] have to do anything as long as the interface is up. Enzyme is automatically going to put it [10:27.580 --> 10:33.160] into monitor mode. Going to get a PCAP handle on top of it. It's going to start reading the [10:33.160 --> 10:36.360] frames that are coming off the air. I'm going to show the configuration of this also in just [10:36.520 --> 10:40.640] a second. And then there's the Greylock cluster. This one is, by the way, that's optional. You [10:40.640 --> 10:45.260] can also start it simply not connected to Greylock. If you don't want to have the part where [10:45.260 --> 10:50.860] it sends messages into Greylock, that's fine. You don't need to do that. Then just leave that [10:50.860 --> 10:54.920] configuration out and it's just going to run and everything's locally and you don't have this [10:54.920 --> 10:58.900] long-term repository of frames, basically, which is completely fine. Depends on your use [10:58.900 --> 11:05.160] case. If you want to try this out, maybe download the Greylock OVA or Elk Stack or Splunk or [11:05.160 --> 11:08.440] whatever you have already, send it in there and just see what you get out of it. I'm really [11:08.440 --> 11:13.920] interested in the use cases that you also find for this. I said this was not going to be a [11:13.920 --> 11:17.600] tutorial, but I just wanted to show you that this is literally all you have to do to get it [11:17.600 --> 11:23.620] running on a Raspberry Pi. So you just install PostgreSQL. You're going to install Java. [11:23.620 --> 11:28.580] That's what it's written in. You're downloading the depth file. You're installing it. You're [11:28.580 --> 11:33.200] changing the configuration file and you start it. That's all you have to do. It's going to [11:33.200 --> 11:37.940] tell you when it starts up. It's going to tell you where to point your browser at. You configure [11:37.940 --> 11:43.620] the interface that it's going to listen on in the configuration file. And that's all you need [11:43.620 --> 11:53.000] to do. That's how fast it is usually. And there's one other important thing, which I might [11:53.000 --> 11:59.520] remember later on, but that's really the steps that you need to do to deploy it. The... I'm [11:59.520 --> 12:04.200] wondering where the... oh yeah, split this up. So going through the detection methods that it [12:04.200 --> 12:08.720] has out of the box, these are these really, really classic alerts, right? There's an [12:08.720 --> 12:14.640] unexpected MAG address that's serving our network. It's serving it with an unexpected [12:14.640 --> 12:19.120] security setting, serving it on an unexpected channel, or there is an access point that is [12:19.120 --> 12:24.080] serving an unexpected SSID. What you have to do is you tell Enzyme in a configuration file, [12:24.080 --> 12:29.340] that's the screenshot down there. You basically give it a list of its networks. That's this [12:29.340 --> 12:33.680] array there that's defined there. And you tell it, okay, this is one network. This is its [12:33.680 --> 12:38.000] SSID. This is the channels it's usually running on. This is the security that I'm expecting [12:38.000 --> 12:44.500] on it. And these are the BSSIDs, so the station MAG addresses basically, that it's being served [12:44.500 --> 12:49.060] from. That's all you do. You start Enzyme and the alerts for this are already set up. It does [12:49.060 --> 12:54.700] everything behind the scenes automatically for you. You see the fingerprints in there. I'm [12:54.700 --> 13:01.120] gonna explain that also in just a second. I'm calling this anomaly detection. It's not... I [13:01.120 --> 13:04.740] mean, this is a little like standing and telling you about AI and next gen security. It [13:04.740 --> 13:11.940] basically looks at a sliding window of what the signal strength was. And the moment the signal [13:11.940 --> 13:16.800] strength deviates from its expected value too much or for too long, it's gonna raise an alert. [13:16.800 --> 13:21.660] This could be that after we record for a day, what this access point up there usually reaches [13:21.660 --> 13:28.320] our Enzyme sensor with from a signal strength perspective. If someone is spoofing that from [13:28.320 --> 13:33.180] across the hallway, even if they're perfectly spoofing it, it's really hard to spoof the [13:33.180 --> 13:37.980] signal strength. So you're gonna have between all these expected frames, there's gonna be [13:37.980 --> 13:42.020] perfectly spoofed frames that have a much different signal strength. And Enzyme is trying [13:42.020 --> 13:48.940] to figure this out. It's trying to find those and it's gonna automatically for all the networks [13:48.940 --> 13:52.520] that you defined as your networks in that configuration file, it's gonna run in the [13:52.520 --> 13:56.000] background constantly checking if there's anything going on with the weird signal strength. [13:56.000 --> 14:00.920] That is still fairly experimental because I wanna see how it works in the real world if you [14:00.920 --> 14:07.120] try it out. It has worked pretty well for me so far. But there are some tuning parameters. [14:07.540 --> 14:10.580] It's not gonna, if you turn it on out of the box, you're probably gonna get a bunch of false [14:10.580 --> 14:14.660] positives. So you have to tune these parameters a little and just see how the data behaves. [14:14.660 --> 14:20.260] But I've tried it out. I walked in the garden with a raspberry pipe, turned that thing on, [14:20.260 --> 14:24.700] came back, alert was there, signal strength anomaly. So it can work. I wanna hear how it [14:24.700 --> 14:30.020] actually works for you in practice if you wanna try it out. So just consider it experimental [14:30.020 --> 14:35.940] for now. The other one is an unexpected beacon rate. So we're constantly recording how many [14:35.940 --> 14:42.020] beacons we're getting from per station or per access point. If someone would go in and [14:42.020 --> 14:47.140] would start to very aggressively send its own beacons, that would raise this beacon rate [14:47.140 --> 14:50.660] even if the frames are, again, if they're really well spoofed, the beacon rate would [14:50.660 --> 14:55.220] change and Greylock would also alert on that on a threshold basis. For this, it's not trying [14:55.220 --> 14:59.360] to do this automatically for you. You give it a threshold. You say this is how many beacons [14:59.360 --> 15:02.580] we're usually seeing. And then the moment it crosses over that for too long, you're [15:02.580 --> 15:06.520] getting an alert. That works really well. It depends a little on the access point that [15:06.520 --> 15:13.840] you're using. If the access point starts to change the beacon rate a lot, then you might [15:13.840 --> 15:18.000] be out of luck for that. But for those that I've tried it with so far, it worked really [15:18.000 --> 15:28.360] well. Then there's fingerprinting. That is something that is the most interesting part [15:28.360 --> 15:36.780] of the new version of Enzyme. So what happens is that when we receive a beacon frame or [15:36.780 --> 15:41.320] probe response frames, those are the two frame types that are really advertising a network. [15:41.380 --> 15:45.440] So this access point up there is constantly sending beacon frames saying, I am here. These [15:45.440 --> 15:50.520] are my settings. This is how you connect to me. This is my SSID. And this is how on your [15:50.520 --> 15:56.860] phone, for example, the list of access points and range is being built. A probe response [15:56.860 --> 16:02.540] is when your phone asks for, hey, is this network in range, then this device might reply [16:02.540 --> 16:06.600] and say, yes, I'm here, and it can connect. So these are the two frame types that are [16:06.600 --> 16:11.760] advertising a network. And they have in their payload, if you look at Wireshark and you [16:11.760 --> 16:21.460] look at the details, in the payload, there is a part of the payload that's called the [16:21.460 --> 16:27.020] tag parameters. And tag parameters are stuff like, hey, I'm this access point and I'm operating [16:27.020 --> 16:31.020] on these frequencies. I'm using these channels. So don't even try to connect on other channels. [16:31.240 --> 16:35.300] There's stuff in it like this is my regulatory domain. I'm in the North American regulatory [16:35.300 --> 16:40.160] domain, so I'm not even going to be on, I believe, channel 14. These are my security [16:40.160 --> 16:45.180] settings. These are my encryption options. All of that. And that usually doesn't change. [16:45.260 --> 16:51.280] And if you take that, parse it out, and basically hash the result of all of that, you get a [16:51.280 --> 16:57.360] fingerprint. And this fingerprint is actually very, very, very, very different per device. [16:57.360 --> 17:02.120] So I've not yet seen the fingerprint been the same twice or have seen a collision, which [17:02.120 --> 17:08.820] means that this device over there has a fingerprint like what you see over there. And we can identify [17:08.820 --> 17:13.020] it by that. Now, every other device from the same vendor with the same firmware on the [17:13.020 --> 17:16.920] same chipset and the same network settings is also going to have the same fingerprint. [17:17.250 --> 17:22.600] But we can now say, okay, for my network, I'm expecting this fingerprint. If I'm seeing [17:22.600 --> 17:27.080] another fingerprint, this is simply different hardware, different chipset, a different firmware [17:27.080 --> 17:32.060] that is trying to advertise my network here. That is certainly not good. And the cool thing [17:32.060 --> 17:37.880] is that you can actually fingerprint known bad devices. So a pineapple nano management [17:37.880 --> 17:41.780] access point, that's its fingerprint. And I've not seen that anywhere else yet. That [17:41.780 --> 17:48.420] is only a Wi-Fi pineapple nano management access point. So it comes with a list of, [17:48.420 --> 17:52.420] I believe, probably six or seven of these devices that it automatically identifies. [17:52.860 --> 17:59.660] So if someone should own a Wi-Fi pineapple in this room, I challenge you to later turn [17:59.660 --> 18:02.800] that on when we're in the demo. It should immediately pop up and say, there's a Wi-Fi [18:02.800 --> 18:09.460] pineapple somewhere around here. It does that also for deauthor boards. For that one, I'm [18:09.460 --> 18:14.120] still trying to see if that's really the deauthor or if it's just the ESP8266 chip on it. I [18:14.120 --> 18:18.520] think there might be some false positives on that one. But it works good with Wi-Fi [18:18.520 --> 18:23.700] Fisher, the pineapple nano, and the pineapple, like the larger one, the tetra or whatever [18:23.700 --> 18:28.540] they call it. It will identify those automatically for you when someone turns them on. But we'll [18:28.540 --> 18:34.620] see that in the demo. Then there's deception. That's one more thing they've built into it. [18:35.260 --> 18:41.620] Which is basically, if you add another Wi-Fi adapter that also supports packet injection [18:41.620 --> 18:47.640] or frame injection, which there's a list in the README that tells you which ones do. Most [18:47.640 --> 18:53.880] of the alphas and the pandas do, so it's no longer a problem. Enzyme is actually going [18:53.880 --> 18:59.520] to start sending probe requests. So Enzyme is going to act like an iPhone, for example, [18:59.520 --> 19:05.920] and say, hey, I'm looking for these networks. Is any of those in range? And none of those [19:05.920 --> 19:14.100] networks actually exist. You configure them like this, and you basically say, fake this [19:14.100 --> 19:23.360] transmitter MAC address and start looking for these SSIDs. If anything replies to that, [19:23.360 --> 19:28.940] that's not good, because those don't exist. There's no legit reason for anything to reply [19:28.940 --> 19:34.560] to that. 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:49.020] Like for example, you could fake a high-risk employee iPhone. You look for a corporate [19:49.020 --> 19:55.720] network of three different locations in San Francisco, somewhere in Asia, and somewhere [19:55.720 --> 19:59.720] in New York City. You're looking for all the airport lounges, and you're looking for [19:59.720 --> 20:04.820] all the United Wi-Fis and all of that stuff. And for an attacker, when that person spins [20:04.820 --> 20:09.740] up his attack platform, it's going to see like, this is a very interesting phone. Let's [20:09.740 --> 20:15.180] see if we can answer to some of those, except none of those actually exist. You know? So [20:15.180 --> 20:20.100] if that happens, that is a pretty clear indication that someone's trying to lure someone to connect [20:20.100 --> 20:26.720] to a rogue access point. For this to work, that's all you need to do. That's in the [20:26.720 --> 20:30.700] enzyme config file. You basically just tell it what's the device name of the device that's [20:30.700 --> 20:34.980] sending, which channels do you want to send on, and then you define these, I call it traps. [20:34.980 --> 20:39.320] You're literally setting up traps of non-legit networks, and if anyone starts interacting [20:39.320 --> 20:43.760] with that, now you want to go in your log management system and see, okay, who is that? [20:43.760 --> 20:47.160] What's the signal strength? Is that person moving? Has that person been here before? [20:47.160 --> 20:51.440] Who else is he targeting? You can do all those things. So that's when it really starts to come [20:51.440 --> 20:59.620] together. And then you can, of course, I think I talked about this a little bit already, if an [20:59.620 --> 21:03.880] attack was detected, you can use a log management system like Greylock and go in and figure [21:03.880 --> 21:08.180] out what exactly happened. Who connected to this? Was this very targeted, or was someone [21:08.180 --> 21:13.800] just spraying responses and beacons hoping that something happens? So we're going to do a [21:13.800 --> 21:25.090] live demo. Here we go. My friend up here in the first row probably knows that I spend most of [21:25.090 --> 21:31.230] the time in software projects finding background images for login pages. It's kind of what I do. [21:31.390 --> 21:36.570] So it's fully authenticated. If you dive into the code, you'll see that a lot of it is [21:36.570 --> 21:42.830] weirdly similar to how Greylock is architected. So it's very similar. It's fully [21:42.830 --> 21:47.630] authenticated. Enzyme is basically spinning up REST APIs that you can only connect to if you [21:47.630 --> 21:54.390] have a token. Token is exchanged here during login. And so you can interact with it through [21:54.390 --> 21:59.770] APIs, too, because this is really just a React JavaScript-based web application that's just [21:59.770 --> 22:03.790] firing out REST requests. So if you want to automate anything, if you want to build your own [22:03.790 --> 22:08.190] interface, if you want to build a CLI interface, all these APIs are there because Enzyme [22:08.190 --> 22:15.990] itself is using them. So I log in here. What you're seeing, basically, oh, here we go. There's [22:15.990 --> 22:22.090] the alerts. I expected that if I start this up in here, I'll probably get an alert or two. So [22:23.330 --> 22:27.390] this is all running locally because I turned off pretty much all the network on this device [22:27.390 --> 22:31.650] here earlier today. So I only have these charts look weird because I started up, I shut it [22:31.650 --> 22:36.570] down, and then I think we have about like half an hour of constant data going on here right [22:36.570 --> 22:42.710] now. But what you see is we've collected about 83,000 wireless frames so far. We're seeing [22:42.710 --> 22:48.870] about 428 distinct clients right now and about 238 access points. I don't think that there's [22:48.870 --> 22:54.130] actually 238 access points in range because what we see here already, these are the active [22:54.130 --> 23:02.230] alerts. We see all these known fingerprints. If I click on one, this one, for example, you'll [23:02.230 --> 23:11.610] see, sure, you'll see that the SSID Bravo, which is one of those, I don't know, I only see [23:11.610 --> 23:18.310] those during DEF CON, one of those around here was advertised by one of these deauthing [23:18.310 --> 23:22.930] boards. It just detected that. Spins up and sees, I know that fingerprint, that's no good. [23:23.070 --> 23:29.530] And we see it was on channel 11. We get an antenna signal here. And we also see that that's [23:29.530 --> 23:35.450] the fingerprint of the device that does it. I think we're getting pretty much flooded here [23:35.450 --> 23:41.170] right now with this, which I expected, honestly. But we can go into Greylock and see what [23:41.170 --> 23:46.690] exactly it is. This one here, for example, is WiFi Pineapple Nano or Tetra. For those two, we [23:46.690 --> 23:51.430] can't really distinguish which one it is, but it's definitely one of the attack frames, which [23:51.430 --> 23:57.810] means it is, it's a beacon that comes out of the Pineapple firmware frame injection, which is [23:58.360 --> 24:03.130] this one here, which I think from the SSID, we can see that this is probably really not a [24:03.130 --> 24:12.490] legitimate network we want to connect to, right? So that's the overview here. We see here, this [24:12.490 --> 24:16.090] is the channels that we're currently looping over. When it's highlighted blue, that means [24:16.090 --> 24:20.990] that the adapter is currently tuned to that channel. So you see live kind of which channels [24:20.990 --> 24:24.750] we're currently hopping over. We see how many malformed frames we're getting per channel. [24:24.750 --> 24:29.990] And then we also see how many different frame types we're getting. And as expected, we're [24:29.990 --> 24:35.930] getting mostly beacons and probe responses and then a bunch of deauth frames, obviously, in [24:35.930 --> 24:41.710] this environment. Click on networks, I'm getting a list of all the wireless networks that are [24:41.710 --> 24:47.130] currently in range. Earlier when I turned it on here, I figured out we do support emojis. So [24:47.130 --> 24:52.270] someone is advertising an emoji network, so that works. We got this list here of all the [24:52.270 --> 25:03.290] networks. And if I click on one, so let's say... Caesar's Resorts. Click on it. That's loading [25:03.290 --> 25:07.570] all the channels that are in this network. You see this one is only active on channel 11. We [25:07.570 --> 25:13.850] only receive two frames, though, so that's boring. Let's see if we got another one. Oops. [25:14.710 --> 25:24.480] Caesar's Resorts. Take this one. Click on it. We see on channel 6 here we got about two and a [25:24.480 --> 25:29.240] half thousand frames that were recorded. Click on that. And then we're getting... whoops. [25:32.020 --> 25:36.940] Then we're getting... you see this is when I started it, so it's only... only have a few [25:36.940 --> 25:41.480] minutes of data here. But you see per channel you're basically getting the signal strength, [25:41.480 --> 25:45.600] what the expected signal strength was. You see the fingerprints that we see on this channel, [25:45.600 --> 25:50.360] so that's this specific access point. You see the expected signal quality. All of this is [25:50.360 --> 25:57.720] here. If I click on the system status, you'll see that we see which alerts are currently [25:57.720 --> 26:03.380] configured. You see that we would be warned if there's an unexpected BSSID, SSID or channel [26:03.380 --> 26:09.220] or fingerprint. Would be warned if the crypto settings on one of our networks suddenly [26:09.220 --> 26:15.360] changes. If there's a known fingerprint around here, unexpected signal print, fingerprint [26:15.360 --> 26:20.520] signal anomaly and also the beacon rate anomaly. This system, this environment here is [26:20.520 --> 26:25.400] actually so noisy that I can't... now it's stopped. All right. Currently do not have any [26:25.400 --> 26:29.760] active alerts left. So they also stop the moment the same alert is no longer seen, they [26:29.760 --> 26:32.840] disappear from that list. So this is a good moment if someone has a pineapple, you want to [26:32.840 --> 26:40.500] turn that on now, this should pop up here then in just a moment. Then if we go back... I [26:40.500 --> 26:44.220] think someone turned it on for a moment because we're seeing a pretty good spike in access [26:44.220 --> 26:48.200] points. So that is simply someone using random MAC addresses probably, which then [26:48.200 --> 26:55.660] identifies a different access point all the time. So that's what we're seeing here. Now if I [26:55.660 --> 27:02.860] go into Greylock, you'll see that this data is coming in here. If I click on a view, I can [27:02.860 --> 27:06.840] say, okay, I want to get my summary of all the data that comes out of Enzyme. You'll see [27:06.840 --> 27:11.700] that I'm getting a histogram here of how many deauthentication frames we've seen, how [27:11.700 --> 27:16.560] many distinct devices that were transmitting deauthentication frames, get an overview [27:16.560 --> 27:21.220] here of the frames and subtypes that we're seeing. So this is the total number of frames [27:21.220 --> 27:26.760] that were recorded, and then also which subtypes they were. So you see here we got a few [27:26.760 --> 27:31.680] malformed ones, but then disassociation, association, response, authentication, probe [27:31.680 --> 27:35.220] request, probe response, beacon. It kind of gives you an overview of what's currently going [27:35.220 --> 27:40.920] on in the environment. Then if I click on it, this is where it's now really starting to feel [27:40.920 --> 27:46.180] like this is a very long-term wire shark, you know? If I click on it, you'll see that, okay, we [27:46.180 --> 27:51.240] have recorded a probe request where this MAC address was looking for the network alpha, [27:51.240 --> 27:56.340] which was this signal strength on this frequency. If I click on it, we're getting this broken [27:56.340 --> 28:02.940] down. Let me see if I can make this a little bigger. So you will see this broken down. And [28:02.940 --> 28:08.320] what I can do is I can now say, okay, I am interested in all the devices that are looking [28:08.320 --> 28:18.520] for the SSID alpha, okay? So what I can do, I can go in and I can say, okay, in my enzyme [28:18.520 --> 28:30.900] messages, show me everything from the last hour where the subtype equals probe request and the [28:30.900 --> 28:38.300] SSID equals alpha. Execute that. This comes back immediately. And now we get a list of all [28:38.320 --> 28:42.580] the probe requests for the SSID alpha. And let's say I want to get an overview of who [28:42.580 --> 28:48.700] requested this. So you'll see that we have a field here called transmitter. This is the [28:48.700 --> 28:55.580] IP address. This is the MAC address of the device that was asking for this network. And if I [28:55.580 --> 29:04.840] click on it, click on aggregate, and we're getting a list of all the MAC addresses that have [29:04.840 --> 29:10.100] probe request this SSID in the last hour. So you can click this stuff together like this. You [29:10.100 --> 29:14.800] can save it as a dashboard. You can create reports out of it. But it becomes a very, very [29:14.800 --> 29:19.600] powerful, really long-term PCAP that you can use for forensics. You can use for threat [29:19.600 --> 29:25.640] hunting. If you want to check if something just deviates from what you usually see, you can go [29:25.640 --> 29:31.840] and you can run real forensics on long-term network data, which I think is a really powerful [29:31.840 --> 29:40.080] concept. And we can also go in and look at an alert summary. And this is a really powerful [29:40.100 --> 29:47.980] summary. So this one here is now showing me how many alerts we got here. It shows me what the [29:47.980 --> 29:59.760] targets were. So you see here the SSIDs that were used in an attack. You can see here the types [29:59.760 --> 30:07.580] of the alerts. So you see that we had 18 alerts for known bad devices, which were 18 for Wi-Fi [30:07.580 --> 30:18.360] pineapples and 5 for a de-authentication board. And we had... where are we? Yeah, I think [30:18.360 --> 30:26.660] that is the types of devices that we are getting. And if we go in and we say we want to see [30:26.660 --> 30:34.120] this, this here, and also this one here, United Wi-Fi, there's someone already went into that [30:34.120 --> 30:37.980] trap. Someone already triggered an alert because they responded to something that they really [30:37.980 --> 30:47.440] shouldn't be responding to. And I think we should be able to... one second... see here that we're [30:47.440 --> 30:55.420] getting an alert type in here somewhere. Alert type. We can aggregate that again. It's going to [30:55.420 --> 31:02.500] give me a list of all the alert types. And there you go. We had 10 times someone trapped into the [31:02.500 --> 31:10.620] probe response trap, basically. So if I search for only that, we should be able to see when that [31:10.620 --> 31:15.920] happened and who did it. And here we go. That's the alert. This device responded to our probe [31:16.860 --> 31:23.560] request trap for CenturyLink, something for United Wi-Fi and for this fake corporate network. [31:23.800 --> 31:28.420] So you can use Greylock now or any other system to go in, get an overview of when the alerts [31:28.420 --> 31:34.400] happened, what they were about, then go deeper and investigate what exactly happened. And you can, [31:34.400 --> 31:39.960] of course, also add your own fingerprints in this list that it's constantly searching for. So if [31:39.960 --> 31:44.740] you have, I don't know, you have this one employee who's really unhappy with the Wi-Fi signal [31:44.740 --> 31:49.200] strength and they just bring their own access point, right? That has happened a few times in the [31:49.200 --> 31:54.660] past, I think. You can now just record that fingerprint of that, send an alert whenever that [31:54.660 --> 31:59.760] device is back online and you can use Greylock or anything else and just send out a text, send [31:59.760 --> 32:05.340] out an email and kind of just be alerted the moment someone turns that thing on. So there's [32:05.340 --> 32:11.200] probably also some operations use cases. I'm sure there's some Red Team use case for that and [32:11.200 --> 32:16.960] there's definitely a lot of Wi-Fi defense use cases for this. So that will be my quick live [32:16.960 --> 32:24.640] demo. Do not actually have any alerts right now. That's surprising. I have one more slide. [32:24.660 --> 32:45.140] I think that should be this one. That's right here. So the full release, as in the release that [32:45.140 --> 32:50.960] also has the documentation, the release that also has Debian packages, system descripts, all [32:50.960 --> 32:56.800] that fun stuff, is happening probably on the next weekend. You can already build it yourself. [32:56.800 --> 33:05.280] It's on GitHub. That's the link down there. And you can try it out. It's on the version 1.00 [33:05.280 --> 33:11.160] branch. Like I said, the software itself is done. It's just a few of the scripts around it [33:11.160 --> 33:15.040] still need some testing and I simply don't want to release it in a hurry just to be able to send [33:15.040 --> 33:18.180] you a link right here. So it's going to take a few more days until you can release the full [33:18.180 --> 33:23.580] distribution. And if you don't want to forget about that, just follow me on Twitter. That's my [33:23.580 --> 33:30.720] handle there on the left. And then you should see a tweet when that thing is finally coming out [33:30.720 --> 33:35.880] in the next days. From a future roadmap perspective, so there's a few very clear things I [33:35.880 --> 33:41.480] think that need to be done. There's certainly more deception methods. I think the deception [33:41.480 --> 33:45.440] message also needs some more fine-tuning because if you think about it, now an attacker could [33:45.440 --> 33:53.700] technically fingerprint us and figure out if that's an enzyme deception frame or not, [33:53.700 --> 33:58.200] basically. So you want to have a little bit of variance in there. Right now, the beacon [33:58.200 --> 34:02.980] frequency or the frequency of sending these things is very stable. And if you are a very [34:02.980 --> 34:06.960] sophisticated attacker, you might see that there's something going on. I do think, [34:06.960 --> 34:10.960] however, you're going to trap a lot of people who are not expecting something like this to [34:10.960 --> 34:17.600] happen right now. But there's definitely some more work that needs to go into that. Multi-node [34:17.600 --> 34:21.740] support. So right now, it would be if you have a large campus and you can't cover everything [34:21.740 --> 34:26.460] with one enzyme node, obviously, you would spin multiple up. They don't really know about [34:26.460 --> 34:29.880] each other. And they would all send their messages into Greylock. I kind of want to get it [34:29.880 --> 34:33.180] to a point where you have one that's the leader and all the others are sending their frames [34:33.180 --> 34:37.880] into that one. And that one then writes it up somewhere else. The central alerting can get [34:37.880 --> 34:42.820] smarter about when it alerts. And then I hope that you're going to try it out and you're [34:42.820 --> 34:47.660] going to find a bunch of bugs. Feedback. Maybe you get stuck somewhere. So that's definitely [34:47.660 --> 34:52.220] going to come. And like I said, this is a side project. So I know this version is going to [34:52.220 --> 34:57.180] come out over the next days. But something like multi-node support is nothing that's going [34:57.180 --> 35:01.940] to happen the following week. So it's on GitHub. You're all more than invited to maybe [35:01.940 --> 35:05.980] contribute your own fingerprints. If you have devices out there, start fingerprinting them [35:05.980 --> 35:12.240] and send a pull request to get them in the list of known fingerprints. Try it out. If [35:12.840 --> 35:17.620] you feel comfortable writing code, send pull requests for features. Open tickets for stuff [35:17.620 --> 35:23.660] that you would like to see in it. Stuff that doesn't work. So this is supposed to be a [35:23.660 --> 35:28.920] fully supported product. This is not something that you just throw out there and good luck. [35:28.920 --> 35:32.840] There's going to be... I hope that there's community forming around it that keeps on [35:32.840 --> 35:37.480] improving it. And it's not only me and my very spare free time. And I hope that that's [35:37.480 --> 35:44.740] going to happen. So that would be my demo, my presentation. And I think we have 15 minutes, [35:44.740 --> 35:50.100] 10-15 minutes for Q&A. If you have any questions, any feedback, any initial ideas. [36:00.110 --> 36:23.890] So the question was, which adapters are supported by it? And then also kind of how much space [36:23.890 --> 36:28.570] you can cover with the sensor. How much space you can cover really depends on the physical [36:28.570 --> 36:33.310] location. I had a demo lapse last year for the previous version of Enzyme. There were [36:33.310 --> 36:37.010] people who said they deployed 20 of those across the campus. I think you ought to try [36:37.010 --> 36:41.750] it out. And I think you want to reach a point where it has overlap. Where you have frames [36:41.750 --> 36:46.510] recorded multiple times because multiple Enzyme instances are picking them up. When it comes [36:46.510 --> 36:53.170] to supported devices, so far, pretty much anything that works, that you can put into [36:53.170 --> 36:57.970] monitor mode. So it's not specific to any device. But you need to have a driver and [36:58.070 --> 37:02.390] a chip set that you can put into monitor mode. So if you have some experience with Kismet, [37:02.390 --> 37:07.550] for example, I'm pretty sure that you can use the same adapter. And all those that I've [37:07.550 --> 37:12.970] tested so far work. There's a list in the documentation of tested devices that definitely [37:12.970 --> 37:18.470] work. I've seen it with the several of the alphas that are the bigger ones and some of [37:18.470 --> 37:23.310] these more mobile ones. The Panda with an antenna, the Panda without an antenna. Everything [37:23.310 --> 37:28.170] that kind of works with PCAP and monitor mode is going to work. Because we really just [37:28.170 --> 37:38.370] interface with the PCAP. So if PCAP works, Enzyme is going to work, too. Any more [37:38.370 --> 37:45.810] questions? Okay. I'll be around at the Blue Team Village for the rest of the day. But I'm [37:45.810 --> 37:49.830] also going to hang out here for a moment if you have more questions. Try it out. Follow me [37:49.830 --> 37:53.210] on Twitter so you see when the full, the easy to install release is coming out in the [37:53.210 --> 37:56.570] next days. And I think that's it. Hope you enjoyed it.