[00:00.000 --> 00:04.200] Thanks for coming out for a nice and cool DEF CON, right? It's so [00:04.200 --> 00:07.420] nice outside. But to kick things off right away, who am I? So I'm [00:07.420 --> 00:09.800] Joe Slowik. What do I do? Currently, I work threat [00:09.800 --> 00:12.820] intelligence for Dragos, industrial control system [00:12.820 --> 00:15.460] focused cybersecurity company, in case you haven't heard of it. [00:15.900 --> 00:18.460] Prior to that, though, I was running incident response at Los [00:18.460 --> 00:21.420] Alamos National Laboratory, was in the Navy, did some things [00:21.420 --> 00:24.480] there. Some were interesting, some were not. And I was [00:24.480 --> 00:27.260] actually a philosophy graduate student dropout at the [00:27.260 --> 00:29.400] University of Chicago before I got involved in anything [00:29.400 --> 00:32.520] relating to computers, like the most I did before, maybe the [00:32.520 --> 00:35.800] Navy was game. So yeah, I've kind of took an interesting, [00:35.800 --> 00:37.300] well, we've all taken interesting paths to this [00:37.300 --> 00:39.980] field, but enough about me. Main thing we want to talk about [00:39.980 --> 00:43.520] today are, you know, what are some major ICS attacks? What [00:43.520 --> 00:45.860] could we learn from those? But also look at those in the [00:45.860 --> 00:49.480] context of a surge and sort of minor IT based events and look [00:49.480 --> 00:52.580] for the overlap and behaviors between these two and how do we [00:52.580 --> 00:55.600] can start designing defense in light of what we've observed [00:55.600 --> 00:58.780] from the sort of smaller things that are bubbling up. [00:59.400 --> 01:02.260] So looking at ICS events, there's really not all that many [01:02.260 --> 01:05.440] that are publicly disclosed or identified. So we've certainly [01:05.440 --> 01:08.020] have seen some rather headline grabbing events in the last few [01:08.020 --> 01:11.220] years. But, you know, in terms of ICS focused malware, you have [01:11.220 --> 01:15.640] Stuxnet, Drink, Havocs, Black Energy 2 and 3, although Black [01:15.640 --> 01:19.100] Energy 3 really isn't ICS based, it was just used for an ICS [01:19.100 --> 01:21.900] attack. We can talk about that after this if you'd like. Uh, [01:21.900 --> 01:24.340] the crash override framework, which I was, had the pleasure of [01:24.340 --> 01:26.460] being here last year to talk about that with the guys from [01:26.460 --> 01:30.240] ESET. Uh, and then Trisys, which was, uh, fairly recent, [01:30.240 --> 01:34.300] September, um, August of last year, 2017. But then looking at [01:34.300 --> 01:36.520] this, and we have a few other disruptive attacks, you know, [01:36.520 --> 01:38.400] the malware maps to certain things, like we know what [01:38.400 --> 01:41.600] happened, what has happened in Ukraine. Uh, there was the still [01:41.600 --> 01:44.860] mysterious German steel mill event of 2014. If anyone has [01:44.860 --> 01:48.080] more info on that, please talk to me. And, uh, you know, then [01:48.080 --> 01:50.920] moving into, again, the events I just talked about with Trisys [01:50.920 --> 01:53.480] and crash override. And only a couple of things that have [01:53.480 --> 01:56.660] genuinely been disruptive. Stuxnet, crash override, and [01:56.660 --> 01:59.880] Trisys. So we're not talking about a very large sample size. [01:59.880 --> 02:03.140] And again, emphasizing known, um, you know, if you happen to [02:03.140 --> 02:07.280] be a three letter agency person with little, lots of, you know, [02:07.280 --> 02:09.900] words and letters or whatever after your name, maybe you can [02:09.900 --> 02:13.080] speak to some others, just not here. Uh, but there's just not [02:13.080 --> 02:15.680] that many events to start designing detections around and [02:15.680 --> 02:21.080] take lessons from. So, you know, if we're looking to design [02:21.080 --> 02:24.620] defense in ICS environments, what's our corpus of data? What [02:24.620 --> 02:27.560] is our, uh, ability in order to start reading into this so that [02:27.560 --> 02:30.240] we can start building out a defensive framework? Well, we [02:30.240 --> 02:33.760] just don't have enough, you know, items within the ICS space [02:33.760 --> 02:37.300] to really use those as, at least our exclusive set of building [02:37.300 --> 02:39.860] blocks for how to arrange defense. Furthermore, if you're [02:39.860 --> 02:42.900] taking a very traditional IOC approach to defense, you're just [02:42.900 --> 02:46.080] gonna find yourself in a bad spot quite quickly because we [02:46.080 --> 02:48.720] don't have a very large set of IOCs. We have, you know, maybe a [02:48.720 --> 02:52.520] couple dozen hashes, uh, you know, IP addresses and stuff [02:52.520 --> 02:54.460] like that might be somewhat relevant depending on the [02:54.460 --> 02:57.360] environment, but we're talking about, you know, presumably a [02:57.360 --> 02:59.580] controlled network that's not hooked up to the internet, I [02:59.580 --> 03:03.120] hope. Um, so instead of focusing on these IOCs, why don't we look [03:03.120 --> 03:06.360] at methodologies instead to look at how adversaries fundamentally [03:06.360 --> 03:09.440] have to behave and start building out defense in that [03:09.440 --> 03:12.320] respect. You know, furthermore, looking at the attacks in [03:12.320 --> 03:14.920] question, you know, especially when we're talking about the [03:14.920 --> 03:17.100] disruptive things, they're very specific to what they were [03:17.100 --> 03:20.360] designed to disrupt. You know, Stuxnet, if you weren't running [03:20.920 --> 03:25.020] a enrichment facility in Central Asia-ish or whatever, you really [03:25.020 --> 03:26.560] didn't have to worry about it. It might have spread to your [03:26.560 --> 03:28.340] system, but the way it was designed, it was really only [03:28.340 --> 03:30.720] looking for a very specific environment to trigger its [03:30.720 --> 03:34.300] payload. Uh, crash override was kind of modular, but at the same [03:34.300 --> 03:36.860] time, you really needed to build up the capabilities in question [03:36.860 --> 03:39.900] in order to deliver the effect on target. And then Trisys was [03:39.900 --> 03:43.080] very specific, like if you're not running the exact piece of [03:43.080 --> 03:45.500] equipment with the exact processor set and the exact [03:45.500 --> 03:48.120] firmware set that it was built to, you really don't need to [03:48.120 --> 03:50.640] worry about it. Very much designed for the target in [03:50.640 --> 03:53.460] question. So again, if you're trying to build defense off of [03:53.460 --> 03:58.080] these, using the IOCs from Trisys is useless, because unless [03:58.080 --> 04:00.000] you're running that very specific piece of equipment, [04:00.000 --> 04:03.080] which some people may, uh, it's not germane to your, your [04:03.080 --> 04:06.060] interests. It's not relevant to defending your network. So what [04:06.060 --> 04:08.820] we've really seen when it comes to, and you know, not to cast [04:08.820 --> 04:11.740] dispersion on other researchers and, and whatnot, but when it [04:11.740 --> 04:14.640] comes to talks like this or going to Black Hat and other big [04:14.640 --> 04:18.140] events, and we look at things across the ICS cyber kill chain, [04:18.140 --> 04:22.000] I'm sorry, you know, we really see things focusing on just that [04:22.000 --> 04:24.920] final stage that, you know, execute attack, what's that [04:24.920 --> 04:27.980] disruptive, destructive event, but we leave out all of these [04:27.980 --> 04:32.000] other things. So what we really want to do is because past [04:32.000 --> 04:35.120] events aren't all that sufficient to start designing a [04:35.120 --> 04:38.520] more robust defensive framework, because we want to, you know, [04:38.520 --> 04:41.320] look for other ways of going about this to see what it is [04:41.320 --> 04:43.260] that we're missing and how we can move forward to build [04:43.260 --> 04:45.720] something more robust, especially for a control system [04:45.720 --> 04:52.300] environment. So while we've talked about, you know, the [04:52.300 --> 04:55.080] scope and scale of ICS events, where do we get this larger [04:55.080 --> 04:58.220] corpus of data then to start building stuff up? Well, really [04:58.220 --> 05:01.060] we can just look at general IT infections because, you know, [05:01.060 --> 05:05.180] buzzword here, IT OT convergence means that a lot of your classic [05:05.180 --> 05:08.280] IT vulnerabilities and threat surface has been migrated into [05:08.280 --> 05:11.260] the operational environment. You know, aside from marketing [05:11.260 --> 05:13.680] buzz talk around that, you know, from a security perspective, [05:13.680 --> 05:15.720] that's pretty damn important because it means that a lot of [05:15.720 --> 05:17.640] the lessons and a lot of the things that we're seeing in IT [05:17.640 --> 05:20.980] environments get moved into the ICS environment and are just as [05:20.980 --> 05:23.140] effective there and perhaps even more so because we're dealing [05:23.140 --> 05:25.980] with environments that don't have or are not amenable to the [05:25.980 --> 05:29.660] fancy EDR solutions or, you know, complete visibility and [05:29.660 --> 05:32.600] host-based logging and whatnot. So let's, what are the trends [05:32.600 --> 05:35.060] that we're seeing in terms of IT-based attacks? Well, we're [05:35.060 --> 05:38.460] seeing the rise again of the worms, you know, for those who [05:38.460 --> 05:40.420] are maybe a little, this looks like a good audience, everyone [05:40.420 --> 05:43.580] knows what conficker is, et cetera. But, you know, really a [05:43.580 --> 05:46.860] return to that wormable sort of malware over the last year or [05:46.860 --> 05:49.780] so. Uh, really seeing a re-emphasis on credential [05:49.780 --> 05:53.080] capture and reuse. Uh, use of living off the land techniques [05:53.080 --> 05:56.300] and running scripts in memory, leveraging native windows and [05:56.300 --> 05:59.340] operating system, uh, technologies in order to execute [05:59.340 --> 06:01.800] attacks. And then the unfortunate continued use of [06:01.800 --> 06:05.980] wiper malware either as the end destructive event in question or [06:05.980 --> 06:07.640] as a means of cleaning up one's tracks at the end of an [06:07.640 --> 06:12.280] infection event. So in terms of worms, you know, WannaCry, uh, [06:12.280 --> 06:14.640] I don't, Marcus isn't in here because we're not that important [06:14.640 --> 06:18.420] but, uh, so WannaCry about a year ago, um, you know, everyone [06:18.420 --> 06:21.580] was familiar with that. It was exploit-fueled, which meant that, [06:21.580 --> 06:23.960] you know, if you're running SMBV1, it wasn't patched, you [06:23.960 --> 06:26.460] had a bad day if anything that you had was touching the [06:26.460 --> 06:30.840] internet back in June-ish of last year. But what was [06:30.840 --> 06:33.540] interesting is that while that is still a problem, you can ask, [06:33.540 --> 06:36.420] uh, TSMC, the Taiwanese chip manufacturer who had an issue [06:36.420 --> 06:39.640] that they are attributing to WannaCry just this past weekend. [06:39.660 --> 06:41.800] Uh, it's still an issue, but we've seen an evolution in how [06:41.800 --> 06:46.460] these worms work when we went to NotPetya, BadRabbit, Olympic [06:46.460 --> 06:49.460] Destroyer, and migrating away from just exploits and instead [06:49.460 --> 06:53.120] building in things like Mimikatz to harvest credentials on the [06:53.120 --> 06:55.860] fly and then use those to propagate. So it's relatively [06:55.860 --> 06:59.100] low skill in a way. I mean, you have to design the software, but [06:59.100 --> 07:00.720] once you've done that and deployed it, it's pretty much [07:00.720 --> 07:03.940] fire and forget and let things take their course. So looking [07:03.940 --> 07:06.220] at the evolution of worms, I didn't mention this originally [07:06.220 --> 07:09.480] because it's, you know, Mirai, it's important, it's a worm, [07:09.480 --> 07:11.840] used a hard-coded set of credentials to spread. Really [07:11.840 --> 07:15.080] more Internet-of-shit focused than anything else, so not that [07:15.080 --> 07:17.880] big of a deal when it comes to ICS environments. Then we moved [07:17.880 --> 07:21.160] to WannaCry, we had, you know, the SMB exploit. That was pretty [07:21.160 --> 07:23.100] nasty and it's still gonna be nasty in industrial [07:23.100 --> 07:26.480] environments for probably the next 10 years as equipment ages [07:26.480 --> 07:28.880] off and gets replaced and whatnot. But then when we [07:28.880 --> 07:31.640] started getting into NotPetya and BadRabbit, we saw exploits [07:31.640 --> 07:34.620] paired with credential capture in order to spread until [07:34.620 --> 07:36.600] finally we got to OlympicDestroyer, which started [07:36.600 --> 07:40.000] out with an initial seed of credentials that were harvested [07:40.000 --> 07:43.520] through some preliminary operations and then used on-the-fly [07:43.520 --> 07:45.880] capture and reuse to spread quite effectively through the [07:45.880 --> 07:49.040] target network. Now, none of these are industrial-focused, [07:49.040 --> 07:52.260] which is good, but almost all of them have had impacts in [07:52.260 --> 07:54.760] industrial environments because their very nature has allowed [07:54.760 --> 07:57.600] them to take advantage of certain network connections and [07:57.600 --> 07:59.920] levels of connectivity to spread into areas where we really [07:59.920 --> 08:04.460] don't want these things to be. So, you know, we're seeing a [08:04.460 --> 08:09.340] movement towards that exploit-less migration by [08:09.340 --> 08:11.560] harvesting credentials as malware moves throughout the [08:11.560 --> 08:14.120] network, dumping things from LSAS and whatnot, and taking [08:14.120 --> 08:16.380] advantage of the fact that people still stupidly run as a [08:16.380 --> 08:19.840] local administrator all the time, and avoiding the use of [08:19.840 --> 08:23.120] exploits and such, and thus facilitating living off the land [08:23.120 --> 08:25.980] either in an automated fashion by continuing to build up the [08:25.980 --> 08:29.880] capacity and capability of these worms, or pending that access [08:29.880 --> 08:31.640] over that's gained through a wormable exploit to a human [08:31.640 --> 08:34.800] operator so that they can take advantage of what this has been [08:34.800 --> 08:37.880] able to, you know, worm its way into the network and spread. [08:38.220 --> 08:41.380] That leads us to our next topic, living off the land. So, that's [08:41.480 --> 08:43.760] a buzzword, I hate it, but, you know, I think I say that and [08:43.760 --> 08:46.140] everyone kind of knows what I'm talking about, but if you don't, [08:46.140 --> 08:48.520] you know, it's really we're talking about the use of native [08:48.520 --> 08:51.600] Windows system commands, some legitimate system administration [08:51.600 --> 08:56.360] tools like PS exec, as well as administrator-centric scripting [08:56.360 --> 08:59.500] languages, PowerShell, WMI. No news to this audience, you know, [08:59.500 --> 09:02.100] we know that these things are going on, but that's been a [09:02.100 --> 09:04.580] really big shift across, you know, especially our more [09:04.580 --> 09:07.760] advanced threat actors of really eschewing malware and going more [09:07.760 --> 09:12.160] and more towards trying to blend in with native system activity. [09:12.160 --> 09:15.160] Finally, wiper malware. This is like asshole stuff right here. [09:15.160 --> 09:17.420] You know, now we're talking about destructive stuff that's [09:17.420 --> 09:20.800] designed to wipe or otherwise, you know, render systems [09:21.480 --> 09:24.900] unusable. You know, examples being the Shamoon attacks, the [09:24.900 --> 09:27.680] Sony Pictures event, what else did I list there? Yeah. And [09:27.680 --> 09:30.760] Olympic Destroyer was also a wiper as well. So I'm having a [09:30.760 --> 09:34.840] screen resolution issue. So no worries there. But what we've [09:34.840 --> 09:38.160] gotten from looking at this is that, okay, these might not, [09:38.160 --> 09:41.140] these are certainly not ICS focused sort of attack [09:41.140 --> 09:43.280] methodologies. But if we take a step back and instead of [09:43.280 --> 09:47.860] focusing on that very last stage of how these ICS centric attacks [09:47.860 --> 09:51.220] are executed, what I've just talked about facilitates [09:51.220 --> 09:53.220] everything that goes on prior, whether that's your initial [09:53.540 --> 09:57.180] intrusion into the IT network to get into the ICS environment, as [09:57.180 --> 10:00.080] well as the ability to start moving within ICS to identify [10:00.080 --> 10:04.800] your final targets and then deliver that bespoke, whatever, [10:04.800 --> 10:08.700] destructive payload. So what we really want to do, you know, the [10:08.700 --> 10:10.500] specifics of some of these commodity things aren't [10:10.500 --> 10:14.460] relevant. I mean, I'm not a very big IOC fan. I blog about that [10:14.460 --> 10:16.380] and then people yell at me on Twitter or whatever. But, you [10:16.380 --> 10:18.700] know, I'm very much more focused on, you know, how are these [10:18.700 --> 10:22.200] things fundamentally operating? And so looking at those sort of [10:22.200 --> 10:25.460] general underlying trends gives us an idea of how the attack [10:25.460 --> 10:28.380] landscape is shifting and how adversaries that are operating [10:28.380 --> 10:30.360] within the industrial environments that this audience [10:30.360 --> 10:34.260] cares about will execute attacks and what defenders need to do to [10:34.260 --> 10:37.240] evolve to meet them. So expanding the kill chain not [10:37.240 --> 10:39.660] only lets us get a view of, you know, things that we can get a [10:39.660 --> 10:42.780] better grasp on, it also gives defenders the opportunity to [10:42.780 --> 10:46.440] step in and catch these attacks at an earlier stage. So yes, [10:46.440 --> 10:50.000] even if you were able to have a good signature to catch Trisis [10:50.000 --> 10:53.860] or Crash Override or Stuxnet, yeah, I mean, but you're [10:53.860 --> 10:56.640] catching perhaps the very last stage of a complex attack. So [10:56.640 --> 10:58.960] you might just have averted boom, or you might have been [10:58.960 --> 11:02.320] notified and got an email alert about boom 30 minutes before it [11:02.320 --> 11:04.820] actually happens and no one's responded to it yet. That's not [11:04.820 --> 11:07.840] terribly useful. Really, what we want to do is try and, you [11:07.840 --> 11:11.300] know, move left of boom, sorry, former military, so I can [11:11.300 --> 11:14.760] actually say that, I guess, too. But, you know, move further left [11:14.760 --> 11:17.080] of boom as much as you can so that you can capture and [11:17.080 --> 11:19.940] identify these attacks earlier in that kill chain process, [11:19.940 --> 11:23.220] which makes and facilitates cleaning these things up and [11:23.220 --> 11:26.500] mitigating any damage. So really what we're trying to do is, you [11:26.500 --> 11:30.100] know, Venn diagrams are awesome, aren't they? But overlapping IT [11:30.100 --> 11:32.900] attack trends on what the ICS, you know, threat environment [11:32.900 --> 11:35.920] looks like, and really try and focus on that juicy center right [11:35.920 --> 11:38.640] there for the threat surface. Like, that's really where an [11:38.640 --> 11:40.720] adversary is going to be operating, where there's an [11:40.720 --> 11:46.000] opportunity to go forth and stop those things, especially, again, [11:46.000 --> 11:48.840] at an earlier potential stage, but also catch entire categories [11:48.840 --> 11:51.820] of attack instead of worrying about very specific intrusion [11:51.820 --> 11:54.620] events. Again, going back to the fact that many of these events [11:54.620 --> 11:57.600] in question, when we look at concrete examples, are bespoke [11:57.600 --> 11:59.760] in the sense that they're very much tuned to the target [11:59.760 --> 12:03.800] environment in question. So in ICS, you know, worms, I think, [12:03.800 --> 12:07.200] are a big frickin deal. I don't think enough attention has been [12:07.200 --> 12:10.700] paid to this, despite the fact that Renault, FedEx, Maersk, [12:10.700 --> 12:13.640] TSMC, etc., like lots of companies have had a bad day [12:13.640 --> 12:17.260] just from an IT focused worm. Imagine if you take the same [12:17.260 --> 12:19.860] capabilities that were leveraged in, you know, not even [12:19.860 --> 12:23.140] leveraged, but unintentionally used in ICS environments, pair [12:23.140 --> 12:25.260] that with something that's ICS specific in terms of [12:25.260 --> 12:29.340] propagation and spread, and do something Stuxnet like in terms [12:29.340 --> 12:32.340] of awareness for the environment that the malware is running into [12:32.340 --> 12:35.660] at a payload. That's a scary day. I'm glad no one's done that [12:35.660 --> 12:37.880] yet. Please don't take this idea and run with it and execute [12:37.880 --> 12:41.380] that because that would not be cool. But, you know, really, it [12:41.380 --> 12:44.100] could be quite effective means of getting into a network [12:44.100 --> 12:47.060] burying in quite quickly before defenders might even know that [12:47.060 --> 12:50.660] something's going on, and then detonating something further on. [12:51.040 --> 12:53.640] Credential capture is very important as well, because, well, [12:53.640 --> 12:55.640] one of the biggest reasons you don't have to use malware, if I [12:55.640 --> 12:59.360] can log in as, you know, admin, admin, engineer, engineer, etc. [12:59.480 --> 13:03.720] I don't need to exploit anything in that one lowers my signature [13:03.720 --> 13:05.780] threshold. So even if you're running antivirus in the [13:05.780 --> 13:07.840] environment, if I don't have to bring, you know, a piece of [13:07.840 --> 13:09.960] malware in to do something, but you can just pivot around [13:09.960 --> 13:13.060] through RDP and VPN tunnels, like, okay, that's one less [13:13.060 --> 13:15.960] thing to look for, but also allows you to start modeling [13:15.960 --> 13:18.340] legitimate activity, don't have to bring tools into the [13:18.340 --> 13:20.840] environment, which is another touch point for defenders, and [13:20.840 --> 13:23.480] really makes detection very hard. So, again, it's, you know, [13:23.480 --> 13:25.360] it's something we need to deal with, but it's very much the [13:25.360 --> 13:28.240] reality of the now as far as how these attacks are shaping up, [13:28.240 --> 13:31.660] at least in their preliminary stages. Living off the land, [13:31.660 --> 13:33.980] again, continues this theme, don't need to bring tools into [13:33.980 --> 13:36.420] the environment, I've got all my toolkit right there with me, [13:36.420 --> 13:39.200] maybe I bring PS exec into the environment so I can do some [13:39.200 --> 13:42.160] remote process execution, but otherwise, I've got PowerShell, [13:42.160 --> 13:45.940] what else do I need? I can run crap in memory and just copy, [13:45.940 --> 13:50.080] good to go. You know, it really allows adversaries to just get [13:50.080 --> 13:53.560] in, stay in, and not really have to do a lot of moving back and [13:53.560 --> 13:57.400] forth from adversary-controlled infrastructure to the target [13:57.400 --> 14:01.460] network. So what I'm trying to get at here is we're really [14:01.460 --> 14:04.300] looking to build out what I call behavior-based defense. [14:04.300 --> 14:08.040] Targeting the underlying adversary behaviors, targeting [14:08.040 --> 14:10.780] what are necessary adversary touch points, you know, you [14:10.780 --> 14:13.740] might say that, yes, there are potentially infinite different [14:13.740 --> 14:17.480] ways of compiling and creating malware or whatnot to evade [14:17.480 --> 14:20.720] signatures, but at the end of the day, an operator needs to [14:20.720 --> 14:22.960] get control over implants or they need to design implants [14:22.960 --> 14:25.900] with some sort of logic. They typically want to have some [14:25.900 --> 14:28.000] means of staying within a network, some means of [14:28.000 --> 14:30.760] persistence, but looking at those requirements then as means [14:30.760 --> 14:33.560] of targeting what behaviors are necessary to achieve these [14:33.560 --> 14:37.120] things, start avoiding the specific one-off implementations [14:37.120 --> 14:40.380] reflected in an indicator and build a more robust detection [14:40.380 --> 14:43.960] and monitoring framework. So when we're looking about these [14:43.960 --> 14:46.720] things, we want to articulate tactics, techniques, and [14:46.720 --> 14:50.380] procedures, PTPs, again, I'm a former military, I can say that, [14:50.380 --> 14:54.940] and start identifying those underlying attack trends, map [14:54.940 --> 14:58.120] those to the necessary adversary behaviors to execute [14:58.120 --> 15:01.300] successfully an attack, and then start building out defensive [15:02.120 --> 15:05.460] responses, detection frameworks, and playbooks for response [15:05.460 --> 15:08.660] based upon what an adversary just simply has to do in order [15:08.660 --> 15:12.080] to be successful, moving away from the final stages of that [15:12.080 --> 15:17.320] ICS attack kill chain. So, things that we could look for, [15:17.320 --> 15:20.600] you know, pursue those adversary goals. What is it that the [15:20.600 --> 15:23.620] attacker needs to do to achieve things, target those, and move [15:23.620 --> 15:26.640] on? You know, looking for attackers trying to abuse [15:26.640 --> 15:30.220] legitimate commands, etc. These are not easy problems to answer [15:30.220 --> 15:32.980] and I'm not up here to sell a blinky box that's gonna sit in [15:32.980 --> 15:35.540] the rack that tells us, and people who do typically are [15:35.540 --> 15:37.820] selling a little bit of snake oil, uh, you know, these are [15:37.820 --> 15:41.000] difficult things to sort of answer and requires both a [15:41.000 --> 15:44.040] commitment on the part of defenders to start building up a [15:44.040 --> 15:46.420] profile of what attackers are doing, and then building up the [15:46.420 --> 15:49.340] visibility to actually be able to track these sorts of things. [15:49.340 --> 15:51.580] So, what we want to do is, you know, you identify a [15:51.580 --> 15:54.200] fundamental behavior, you know, adversaries need command and [15:54.200 --> 15:56.780] control. C2 is required, unless you're a vulnerable piece of [15:56.780 --> 15:59.660] malware, but even then you might need some C2 of some sort for a [15:59.660 --> 16:02.380] little bit of control over how that worm might interact. So, [16:02.380 --> 16:05.480] like, that fundamental idea of C2 is necessary. Well, how are [16:05.480 --> 16:09.280] different ways of implementing that possible? You know, what [16:09.280 --> 16:13.200] does DNS tunneling look like? What does a, you know, [16:13.200 --> 16:16.620] anomalous, hate that word, uh, HTTP connection coming out of [16:16.620 --> 16:19.280] the network look like? Look at those ways, those broad-based [16:19.280 --> 16:21.160] ways of implementing it, and then what sort of detections [16:21.160 --> 16:24.020] can I build around there? And as far as possible, try to avoid [16:24.020 --> 16:26.940] that last stage, because you can have near-infinite [16:27.360 --> 16:29.780] instantiations of each of these more general items in terms of [16:29.780 --> 16:33.100] concrete observables. Those will change quite trivially, uh, not [16:33.100 --> 16:35.720] as trivially in some cases as possible because people are [16:35.720 --> 16:38.500] lazy humans, but, you know, it's really trying to stay at this [16:38.500 --> 16:41.240] middle ground here to capture both the fundamental [16:41.240 --> 16:44.400] requirements in terms of an attack execution while avoiding [16:44.400 --> 16:48.060] the sort of limitations afforded by, you know, focusing at that [16:48.060 --> 16:51.600] observable stage. So in implementing a behavior-based [16:51.600 --> 16:53.980] approach to ICS defense, we really want to identify those [16:53.980 --> 16:57.560] behaviors of interest, try and get an idea of the different [16:57.560 --> 17:01.520] means of achieving those behavioral objectives, um, you [17:01.520 --> 17:05.340] know, determine... is that a notification? I'm sorry. Uh, and [17:05.340 --> 17:08.540] then build out means of detecting these things as they [17:08.540 --> 17:11.960] move along the line. So for an example, with credential theft, [17:11.960 --> 17:14.060] uh, credential theft and reuse happens. Well, how does it [17:14.060 --> 17:18.120] happen? So there's both the, you know, minicats dumping LSAS [17:18.120 --> 17:20.940] memory in order to achieve it. What does that look like? Well, [17:23.020 --> 17:27.380] yeah. Posted network visibility are important items in terms of [17:27.380 --> 17:29.600] answering this. So, like, in order to see when these events [17:29.600 --> 17:32.480] happen, what sort of visibility, what, uh, information [17:32.480 --> 17:34.960] telemetry do I need to track it? And then how do I then build [17:34.960 --> 17:38.560] out an appropriate security response in order to defeat it? [17:39.300 --> 17:41.980] So the thing is, is that do not alert on minicats. I mean, [17:41.980 --> 17:44.200] maybe, like, you know, if someone wants to compile the [17:44.200 --> 17:46.140] source code off of GitHub and they're stupid enough to do [17:46.140 --> 17:48.420] that, all right, we can alert on that hash to catch the lazy [17:48.420 --> 17:50.760] bottom feeding address areas. Although interesting enough, [17:50.760 --> 17:52.600] some advanced ones have done this in environments that I'm [17:52.600 --> 17:55.900] familiar with. Uh, but really the main idea is to focus on, [17:55.900 --> 17:58.960] well, what does minicats allow you to do? How do I start [17:58.960 --> 18:01.440] looking at that idea, not just of seeing the initial [18:01.440 --> 18:03.880] credential dump, but then how that's actually implemented by [18:03.880 --> 18:07.820] looking for logon activity that may be of interest, uh, you [18:07.820 --> 18:10.700] know, anomalous, suspicious, or definitely malicious, and start [18:10.700 --> 18:14.540] designing my defensive framework around that. So to talk about a [18:14.540 --> 18:17.000] concrete example of this, let's talk about crash override. Why [18:17.000 --> 18:19.500] talk about crash override? Well, because I worked on that a lot [18:19.500 --> 18:22.540] and so I can talk about it to a certain level of detail. It's [18:22.680 --> 18:26.120] also a pretty important attack in the ICS space. In this case, [18:26.120 --> 18:28.300] the attack took place, you know, they had to penetrate the ICS [18:28.300 --> 18:31.360] network, establish some sense of some sort of foothold, survey [18:31.360 --> 18:33.260] the environment, get a feel what's going on there and then [18:33.260 --> 18:35.700] deliver the attack. What's that sound like? It sounds like that [18:35.700 --> 18:37.700] kill chain thing that we were talking about before, meaning [18:37.700 --> 18:41.960] that getting from here to there requires a lot of time, effort [18:41.960 --> 18:44.420] and other work in order to really execute it. So if you're [18:44.420 --> 18:48.180] only focusing on this final stage right here, you've just [18:48.180 --> 18:52.840] seeded your pen testing friends or your nasty black hat actors [18:52.840 --> 18:55.740] all sorts of ground in terms of where they're able to operate [18:55.740 --> 18:58.980] fat and happy without you being able to see it. So building up [18:58.980 --> 19:02.220] stuff around here lets you start catching this sort of activity. [19:03.200 --> 19:06.100] The crash override event required a lot of prepositioning [19:06.100 --> 19:09.080] to execute and looking at how that prepositioning took place, [19:09.740 --> 19:12.040] you know, at least from what we've observed so far and [19:12.040 --> 19:15.500] reported mostly privately to this point, what we observed was [19:15.640 --> 19:18.520] a lot of credential capture and reuse. We observed beamy cats in [19:18.520 --> 19:21.680] the environment, not just beamy cats, but like beamy cats [19:21.680 --> 19:24.420] dumped off the GitHub repo, packed with UPX and then [19:24.420 --> 19:27.600] deployed. That's a pretty easy damn signature, actually. And [19:27.600 --> 19:30.040] then a lot of use of native system commands and tools in [19:30.040 --> 19:32.040] order to then facilitate movement of malware throughout [19:32.040 --> 19:34.760] the network. So really mapping on right to those same trends [19:34.760 --> 19:39.140] that we identified in terms of more general ICS attacks. So [19:39.140 --> 19:44.160] yeah, we saw a pack copy of beamy cats, PS exec 2.11 in [19:44.160 --> 19:46.400] terms of what was used in the environment for remote process [19:46.400 --> 19:49.360] execution. And then a bunch of scripts that could have been [19:49.360 --> 19:53.140] pulled from a tech net help page or from, you know, stack [19:53.140 --> 19:56.880] overflow in order to facilitate things like system survey, [19:56.880 --> 19:59.480] monitoring, verifying that file is removed, and then doing some [19:59.480 --> 20:01.980] also remote execution stuff. So we're not talking about [20:01.980 --> 20:03.980] anything that's really advanced here and really mapping right [20:03.980 --> 20:07.220] on to what we've talked about so far. So for an example, here's [20:07.220 --> 20:09.900] an ugly ass script that was used by the adversary Electrum [20:09.900 --> 20:13.300] within this environment. On its face, it looks very much like [20:13.300 --> 20:17.300] something you'd expect using WMI and W script in order to just do [20:17.300 --> 20:19.420] some system profiling if you're trying to get a feel for what's [20:19.420 --> 20:22.260] in your environment. You know, what's the so what there? Among [20:22.260 --> 20:24.960] other things, you know, there's no obfuscation whatsoever going [20:24.960 --> 20:27.980] on in here. So from a visibility standpoint, are you actually [20:27.980 --> 20:30.360] monitoring for these things as they pop up within your network [20:30.360 --> 20:33.260] to the extent possible? The example I like to give it, I've [20:33.260 --> 20:36.200] given a talk on this previously a few times, is pairing bro for [20:36.200 --> 20:38.820] file carving with things like Yara in order to do a deep dive [20:38.820 --> 20:41.180] into them. Well, you can search for script files and then look [20:41.180 --> 20:43.420] for these sort of administrator commands identifying system [20:43.420 --> 20:46.080] profiling to at least identify when these things are moving [20:46.080 --> 20:48.560] around, which could be a good touch point that something a [20:48.560 --> 20:51.360] little shady might be going on in the environment. So we've [20:51.360 --> 20:53.620] seen an overlap with some of these same general TTPs we [20:53.620 --> 20:56.760] talked about. And believe it or not, I didn't just like sort of [20:56.760 --> 20:59.340] shoehorn this in like, you know, it's kind of like came to me in [20:59.460 --> 21:02.520] a dream fueled mostly likely by alcohol or something similar [21:02.520 --> 21:04.760] that, you know, hey, like, you know, what we're seeing with [21:04.760 --> 21:06.720] these general attacks actually kind of maps right on to what we [21:06.720 --> 21:09.440] observed in the crash override event from soup to nuts. So [21:09.440 --> 21:11.760] really looking for, you know, how do we start tracking and [21:11.760 --> 21:14.440] identifying these sorts of things to build out some robust [21:14.440 --> 21:16.800] defense, because at the end of the day, these adversaries are [21:16.800 --> 21:18.940] following the same sort of script and playbook that we're [21:18.940 --> 21:23.300] seeing the more lower level attacks use. So defense against [21:23.300 --> 21:25.560] this, you know, really need to build defenses around what we [21:25.560 --> 21:28.540] talked about earlier in terms of IT attack trends, you know, [21:28.540 --> 21:31.280] credential replay and reuse. How do you identify when that's [21:31.280 --> 21:33.760] taking place? How do you identify that living off the [21:33.760 --> 21:37.100] lands tech taking place? But once you do that, and I'm sorry, [21:37.100 --> 21:38.920] we have a short timeframe here. So we're not going to get too [21:38.920 --> 21:42.880] much into the weeds on that. But the result of doing that sort of [21:42.880 --> 21:46.100] defensive playbook is that you've now not just built up a [21:46.100 --> 21:48.800] defense against how the Electrum adversary responsible for crash [21:48.800 --> 21:51.700] override operates, you've also covered a lot of other attack [21:51.700 --> 21:53.880] pathways as well for other adversaries that are going to [21:53.880 --> 21:59.100] try and do roughly the same damn thing. So we've actually seen [21:59.100 --> 22:01.820] this within the ICS environment, looking at some of the events [22:01.820 --> 22:05.160] that have taken place over the last year ish, give or take [22:05.780 --> 22:08.960] Alanite, which is in the news yet again, when DHS decided to [22:08.960 --> 22:12.240] re-release after they re-released news about the [22:12.240 --> 22:14.560] Russians in the US electric grid, a lot of their [22:14.560 --> 22:17.580] operations, credential capture and reuse and using a lot of [22:17.580 --> 22:20.240] scripts and system commands. Same thing looking at the [22:20.240 --> 22:23.280] Zenotime adversary responsible for Trisys or Triton. I don't [22:23.280 --> 22:26.780] know who sat in on the Black Hat talk on that if you had access [22:26.780 --> 22:29.260] to that talk, but you know, unfortunately, they didn't go [22:29.260 --> 22:31.940] into the actual preliminary for the attack. But if you look at [22:31.940 --> 22:34.460] how the attack was executed in the environment, again, seeing [22:34.600 --> 22:37.300] a lot of the same things, Amecats, using native system [22:37.300 --> 22:40.200] tools, maybe a few custom scripts and custom binaries, but [22:40.200 --> 22:42.840] overall, really mapping on to how we're observing these [22:42.840 --> 22:47.260] attacks play out in, you know, the IT landscape. So the impact [22:47.260 --> 22:49.280] is, is that when you once you start covering something like [22:49.280 --> 22:52.800] credential theft, not only are you defending against a, you [22:52.800 --> 22:55.000] know, specific adversary, but you're defending against entire [22:55.000 --> 22:57.640] classes of behavior, which means that you get a better [22:57.640 --> 23:00.560] opportunity in order to try and identify and defeat multiple [23:00.560 --> 23:03.540] different things as a result of that sort of commonality and, [23:03.540 --> 23:07.180] you know, very fundamental overlap in TTP. Worms are [23:07.180 --> 23:09.520] another example. So wormable infections, as I mentioned [23:09.520 --> 23:12.060] earlier, are really scary and worry me because I think they [23:12.060 --> 23:14.140] can kick our ass in the ICS environment if someone [23:14.140 --> 23:16.720] sufficiently weaponizes it and we've seen it before. Again, [23:16.720 --> 23:21.580] Stuxnet, Drink. But, you know, that ability to move and burrow [23:21.580 --> 23:23.600] within a network with no oversight is truly scary [23:23.600 --> 23:27.000] because it allows for that unsupervised migration into the [23:27.000 --> 23:30.080] network and potential to deploy a capability with very little [23:30.080 --> 23:32.800] human intervention. And as we've seen with certain ICS [23:32.800 --> 23:36.800] impacting but IT focused malware sets, they were quite effective [23:36.800 --> 23:40.940] even though they weren't, didn't intend to be so. So, so far [23:40.940 --> 23:43.300] again, the only ICS targeting worm is Stuxnet, but others have [23:43.300 --> 23:46.520] had ICS impacts. And so focusing on how those impacts came [23:46.520 --> 23:49.000] about and how those might be changed and weaponized in the [23:49.000 --> 23:51.760] future, gives us a good warning for what we need to start doing [23:52.480 --> 23:55.260] now, I would say like six months ago, and we're gonna shore up [23:55.260 --> 23:58.060] against these things. And as any ICS professional can tell you, [23:58.060 --> 24:01.640] just saying, well, apply the patch for MS1710. Like, well, I [24:01.640 --> 24:03.580] can't necessarily do that everywhere unless I want to [24:03.580 --> 24:06.220] void my warranty, or, you know, maybe the vendor doesn't [24:06.220 --> 24:09.720] support it yet, or I need SMBV1 because my historian product [24:09.720 --> 24:12.780] requires it in order to move data around the network, etc. So [24:12.780 --> 24:15.000] there's a lot of dependencies here and just saying, apply the [24:15.000 --> 24:18.480] patch is not a good answer. And yes, and the result of not a [24:18.480 --> 24:21.500] good answer is that you get this happening in this environment, [24:22.120 --> 24:24.780] which is not a good day. I imagine that the poor process [24:24.780 --> 24:29.060] engineer in that facility had, I hope he got a beer after that, [24:29.060 --> 24:32.560] if nothing else, because it's a pain to deal with. So we've [24:32.560 --> 24:35.980] avoided, as far as trends within worms, is that we've seen first [24:35.980 --> 24:38.620] off, the avoidance of exploits as time has moved on. So we [24:38.620 --> 24:41.080] started out like Stuxnet is still the crown jewel or [24:41.080 --> 24:43.180] whatever, a couple of Windows Zero days and some other fancy [24:43.180 --> 24:46.260] shit, not everyone can do that. Mirai, okay, a bunch of [24:46.260 --> 24:49.080] hardcoded passwords for internet of shit things. But then seeing [24:49.080 --> 24:52.300] the weaponization of MS1710, very effective, still going to [24:52.300 --> 24:54.660] be effective for the future. But then adversaries start getting [24:54.780 --> 24:57.820] a little savvier and start doing that integrated credential [24:57.820 --> 25:01.960] capture and replay to facilitate propagation. So using native [25:01.960 --> 25:05.040] means within the system, like net use commands, and you know, [25:05.040 --> 25:08.360] doing mapping shares to try and copy itself over and avoiding [25:08.360 --> 25:11.280] the use of what looks like, you know, obvious malicious code. [25:11.280 --> 25:13.780] And finally, a shift to wipers at the end, this is the asshole [25:13.780 --> 25:16.340] move. So we saw it with NotPetya, we saw it again with [25:16.340 --> 25:18.880] Olympic Destroyer, you know, what's the worm doing, get on [25:18.880 --> 25:22.400] target, start doing, you know, mucking with the system and make [25:22.400 --> 25:25.800] it unbootable or wipe data because you, you know, deployed [25:25.800 --> 25:28.380] ransomware that has no decryption key. In an ICS [25:28.380 --> 25:30.880] environment, that's a very bad day, unless you are backing up [25:30.880 --> 25:34.060] all your project files offline, etc. That's going to ruin you [25:34.060 --> 25:37.720] very fast and make your network quite untenable to operate. So [25:37.720 --> 25:40.640] the risk to ICS is that you get some self propagating malware [25:40.640 --> 25:43.360] introduced to the environment, it finds and traverses an IT [25:43.360 --> 25:47.140] ICS link. That might not sound reasonable, but then again, look [25:47.140 --> 25:50.040] at WannaCry, take advantage of some SMB links from historians [25:50.040 --> 25:52.760] to business process systems in the IT network and boom, you got [25:52.760 --> 25:55.800] WannaCry in the OT environment. And then if you can just [25:55.800 --> 25:58.440] weaponize that by tacking on some sort of ICS specific [25:58.440 --> 26:01.340] payload, the step that has not been taken yet, thank goodness, [26:01.340 --> 26:05.580] you get a really big problem that crops up. So really, what [26:05.580 --> 26:10.540] you can do is like Stuxnet for dummies. You know, to think that [26:10.540 --> 26:13.380] we've kind of like moved back to what was the most advanced [26:13.380 --> 26:16.060] attack yet no one really seemed to like build off of that a [26:16.060 --> 26:18.900] little bit is kind of surprising. Yet, that's kind of [26:18.900 --> 26:22.300] where we are. If you can start taking these sorts of attack [26:22.300 --> 26:24.800] pathways and weaponize them in such a fashion that you're not [26:24.800 --> 26:27.860] relying on the exploits and add that ICS component, you get a [26:27.860 --> 26:30.600] very robust attack that can result in disruption or even [26:30.600 --> 26:32.900] potentially destructive destruction if you have a good [26:32.900 --> 26:36.400] enough ICS attack developer. So in building defense, you know, [26:36.400 --> 26:38.600] how do we want to do this? Well, what's one of the fundamentals [26:38.600 --> 26:41.660] behind how this attack executes? Well, it has to spread. So [26:41.660 --> 26:44.320] looking at how things can spread within your network, do you have [26:44.320 --> 26:46.900] network choke points? Does your network look like the top of [26:46.900 --> 26:50.680] this podium in terms of how flat it is? If it does, then you have [26:50.840 --> 26:53.140] a problem because if you get a wormable infection on just that [26:53.140 --> 26:55.320] one central node or one of them, it's going to propagate [26:55.320 --> 26:58.280] everywhere quite quickly. But if you establish choke points and [26:58.280 --> 27:00.760] use those as a means of hardening defense by, you know, [27:00.760 --> 27:02.940] building them up as bastion hosts or something along those [27:02.940 --> 27:05.360] lines, then you get the ability to stop these sorts of things in [27:05.360 --> 27:08.620] their tracks, or at least sort of limit the damage by allowing [27:08.620 --> 27:11.100] you to filter to a certain specific endpoint and being able [27:11.100 --> 27:14.120] to take action there. And then reducing that attack surface. So [27:14.120 --> 27:17.400] identifying what those IT ICS traversing links are, locking [27:17.400 --> 27:20.140] those down as much as possible, and maybe making sure that they [27:20.140 --> 27:22.760] host on the other end of those, you know, whether that's putting [27:22.760 --> 27:27.020] in something like a, you know, VPN gateway or some other sort [27:27.020 --> 27:29.680] of bastion host, making sure that guy's patched, probably a [27:29.680 --> 27:32.600] good idea. Finally, you want to increase visibility within the [27:32.600 --> 27:35.220] network with worms might not help too much, because it's just [27:35.220 --> 27:37.280] going to tell you what happened after the fact, which is [27:37.280 --> 27:39.940] actually not trivial, because just being able to say that, hey, [27:39.940 --> 27:42.400] we know why this happened is still an important question to [27:42.400 --> 27:47.420] answer. But can inform detection, mitigation, and also [27:47.420 --> 27:50.200] recovery by being able to track how an attack was actually [27:50.200 --> 27:53.180] executed within the environment. So the impact is, is that will [27:53.180 --> 27:55.020] hopefully get better architecture, you know, you [27:55.020 --> 27:57.260] actually have a segmented network, some sane permissions [27:57.260 --> 27:59.620] in place, etc. And you've reduced your attack surface to [27:59.620 --> 28:02.240] mitigate other attacks, and you've narrowed the possibilities [28:02.240 --> 28:04.640] for interactive intrusion, while you're taking care of that [28:04.640 --> 28:07.440] wormable threat. So by focusing in how these things self [28:07.440 --> 28:09.800] propagate, you've now taken care of or at least started to [28:09.800 --> 28:13.100] address problems like, you know, RDP use by using captured [28:13.100 --> 28:16.420] credentials by a human in the loop, taking advantage of single [28:16.420 --> 28:18.360] points of failure in the network in order to start spreading [28:18.360 --> 28:21.080] malware willy nilly within the control system network. So [28:21.080 --> 28:24.700] really, again, taking advantage of what ideas are afforded by [28:24.700 --> 28:29.860] these general IT attack trends to improve ICS based defense. So [28:29.860 --> 28:31.880] in developing defense, you know, what really we want to, you [28:31.880 --> 28:34.540] know, identify those sort of common commodity sorts of [28:34.540 --> 28:37.100] attacks and start building up an idea of how these things [28:37.100 --> 28:39.700] look within the environment, and then close at the sort of [28:39.700 --> 28:42.500] pinnacle with how we're going to start building detections and [28:42.500 --> 28:45.900] response around them. And again, the idea being is that once you [28:45.900 --> 28:48.600] start getting up here and developing ways of responding [28:48.600 --> 28:51.020] and identifying these, that you're covering a very broad [28:51.020 --> 28:54.480] base of potential attacks based upon the identification of [28:54.480 --> 28:57.880] fundamental behaviors that adversaries are taking. So [28:57.880 --> 29:00.120] ultimately, and I just got a five minute warning, so we're [29:00.120 --> 29:05.000] out of time for questions, is if you look at how attacks play [29:05.000 --> 29:07.320] out, and I know this is a sort of an offensive conference, I'm [29:07.320 --> 29:11.360] sorry, I'm a, like, blue teamer all the way, that defense really [29:11.360 --> 29:13.780] has the advantage when it comes to ICS defense if you're doing [29:13.780 --> 29:16.440] this sort of work. Because when you look at how an adversary [29:16.440 --> 29:19.120] has to operate, they've got a lot of steps that they have to [29:19.120 --> 29:23.840] succeed in in order to actually execute, what the... there we [29:23.840 --> 29:27.620] go, in order to actually execute an IT, an ICS based attack. [29:27.620 --> 29:29.460] They've got to get into the IT network, they've got to figure [29:29.460 --> 29:31.900] out how to move from the IT network to get into the control [29:31.900 --> 29:34.320] system network, figure out where the hell they are and [29:34.320 --> 29:36.360] what's in that control system network if they haven't [29:36.360 --> 29:38.420] harvested that from a spreadsheet sitting on the IT [29:38.420 --> 29:41.180] network, which hopefully they didn't. But even if that step's [29:41.180 --> 29:42.720] been accomplished and they already know what they're [29:42.720 --> 29:45.640] getting into, you still have to get onto those devices, tunnel [29:45.640 --> 29:48.060] into where you can actually start delivering a destructive [29:48.060 --> 29:50.800] or destructive payload and deploy it. That's a lot of [29:50.800 --> 29:53.380] touch points that as defenders you can use in order to trigger [29:53.380 --> 29:56.500] off of what's going on and thus build out a more robust [29:56.500 --> 29:59.680] multi-stage defense. And if you're lucky, you get them [29:59.680 --> 30:02.140] here. If nothing else, you just want to make sure that your [30:02.140 --> 30:04.140] response isn't when you see smoke coming up from one of the [30:04.140 --> 30:07.640] machines on the plant floor. But really by following these [30:07.640 --> 30:10.260] steps, I would say that defense legitimately has the advantage [30:10.260 --> 30:13.420] and having done maybe things that are more on the attacker [30:13.420 --> 30:16.420] side, it's harder than it looks and it's harder than we often [30:16.420 --> 30:18.940] make it seem and adopting that approach, again, sorry, [30:18.940 --> 30:21.700] defender here, really drives home the point that defense is [30:21.700 --> 30:23.960] doable within these environments. So that's all I've [30:23.960 --> 30:42.640] got. And now we've got a fast question. I don't know. I wish [30:42.640 --> 30:47.660] I did. There's still a lot of details around that attack that [30:47.660 --> 30:50.440] either are not public or just simply unknown for various [30:50.440 --> 30:53.100] reasons. So we're still poking at that one and hoping to [30:53.100 --> 30:54.780] answer that question someday. But unfortunately, I don't have [30:54.780 --> 30:56.060] an answer for you right now. [31:18.220 --> 31:21.180] Yes, that's a good question. And that's again goes to my [31:21.180 --> 31:24.120] scary scenario. So I've seen some other talks or whatever, [31:24.120 --> 31:26.740] like, oh, building an ICS attack is easy or whatever, you [31:26.740 --> 31:29.720] just buy some stuff off eBay and rip some firmware or whatever. [31:29.720 --> 31:32.340] And boom, you build an exploit. It's not that easy, thank [31:32.340 --> 31:34.860] goodness, because again, a lot of the benefit to that is [31:34.860 --> 31:36.940] depending on how you're building out an attack and what [31:36.940 --> 31:40.380] equipment you're targeting. The unfortunate diversity in [31:40.380 --> 31:45.660] vendors, standards and protocols builds in a unintentional layer [31:45.660 --> 31:49.160] of security in that something that's going to say, attack the [31:49.160 --> 31:52.380] DMP3 protocol for North American electric operations, [31:52.380 --> 31:56.380] could be inapplicable for targeting, say, IEC 61850, which [31:56.380 --> 31:59.200] well, no, that's a bad example. IEC 104, crash override [31:59.200 --> 32:01.960] example, more prevalent in Europe and the Middle East. So [32:01.960 --> 32:04.220] it really depends on what sort of targets you're looking at, [32:04.220 --> 32:05.980] what you're actually identifying, and then weaponizing [32:05.980 --> 32:09.120] it in that fashion. So it is possible, though, like we may, [32:09.120 --> 32:11.220] well, we didn't really see it. And this will be a talk [32:11.220 --> 32:14.900] tomorrow, the Modbus capture capability for VPN filter. [32:14.900 --> 32:16.840] People have kind of implemented something along these lines [32:16.840 --> 32:19.340] already. But that's only one example. And that is [32:19.340 --> 32:22.180] allegedly, we'll talk to Mr. DeSantis tomorrow, [32:22.800 --> 32:25.140] state-sponsored sort of activity, so not talking about [32:25.140 --> 32:28.660] just any Johnny off the street executing that attack. So in [32:28.660 --> 32:30.940] terms of the possibility of developing that, and again, [32:30.940 --> 32:33.020] it's going to take time, effort, and resources to build [32:33.020 --> 32:35.800] that out, but it's not impossible. And we've already [32:35.800 --> 32:38.160] seen someone getting part of the way there with Olympic [32:38.160 --> 32:41.100] Destroyer, because even just the capability that it offered, [32:41.100 --> 32:43.560] which was very Windows system focused in terms of, well, [32:43.560 --> 32:46.460] what's funny, Olympic Destroyer, the wiper function [32:46.460 --> 32:48.980] operated very similar to the wiper function in crash [32:48.980 --> 32:51.820] override, in that on top of wiping some files, it also [32:51.820 --> 32:54.620] remapped systems in a way to render the system unbootable. [32:54.620 --> 32:56.580] So really using the same sort of behavior, again, behavior [32:56.580 --> 33:00.040] based defense. But if you ran that in an ICS network and it [33:00.040 --> 33:02.360] spreads to Windows machines there, and you can do that by, [33:02.360 --> 33:05.620] you know, deploy an implant that sniffs for Modbus traffic [33:05.620 --> 33:07.760] on the wire. If it's in a situation where it detects [33:07.760 --> 33:10.460] Modbus, I might be in the ICS network. Let me fire the wiper [33:10.460 --> 33:12.480] there because I'm going to do more damage. Please don't take [33:12.480 --> 33:17.900] that idea. But anyway, and at that point, you're wiping HMIs [33:17.900 --> 33:20.600] and engineering workstations, which, yeah, maybe you haven't [33:20.600 --> 33:23.000] caused physical destruction, but you've disabled your plant [33:23.000 --> 33:25.280] environment and your engineers can't do their job. So, yeah, [33:25.280 --> 33:27.560] it's evidently possible. It's just not necessarily the [33:27.560 --> 33:28.620] easiest thing to do. [33:39.250 --> 33:41.830] I do. You know, and that's one thing, like, everyone wants to [33:41.830 --> 33:44.070] bemoan the state of ICS security. Like, oh, the vendors [33:44.070 --> 33:46.110] are shit. The engineers don't want to patch their crop or [33:46.110 --> 33:48.110] whatever. Like, no, I think everyone's taking this serious. [33:48.190 --> 33:51.270] The problem is, is that you're not, like, for the same reason [33:51.270 --> 33:53.370] why WannaCry is going to be a problem for the next five, ten [33:53.370 --> 33:55.430] years, probably, is that you just don't, like, oh, well, [33:55.430 --> 33:57.190] replace that piece of equipment. Like, that cost a [33:57.190 --> 33:58.350] million dollars. [33:59.050 --> 34:01.850] Right, exactly, which is the issue. So, as a result, we get [34:01.970 --> 34:04.770] a really long tail, you know, that we're dragging behind us [34:04.770 --> 34:07.150] of legacy equipment with its own sort of problems, which is [34:07.150 --> 34:10.450] why, again, building that, you know, layered defensive model [34:10.450 --> 34:12.950] is important because, like, yeah, I might have some PLCs or [34:12.950 --> 34:15.030] whatever that those are going to be vulnerable to, you know, [34:15.030 --> 34:18.050] MS-867 or whatever for the next 20 years, and I'm not ripping [34:18.050 --> 34:21.590] them out anytime soon. But I've got these HMIs and EWs that are [34:21.590 --> 34:23.970] sitting a little further upstream. I can harden those, [34:23.970 --> 34:26.150] though, to make sure that, you know, that lessens the [34:26.150 --> 34:28.530] likelihood that someone will be able to take advantage of the [34:28.530 --> 34:31.290] weaker equipment at a lower layer of the Purdue model. [34:34.980 --> 34:39.780] Yes. No, unless you're nuclear power, there is no air gap. [34:39.780 --> 34:43.260] Sorry, that ship sailed a long time ago. Yeah, I mean, just [34:43.260 --> 34:45.980] that's a fact of life. Look at vendor documentation. You want [34:45.980 --> 34:48.360] updates? Well, you have to have network connectivity. Sorry. [34:48.720 --> 34:50.980] And you know what? We get a lot of efficiencies out of having [34:50.980 --> 34:53.100] no air gap in terms of, you know, even something as [34:53.100 --> 34:57.000] fundamental, which allowed for WannaCry, you know, the way it [34:57.000 --> 34:59.340] was implemented was wrong, but the fact that it's there is [34:59.340 --> 35:01.920] sort of good. You know, links from data historians to [35:01.920 --> 35:05.480] business process servers or systems within the IT network. [35:05.600 --> 35:07.660] You know, I like having accurate electric bills or, you know, [35:07.660 --> 35:10.300] being able to actually measure my processor and whatnot. So, [35:10.300 --> 35:12.520] yeah, these things are here and here to stay. So the best thing [35:12.520 --> 35:14.580] is, instead of bemoaning, like, oh, my God, if only we could [35:14.580 --> 35:16.620] air gap these things, like, eh, pump your brakes, you can't do [35:16.620 --> 35:19.720] that. You know, identify that that is no longer the case, and [35:19.720 --> 35:24.560] how do we actually go about defending it then? All right. [35:24.720 --> 35:28.600] It's hot in here. So, yeah. Thanks, everyone, for showing [35:28.600 --> 35:29.000] up.