1 00:00:00,000 --> 00:00:01,700 Hi, everyone. 2 00:00:01,700 --> 00:00:02,820 Welcome to DEF CON. 3 00:00:02,900 --> 00:00:12,760 We're going to talk about something that has been talked about before, but not talked about in ways that I think have been as useful or as helpful as they should have been. 4 00:00:12,760 --> 00:00:28,140 We're going to look at the crash override event from 2016, but reevaluate it from the perspective, not just in terms of what happened, but based upon what was involved and deployed in the environment, what the adversary was actually trying to do, which is a protection focused attack on electric transmission. 5 00:00:28,380 --> 00:00:30,040 So first off, who the hell am I? 6 00:00:30,040 --> 00:00:31,640 My name is Joe Slowik. 7 00:00:31,640 --> 00:00:36,800 I have an interesting background in that I do not have a computer science background or whatnot. 8 00:00:36,800 --> 00:00:42,560 I actually dropped out of philosophy graduate school at the University of Chicago way back in 2005. 9 00:00:42,980 --> 00:00:44,520 Since then, I've bounced around. 10 00:00:44,520 --> 00:00:52,940 I was a US Naval officer going back to 2009, then went to the Department of Energy working at Los Alamos National Laboratory for a few years. 11 00:00:52,960 --> 00:00:56,560 And now I work at Dragos, which is an ICS security product company. 12 00:00:56,560 --> 00:00:58,120 We got some stuff set up over here. 13 00:00:58,120 --> 00:01:00,700 We can meet there after this if anyone wants to ask questions. 14 00:01:00,700 --> 00:01:07,840 But really, throughout all of that transitioning from a more offensive minded to a very much focused defensive minded role over the years. 15 00:01:07,880 --> 00:01:12,240 But enough about me because y'all don't care about me, you care about what we're talking about here today. 16 00:01:12,440 --> 00:01:16,500 So first, just as a point of background, we'll go over the crash override event in review. 17 00:01:16,500 --> 00:01:18,880 So we're all on the same page as far as that's concerned. 18 00:01:18,920 --> 00:01:27,940 And then talk a little bit about what process integrity means in an electric transmission environment within the context of protective relaying for electric operations. 19 00:01:27,940 --> 00:01:40,680 And based upon that, we'll reevaluate crash override as a protection focused attack, focusing on protective relay operations, and then what the implications of that event are for future defense and future attacker behaviors. 20 00:01:40,680 --> 00:01:42,600 So first off, crash override. 21 00:01:42,600 --> 00:01:51,380 So everyone knows more or less about the string of Ukraine attacks or whatever, or just how often Russia has been making Ukrainians feel miserable. 22 00:01:51,560 --> 00:01:59,200 Going back many years now, including back to back electric disruption operations in 2015 and 2016. 23 00:01:59,280 --> 00:02:13,340 2016 featured a more automated mechanism in order to enable that disruption through a piece of malware called crash override by Dregos and destroyer by ESET because God forbid we all have the same fucking name for things. 24 00:02:13,580 --> 00:02:25,240 Yeah, so it was interesting because crash override really represented one of the few instances or so it seemed of an adversary completing the entire kill chain for an ICS attack operation. 25 00:02:25,240 --> 00:02:36,600 So what we had was a penetration of the ICS environment from Enterprise IT that then resulted in the adversary getting sustained controlled access to the control system environment. 26 00:02:36,600 --> 00:02:53,460 And from that access, they were able to pivot out and gain the ability to implant malware on the SCADA environment, on the control systems for the actual transmission gear, and time it to cause breakers to open at a specified point in time to induce an outage. 27 00:02:53,460 --> 00:03:08,320 Paired with that, there was a wipe and system disabling event that was somewhat similar to what happened in 2015 that looked like it was designed to inhibit recovery and make recovery more difficult by wiping project files, among other items, and then rendering the machines unusable. 28 00:03:08,320 --> 00:03:21,660 And then finally there was an attempt at a denial of service against the Siemens SuperTech protective relays in the environment, but no one really bothered to look at that in very much detail, which in hindsight was a very grievous mistake on our end. 29 00:03:21,980 --> 00:03:24,740 But didn't we already fucking talk about this like a couple years ago? 30 00:03:24,740 --> 00:03:26,280 And the answer is like, yeah, we kind of did. 31 00:03:26,280 --> 00:03:36,440 There was, there was a Black Hat presentation on this a couple years ago when this happened, and it kind of provided the highlights or whatever, but we really didn't get too deep into this, which is why I've done a lot of work on this since then. 32 00:03:36,640 --> 00:03:48,220 Uh, I did a presentation at Virus Bulletin last year with a follow-up paper that went into the methodologies leading up to the deployment and execution of crash override that can provide you with some of the methodology behind how the attack was enabled. 33 00:03:48,220 --> 00:03:50,980 So if you're interested in this topic, I recommend reading that. 34 00:03:51,040 --> 00:03:56,900 Uh, but there's still a lot about this that, you know, this isn't something that we just closed the book on and we shouldn't have just closed the book on that. 35 00:03:56,900 --> 00:04:02,900 This is really a seminal event for electric utility operations in terms of cyber attack scenarios. 36 00:04:03,880 --> 00:04:11,060 Because while crash override is interesting, people sort of discounted it because like, well, it didn't seem like it was that much bigger of a deal in 2015. 37 00:04:11,440 --> 00:04:17,720 And there were some failures as we started to get access to actual data and malware samples involved in the event. 38 00:04:17,720 --> 00:04:23,500 So the event itself targeted hundreds of RTUs for manipulation whereas it seemed like it only impacted a handful. 39 00:04:23,500 --> 00:04:39,400 Because it seemed like a lot of the communication that was deployed by the adversary in this case either ignored or was ignorant of specific implementations by the, uh, vendors that produced the targeted equipment in question such as stateful protocol analysis and stateful protocol behavior. 40 00:04:39,400 --> 00:04:43,400 Something that my colleague, Dan Michaud-Soussi, has presented on with another one of my colleagues. 41 00:04:43,400 --> 00:04:45,140 So talk to him about that afterwards. 42 00:04:45,460 --> 00:04:47,680 And it all kind of resulted in a smaller impact. 43 00:04:47,680 --> 00:04:52,420 So you had a lot of press reporting about like, oh, like this is just a test or, you know, it's kind of like a damp squid. 44 00:04:52,420 --> 00:04:53,440 No big deal. 45 00:04:53,960 --> 00:04:58,480 And if we look at 2015 compared to 2016, we can see, you know, sort of overlaps. 46 00:04:58,480 --> 00:05:02,280 But again, like there's some fundamental differences between how these developed. 47 00:05:02,280 --> 00:05:13,340 So in 2015, we had very manual interaction with the control systems in question where the adversaries harvested credentials, VNC'd into workstations, and then manually manipulated gear in the environment. 48 00:05:13,340 --> 00:05:22,520 And you can pull up the YouTube video of the Ukrainian operator freaking out and taking a video with his phone of the mouse moving and people opening breakers and whatnot. 49 00:05:22,600 --> 00:05:25,800 In 2016, this is a pretty big fucking deal. 50 00:05:25,800 --> 00:05:29,540 The interactions, instead of being manual , are encoded in the software itself. 51 00:05:29,540 --> 00:05:35,040 And the reason that's a big deal is because when you start doing that and do it properly , you can get attacks that can scale. 52 00:05:35,040 --> 00:05:46,760 That means that I can deploy, set, and forget, and do that across tens, hundreds of sites nearly simultaneously where I don't have to have one operator per operation, but rather one team deploying in advance for later execution. 53 00:05:46,960 --> 00:05:55,480 But then when it came to attack impact, so in 2015, you know, disrupt electricity distribution across three companies in Ukraine and then inhibit recovery. 54 00:05:55,660 --> 00:06:09,700 2016 went after electric transmission, which implicitly should be a much bigger impact, but as we'll see in a second, didn't actually amount that way, and then attempt to inhibit recovery and impact protection systems, but a lot of that didn't work out as intended. 55 00:06:09,820 --> 00:06:22,540 And so from a success standpoint, you know, 2015 was kind of a bigger deal in that you had, you know, from a traditional battle damage assessment standpoint, more customers were impacted for a longer period of time than in 2016. 56 00:06:22,540 --> 00:06:31,580 So if you're comparing the two just on a simple metric standpoint, it could look, it almost looks like 2016 was a regression from what 2015 was able to accomplish. 57 00:06:32,160 --> 00:06:34,840 But if we look at it that way, we're missing some of the point. 58 00:06:34,900 --> 00:06:42,440 Because in a lot of ways, there was silence in the post attack scenario, as far as what actually was achieved and what it meant. 59 00:06:42,440 --> 00:06:49,420 So while there was significant attention to the malware, you know, from a sexy reverse engineer standpoint, like, whoo, we got ICS malware, let's see what it does. 60 00:06:50,100 --> 00:07:02,760 And the immediate impact of like, oh, the lights went out in Ukraine in December, again, there was very little exploration of what crash override really meant in terms of possibilities and intentions, irrespective of what the adversary was able to achieve. 61 00:07:02,760 --> 00:07:04,840 And so that's what we're kind of here to talk about today. 62 00:07:04,960 --> 00:07:11,160 Because we look at the post attack comparison, things actually are quite distinct between what was attempted between the two. 63 00:07:11,160 --> 00:07:26,920 So in 2015, we had some asshole actions like modifying the firmware on serial to Ethernet connections in order to disrupt communication, and then deploying a fairly commodity wiper that used the kill disk framework to wipe workstations and HMIs for the purposes of inhibiting recovery. 64 00:07:26,920 --> 00:07:36,480 So manipulate the distribution environment, wipe the workstations and back off and the Ukrainians will, you know, start buzzing around, although they went to a manual restoration to get operations back online. 65 00:07:36,480 --> 00:07:39,440 And there's a chair on the aisle open right there in case anyone needs a seat. 66 00:07:40,020 --> 00:07:47,380 In 2016, things worked out a little bit differently, because we had a file and service wiper on the impacted SCADA workstations. 67 00:07:47,480 --> 00:08:04,320 But in the way in which it was launched, and in the greater context of the event itself, it wasn't so much that the adversaries were looking to inhibit recovery, but based upon the workstations that were targeted, it gets into a loss of view and a loss of control condition on the ICS monitoring environment, 68 00:08:04,320 --> 00:08:05,780 which we'll get into in a second. 69 00:08:05,840 --> 00:08:11,160 And then finally, an attempted protective relay of, uh, protective relay denial of service. 70 00:08:11,600 --> 00:08:17,740 So I've said protective relay a number of times, and unless you're a power engineer or working in a utility, you're probably wondering, like, what the fuck is he talking about? 71 00:08:17,740 --> 00:08:25,880 So protective relays get into an aspect of process safety and protection and fundamental process integrity in industrial control environments. 72 00:08:26,100 --> 00:08:32,940 So process integrity, you'll hear people say things like, availability is the most important part of the CIA triangle in ICS. 73 00:08:32,960 --> 00:08:33,940 That's bullshit. 74 00:08:33,940 --> 00:08:45,600 And I will happily, like, arm wrestle or argue with people out in the hallway about this one, because you can't operate, no sane operator will operate, generate, produce whatever if they can't verify the integrity and safety of their operations. 75 00:08:45,600 --> 00:08:53,420 Because when you start talking about what it is that's actually existing in my environment, we're talking about validating output so that the widgets are actually coming out in the way that they're supposed to. 76 00:08:53,420 --> 00:09:02,880 We're talking about long term operational stability that I know that I'm going to fall within scheduled maintenance windows and that process wear and tear is going to be around what I'm expecting. 77 00:09:02,880 --> 00:09:19,980 But most importantly of all is safety, that I know that I'm not going to overpressurize a line or overcurrent a line in my electric distribution or transmission environment so that I can maintain the overall integrity of that operational environment and either not cost myself a lot of money, 78 00:09:19,980 --> 00:09:22,540 or result in potentially killing someone. 79 00:09:22,680 --> 00:09:33,220 Because the thing is, is that as we look at the popular conception of ICS attacks, and what gets posted in crappy New York Times or Bloomberg articles, is that everyone wants to look at an ICS attack as like you turn off the power, you blow up the planter, 80 00:09:33,220 --> 00:09:34,620 you destroy centrifuges. 81 00:09:34,620 --> 00:09:39,580 And I'm going to have a much deeper dive into all this coming up in October for those that are really interested in this topic. 82 00:09:39,580 --> 00:09:42,520 Because the thing is, is that that's like amateur hour shit. 83 00:09:42,520 --> 00:09:57,800 What you really are after for a very potent cyber attack in an ICS realm is a more subtle effect where you're undermining operator integrity and understanding of what's going on in the control system environment, leading to potential catastrophic and difficult to diagnose and fix outcomes. 84 00:09:57,860 --> 00:10:03,980 So that degrading the process in a hard to diagnose condition, you know, why are my widgets not coming out like they're supposed to anymore? 85 00:10:03,980 --> 00:10:06,600 Or why are the centrifuges failing at an increased rate? 86 00:10:06,600 --> 00:10:14,480 You know, how do you investigate that if you've had a environment lacking integrity and monitoring or inducing defects or lack of reliability in the environment? 87 00:10:14,620 --> 00:10:22,460 Or as we saw, it's an attempt in 2017, the crisis Triton event, targeting process safety within the control system environment. 88 00:10:22,460 --> 00:10:25,160 So how does that relate to electric transmission operations? 89 00:10:25,160 --> 00:10:31,760 We don't have spinning turbines, or you know, oil and gas flaring or whatever well, but we do have lots of power flowing over lines. 90 00:10:31,760 --> 00:11:02,420 And one of the major sort of revolutions in electric operations over the last 20-30 years is the introduction of digital protective relays, which are able to autonomously and at machine speeds, monitor and control electric transmission operations to prevent things like a fault in the electric line due to overcurrent phase out of whack or other sorts of scenarios popping up from resulting in physical damage or potential cascading outages as a result of propagating defects within the grid environment. 91 00:11:02,520 --> 00:11:16,500 So if you look at what the implementations and the implications are of targeting protective relays as part of overall electric operations, and primarily at a transmission or generation level, is that we can create a hazardous situation for personnel and equipment, 92 00:11:16,500 --> 00:11:23,840 you can burn through transformers because you got too much power flowing, or cause lines to sag because of that overcurrent situation resulting in a fault when it hits a tree. 93 00:11:23,860 --> 00:11:37,720 You laugh about this, but that's exactly how the 2003 Italian and Northeastern blackouts happened was lines were overloaded, sagged a little bit, hit a tree and then cascaded on from there when individual stations started going to self protection mode. 94 00:11:37,820 --> 00:11:53,800 But you can also induce along those lines islanding among affected substations as every single substation starts entering into a man woman or electric substation for themselves scenario to try and protect local assets, but then cutting themselves off from the rest of the grid resulting in more load being shed onto the remaining infrastructure, 95 00:11:53,800 --> 00:12:02,340 which then results in a, you know, even more stress on them producing potential situations where another fault increases and then cascading onward at that point. 96 00:12:02,340 --> 00:12:16,380 Or the really scary scenario if you start getting into protective relays at generation is that manipulation of protective relays from a generation environment starts getting you into a spot where you can induce an Aurora like effect on generating equipment. 97 00:12:16,380 --> 00:12:26,820 So Aurora was a manipulation in frequency relative to electric generation operations that results in a generator rocking back and forth between frequency extremes inducing physical damage. 98 00:12:26,820 --> 00:12:29,080 Again, these are topics that we can talk hours on elsewhere. 99 00:12:29,080 --> 00:12:30,420 So we can go into detail later. 100 00:12:30,900 --> 00:12:44,960 But in looking at crash override then, well, okay, we actually had a far more complex attack attempted to be executed than what we observed within the environment because what we had was like, okay, we had an outage. 101 00:12:44,960 --> 00:12:52,480 But if you look at the malware itself, the outage was intended to be across the entirety of the victim transmission station. 102 00:12:52,480 --> 00:12:58,820 So the goal was to create a widespread transmission outage, wiping transmission completely from the targeted substation. 103 00:12:58,900 --> 00:13:18,200 After that, we had a attack on the SCADA, the workstations that were controlling the field devices in question, not just to wipe them to make recovery more difficult , because from 2015, the Russians or whoever attacked the substation knew that the Ukrainian operators would go out to the field to restore operations. 104 00:13:18,200 --> 00:13:22,900 So wiping the workstations wasn't going to inhibit recovery because they knew what the Ukrainians would do. 105 00:13:22,900 --> 00:13:37,220 Instead, in this case, the wiper wasn't designed to make recovery harder, it was designed to prevent the operators in Ukraine from accurately gauging and understanding the state of the system at the time of the outage, while they were rushing to repair it. 106 00:13:37,220 --> 00:13:56,140 Thus, right after you have that wiping operation take place, the Siemens SuperTech denial of service that was criminally ignored in past analysis becomes very important, because the way in which the SuperTech denial of service works is that it is a semi -legitimate function designed to place the victim SuperTech into a firmware update mode. 107 00:13:56,140 --> 00:14:08,660 So you clear underlying logic from the device, but it still appears from physical observation as powered on, network accessible, and for all intents and purposes, functioning, if you don't actually have you into the device itself, which if all of your workstations are no longer accessible, 108 00:14:08,660 --> 00:14:09,520 you don't. 109 00:14:09,520 --> 00:14:15,060 So we have this removal of transmission protection on a de-energized line, so the immediate effect is nothing. 110 00:14:15,060 --> 00:14:18,560 Like, I have no power flowing through this line, I don't need protection, big fucking deal. 111 00:14:18,560 --> 00:14:34,300 But that loss of view makes it difficult to ascertain that that protection is lost, because in that rush then to restore operations at the transmission site by flipping those switches in the breaker yard, now you create the conditions for potentially hazardous effects on an unprotected line that you're re-energizing. 112 00:14:34,600 --> 00:14:49,160 An immediate potential impact of that would be an overcurrent situation that is, as the line is restored from a massive transmission outage across multiple sites, that that line becomes so overloaded to produce either a SAG event that results in a fault as it connects with something that's grounded, 113 00:14:49,160 --> 00:14:57,380 or overloading transformers within the transmission station that produces physical damage or increased wear and tear on the device, leading up to physical damage. 114 00:14:57,380 --> 00:15:09,940 On a longer term, because there's a, as we'll get into this, you know, many other things in play here, you at the least create the condition that any other subsequent fault in the line, while the Ukrainians were working on restoring visibility into the environment, 115 00:15:09,940 --> 00:15:14,260 results in similar situations, even if you don't get that immediate overcurrent scenario. 116 00:15:14,740 --> 00:15:18,080 But for all of this, mistakes were made. 117 00:15:18,080 --> 00:15:24,900 The attackers in this case were neither brilliant, nor were they completely as successful as they wanted to be. 118 00:15:24,900 --> 00:15:31,600 Because among other items, and we hinted at this already, is that there was improper protocol communication involved within the event itself. 119 00:15:31,600 --> 00:15:41,700 So hundreds of devices were targeted, but few were impacted because the actual specific protocol implementation used in a lot of these cases did not align with what was designed in the malware. 120 00:15:41,700 --> 00:15:53,140 So as much as we want to say, oh, scary modular malware targeting lots of systems, quite frankly, the operators fucked it up in how they designed it, either because they lacked the proper testing equipment, were testing on the wrong equipment, or didn't do proper Q, 121 00:15:53,140 --> 00:16:11,420 Q and A on what they were deploying in the environment, including ignoring things like stateful communication requirements for specific protocols, or ignoring the distinction between general protocol specs for like IEC 104, IEC 61850, versus vendor specific implementations of those specifications. 122 00:16:11,420 --> 00:16:19,420 But also the cprotect denial of service implementation was really interesting, because they got it right, the denial of service as it was coded would have worked. 123 00:16:19,420 --> 00:16:26,620 However, the malware included hardcoded addressing for the four cprotects within the victim environment. 124 00:16:26,620 --> 00:16:41,160 In the process of designing the communication from the dos.exe, which is what it was named in the environment, executable to the victim cprotects, someone forgot ending this for IP address socket creation. 125 00:16:41,280 --> 00:16:43,200 And so as a result , the IPs were read in backwards. 126 00:16:43,200 --> 00:16:46,460 And since it was hardcoded , there was nothing the operators could do at the time of deployment. 127 00:16:46,860 --> 00:16:56,280 So while we had and this is an incomplete section of the UDP packet that puts the cprotect into a legacy cprotect , this has been patched into a firmware update mode. 128 00:16:56,280 --> 00:16:58,440 This is what we get if we look at it in Wireshark. 129 00:16:58,480 --> 00:17:01,880 So you know, 172.16.something.something. 130 00:17:01,880 --> 00:17:04,740 So yes, your APTs are humans too. 131 00:17:04,740 --> 00:17:06,040 Never forget that. 132 00:17:06,500 --> 00:17:24,100 But again, you know, while we can laugh at the lack of success or what failed to occur or whatever, as we start looking at this in greater detail based upon what was in the environment and what it was designed to do, we get a really scary scenario that becomes much more complex and much more worrying than what we saw in 2015. 133 00:17:24,480 --> 00:17:37,960 Because now we get in situations where we go beyond just trying to turn off the lights for a couple of hours to like, no, I want to induce physical damage at the transmission at the transmission substation to cause an outage lasting days, weeks, months, 134 00:17:37,960 --> 00:17:41,500 maybe even longer, depending on how quickly you can replace the gear in question. 135 00:17:41,500 --> 00:17:57,540 And not only that, because of the potential nature of how this environment was laid out, also creating the possibility that, you know, Evgeny or Yuri or whoever the poor bastard is that goes off to the yard to start closing breakers manually, puts himself in a dangerous situation when something arcs and whatnot when he connects it, 136 00:17:57,540 --> 00:18:00,480 where everything's flowing through the one line after hundreds have been disabled. 137 00:18:01,020 --> 00:18:02,580 There are some caveats to this, though. 138 00:18:02,580 --> 00:18:10,760 And this is important to note in why everyone talks about the scary scenarios with ICS, but at the same time, it's really hard to pull this off effectively, as shown in this instance, because they fucked it up. 139 00:18:10,880 --> 00:18:18,480 So for one, it's impossible to completely know what Electrum, the adversary involved here, intended apps and effects. 140 00:18:18,480 --> 00:18:24,400 These are all very educated guesses based upon looking at log data and actual malware samples in the environment. 141 00:18:24,400 --> 00:18:27,440 So caveat like this may not actually be how things were designed. 142 00:18:27,440 --> 00:18:36,880 But, you know, based upon everything that was designed and the attack flow and sequence of events, this is my professional assessment on what was intended in the environment. 143 00:18:36,980 --> 00:18:44,800 But aside from that, I think a lot of people lose sight of or ignore the fact that SCADA, ICS, is not something in a vacuum. 144 00:18:44,800 --> 00:18:51,240 Like, yes, we have an increasingly digitized landscape as far as how processes are monitored, controlled, as well as for safety implications. 145 00:18:51,440 --> 00:19:04,100 But there's also fundamental physical safeguards layered on top of that, that because engineers are a lot better at what they do than we are trying to understand what they do, have put in place over years of experience to make sure that situations like this, 146 00:19:04,100 --> 00:19:09,900 if they don't necessarily fail, at least manifest themselves in a way that's controllable or reasonably safe. 147 00:19:09,900 --> 00:19:19,640 So other redundancies within the transmission yard and within transmission operations may have prevented some of the cascading effects that were sought by the crash override event. 148 00:19:19,640 --> 00:19:31,860 Thus, the same scenario depending upon, you know, exactly what equipment you have in your environment, what physical safeguards or backup relaying technologies exist, could play out dramatically differently if you did this in Ohio, or if you did it in Germany, 149 00:19:31,860 --> 00:19:33,400 than if you did it in Ukraine. 150 00:19:33,440 --> 00:19:49,080 Having said all that though, you know, it is important to recognize that while we can say that all these redundancies exist, we see multiple examples of just squirrels, poor tree trimming, lightning, high wind, etc., causing massive outages like the two events in 2003, 151 00:19:49,080 --> 00:19:57,800 the 2006 Denmark-Sweden outage, and other large scale power events, where all of these systems are in play, and no one's maliciously trying to manipulate everything, and yet shit goes haywire. 152 00:19:57,920 --> 00:19:59,560 Okay, so a future consider- really? 153 00:19:59,560 --> 00:20:00,580 I only have two minutes left? 154 00:20:00,580 --> 00:20:01,460 Oh shit. 155 00:20:01,460 --> 00:20:05,380 Okay, so future considerations on this is that we're seeing integrity attacks on the rise. 156 00:20:05,380 --> 00:20:09,820 We've gone from Stuxnet to crash override to Trisys as these things have rolled out over time. 157 00:20:09,820 --> 00:20:17,160 And the possibilities include various ways of manipulating manufacturing, electric generation, distribution, and oil and gas production. 158 00:20:17,220 --> 00:20:28,920 Because from an electric utility standpoint, we get various scenarios that play out across safety, integrity, and reliability within the electric grid that are both hard to diagnose, and unless you have proper monitoring and defenses in place, hard to defend against. 159 00:20:29,380 --> 00:20:35,360 So, some examples of attacks, I could go into explanations of these further, I thought I had 30 minutes, not 20, my bad. 160 00:20:35,580 --> 00:20:46,680 Uh, but looking at this from a defense and detection scenario, the important thing is that these are not attacks that we're going to identify or defend against just by throwing some blinky box in the environment and hoping that it catches bad shit because it looks weird. 161 00:20:46,680 --> 00:21:00,420 Instead, we need mechanisms to align traditional sort of IT-based visibility, increased host-based visibility into increasingly digitized environments, and fundamental knowledge about both how the process is operating, what state it's in, in order to be successful. 162 00:21:00,440 --> 00:21:02,780 So, for the crash override event... done? 163 00:21:05,640 --> 00:21:07,080 Thank you, Sydney. 164 00:21:08,120 --> 00:21:08,700 Great. 165 00:21:08,700 --> 00:21:10,460 I can pontificate on this a little bit more. 166 00:21:10,460 --> 00:21:23,760 So, if you look at crash override and how this played out and what the state of the environment was at the time of reconnection, is that the reason why this attack is enabled is that the operators in question lack the visibility and the knowledge about the state of their industrial environment, 167 00:21:23,760 --> 00:21:29,040 allowing them to make, or enabling them to make, intelligent decisions about how to safely restore it. 168 00:21:29,040 --> 00:21:49,440 The lack of visibility induced by the attack on the engineering workstations in the SCADA environment, combined with the massive outage and the loss of protection, meant that the operators were then put in a position where they're rushing to restore operations to get back at availability without understanding what their process integrity was because their ability to do so had been inhibited by the attack. 169 00:21:49,440 --> 00:22:01,640 So, the way to get around that is that from a security monitoring and defense perspective, we need to start taking a whole of you approach to how industrial environment, environments operate by combining that security viewpoint with process viewpoint. 170 00:22:01,720 --> 00:22:17,440 So, if in this environment, not trying to victim shame here or whatever, but if they'd been doing things differently or better, detecting that they had seen a significant IT based event within their environment, then coupled with a control system environment and then even just having the knowledge that, 171 00:22:17,440 --> 00:22:26,920 huh, and why do I have this one-off communication to my super techs at this point in time, should have flagged to the operators that, okay, I don't know the status of what the relay yard is in right now. 172 00:22:26,920 --> 00:22:31,620 I don't know whether or not, you know, someone communicated to my relays and I don't know for what end. 173 00:22:31,860 --> 00:22:40,520 Maybe I want to make sure that Yevgeny, as he's driving out in the pickup to the transmission site, holds off a little bit until we've got a better idea of what's going on. 174 00:22:41,080 --> 00:22:48,400 So, this really gets into the question of, you know, my fundamental cyber hygiene for industrial control systems is really a combination of two things. 175 00:22:48,400 --> 00:22:50,500 Visibility and root cause analysis. 176 00:22:50,540 --> 00:22:55,520 So, visibility is that you cannot examine, you cannot debug or otherwise fix what you cannot see. 177 00:22:55,520 --> 00:23:03,180 So, layering in multiple types of visibility within these environments is, although it sounds hard and potentially expensive, is the only way we get around these issues. 178 00:23:03,180 --> 00:23:11,960 Thus, CrashoverEye took advantage of limited IT visibility in a damaged or degraded ICS environment to enable a potential protection attack scenario. 179 00:23:12,140 --> 00:23:22,320 But then correlating those events is neither easy nor typical either because in many unfortunate cases, we're often operating where our engineers and our IT personnel live in separate worlds. 180 00:23:22,320 --> 00:23:25,460 Someone's from Venus, someone's from Mars, y'all can figure out who's who. 181 00:23:25,460 --> 00:23:40,020 But the sides don't talk together or work together enough with each other to make sure that the combination of seeing communication to the relays with an IT-based intrusion get combined in a satisfactory way to make sure that operators are enabled to make intelligent decisions in what's going on. 182 00:23:40,140 --> 00:23:49,380 And finally, from an analysis standpoint, it's getting to the point of understanding and being able to go one level further from like, okay, I have a massive transmission outage. 183 00:23:49,440 --> 00:23:50,140 Why? 184 00:23:50,140 --> 00:23:53,400 What data do I have available to make subsequent decisions off of this? 185 00:23:53,400 --> 00:23:54,540 How do I gather that data? 186 00:23:54,540 --> 00:23:56,000 How do I perform forensics? 187 00:23:56,000 --> 00:23:57,460 How do I perform this correlation? 188 00:23:57,460 --> 00:24:01,700 Do I have the people trained and able to make these sorts of decisions within this environment? 189 00:24:01,700 --> 00:24:13,880 And it's only by addressing these three fundamental mechanisms that we're going to get into a scenario where complex, hard-to-diagnose, but also hard-to-properly-execute events can be properly defended against and responded to. 190 00:24:14,240 --> 00:24:19,700 So I don't know if this particular slide deck will be made available, but there's some resources there in citations. 191 00:24:20,040 --> 00:24:29,060 As a note, I will have a white paper that goes across all of this instead of me like yelling at you very quickly for 20-25 minutes or whatever while you're all trying to make it out. 192 00:24:29,060 --> 00:24:33,520 It'll be available on the Dragos website on Thursday, I think. 193 00:24:33,620 --> 00:24:34,380 We'll see. 194 00:24:34,380 --> 00:24:36,000 I think I need to check on that. 195 00:24:36,000 --> 00:24:43,920 But it goes into all of this in greater detail with more background on protective relaying operations and laying out the exact attack scenario some more. 196 00:24:43,920 --> 00:24:48,980 So if you're really interested in this topic, I recommend looking at that when it comes out after everyone's recovered from their DEF CON. 197 00:24:49,120 --> 00:24:53,240 So with that, I do have time for questions, because Sidney can't tell time. 198 00:24:53,420 --> 00:24:56,260 But yeah, what's going on? 199 00:25:01,750 --> 00:25:04,270 Either no one understood what I said or, oh, what's up? 200 00:25:18,760 --> 00:25:20,380 Ah, yes. 201 00:25:20,380 --> 00:25:26,080 So the asterisk there because while the interactions were encoded in malware, they weren't properly encoded in all the malware. 202 00:25:26,180 --> 00:25:36,280 So this is one of the things and this is where differentiating between a lab environment or especially, for example, you look at software suites that could emulate ICS communications in software. 203 00:25:36,380 --> 00:25:43,480 So you don't have to go out and buy or find on eBay, actual like ABB or SEL equipment to test on. 204 00:25:43,480 --> 00:25:49,100 They don't always function or process traffic in the same way as the actual gear will out in the field. 205 00:25:49,100 --> 00:26:02,400 So while everything may have looked hunky-dory out in the lab in Moscow, or wherever, crash override was put together, how it was actually worked within the environment was not appropriate, thus leading to a much smaller impact than what was desired. 206 00:26:02,400 --> 00:26:03,800 Yep. 207 00:26:04,360 --> 00:26:06,220 Thank you for a very good speech. 208 00:26:06,220 --> 00:26:06,640 Yes. 209 00:26:06,640 --> 00:26:16,060 But 2015-2016 crash override, you mentioned several times that there are some lentitudes in the execution. 210 00:26:16,560 --> 00:26:18,480 What's the motivation behind it? 211 00:26:18,480 --> 00:26:26,960 I mean, clearly it comes more or less from Russia as this attacks within Ukraine, but have they been holding back because we're not seeing anything else? 212 00:26:26,960 --> 00:26:33,600 Or are there known or existing penetrations in other places just to get ready for action? 213 00:26:33,600 --> 00:26:35,060 That's a very interesting question. 214 00:26:35,060 --> 00:26:38,280 If you attended my Sky Talk earlier this week, you know, okay. 215 00:26:38,300 --> 00:26:47,680 So if you start looking at things from that perspective, that... so the question was, you know, yeah, this seemed like there was an aptitude, didn't work or limited impact or whatever. 216 00:26:47,680 --> 00:26:48,820 Have we seen anything since? 217 00:26:48,820 --> 00:26:51,600 Or what is the state of this sort of event now? 218 00:26:51,600 --> 00:27:09,840 And my professional take on this is that if you've looked or paid attention to the news from 2017 onward, you've seen sustained, very deliberate effects to build up access and knowledge of the electric utility op environments in the United States, the United Kingdom, 219 00:27:09,840 --> 00:27:11,660 Germany, and a few other places. 220 00:27:11,820 --> 00:27:15,520 And based on US government analysis, it ties back to Russian state interests. 221 00:27:15,520 --> 00:27:21,740 Yet we haven't seen a crash override in Iowa or Birmingham or, you know, wherever else in the world. 222 00:27:21,740 --> 00:27:22,400 Why is that? 223 00:27:22,400 --> 00:27:29,780 Well, I think what we're seeing is that while we had... Ukraine presents itself as a permissive environment for operations. 224 00:27:29,780 --> 00:27:35,720 Like, unfortunately, for the Ukrainians, no one's coming to their defense or saying to the Russians, like, you guys can't do that anymore, or there'll be consequences. 225 00:27:35,720 --> 00:27:36,860 That sucks for them. 226 00:27:36,860 --> 00:27:46,240 It's good for us, though, on our side, because if someone were to do a massive blackout with physical damage, that could be traced back to a cyber attack in New York City, I'd like to think there'd be consequences. 227 00:27:46,620 --> 00:28:01,920 But what we are seeing, though, are adversaries developing all the prerequisites necessary in terms of access and environmental knowledge that at a time in the future of their choosing, if that access is maintained and that knowledge is accurate, that something like a working crash override could be developed, 228 00:28:01,920 --> 00:28:06,060 deployed in those environments to facilitate an attack at a time of their choosing. 229 00:28:06,320 --> 00:28:11,200 So that is an entirely, like, I'd be in talk at the bar for a couple hours on this one or whatever. 230 00:28:11,200 --> 00:28:12,740 That's a fun subject in my mind. 231 00:28:12,760 --> 00:28:14,560 So I hope that answers some of your question. 232 00:28:14,560 --> 00:28:16,600 But yeah, we haven't seen people go away. 233 00:28:16,600 --> 00:28:21,420 We just haven't seen people go complete the kill chain to a final disruptive effect. 234 00:28:22,240 --> 00:28:22,800 Okay. 235 00:28:23,420 --> 00:28:24,340 Anything else ? 236 00:28:27,680 --> 00:28:28,200 Yep. 237 00:28:28,200 --> 00:28:41,410 How deliberate do you think it is that they left them in a state where, you know, they weren't careful they could inflict damage on themselves? 238 00:28:41,410 --> 00:28:42,090 Yep . 239 00:28:42,330 --> 00:28:47,300 And therefore, maybe it's kind of their own fault. 240 00:28:47,860 --> 00:28:48,580 Yep . 241 00:28:49,820 --> 00:28:53,400 Do you think that that was very deliberate or? 242 00:28:54,020 --> 00:28:55,040 I don't know. 243 00:28:55,420 --> 00:29:03,420 Okay , if I understand the question for everyone in the room, it was designed so that it was almost like they were impacting themselves as a result of deploying this. 244 00:29:03,420 --> 00:29:05,120 And I think that was very intentional. 245 00:29:05,120 --> 00:29:18,360 Because based upon lessons learned from the 2015 event, the adversaries knew that in an emergency operation that the utilities would work as quickly as possible to restore operations no matter what was involved. 246 00:29:18,360 --> 00:29:35,420 And by inducing a loss of view and loss of control at a logical level, it enabled them to take advantage of a degraded environment so that in the rush to follow those procedures, unintended and unforeseen side effects would manifest themselves, undermining the fundamental integrity and safety of the victim environment. 247 00:29:35,420 --> 00:29:48,220 So it's that's why it's like making this happen requires, you know, sort of a lot of moving parts and understanding not just the technical side of how the utility operates, but also sort of a softer side of like, well, what are their TTPs or their policies and procedures for restoration? 248 00:29:48,220 --> 00:29:54,180 And how can I make sure that the effect I'm delivering manifests itself in the right way in light of what those procedures are? 249 00:29:54,180 --> 00:30:00,620 So that's why an ICS attack, everyone's like, oh, look, I found this vulnerability and shit or whatever, I'm gonna throw zero days at this like, okay, cool story, bro. 250 00:30:00,620 --> 00:30:02,000 That's not how this shit works. 251 00:30:02,360 --> 00:30:12,920 In reality, trying to take down an ICS system requires a fundamental knowledge and understanding of the industrial processing question to get anything beyond a short term disruptive effect, unless you get lucky. 252 00:30:12,920 --> 00:30:15,300 So that's, I think I'm out of time at this point. 253 00:30:15,300 --> 00:30:16,240 Someone's gonna tackle me. 254 00:30:16,240 --> 00:30:19,540 So I'll be hanging out like right over here and bouncing around the ICS village. 255 00:30:19,540 --> 00:30:23,760 If anyone wants to talk about this on the side, more than happy to do so, especially if you bring one of these. 256 00:30:23,840 --> 00:30:25,560 So yeah, just let me know. 257 00:30:25,560 --> 00:30:26,620 Look for that white paper. 258 00:30:26,860 --> 00:30:28,500 And thanks, everyone, for listening to me.