[00:00.000 --> 00:06.820] Thank you very much for waiting. Today is one of those days, you know, when everything goes [00:06.820 --> 00:12.560] wrong. So I wanted to, two hours ago, I wanted to rehearse my talk and I went into my ICS [00:12.560 --> 00:18.080] Village folder and it was empty. I made all the searches on the hard drive, on the external [00:18.080 --> 00:23.880] hard drive, and there was not a trace that I ever been collecting any materials or had any [00:23.880 --> 00:32.260] presentation created. So I cannot explain that mystery, except just being a bad day. And if any of you attended [00:32.260 --> 00:40.700] today, my morning talk, and you've heard some stories and everything that also, again, one of those talks. So this [00:40.700 --> 00:48.720] was a photo of the, like, there was allegation that we stole that research. So this was a photo how we were [00:48.720 --> 00:57.720] brainstorming the morning talk. And there was an issue with unquoted picture and what has happened. So I had [00:57.720 --> 01:04.680] original research co-presenter Ali Abassi, who actually received the picture, which was on the screenshot from [01:04.680 --> 01:11.520] the owner, from the Reid Whiteman. But unfortunately, the picture is hidden behind this picture. So it's not [01:11.520 --> 01:18.260] visible. And when Ali Abassi is getting married, and there was so much work with weddings that he could [01:18.260 --> 01:26.020] not work on research anymore. So I changed the co-speakers and we inherited a few slides from Ali. So we actually [01:26.020 --> 01:32.440] rewrote the entire application, abstract and so on. But so basically, we could not see that there was a picture, but [01:32.440 --> 01:39.880] apparently, there is an animation. So the picture is behind this picture. And we were absolutely not aware of it. So [01:39.880 --> 01:46.160] we neither could quote it nor we even knew that it was there. We've never looked at the full presentation mode. So [01:46.160 --> 01:53.740] now you know what has happened. And hopefully, we will sort out those all of those matters. So I wanted also to [01:53.740 --> 02:02.440] mention my so this work, which I presented or as much as I can in the next 12 minutes. So that was actually 12 [02:02.440 --> 02:10.780] months worth of work. And the student really thought his master's thesis and he really took all of his time to work on [02:10.780 --> 02:15.900] this. And the reason why, why it took so long is because, you know, like, we've done something new, something [02:15.900 --> 02:22.760] what never done, nobody ever done before or tried. So we first have to discover it 150 ways which do not work at [02:22.760 --> 02:32.480] all. So, and, uh, the motivation for this talk was it's just a reason to frequently claim that when the attacker is on [02:32.480 --> 02:38.720] the network, he can do whatever he wants to do. But this is kind of overly bold and overly pessimistic statement [02:38.720 --> 02:44.720] because the attacker will be in a position to arbitrarily manipulate the traffic, but will he be able to bring the [02:44.720 --> 02:52.140] system into the arbitrary state or needed state. So in order actually to control the target, and I will, it comes on [02:52.140 --> 02:58.640] the next slide, the attacker actually has to become process aware. So, and then the goal was of this work was to assess [02:58.640 --> 03:04.100] the visibility of discovery and physical behavior of the process in an automated manner. So basically, as you do [03:04.100 --> 03:09.580] like end mapping of the networks and so on, so, uh, you have automated tool to understand what's happening on the [03:09.580 --> 03:15.260] network. In OT domain, for example, there is no any automated tools. There is no even methods to do so. We even [03:15.260 --> 03:23.180] didn't know how would you do so. So, and this is a problem. So as you can see, so for example, what, uh, in red [03:23.180 --> 03:29.940] square, in, in, uh, this is was something what attacker manipulated. And as you can see the, the entire chemical [03:29.940 --> 03:36.760] plant has responded to that manipulation. And as you can see, every shape of the sensor signal is different. So you [03:36.760 --> 03:43.780] don't even know how the, any manipulation of the physical process, which reaction it will cause. So basically you [03:43.780 --> 03:49.740] need to figure out the dynamic behavior of the process. And if you would look at those green circles, you see, so one [03:49.740 --> 03:56.520] is the reactor exit temperature and another is, um, supply of oxygen. They have similar reactant, but just [03:56.520 --> 04:05.400] opposite. Like why? So and the reason for that is because the tuning of the control loop is a very complex process. [04:05.420 --> 04:11.620] So all of that, this weird responses which you see on this slide, they will be determined by tons of parameters [04:11.620 --> 04:20.980] which are specific and custom to every single individual plant. So, but luckily, so the attacker in order to [04:20.980 --> 04:26.800] understand the dynamic behavior of the process, the attacker does not really need to know like, uh, all of these [04:26.800 --> 04:33.060] parameters. All he wants to know, he wants to figure out how this, uh, like if he changed something in this process, how [04:33.060 --> 04:37.960] the disturbance is propagating and whether it's something increasing or decreasing. You basically just want to [04:37.960 --> 04:43.460] capture this dynamic of the physical process. You don't need really to understand why it's happening that way. [04:43.460 --> 04:50.020] Well, it's just that way in this plant. So at Black Hat, I gave a talk of hacking chemical processes. And at that [04:50.020 --> 04:56.020] time, I still didn't have these processes in place. So I have to discover the dynamic behavior of the process, which [04:56.020 --> 05:03.940] falls under the control stage manually. And this is how I captured manually the dynamic behavior of the chemical, uh, [05:03.940 --> 05:12.000] of the physical process. But the motivation was to find the automated ways to do so. Uh, another motivation was [05:12.000 --> 05:20.180] is that, um, so Jason Larson presented, um, like capturing, uh, again, shapes of the physics process in this, uh, with the [05:20.180 --> 05:26.300] help of triangles. And he actually suggested also to extrapolate like dynamic behavior of the process in the sense like [05:26.300 --> 05:34.100] slopes. And my idea was, can we actually, for example, you know that every attacker is specializing, like some attack [05:34.100 --> 05:41.140] groups specializing on specific tasks. One is writing, uh, containers, another is reversing firmware and so on. So I [05:41.140 --> 05:47.300] was like, hey, maybe for somebody, for some cybercrime group, it's become an offering. I get into the plant and I create, can we [05:47.300 --> 05:54.120] capture the fingerprint, you know, like a hash function, a fingerprint of the dynamic behavior of the physical process in a [05:54.120 --> 05:59.280] specific facility and store it in some meaningful way, which is small enough, which you can then trade, for example, in dark [05:59.280 --> 06:12.540] forums. So that was actually quite over-optimistic. So, um, basically at the beginning we, uh, we did not even know how to [06:12.540 --> 06:21.080] approach this task. And, um, because there is no, like there is nobody has done it and we actually took us a lot of time to look [06:21.080 --> 06:28.800] through the control literature because at the end, uh, we needed to borrow methods from the control theory. And, um, so for [06:28.800 --> 06:34.600] example, even if you, if we want to capture the dynamic behavior of the physical process, we need some benchmark against [06:34.600 --> 06:43.760] something. We have to compare it against something. So, and the idea was like initial was idea was compare, uh, to compare [06:43.760 --> 06:51.880] against. So this is what you see the sinusoid, uh, wave. That is a typical response in the proportional PID controller. So the [06:51.880 --> 07:00.780] most popular controller in the, uh, out there in the world is, uh, PID controllers which has three components. It's, uh, it's a long [07:00.780 --> 07:07.580] equation and, uh, tuning control loops meaning finding those coefficients. And this is typical sinusoid response. Whenever you [07:07.580 --> 07:14.320] change, adjust the valve, this is the form of the response. The sensor signal will look like that. But what we figured out that [07:14.320 --> 07:22.180] unfortunately we're not, we cannot compare the responses in the real plant. Again, this, um, you know, like ideal sinusoid, [07:22.180 --> 07:28.860] because this is how it's happening, like in terms of equation, but in the real plant, all the sensor signals are so nasty, ugly [07:28.860 --> 07:42.290] that it's just like they don't have that perfect shape. So we had to discard that method. So, um, uh, I just quickly wanted to [07:42.290 --> 07:52.350] mention, so as we were working on our, uh, on our work, so Jason Larson already realized that, um, so we found a lot of ways which, [07:52.350 --> 08:00.270] uh, did not work, but we were already working on deriving our own algorithms and approaches. He decided to take a follow, to have a [08:00.270 --> 08:07.110] follow up work. And, um, so he said like, Hey, maybe I'll try something. So he gave another talk like automatic generation of [08:07.110 --> 08:17.470] process models. And what he approached, he used is that, um, it's, uh, some researchers found out that, uh, they use it actually for 3D [08:17.470 --> 08:26.070] animation. So all objects in the physical world, they actually correlated to each other in terms of vibrating frequencies. So if you put the [08:26.070 --> 08:33.530] glass on the table, the table and the glass will be correlated in terms of vibration frequencies. And this is how, so this is how they [08:33.530 --> 08:41.810] actually reproduce 3D, uh, animations. So somebody's jumping and sorry, and they just know how, how the objects in the room should move together. [08:41.810 --> 08:52.190] And that's creates like kind of realistic picture. So he tried to apply his method, uh, and, um, interestingly enough, it turned out that even though [08:52.190 --> 09:00.970] the method worked because, uh, I helped him to obtain the data set from a water utility on which he could test his approach. So this approach [09:00.970 --> 09:08.430] actually works better, for example, for chemical plants, where it's processes continuously and does not change too frequently. But in a water [09:08.430 --> 09:17.390] facility, we later tested it in a water facility, what he figured out that because there is too many off states, like pump on, now mixing, now [09:17.390 --> 09:26.030] like something is, uh, like emptying the, uh, emptying the vessel. So there've been so many, there is a frequent change of the state of the [09:26.030 --> 09:35.890] process. And this method does not work well for like frequent changes. So as you can see, so that is where it was also interesting finding that for [09:35.890 --> 09:48.710] different type of the processes, you actually have to figure out and develop different approaches. So, um, no, where was LinkedIn on which [09:48.710 --> 10:05.520] browser? Tom? On which browser is LinkedIn? Well, I will try, okay, I cannot go far. Well, I have to just point, so I will just explain the major [10:05.520 --> 10:15.620] principle. So, first of all, so in order to figure out the dynamic behavior of the process, the attacker has to, uh, send some impulses. So you change [10:15.620 --> 10:22.500] something and you see how the rest of the process is responding because then you can observe the dynamic behavior of the process. So, but you want to [10:22.500 --> 10:30.820] trigger, so, uh, the danger of the triggering, like, uh, changing something in the process that you can change too much and you can trigger alarms. Then [10:30.820 --> 10:39.480] the operators will notice and probably start to investigate. So you want to change, uh, uh, so much that you would not trigger alarm. How would you [10:39.480 --> 10:48.060] even do it? How do you even start to thinking how much you have to change? And we found the, um, approaches in the control series, so you actually [10:48.060 --> 10:57.040] have to measure the, um, uh, the noise floor, the noise level and the noise floor in the sensor signal. So you take all the sensor signals in the [10:57.040 --> 11:06.700] plant and you have to figure out the specific formulas. You can figure out the sensor level and the sensor floor. And then we applied processes, uh, [11:06.700 --> 11:17.340] approach how control engineers tune control loops. Uh, you have first, your first, um, trigger, like, uh, it has to be five, five times larger than the [11:17.340 --> 11:25.620] noise floor. So for example, in specific case, it looks like this. So this was five times of the noise floor. So that is according to the [11:25.620 --> 11:37.380] control series that will allow you to, uh, kind of smoothly and gently, um, test the control loop. So, and, uh, then you just slowly start [11:37.380 --> 11:45.160] increasing the amount of change you're, uh, applying. So because we needed to, uh, cause amount of change so that it would be visible and that we [11:45.160 --> 11:55.120] could capture its dynamic. So the second, um, task was to actually, you want to cluster sensors because what you're interested, you want to know, uh, [11:55.120 --> 12:02.680] which sensors are correlated because for example, for spoofing, uh, for example, you want to lie to the operator what's happening with the process. So you [12:02.680 --> 12:10.380] can, you, you want to spoof sense, uh, certain sensor readings, but you need to spoof all the correlated sensor readings. Otherwise the attack, uh, the [12:10.380 --> 12:17.960] operator would be able to determine that, Hey, this is, uh, looks like normal, but those two not, but I know that they have to change together that [12:17.960 --> 12:26.380] something is wrong. So you need to figure out the clusters of correlated signals and which, for example, the responses is a positive. So that change in a [12:26.380 --> 12:37.440] positive way, it's not only correlated, but also a negative way. So, and, uh, there was, so normally, for example, such dynamics in the, uh, one of the [12:37.440 --> 12:45.080] popular ways to capture such dynamic behavior is a swinging door algorithm. It's the most popular algorithm which is used in the historians. So in the [12:45.080 --> 12:53.720] historians, pretty much almost all historians use a swinging door algorithm to capture the dynamic behavior of the process because they do not store every [12:53.720 --> 13:03.980] single sensor readings, they extrapolate it. So, but that method did not well, uh, worked well for us because we could see the slopes, but we could not see [13:03.980 --> 13:11.780] whether they're negative or positive, it would not tell us. So we had to develop algorithms which would allow us to capture that, uh, that information as [13:11.780 --> 13:21.140] well. And, uh, one I also have to remember because, so, the attacker will probably be somewhere on a low resource device, like, for example, most, most likely he [13:21.140 --> 13:29.880] will be on this, uh, network switch. So you don't have much storage to store a lot of data. You don't have much computational power, uh, and you don't have [13:29.880 --> 13:39.120] much space for your exploits. So it has to be very lightweight, real-time algorithm. So you actually go into this weird and extreme programming with [13:39.120 --> 13:49.500] an algorithmization. So eventually we were able to find such algorithm and capture the dynamic of the, uh, chemical plant, of the dynamic behavior of the [13:49.500 --> 13:59.800] process. And, uh, what was also important to figure out to verify that the relationships and correlations which we determined that they are correct. So we [13:59.800 --> 14:11.620] used Piercer correlation algorithm. This is, again, yet another standard approach to verify, uh, correlation of the data sets. So, uh, for each, uh, this is [14:11.620 --> 14:20.360] needed for reliability of your exploit because you can't always rely that the algorithm will work correctly. So these were three large tasks which we [14:20.360 --> 14:31.000] accomplished. And eventually we were able to capture, you cannot see colors in here, but we basically took the state in, uh, um, time, um, gosh, piping and [14:31.000 --> 14:40.480] instrumentation diagram of the process. And we, uh, basically placed, so for example, uh, we applied, we were testing the plant only for, uh, we actually [14:40.480 --> 14:48.500] tested every control loop, but for, in this paper, we were, the attack was happening in here. And then we captured, basically, uh, projected with, marked with [14:48.500 --> 14:58.760] colors, uh, correlated, uh, control loops and whether it is positive or negative correlation. And actually, you see, so it's also, sometimes certain, uh, [14:58.760 --> 15:08.220] control loops did not react to the attack at all. So, for example, in that sense, you, for example, don't need to spoof those sensor readings. So even though, [15:08.220 --> 15:17.860] like, I did not achieve my dream on having this entire fingerprint of the dynamic behavior of the physical process, but it still provides you with enormous [15:17.860 --> 15:28.900] amount of information. Otherwise, you are entirely blind. So, um, yeah, so that was the conclusion, uh, of this work. So pre-obviously, you know, there is so much [15:28.900 --> 15:38.060] work needs to be done further because we discovered several ways. Uh, Jason Larson picked up yet another approach, but, yeah, for the community, for us, it's just, [15:38.060 --> 15:47.720] like, where we need to pick up this research further because, uh, yes, we, we already know how to exploit embedded devices. We know how, uh, implant them, but [15:47.720 --> 15:55.560] the physical damage still need to be performed. And for that, you still need to discover dynamic behavior of the process. And we need automated tool for that. [15:55.560 --> 16:00.940] Otherwise, it's a manual work which does not scale. That was all from me. Thank you.