1 00:00:00,000 --> 00:00:01,920 So my name is Joe Bingham. 2 00:00:01,920 --> 00:00:05,440 I'm going to talk about some ICS vulnerabilities that we found. 3 00:00:05,940 --> 00:00:08,900 I'm on the zero day research team at Tenable. 4 00:00:09,100 --> 00:00:11,940 There's only about five or six of us. 5 00:00:12,500 --> 00:00:21,440 And what we're going to talk about is in the last year or so we've been looking at a lot of ICS products, different SCADA targets for software and hardware. 6 00:00:21,800 --> 00:00:26,600 And we found about a dozen critical vulnerabilities just kind of scattered across the board. 7 00:00:27,700 --> 00:00:35,740 And they're critical vulnerabilities because they provide unauthenticated or pre-auth remote code execution in the affected systems. 8 00:00:36,020 --> 00:00:45,880 So as we go through this talk here, I'll describe four of them in a little bit of detail and then we'll blow up a power plant. 9 00:00:49,290 --> 00:00:57,730 All right, so the first one that we'll look at is in Siemens Step 7, which Step 7 has been around forever. 10 00:00:57,730 --> 00:01:03,390 They rebranded it as TI Portal and it's automation services. 11 00:01:03,390 --> 00:01:11,990 It's used in all aspects of ICS development and operation from design phase to implementation and all the way down to operations. 12 00:01:13,510 --> 00:01:16,830 So TI Portal has a suite of simulation tools. 13 00:01:16,830 --> 00:01:20,070 It does diagnostics and telemetry. 14 00:01:20,070 --> 00:01:21,550 It does energy management. 15 00:01:21,550 --> 00:01:27,790 So they use it in operation in all sorts of different industries, down on the plant floor, just for monitoring equipment. 16 00:01:28,110 --> 00:01:34,830 And it's built for use by engineers, built for the integrator, as well as built for the operator personnel. 17 00:01:35,350 --> 00:01:41,710 So the vuln that we found in the software exists in the authentication package of the server. 18 00:01:41,710 --> 00:01:50,810 It has a Node.js server and TI Portal implements functionality for authentication, for authenticating web users and administrators. 19 00:01:51,310 --> 00:02:04,290 After authentication, the SSL session is switched over to WebSockets, but they don't use the token that's validated in authentication in the WebSockets session. 20 00:02:04,330 --> 00:02:12,690 So, of course, you can just skip HTTP authentication and start sending WebSockets commands directly to the server and it will process them. 21 00:02:12,710 --> 00:02:17,170 And, of course, all administrator functionality is included in the WebSockets protocol. 22 00:02:18,050 --> 00:02:19,430 So what can you do with that? 23 00:02:19,430 --> 00:02:20,910 You can do a number of things. 24 00:02:21,010 --> 00:02:25,350 You can basically do anything that an administrator would want to do on the system. 25 00:02:25,790 --> 00:02:33,710 But the best thing that an attacker would want to do is just start a firmware update and you can specify the firmware update server. 26 00:02:33,710 --> 00:02:38,410 So basically you can just ask the server to execute any remote URL. 27 00:02:38,410 --> 00:02:48,410 You could also do a couple other things like modify permissions for users, create new users, or you could just change application proxy settings, collect system information. 28 00:02:48,970 --> 00:02:57,650 So we have a disastrous security hole in this Siemens software that's used on the plant floor in critical operations. 29 00:02:58,030 --> 00:03:05,910 And as we go through these vulns, you know, I'm going to have different POCs and those are all on our tenable GitHub repository. 30 00:03:05,910 --> 00:03:08,090 You can find exploits for all of these vulnerabilities. 31 00:03:08,710 --> 00:03:15,050 And I guess while we're talking about Siemens, earlier today at BlackHat, we had the University of Tel Aviv. 32 00:03:15,050 --> 00:03:28,710 We're looking at the Symatic PLCs and they found some other crazy vulnerabilities in those that, you know, basically anyone can come and reprogram the PLCs if it's set up with the default permissions , because they all share private keys. 33 00:03:28,850 --> 00:03:32,290 So Siemens kind of, I don't know, I don't know what to say about Siemens. 34 00:03:33,150 --> 00:03:37,130 Second one is in Schneider Electric that we'll talk about. 35 00:03:37,290 --> 00:03:38,970 Indisoft Web Studio. 36 00:03:38,970 --> 00:03:49,110 So earlier this year, we found that Indisoft has several vulnerabilities, including one that allows attacker to send unauthenticated commands to the application. 37 00:03:49,130 --> 00:03:57,490 And specifically this command 66 is used to configure the database connection for Indisoft. 38 00:03:57,490 --> 00:04:01,830 And in many of the code paths, the file name can actually be user supplied. 39 00:04:01,830 --> 00:04:10,550 So in this command 66 message, an unauthenticated attacker can specify a database configuration file and ask the server to update from that file. 40 00:04:10,550 --> 00:04:17,590 And then the Indisoft server parses the malicious update file and executes these wrap brackets as WinExec. 41 00:04:17,590 --> 00:04:26,790 So an attacker can specify arbitrary commands inside of this database configuration file to run remote code on any Indisoft Web Server Studio. 42 00:04:28,650 --> 00:04:47,410 And here's, so our proof of concept for this was just basically to, in Python, sets up a local SMB server, requests the Indisoft Web Studio to trigger a database configuration update pointing to the controlled SMB server. 43 00:04:47,410 --> 00:04:50,990 The server requests the database configuration file and then runs a command based in it. 44 00:04:50,990 --> 00:04:53,990 And we just used it to pop a calculator application. 45 00:04:55,890 --> 00:04:58,230 And that's available on the, on the GitHub. 46 00:04:58,230 --> 00:04:59,390 All of these will be. 47 00:04:59,810 --> 00:05:03,770 Alright, so the third one, also in Schneider Electric, but in hardware. 48 00:05:03,770 --> 00:05:10,310 So the Moticon Quantum PLC are kind of like a ubiquitous PLC hardware used all over the place, different industries. 49 00:05:10,390 --> 00:05:13,370 And they're, they're favorites because they're modular. 50 00:05:13,370 --> 00:05:14,570 You can kind of plug and play them. 51 00:05:14,570 --> 00:05:16,490 They have all sorts of different modules in them. 52 00:05:17,550 --> 00:05:23,190 They're kind of interchangeable, slide them into the housing, depending on what the needs of your application are. 53 00:05:23,230 --> 00:05:37,290 So one of the vulnerabilities that we found in these PLCs, specifically in the communications PLC, is that there's authentication bypass in the communications module, which would allow an attacker to administer the device without credentials. 54 00:05:38,410 --> 00:05:40,350 And here's the exploit for that. 55 00:05:41,310 --> 00:05:42,050 There it is. 56 00:05:42,050 --> 00:05:43,470 Pretty easy, right? 57 00:05:43,470 --> 00:05:46,550 So, apparently zero days easy. 58 00:05:46,550 --> 00:05:59,610 This applica-, this PLC uses a, just the hidden, hidden, hidden service API of the communications device to just change the administrator, administrator password without authentication, without authentication. 59 00:06:02,040 --> 00:06:03,860 Alright, last one. 60 00:06:04,160 --> 00:06:09,120 This vulnerability is in Rockwell Automation, RSLinx. 61 00:06:09,240 --> 00:06:18,600 And RSLinx classical is, it basically implements Ethernet IP and encapsulates the common industrial protocol SIP messages. 62 00:06:18,620 --> 00:06:25,480 So then in their implementation, the packet has a 24 byte header, followed by some command specific data. 63 00:06:25,680 --> 00:06:29,860 Now the header lists the command and the length of the command specific data . 64 00:06:30,380 --> 00:06:46,820 So the vulnerability exists, it's a stack overflow caused by a malformed connection path where there's a function in the library engine, engine.dll library in RSLinx, which parses a connection path to extract a port path and stores it in a buffer on the stack. 65 00:06:46,820 --> 00:07:01,000 The length isn't verified and so you can specify up to 256 bytes of the port path and overflow the stack address and in 32 bit windows I think the return address is like 200 bytes or so from the beginning of the buffer. 66 00:07:01,000 --> 00:07:04,660 So a pretty easy, pretty easy stack overflow. 67 00:07:05,180 --> 00:07:06,580 Alright, that's it. 68 00:07:06,640 --> 00:07:08,340 I hope that wasn't too bad. 69 00:07:08,340 --> 00:07:15,160 So let's look at the fun part, which will be the application of these vulnerabilities and I chose to kind of look at a nuclear power plant. 70 00:07:15,160 --> 00:07:16,120 So let's see. 71 00:07:17,560 --> 00:07:22,600 First things first, let me turn you guys into nuclear physicists in one minute. 72 00:07:22,940 --> 00:07:28,680 Nuclear fission, it's a process where a large nucleus splits into two smaller nuclei. 73 00:07:28,680 --> 00:07:32,480 So when it splits, it releases energy, right? 74 00:07:32,480 --> 00:07:38,160 And in the case of nuclear fission in these power plants, we use uranium 235. 75 00:07:38,160 --> 00:07:45,340 Uranium 235 splits into krypton and it splits into barium and with that it releases three more neutrons and it releases heat. 76 00:07:45,380 --> 00:07:49,600 Each of those neutrons can start another chain reaction and that's fission, that's it. 77 00:07:49,600 --> 00:07:57,840 So uranium 235 is a really nice isotope of uranium where 238 is the naturally occurring one. 78 00:07:57,980 --> 00:08:10,660 So when you hear about people enriching uranium, they're adding more 235 to the 238 natural fuel and that makes it more chain reactive. 79 00:08:10,860 --> 00:08:21,700 So remember the neutrons that are produced, those three neutrons in the reaction, those are exactly how the fission reaction is controlled and those are like the most important part of the chain reaction. 80 00:08:22,800 --> 00:08:34,720 So we know that the fission reaction creates heat and the heat is used in these power plants to boil steam, to boil water, which creates steam and then the steam turns a turbine and that's it. 81 00:08:34,720 --> 00:08:35,840 That's how the power is created. 82 00:08:35,840 --> 00:08:36,920 So one minute, right? 83 00:08:36,920 --> 00:08:37,660 You're experts? 84 00:08:37,900 --> 00:08:39,840 I don't know why they even teach this in school. 85 00:08:39,840 --> 00:08:40,840 You can just Google it. 86 00:08:40,840 --> 00:08:43,440 Like I don't know, why is nuclear engineering a thing? 87 00:08:44,180 --> 00:08:45,100 Just kidding. 88 00:08:45,100 --> 00:08:45,620 Okay. 89 00:08:45,620 --> 00:08:49,320 So the key players in the nuclear reactor, for number one, we have the fuel. 90 00:08:49,460 --> 00:08:52,020 That's the basis of the fission chain reaction. 91 00:08:52,180 --> 00:08:56,880 In nuclear power, it's uranium in general, sometimes plutonium, but almost all the time uranium. 92 00:08:57,020 --> 00:08:58,460 That's the thing that releases heat. 93 00:08:58,460 --> 00:08:59,760 It's the key element of fission. 94 00:08:59,760 --> 00:09:01,820 We have the moderator. 95 00:09:01,920 --> 00:09:06,720 That guy's job is to just slow down the fission reaction by absorbing neutrons. 96 00:09:06,720 --> 00:09:14,780 Each of those three neutrons that came out when the nucleus splits, the moderator stops maybe two of those to continue the chain reaction. 97 00:09:15,320 --> 00:09:18,860 Now the coolant, its only job is just to take heat away from the core. 98 00:09:18,860 --> 00:09:19,320 That's it. 99 00:09:19,320 --> 00:09:20,620 The heat is the energy. 100 00:09:20,720 --> 00:09:23,260 And then the fourth guy is the control. 101 00:09:23,260 --> 00:09:24,720 That's the referee in the game. 102 00:09:24,720 --> 00:09:33,540 So you have, when the game starts getting too crazy, the fission reaction is getting out of control, you drop in the control elements. 103 00:09:33,600 --> 00:09:39,160 And so the control elements will generally be cadmium, hafnium, boron. 104 00:09:39,160 --> 00:09:48,180 All of those materials absorb massive amounts of neutrons, so they just completely stop the fission reaction in seconds or minutes, almost always within seconds. 105 00:09:48,880 --> 00:09:51,100 And we'll talk about those more in detail. 106 00:09:51,460 --> 00:09:56,420 But let's get into, first, some of the different designs in nuclear reactors. 107 00:09:56,420 --> 00:09:59,340 There's a lot of different designs. 108 00:10:00,020 --> 00:10:02,340 And I'll go through like four or five of them. 109 00:10:02,640 --> 00:10:06,080 The first one is the pressurized water reactor, or PWR. 110 00:10:06,220 --> 00:10:12,180 This is by far the most prevalent reactor that's in use in the entire world. 111 00:10:12,700 --> 00:10:17,000 Almost all of the power plants in the US are these. 112 00:10:17,000 --> 00:10:18,660 They're used in France. 113 00:10:18,660 --> 00:10:20,840 They're also used in Japan, Russia, China. 114 00:10:20,920 --> 00:10:26,660 And as time goes on, they're more and more and more of them go online just because they're so stable. 115 00:10:28,320 --> 00:10:38,440 And then its little brother is the boiling water reactor, which is basically the same as the pressurized water reactor, except that steam isn't created inside of the core. 116 00:10:38,540 --> 00:10:41,540 Steam is actually created in a separate heat exchanger. 117 00:10:41,540 --> 00:10:43,920 So the reactor is fully liquid. 118 00:10:46,660 --> 00:10:51,960 All right, now for the PWR, I'll talk a little bit about the safety systems. 119 00:10:52,000 --> 00:10:59,340 This is a diagram of an existing one in Japan, the Kashiwazaki Kariwa BWR in Japan. 120 00:10:59,340 --> 00:11:02,460 It came online within the last decade or so. 121 00:11:02,460 --> 00:11:06,900 And the control systems and the instrumentation, they're all on the same network. 122 00:11:06,900 --> 00:11:15,220 Of course, it's an air gap network separate from the corporate intranet and even one step further from the wide internet. 123 00:11:15,560 --> 00:11:26,340 And so you can see that in this diagram, the control systems are all fully automated, fully computer controlled. 124 00:11:26,340 --> 00:11:31,540 They have separate response systems, and they have redundant safety systems in them. 125 00:11:31,540 --> 00:11:42,820 The emergency core cooling system, which is in the lower left, the ECCS, and then the SCRAM control rod insertion, those are the two referees, the control elements to shut down the reaction. 126 00:11:42,820 --> 00:11:45,340 That's right below it to the right of the ECCS. 127 00:11:47,820 --> 00:11:53,580 Third type of reactor design is the pressurized heavy water reactor. 128 00:11:53,580 --> 00:11:58,140 And they call it, it's almost all of them are in Canada, they call it the CANDU. 129 00:11:58,140 --> 00:12:00,600 It's kind of a modification of the PWR. 130 00:12:01,140 --> 00:12:13,000 And it's a little bit of a different design because instead of light water, which they call are the PWR and the BWR, like light water reactors, it uses normal water, filtered water. 131 00:12:13,000 --> 00:12:18,700 These ones use heavy water, which is like deuterium, which is another hydrogen isotope. 132 00:12:18,820 --> 00:12:24,440 And deuterium already has the extra neutron that light hydrogen would have absorbed. 133 00:12:24,460 --> 00:12:29,080 So there's reduced neutron absorption, which makes it easier to sustain the chain reaction. 134 00:12:29,160 --> 00:12:31,360 And so that makes it so they can use a different kind of fuel. 135 00:12:31,360 --> 00:12:33,060 They don't have to use enriched uranium. 136 00:12:33,060 --> 00:12:38,240 So they can use naturally occurring uranium or lower concentration of enriched uranium. 137 00:12:38,820 --> 00:12:44,040 But the downside and the cost of that is that the fuel is cheaper. 138 00:12:44,040 --> 00:12:47,060 But on the other hand, the design is much less stable. 139 00:12:47,060 --> 00:12:58,080 So you end up with these circumstances where reactivity can increase as the water starts to boil in kind of these edge cases. 140 00:13:03,300 --> 00:13:25,580 And what that means is that an attacker that has modification access in this presumed attack scenario can actually control the safety systems to create a situation in the core where the fission reaction can occur in what they call a runaway fission reaction where reactivity increases and it's like a feedback loop. 141 00:13:25,580 --> 00:13:28,480 So as the temperature keeps going up, the fission reaction keeps going up. 142 00:13:28,480 --> 00:13:32,700 And that's exactly what happened in Chernobyl, if you're familiar with that. 143 00:13:34,160 --> 00:13:49,960 All right, so in the PWR, the PHWR, the Kandu nuclear power plant, because of those, you know, they're aware that they can have this reactivity runaway, obviously. 144 00:13:49,960 --> 00:13:54,960 So the safety systems are incredibly durable, so they say. 145 00:13:54,960 --> 00:14:06,560 This is a diagram here from the USNRC, the United States Nuclear Regulatory Commission generally does studies on what they call diversification in the safety systems. 146 00:14:06,560 --> 00:14:11,180 And diversification means that there are not common ways that they can fail, right? 147 00:14:11,180 --> 00:14:14,540 Like one vulnerability can't shut down both safety systems. 148 00:14:14,540 --> 00:14:22,860 So in this case, we have two referees, two of these safety systems, SDS-1, which is the absorption rods, which drop into the core, and they're made of boron. 149 00:14:22,860 --> 00:14:26,400 They drop into the core and completely shut off the fission reaction. 150 00:14:26,540 --> 00:14:42,360 And SDS-2, which is boric acid injection, where there's like several injectors on the side of the nuclear core, where they just spray in boric acid to increase the level of boron inside of the liquid, which also absorbs all the neutrons immediately stopping the fission reaction. 151 00:14:44,200 --> 00:14:53,860 So the point, I guess, is that the CANDU system relies on computer control through two of these redundant computers that manage information and alarms. 152 00:14:53,860 --> 00:14:55,700 They're all on the same network, though, right? 153 00:14:55,700 --> 00:14:58,760 So you still have this same access vector. 154 00:14:58,820 --> 00:15:02,880 But the two critical safety systems use different operating systems. 155 00:15:02,880 --> 00:15:06,140 They use different architectures and processor hardware. 156 00:15:06,140 --> 00:15:07,600 They use different languages. 157 00:15:07,600 --> 00:15:10,700 They're not allowed to use the same languages or executables. 158 00:15:10,700 --> 00:15:16,980 So for example, you know, the absorption rods will run on Windows and the boric acid injection runs on Linux. 159 00:15:17,200 --> 00:15:23,000 The, you know, SDS-1 runs with Fortran, for example, and SDS-2 runs with C++. 160 00:15:23,000 --> 00:15:26,340 So that's what they call diversification in nuclear power plants. 161 00:15:26,580 --> 00:15:37,140 So even so far, though, as being developed and coded by separate teams, so like the software will have same design parameters, but coded by different people and run by different teams. 162 00:15:37,300 --> 00:15:46,060 So in the end, you know, all it all it means to us is that you need, you know, one, maybe two more zero days to exploit the system, right? 163 00:15:46,060 --> 00:15:48,440 But don't worry, you can use some of the ones that we found. 164 00:15:49,980 --> 00:15:50,860 All right. 165 00:15:50,860 --> 00:15:54,680 The second to last reactor type is the AGR. 166 00:15:54,680 --> 00:15:55,620 I just have to mention it. 167 00:15:55,620 --> 00:15:58,760 It's, you know, like the fourth most popular one used. 168 00:15:58,920 --> 00:16:02,160 The advanced gas reactor, they use these in the UK. 169 00:16:02,320 --> 00:16:12,900 It uses natural uranium and they, you know, to deal with like this problem of liquid boiling in the core and that causing a problem, these, what they call void coefficients, increasing reactivity. 170 00:16:12,900 --> 00:16:15,660 They just said, let's not use liquid, we'll just use gas. 171 00:16:15,660 --> 00:16:20,060 So they use carbon dioxide in there as a coolant and you don't have to worry with stuff boiling. 172 00:16:20,060 --> 00:16:25,160 So there's no such thing as, there's no such thing as void coefficient issues. 173 00:16:25,880 --> 00:16:27,420 And it's also pretty stable. 174 00:16:27,420 --> 00:16:30,580 You know, it's comparable to the PWRs and the BWRs. 175 00:16:30,580 --> 00:16:33,000 And there's, yeah, those are in the UK. 176 00:16:33,980 --> 00:16:40,960 Then the last thing that obviously we have to mention is the Russian RBMK, which is just this horribly unstable design. 177 00:16:40,960 --> 00:16:43,140 They still use like three of them. 178 00:16:43,140 --> 00:16:44,180 That's a typo. 179 00:16:44,180 --> 00:16:46,100 I think there's only three of them in Russia. 180 00:16:46,420 --> 00:16:53,620 They use natural uranium, which you know, as temperature goes up, the uranium reactivity increases, which is a bad thing. 181 00:16:53,620 --> 00:16:56,400 It uses graphite as a moderator and water. 182 00:16:56,400 --> 00:17:09,740 It has a positive void coefficient, meaning that as the liquid in the core boils off and creates steam, you get, you get steam between the fuel rods instead of liquid, which increases reactivity. 183 00:17:09,820 --> 00:17:15,720 So as heat goes up, reactivity goes up, which is basically, that's why Chernobyl exploded again. 184 00:17:15,720 --> 00:17:17,320 You know, so horrible design. 185 00:17:17,320 --> 00:17:18,880 They're trying to phase all of these out. 186 00:17:18,880 --> 00:17:24,820 Russia starts, has started in the last decade or so putting PWRs, but they still have some of these in action. 187 00:17:26,360 --> 00:17:29,120 Okay, so attack scenario. 188 00:17:30,000 --> 00:17:32,460 I'm gonna, I think I have to start going a little faster here. 189 00:17:32,460 --> 00:17:34,000 So we got about 10 minutes. 190 00:17:35,200 --> 00:17:36,940 So the attack scenario, right? 191 00:17:36,940 --> 00:17:40,000 The network is going to be an air gap network. 192 00:17:40,000 --> 00:17:40,780 You want to protect it. 193 00:17:40,780 --> 00:17:45,460 You have all this critical, very fragile equipment on this network. 194 00:17:45,800 --> 00:17:47,460 So we're going to have it air gapped. 195 00:17:47,460 --> 00:17:54,500 So we need some kind of initial, initial infection into some adjacent network, which would be a corporate or employee network. 196 00:17:54,600 --> 00:17:57,900 And that's not too, it's fairly trivial , obviously. 197 00:17:58,140 --> 00:18:04,200 Once we're in the adjacent network, some kind of human interaction or other propagation zero day would allow us into their control network. 198 00:18:04,240 --> 00:18:10,660 And we've seen this before, like, I feel like I don't need to spend too much time on this, you know, Stuxnet use Windows Vuln over USB to jump the gap. 199 00:18:10,700 --> 00:18:16,380 And then there's a lot of different ways that we've seen in other malware like Triton that, that do this. 200 00:18:16,620 --> 00:18:29,100 So once we're in the network, and we're running on an operator panel, for example, one of the, or, or one of the peripheral systems, we need to get onto a controller. 201 00:18:29,100 --> 00:18:35,100 That's where we actually have access to the PLCs, access to the control network, access to some of the safety systems. 202 00:18:35,900 --> 00:18:38,260 So what we do is we use another vulnerability. 203 00:18:38,260 --> 00:18:53,480 For example, the first one that I talked about, the one of Siemens, in general, you have these controllers on the operational floor, which are interfacing with the PLCs for data collection for telemetry and in the development cycle for programming the PLCs. 204 00:18:53,480 --> 00:19:01,120 So we use that Siemens vulnerability immediately to jump from the operator interface, this peripheral device, onto the, onto the controller. 205 00:19:02,480 --> 00:19:06,920 And once you have access to the controller, modifying PLC logic becomes trivial. 206 00:19:06,980 --> 00:19:11,340 So in production environments, you could, you can accomplish that in a number of different ways. 207 00:19:11,340 --> 00:19:20,560 The malware implant could wrap, for example, the communications through the controlling server to modify control flow for automatic function changes, which is similar to what we saw with Stuxnet. 208 00:19:21,340 --> 00:19:28,960 And then for, for our attack on the power plant, we just need to be able to stop the coolant pumps, number one, that reduces heat exchange out of the core. 209 00:19:28,960 --> 00:19:30,020 That's the most dangerous thing. 210 00:19:30,020 --> 00:19:33,400 As the core temperature increases, it's going to start to melt down. 211 00:19:33,400 --> 00:19:45,520 And in other extreme cases of the horrible design, designs that I talked to you about, some of the really bad designs, fission reactivity increases, which is, you know, within minutes, you could have some disastrous explosion. 212 00:19:46,460 --> 00:19:48,140 So we need to stop the coolant pumps. 213 00:19:48,140 --> 00:19:48,800 That's number one. 214 00:19:48,800 --> 00:19:50,400 Stop heat transfer out of the core. 215 00:19:50,400 --> 00:19:55,660 And then secondly, we need to be able to, to withdraw control rods to increase fission. 216 00:19:55,660 --> 00:20:04,060 And then thirdly, we need to be able to stop the safety systems, the safety systems where the control rods are inserted or boric acid is sprayed in. 217 00:20:04,060 --> 00:20:15,900 And those are on different redundant systems, but they all go through some common logic collector, which ends up being the thing that decides whether or not to turn on the safety systems. 218 00:20:18,180 --> 00:20:27,620 So another integral part of creating a successful attack on one of these power plants is by providing false telemetry to the operators. 219 00:20:27,620 --> 00:20:41,980 So you provide them the illusion of control to the people that are monitoring the safety systems, that are monitoring the monitoring the temperature controls and the pressure, the pressure displays, you tell them everything's okay inside of the core, while while in reality, 220 00:20:41,980 --> 00:20:44,660 you know, things are reaching some critical threshold. 221 00:20:44,660 --> 00:20:46,800 But during that time period, you don't want anyone to respond. 222 00:20:46,800 --> 00:20:56,680 So you buy yourself some time to create this awful situation where fission can go on to this runaway, runaway path, runaway path. 223 00:20:56,760 --> 00:21:09,040 So it can happen, you can do that by simulating logic inside of the implant to send pre-calculated temperatures or even, you know, real time simulated temperatures and pressure and power readings based on the operator's commands. 224 00:21:09,480 --> 00:21:19,640 And so as the plant operator attempts to move control rods, for example, to control the fission reaction, the implant sends back simulated signals to say, yes, the control rods are moving, even though we have control of them. 225 00:21:21,260 --> 00:21:21,860 All right. 226 00:21:21,860 --> 00:21:28,900 And then the last and other critical part of the attack is to disable the critical and redundant manual and automatic safety measures. 227 00:21:28,900 --> 00:21:34,480 So the malware can replace logic inside of the ECCS and as well as the SCRAM control rod insertions. 228 00:21:34,480 --> 00:21:38,320 And those are the two independent and diverse safety systems that we talked about. 229 00:21:38,320 --> 00:21:40,280 That's an NRC regulation. 230 00:21:40,280 --> 00:21:41,280 All power plants do that. 231 00:21:41,280 --> 00:21:49,840 They have separate, but you know, separate, not equal, just separate systems which are able to completely shut down the fission reaction. 232 00:21:50,900 --> 00:22:04,360 And by disabling the safety systems, we allow, you know, that extra five minutes or even an hour in some cases to provide the reactor core to set it onto this path where it's going to eventually melt down or explode. 233 00:22:07,400 --> 00:22:13,780 So worst case scenario, I'll talk about the RBMK since there's still three of them in action. 234 00:22:13,780 --> 00:22:17,440 They're all in Russia, but they're extremely unstable. 235 00:22:17,440 --> 00:22:27,520 They have this design parameter where fission can end up on this thermal feedback loop which makes fission just run out of control. 236 00:22:28,340 --> 00:22:35,280 They rely entirely on logical control systems inside of the control networks to make sensibility. 237 00:22:35,280 --> 00:22:41,360 So if an attacker achieves control of the safety and control system, they can very easily cause a catastrophic explosion. 238 00:22:42,360 --> 00:22:52,520 Another design power plant that would be vulnerable is the CANDU or the PHWR which is that depressurized heavy water which uses deuterium. 239 00:22:52,840 --> 00:22:54,840 And those are used in Canada and India. 240 00:22:54,840 --> 00:23:01,140 They're more stable than the RBMKs, but they're still less stable than the light water reactors we use in the U.S. 241 00:23:01,140 --> 00:23:07,520 Because they use unenriched uranium as fuel, the fission reactivity can increase and have a runaway fission reaction. 242 00:23:09,940 --> 00:23:13,780 And then the last case that we have to talk about is in the U.S. 243 00:23:14,080 --> 00:23:22,540 So while these power plants are much more stable, you can't have this runaway fission reaction where you can have some crazy fission explosion inside the core. 244 00:23:22,540 --> 00:23:24,180 But you can still melt them down. 245 00:23:24,200 --> 00:23:29,900 So Fukushima and Three Mile Island, those were both light water reactors. 246 00:23:30,040 --> 00:23:33,760 And the only reason they melted down was because the cooling stopped. 247 00:23:35,760 --> 00:23:43,240 They use light water as a moderator and so they're designed to make it impossible to create a circumstance where the fission reaction would grow uncontrolled. 248 00:23:43,820 --> 00:23:48,440 And as the conditions of fission increase, reactivity always decreases. 249 00:23:48,520 --> 00:23:52,580 As water pressure goes up, the fission reaction slows down. 250 00:23:52,580 --> 00:23:53,500 That's how they're designed. 251 00:23:53,500 --> 00:23:59,220 They're kind of like something, you know, they're not designed to be, they're designed for stability first and cost later. 252 00:24:03,450 --> 00:24:13,330 So ending the talk, I guess I'll just say that, you know, the talk is kind of based on fear, uncertainty, but, you know, as I studied and looked through this, you know, I found nuclear power is good. 253 00:24:13,750 --> 00:24:16,030 It's clean energy. 254 00:24:16,050 --> 00:24:18,910 Almost one-fifth of all of the power in the U.S. 255 00:24:18,910 --> 00:24:20,230 is created through nuclear. 256 00:24:20,230 --> 00:24:22,390 So, you know, I just have to throw that in there. 257 00:24:22,390 --> 00:24:29,190 And I should also say that this type of attack, you know, using our vulnerabilities could have been used on, you know, our simulator. 258 00:24:29,190 --> 00:24:34,150 I could have chose any industry and we could have a similar kind of crazy disastrous effect. 259 00:24:34,310 --> 00:24:37,450 So it's not necessarily nuclear power that's bad, right? 260 00:24:37,450 --> 00:24:44,410 It's kind of like the vulnerabilities and keeping a reminder on these critical systems to say that basically everything is vulnerable. 261 00:24:44,950 --> 00:24:47,430 All right, so remember to check out our GitHub. 262 00:24:47,430 --> 00:24:49,810 We have all the POCs for these exploits on there. 263 00:24:49,810 --> 00:24:51,970 And you can ask me any questions you want. 264 00:24:51,970 --> 00:24:53,650 I'll be on Twitter, available on there. 265 00:24:53,710 --> 00:24:55,350 And thank you guys very much.