1 00:00:00,000 --> 00:00:04,080 Thanks for your patience, thanks for your interest in this talk today. 2 00:00:04,080 --> 00:00:11,780 My colleagues and I, Sarah, Bernhard and I, my name is Julia, we will talk about a project that we made together, a joint project. 3 00:00:11,780 --> 00:00:15,820 And we actually created a runoff of a prototype together. 4 00:00:15,820 --> 00:00:20,480 Since Verbund is a hydropower energy supplier in Austria. 5 00:00:26,130 --> 00:00:32,190 Actually, especially in the field of renewable energy, like hydropower, solar power and wind power. 6 00:00:32,190 --> 00:00:35,170 And maybe you just want to say a few words about Enviso. 7 00:00:36,190 --> 00:00:37,890 Yes, hi everybody. 8 00:00:37,970 --> 00:00:42,570 Enviso is a security consulting company from Europe. 9 00:00:42,570 --> 00:00:51,070 We are mainly focused on financial and technology sector and also the governmental and critical infrastructures. 10 00:00:51,450 --> 00:00:56,630 So I want to use the moment since this was a team effort to give a shout out to a few people. 11 00:00:56,630 --> 00:01:03,010 So great thanks to Alex, Moritz, Olaf, Nicolas, Vanessa and Patrick. 12 00:01:03,750 --> 00:01:04,910 Thanks, Sarah. 13 00:01:05,190 --> 00:01:11,990 Okay, so as I said, it's about a prototype that we built or specifically Enviso did a lot of the creating process. 14 00:01:12,150 --> 00:01:19,870 And we chose a runoff river power plant, hydropower plant to visualize the effects of a cyber attack on such a plant. 15 00:01:20,990 --> 00:01:27,850 So it's not only like a visual awareness tool, it's also supposed to be a forensic training tool. 16 00:01:27,850 --> 00:01:31,510 So what also is included in this ICS firing range... 17 00:01:31,510 --> 00:01:33,750 Attention, attention, everyone. 18 00:01:34,130 --> 00:01:36,390 Welcome to DC NextGen. 19 00:01:36,390 --> 00:01:39,250 Okay, I hope you can still hear me. 20 00:01:40,170 --> 00:01:50,190 Okay, but in fact, we really tried to also include a forensic training in the ICS firing range that has more than, I think, 10 modules. 21 00:01:50,190 --> 00:01:51,630 I think it's 15. 22 00:01:51,770 --> 00:01:53,650 And Bernhard will get into that a bit later. 23 00:01:53,650 --> 00:02:00,550 But you can really investigate a forensic training in how the cyber attack on a runoff river power plant worked. 24 00:02:03,570 --> 00:02:06,010 Motivation and project idea. 25 00:02:07,450 --> 00:02:08,810 Thank you. 26 00:02:09,010 --> 00:02:13,670 So what was the motivation for two companies like us to create such a prototype? 27 00:02:13,670 --> 00:02:17,690 So for Brint, it was especially that we are critical infrastructure. 28 00:02:17,870 --> 00:02:21,210 We are a really large power supplier in Austria. 29 00:02:21,210 --> 00:02:25,910 So of course, OT cyber security is one of our biggest priorities. 30 00:02:26,270 --> 00:02:32,730 And since all of us three are from this section, we really wanted to do an innovative project together. 31 00:02:33,310 --> 00:02:49,210 And what actually is also one of the most motivational parts for this project was that for Brint is planning to build a really big cyber security range focused on OT in Austria, in Styria, at a local site of a plant. 32 00:02:49,210 --> 00:02:57,890 And we really want to get all the OT specialists there from Brint, but also externals, to train there and to get their cyber security knowledge up. 33 00:02:57,970 --> 00:03:04,110 So first we wanted to have a prototype before we build a really big cyber range. 34 00:03:04,370 --> 00:03:06,590 That was one of the great motivations. 35 00:03:06,590 --> 00:03:08,530 Do you want to get into that? 36 00:03:08,650 --> 00:03:09,290 Okay. 37 00:03:09,290 --> 00:03:18,310 So our main motivation is to strengthen the security resilience of our customers by building realistic attack scenarios. 38 00:03:18,310 --> 00:03:23,850 That represent actual OT cyber threats. 39 00:03:23,850 --> 00:03:29,930 So we do this either in Red Team assessments or, as in this case, we're building in realistic training scenarios for the... 40 00:03:33,670 --> 00:03:37,430 Different OT environments face different challenges. 41 00:03:37,430 --> 00:03:44,970 Therefore, it was very important for us to create a tailored training approach that actually fit the requirements previously described by Julia. 42 00:03:45,650 --> 00:03:49,970 Having a visible and practical approach like in the cyber range can... 43 00:04:01,210 --> 00:04:02,490 Okay. 44 00:04:03,910 --> 00:04:08,070 Can help to make things more tangible and therefore to raise awareness. 45 00:04:08,430 --> 00:04:10,590 Is the microphone still working? 46 00:04:12,490 --> 00:04:13,510 Maybe. 47 00:04:13,510 --> 00:04:14,590 I'll try this one again. 48 00:04:15,950 --> 00:04:16,650 Sorry. 49 00:04:16,650 --> 00:04:23,610 And finally, if we look at the current OT threat landscape, you can see that the things are getting worse. 50 00:04:23,610 --> 00:04:35,950 And therefore, it's even more important to have proper training capabilities at hand to increase the detection and response readiness of the people that actually have to deal with cyber incidents on site. 51 00:04:37,590 --> 00:04:38,510 Thanks, Sarah. 52 00:04:38,510 --> 00:04:40,790 So, as we said, let's summarize it. 53 00:04:40,790 --> 00:04:44,450 Two things were the main objectives for this project. 54 00:04:44,450 --> 00:04:52,170 It's awareness building for people who may only know a little bit about cyber security, but also forensic training for specialists in the field. 55 00:04:52,290 --> 00:04:53,490 Next slide, please. 56 00:04:57,260 --> 00:05:05,720 So, what is really important to us, as I told you, us three are from the field of OT cyber security, so we're not in the operational field. 57 00:05:05,820 --> 00:05:22,180 We're not working directly in a power plant, so we need to include the knowledge from internal colleagues, but also from manufacturers to gain really a good understanding of how an ICS fire range could look like an abstracted model of a hydropower plant, 58 00:05:22,180 --> 00:05:27,440 since it's not exactly a realistic one, but as close as possible. 59 00:05:27,500 --> 00:05:50,160 And one of the really biggest inputs that we received from internal colleagues was, of course, as we have, I think Verbund has already over 130 power plants in Austria, we really need to have a control room where all the micro data comes together and everyone can monetize the data that comes here and see if everything's all right in the plant itself. 60 00:05:50,220 --> 00:06:09,000 And we realized this kind of control room within an HMI on the ICS fire range, where you can also control the range in itself, and you see all the measured data from the power plant, and you can also give an input as to, say, control the wares, that is also included in this prototype, 61 00:06:09,000 --> 00:06:11,760 but also, for example, you can raise the water levels. 62 00:06:13,060 --> 00:06:24,560 And, yeah, so that was one of the main important inputs that our people gave us, and we really tried to include it to make it as, you know, real as possible. 63 00:06:26,300 --> 00:06:30,700 Next, I want to give you some... please, next slide. 64 00:06:34,270 --> 00:06:37,870 I want to give you some hard facts about the ICS firing range. 65 00:06:37,870 --> 00:06:41,590 As you can see, the project had a duration of around one year. 66 00:06:41,590 --> 00:06:59,390 One of the challenges was that our team is in Austria, Bernhard and my team, but Enviso is in Germany, I think most of them were in Frankfurt, and we were in Vienna, so of course we had quite a big span, and many, or actually all of our meetings were remote meetings. 67 00:06:59,390 --> 00:07:00,890 So that's also a challenge. 68 00:07:00,890 --> 00:07:04,110 Bernhard will get into the challenges later a bit. 69 00:07:04,130 --> 00:07:08,850 But it's not so easy, since we could not get together and build on it together. 70 00:07:08,850 --> 00:07:17,070 But I think it still worked really well, and what I also think is really cool is that we had a lot of people in this project. 71 00:07:17,070 --> 00:07:18,950 So now you're just seeing all three. 72 00:07:18,950 --> 00:07:21,790 But as Sarah mentioned at the beginning, it was really a team effort. 73 00:07:21,790 --> 00:07:23,850 We had over 30 people involved. 74 00:07:23,850 --> 00:07:35,070 We had students from the university in Vienna, the technical university in Vienna, who really programmed the cyber attack for us, and Enviso did the part of going into the construction. 75 00:07:35,070 --> 00:07:41,270 And that's why I want to give the mic to Sarah, because she will get into the construction and logical construction part now for you. 76 00:07:43,190 --> 00:07:44,790 Yeah, thank you, Julia. 77 00:07:44,870 --> 00:07:47,250 So now we're getting into the more technical part. 78 00:07:47,250 --> 00:07:51,010 So as you could see in the previous slide, the cyber range consists of two layers. 79 00:07:51,510 --> 00:07:55,930 So on top, that is the slide that you can see now, is the scenario and visualization layer. 80 00:07:56,030 --> 00:08:01,330 Below that, we have the electric cabinet with all the technical components inside. 81 00:08:02,870 --> 00:08:11,410 The scenario and visualization layer has, at first, the modulated hydro power plant. 82 00:08:11,410 --> 00:08:12,950 So we have a river, of course. 83 00:08:12,950 --> 00:08:14,590 We have head and tail water. 84 00:08:14,630 --> 00:08:16,870 We have a turbine building, and we have the wheels. 85 00:08:16,870 --> 00:08:23,010 So we have one twin wheel for the normal operations, and we have one emergency wheel. 86 00:08:23,210 --> 00:08:40,490 Since you cannot look into this little building, to make things more tangible, we also added the HMI to the cyber range, and also a model of the turbine, including the shutters that actually control the water flow that hits the turbine. 87 00:08:41,610 --> 00:08:43,890 Okay, next slide, please. 88 00:08:44,170 --> 00:08:46,770 Now you can see the electric cabinet. 89 00:08:47,550 --> 00:08:55,510 Here we have, at first, a few basic components, as, for example, power supply and general safety and controlling equipment. 90 00:08:55,510 --> 00:09:02,350 So on the upper left, we have the contactor and electronic circuit breaker that handle electric faults. 91 00:09:02,490 --> 00:09:10,230 Additionally, we have the PSUs that provide 5, 12, or 24 volts to the different components of the cyber range. 92 00:09:10,230 --> 00:09:14,870 And below that, we have the terminal blocks that are used for the distribution of the power. 93 00:09:15,870 --> 00:09:30,150 The heart of our cyber range is a network of programmable logic controllers and Raspberry Pis that are orchestrated to emulate electromechanical and hydraulic processes. 94 00:09:30,450 --> 00:09:35,150 These PLCs are the decision-making brain of our firing range. 95 00:09:35,910 --> 00:09:47,190 To make a realistic scenario, we actually implemented commonly used PLCs, specifically the Siemens Seachem A8000. 96 00:09:47,490 --> 00:09:52,010 The Raspberry Pis serve as remote IOs for these PLCs. 97 00:09:52,010 --> 00:10:02,850 And in the little box on the right bottom, you can see there are the IO drivers for the Raspberry Pi to actually drive the stepper motors of the wheels. 98 00:10:02,850 --> 00:10:07,470 Above that, in the upper right corner, we have the Siemens BoxPC. 99 00:10:07,490 --> 00:10:10,470 And the Siemens BoxPC is used to drive the HMI. 100 00:10:11,190 --> 00:10:13,170 So, please, next slide. 101 00:10:13,170 --> 00:10:15,070 So, tying it all together, how does this work? 102 00:10:15,070 --> 00:10:17,110 What is the logic of the cyber range? 103 00:10:17,110 --> 00:10:23,610 So, as I mentioned before, we have the PLCs and the Raspberry Pis that are connected via Modbus. 104 00:10:24,050 --> 00:10:28,890 We have the HMI that is connected via S7 COM with the PLCs. 105 00:10:28,890 --> 00:10:35,210 And the sensors and actuators are connected via I2C and GPIOs with the Raspberry Pis. 106 00:10:35,210 --> 00:10:42,910 If I talk about sensors here, then I mean the opening level sensors for the wheels and also the shutters of the turbine. 107 00:10:44,010 --> 00:10:45,590 You may have recognized this. 108 00:10:45,590 --> 00:10:49,090 We have a hydroelectric power plant, but we don't have water at the moment. 109 00:10:49,090 --> 00:10:50,610 So, that's actually bad. 110 00:10:50,610 --> 00:10:52,450 So, maybe there's something missing. 111 00:10:52,670 --> 00:10:58,190 If you want to create a model including real water, this is always kind of error prone. 112 00:10:58,190 --> 00:11:01,990 We have a lot of electric here, so we decided to go a different approach. 113 00:11:02,530 --> 00:11:07,950 For this, we added a simulation layer to the logic of the cyber range. 114 00:11:08,270 --> 00:11:11,390 In this simulation layer, we have a simulation program. 115 00:11:11,390 --> 00:11:17,970 And this program actually emulates the water level of the headwater of the power plant. 116 00:11:18,690 --> 00:11:33,770 In combination with the actual data, so the sensor data retrieved from the Raspberry Pi, this program calculates the new water levels and publishes these water levels to the MQTT broker. 117 00:11:34,170 --> 00:11:44,170 The Raspberry Pi's MQTT client is then subscribed to these values, so it retrieves all the updates of the new water levels and forwards these water levels to the PLCs. 118 00:11:44,370 --> 00:11:44,990 Okay, nice. 119 00:11:44,990 --> 00:11:47,470 Now we have water, but still only in logic. 120 00:11:47,470 --> 00:11:50,810 So you can still see no water on our model. 121 00:11:50,910 --> 00:11:56,390 Okay, so another step is necessary, and therefore we added another machine, the visualization machine. 122 00:11:56,730 --> 00:12:03,850 The visualization machine is basically a projector that is tied on top of our model. 123 00:12:04,610 --> 00:12:06,270 Please, next slide. 124 00:12:06,910 --> 00:12:11,730 There you can see in the middle picture, you can see the projector that is on top of our model. 125 00:12:11,730 --> 00:12:24,130 And in combination with our SYN client, they also consume the water levels from the MQTT broker and project them on the model. 126 00:12:24,990 --> 00:12:27,010 How did we do this? 127 00:12:27,010 --> 00:12:33,070 To actually create the images for the water, there is a Unity game running that contains... 128 00:12:34,150 --> 00:12:38,970 that surface structure represents the surface structure of our range. 129 00:12:38,970 --> 00:12:47,450 Additionally, we have a blue layer in this Unity game, and its height is increased and decreased as needed to represent our water levels. 130 00:12:48,410 --> 00:12:49,450 Okay, nice. 131 00:12:49,450 --> 00:12:52,050 Now we have a working power plant. 132 00:12:52,690 --> 00:12:59,910 But to actually create training scenarios for this cyber range, we also need network infrastructure. 133 00:12:59,910 --> 00:13:01,870 Please go to the next slide. 134 00:13:02,990 --> 00:13:07,130 The network infrastructure for the firing range is also split up into two parts. 135 00:13:07,130 --> 00:13:09,690 We have the IT and the OT network. 136 00:13:09,690 --> 00:13:16,990 The IT network hosts multiple virtual machines that emulate a classic office environment. 137 00:13:16,990 --> 00:13:20,390 The IT network is completely virtualized. 138 00:13:21,210 --> 00:13:26,290 The OT network contains two networks, a virtual and a physical one. 139 00:13:26,290 --> 00:13:35,030 The physical one hosts the PLCs, and the virtual one hosts a virtualized Active Directory. 140 00:13:35,030 --> 00:13:35,710 Okay, nice. 141 00:13:35,710 --> 00:13:39,550 Now we can actually start implementing attacks here in our cyber range. 142 00:13:40,250 --> 00:13:49,830 And if you look at the current OT incidents, then you can see that actually a lot of OT incidents start in IT, so that is also the case for our attack scenario. 143 00:13:50,150 --> 00:14:02,770 So, a very classic one, the attacker sends a phishing mail to the victim, which orders the victim to download an executable from an attacker-controlled web server. 144 00:14:02,770 --> 00:14:11,330 This executable, surprise, contains an SITU implant, and after execution, the attacker has an initial foothold in the IT network. 145 00:14:11,410 --> 00:14:26,070 Further, poorly configured workstation security allows the attacker to dump credentials, escalate privileges, and finally move laterally and compromise the jump host and the control technology DMC. 146 00:14:26,070 --> 00:14:28,130 So, actually very bad. 147 00:14:28,470 --> 00:14:29,470 Why is this bad? 148 00:14:29,470 --> 00:14:41,230 Well, the jump host and the control technology DMC is used to manage the PLCs, so it's used to reprogram the PLCs in absolutely a place where you do not want to have unauthorized personnel. 149 00:14:42,630 --> 00:14:44,510 But it's even getting worse. 150 00:14:44,510 --> 00:14:54,590 So, the attacker starts enumeration of the network, dumps the Active Directory, and further analyzes which servers are accessible with the currently owned privileges. 151 00:14:55,510 --> 00:15:04,030 Unfortunately for the power plant and fortunately for the attacker, he is able to access the Nextcloud Datastore. 152 00:15:04,030 --> 00:15:07,070 So, what is the Nextcloud Datastore and why is this bad? 153 00:15:07,070 --> 00:15:10,830 Well, the Nextcloud Datastore is used to host the project files for the PLCs. 154 00:15:10,830 --> 00:15:19,070 So, that's actually very valuable information for the attacker, since the project files contain the logic of the PLCs. 155 00:15:19,070 --> 00:15:23,710 And, well, the PLCs control the power plant, so not too nice. 156 00:15:23,710 --> 00:15:36,630 The attacker is happy, is exfiltrating these files via the previously established C2 channel, analyzes it, modifies it, and re-uploads the files to the Nextcloud Datastore. 157 00:15:36,630 --> 00:15:40,470 And what happens next and why this is a problem, Bernhard will tell you. 158 00:15:42,090 --> 00:15:50,490 At the next stage, as an OT operator, I took the project file, deployed it on my PLCs, and the horror is starting. 159 00:15:50,490 --> 00:15:56,950 So , an immense flood is running over the water power plant and also the environment. 160 00:15:58,090 --> 00:15:59,410 Next slide. 161 00:16:00,410 --> 00:16:02,410 Training and DFIR. 162 00:16:02,450 --> 00:16:08,010 We have separated into 15 labs, which are separated in three main parts. 163 00:16:08,010 --> 00:16:10,790 The first main part is the analyzing part. 164 00:16:10,790 --> 00:16:18,510 The second part is to see how an attacker is working on the environment and which tools they are using normally. 165 00:16:18,510 --> 00:16:34,190 And also, we use OS typical forensic parts, so we will show the people who are working on a water power plant, what can we see, what is a security engineer seeing, and what can he see in real life. 166 00:16:34,310 --> 00:16:42,590 And also, we get into deeper of the Siemens toolbox, which we use to program the logical units. 167 00:16:42,590 --> 00:16:48,230 And we also do the analyzation of the files from the toolbox. 168 00:16:48,510 --> 00:16:49,930 Next slide. 169 00:16:52,970 --> 00:17:02,450 The lessons learned. 170 00:17:02,770 --> 00:17:10,330 These are the heavy part, because the ICS fire range is a bit bulky and heavy. 171 00:17:10,330 --> 00:17:15,270 We heard before, it's a lot of weight and a lot of metal in it. 172 00:17:15,270 --> 00:17:24,750 Also, the most important part is to create easy to use and also good resilient backup and restore solution. 173 00:17:24,750 --> 00:17:35,410 Because if we do some trainings, we should be really fast in restoring and deploying and backuping the situation where we can do the live trainings on it. 174 00:17:35,410 --> 00:17:46,230 So, it took us a long time to create consistent ESXi backups in combination with the graphics and also the Raspberry configuration. 175 00:17:46,590 --> 00:17:47,830 The noise. 176 00:17:47,910 --> 00:17:55,210 Noise is really important, because it's not the best choice to take the first switch, which you have in your depot. 177 00:17:55,210 --> 00:18:01,690 Normally, we have a Cisco catalyst switch from an old environment, so it was really noisy. 178 00:18:01,690 --> 00:18:03,290 It was active-cooled. 179 00:18:03,290 --> 00:18:06,610 So, we changed the switch to a passive-cooled switch. 180 00:18:06,610 --> 00:18:14,810 So, everyone who is trying such a project, use as most as you can passive components, because they sound really loud. 181 00:18:15,570 --> 00:18:16,730 Model building. 182 00:18:16,730 --> 00:18:19,230 Yeah, model building is not a technique. 183 00:18:19,230 --> 00:18:21,310 It's also a bit of art. 184 00:18:21,310 --> 00:18:26,090 So, you had to design the mountains and you had to design the cars and so on. 185 00:18:26,090 --> 00:18:28,150 So, a typical Austrian environment. 186 00:18:28,150 --> 00:18:43,930 The PCAP size during the analysis and for the training is also important, because not everyone is happy to handle a lot of gigabytes from PCAP files and this is the next part to analyze them with Tshark. 187 00:18:44,750 --> 00:18:52,650 Normally, in the security, we use Tshark, but not every OT operator is familiar with Tshark. 188 00:18:52,650 --> 00:18:58,810 So, we had to switch to Wireshark, which is more convenient for everybody to use. 189 00:19:00,170 --> 00:19:02,970 So, that's all. 190 00:19:06,440 --> 00:19:26,060 For the toolbox, what is happening in the second part of the file, because the attacker is manipulating the toolbox file, the toolbox file, the new one, is displaying the target values as the real values. 191 00:19:26,060 --> 00:19:34,820 So, the target values will show on the HMI and seems to the operator everything is fine. 192 00:19:34,980 --> 00:19:46,100 And on the other side, the toolbox is sending zeros to the wires, so the wires will not function at the moment during the attack. 193 00:19:46,100 --> 00:20:00,980 And this is why the flood starts and the problem is normally you have the HMI, the operator, which is working on the HMI, is not directly connected or has no visual view to the water power plant. 194 00:20:00,980 --> 00:20:05,820 And then, yeah, that's all for now. 195 00:20:05,820 --> 00:20:10,420 Are there any questions so far? 196 00:20:10,420 --> 00:20:17,280 Because we also have a short video where you can see what happens. 197 00:20:19,800 --> 00:20:21,240 Okay. 198 00:20:26,140 --> 00:20:29,200 This is a short overview. 199 00:20:29,480 --> 00:20:32,980 Here you see the top of the wires and the mountains. 200 00:20:34,300 --> 00:20:36,600 I had to cheat a little bit. 201 00:20:37,840 --> 00:20:39,820 Yeah, here are the mountains. 202 00:20:39,820 --> 00:20:50,420 So, we created a typical Austria environment to make it more home feeling for the students. 203 00:20:50,420 --> 00:20:53,720 Here are the wires, which are 3D printed. 204 00:20:54,820 --> 00:20:59,520 This is the landscape, which is getting flooded. 205 00:21:01,100 --> 00:21:05,280 In the back, you can see the turbine, which is a Kaplan turbine. 206 00:21:05,880 --> 00:21:09,680 So, it's also realistic to create. 207 00:21:09,680 --> 00:21:13,240 It's also important to create a realistic Kaplan turbine. 208 00:21:16,060 --> 00:21:19,240 On the left top, you see the HMI. 209 00:21:22,130 --> 00:21:25,110 And here is the ICS component. 210 00:21:25,110 --> 00:21:35,070 So, here you can see the Siemens ICS, the P8000, and also the Siemens computer. 211 00:21:38,580 --> 00:21:48,460 So, we used everything, or we tried to make the model as near as a real water power plant. 212 00:21:48,460 --> 00:21:52,640 So, normally, Siemens components will be used in this environment. 213 00:21:56,700 --> 00:22:01,760 Yeah, this is mobile, so you can bring it from point A to B. 214 00:22:12,440 --> 00:22:16,160 Yeah, so, are there any questions so far? 215 00:22:19,170 --> 00:22:20,050 Okay. 216 00:22:21,170 --> 00:22:22,830 Then, thank you. 217 00:22:27,300 --> 00:22:37,720 And, as I see that there are some people waving, feel free to contact us and chat with us about the range, and we can give you a bit more details than just the 25 minutes that we have here. 218 00:22:37,740 --> 00:22:38,820 Thank you.