WEBVTT

00:00.000 --> 00:02.060
Thank you very much for waiting.

00:02.760 --> 00:07.360
Today is one of those days, you know, when everything goes wrong.

00:07.360 --> 00:14.700
So I wanted to, two hours ago, I wanted to rehearse my talk and I went into my ICS Village folder and it was empty.

00:14.840 --> 00:25.200
I made all the searches on the hard drive, on the external hard drive, and there was not a trace that I ever been collecting any materials or had any presentation created.

00:25.200 --> 00:29.440
So I cannot explain that mystery, except just being a bad day.

00:29.520 --> 00:39.880
And if any of you attended today, my morning talk, and you've heard some stories and everything that also, again, one of those talks.

00:39.880 --> 00:47.380
So this was a photo of the, like, there was allegation that we stole that research.

00:47.380 --> 00:51.980
So this was a photo how we were brainstorming the morning talk.

00:52.140 --> 00:56.820
And there was an issue with unquoted picture and what has happened.

00:56.820 --> 01:07.440
So I had original research co-presenter Ali Abassi, who actually received the picture, which was on the screenshot from the owner, from the Reid Whiteman.

01:07.520 --> 01:10.820
But unfortunately, the picture is hidden behind this picture.

01:10.820 --> 01:12.520
So it's not visible.

01:12.700 --> 01:20.100
And when Ali Abassi is getting married, and there was so much work with weddings that he could not work on research anymore.

01:20.100 --> 01:24.000
So I changed the co-speakers and we inherited a few slides from Ali.

01:24.400 --> 01:29.640
So we actually rewrote the entire application, abstract and so on.

01:29.640 --> 01:35.100
But so basically, we could not see that there was a picture, but apparently, there is an animation.

01:35.460 --> 01:37.600
So the picture is behind this picture.

01:37.600 --> 01:39.720
And we were absolutely not aware of it.

01:39.720 --> 01:43.260
So we neither could quote it nor we even knew that it was there.

01:43.600 --> 01:46.020
We've never looked at the full presentation mode.

01:46.020 --> 01:47.980
So now you know what has happened.

01:48.140 --> 01:51.440
And hopefully, we will sort out those all of those matters.

01:52.040 --> 02:00.100
So I wanted also to mention my so this work, which I presented or as much as I can in the next 12 minutes.

02:00.320 --> 02:04.260
So that was actually 12 months worth of work.

02:04.400 --> 02:11.080
And the student really thought his master's thesis and he really took all of his time to work on this.

02:11.080 --> 02:19.180
And the reason why, why it took so long is because, you know, like, we've done something new, something what never done, nobody ever done before or tried.

02:19.180 --> 02:23.560
So we first have to discover it 150 ways which do not work at all.

02:24.020 --> 02:34.820
So, and, uh, the motivation for this talk was it's just a reason to frequently claim that when the attacker is on the network, he can do whatever he wants to do.

02:34.820 --> 02:48.500
But this is kind of overly bold and overly pessimistic statement because the attacker will be in a position to arbitrarily manipulate the traffic, but will he be able to bring the system into the arbitrary state or needed state.

02:48.920 --> 02:55.520
So in order actually to control the target, and I will, it comes on the next slide, the attacker actually has to become process aware.

02:55.920 --> 03:02.780
So, and then the goal was of this work was to assess the visibility of discovery and physical behavior of the process in an automated manner.

03:02.780 --> 03:10.120
So basically, as you do like end mapping of the networks and so on, so, uh, you have automated tool to understand what's happening on the network.

03:10.120 --> 03:13.180
In OT domain, for example, there is no any automated tools.

03:13.180 --> 03:14.960
There is no even methods to do so.

03:14.960 --> 03:17.000
We even didn't know how would you do so.

03:17.500 --> 03:19.220
So, and this is a problem.

03:19.220 --> 03:27.320
So as you can see, so for example, what, uh, in red square, in, in, uh, this is was something what attacker manipulated.

03:27.320 --> 03:32.480
And as you can see the, the entire chemical plant has responded to that manipulation.

03:32.480 --> 03:36.540
And as you can see, every shape of the sensor signal is different.

03:36.540 --> 03:42.840
So you don't even know how the, any manipulation of the physical process, which reaction it will cause.

03:42.840 --> 03:46.540
So basically you need to figure out the dynamic behavior of the process.

03:46.540 --> 03:54.500
And if you would look at those green circles, you see, so one is the reactor exit temperature and another is, um, supply of oxygen.

03:54.640 --> 03:57.380
They have similar reactant, but just opposite.

03:57.380 --> 03:58.720
Like why?

03:59.560 --> 04:05.400
So and the reason for that is because the tuning of the control loop is a very complex process.

04:05.420 --> 04:17.440
So all of that, this weird responses which you see on this slide, they will be determined by tons of parameters which are specific and custom to every single individual plant.

04:17.980 --> 04:27.340
So, but luckily, so the attacker in order to understand the dynamic behavior of the process, the attacker does not really need to know like, uh, all of these parameters.

04:27.340 --> 04:36.680
All he wants to know, he wants to figure out how this, uh, like if he changed something in this process, how the disturbance is propagating and whether it's something increasing or decreasing.

04:36.680 --> 04:41.320
You basically just want to capture this dynamic of the physical process.

04:41.320 --> 04:43.460
You don't need really to understand why it's happening that way.

04:43.460 --> 04:45.420
Well, it's just that way in this plant.

04:46.040 --> 04:49.640
So at Black Hat, I gave a talk of hacking chemical processes.

04:49.640 --> 04:52.820
And at that time, I still didn't have these processes in place.

04:52.820 --> 04:59.480
So I have to discover the dynamic behavior of the process, which falls under the control stage manually.

04:59.480 --> 05:05.120
And this is how I captured manually the dynamic behavior of the chemical, uh, of the physical process.

05:05.120 --> 05:10.260
But the motivation was to find the automated ways to do so.

05:10.260 --> 05:21.240
Uh, another motivation was is that, um, so Jason Larson presented, um, like capturing, uh, again, shapes of the physics process in this, uh, with the help of triangles.

05:21.240 --> 05:27.200
And he actually suggested also to extrapolate like dynamic behavior of the process in the sense like slopes.

05:27.380 --> 05:36.380
And my idea was, can we actually, for example, you know that every attacker is specializing, like some attack groups specializing on specific tasks.

05:36.380 --> 05:40.700
One is writing, uh, containers, another is reversing firmware and so on.

05:40.700 --> 05:44.920
So I was like, hey, maybe for somebody, for some cybercrime group, it's become an offering.

05:44.920 --> 05:58.420
I get into the plant and I create, can we capture the fingerprint, you know, like a hash function, a fingerprint of the dynamic behavior of the physical process in a specific facility and store it in some meaningful way, which is small enough, which you can then trade,

05:58.420 --> 06:00.220
for example, in dark forums.

06:00.540 --> 06:04.460
So that was actually quite over-optimistic.

06:05.540 --> 06:14.300
So, um, basically at the beginning we, uh, we did not even know how to approach this task.

06:14.300 --> 06:27.100
And, um, because there is no, like there is nobody has done it and we actually took us a lot of time to look through the control literature because at the end, uh, we needed to borrow methods from the control theory.

06:27.480 --> 06:35.240
And, um, so for example, even if you, if we want to capture the dynamic behavior of the physical process, we need some benchmark against something.

06:35.240 --> 06:37.200
We have to compare it against something.

06:38.080 --> 06:44.500
So, and the idea was like initial was idea was compare, uh, to compare against.

06:44.500 --> 06:47.100
So this is what you see the sinusoid, uh, wave.

06:47.100 --> 06:51.300
That is a typical response in the proportional PID controller.

06:51.300 --> 06:59.600
So the most popular controller in the, uh, out there in the world is, uh, PID controllers which has three components.

06:59.600 --> 07:04.720
It's, uh, it's a long equation and, uh, tuning control loops meaning finding those coefficients.

07:04.720 --> 07:07.180
And this is typical sinusoid response.

07:07.180 --> 07:10.540
Whenever you change, adjust the valve, this is the form of the response.

07:10.540 --> 07:12.760
The sensor signal will look like that.

07:12.760 --> 07:18.140
But what we figured out that unfortunately we're not, we cannot compare the responses in the real plant.

07:18.140 --> 07:31.580
Again, this, um, you know, like ideal sinusoid, 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 that it's just like they don't have that perfect shape.

07:31.580 --> 07:34.080
So we had to discard that method.

07:34.720 --> 07:57.150
So, um, uh, I just quickly wanted to 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, uh, did not work, but we were already working on deriving our own algorithms and approaches.

07:57.290 --> 08:01.230
He decided to take a follow, to have a follow up work.

08:01.230 --> 08:04.090
And, um, so he said like, Hey, maybe I'll try something.

08:04.090 --> 08:08.350
So he gave another talk like automatic generation of process models.

08:08.550 --> 08:18.370
And what he approached, he used is that, um, it's, uh, some researchers found out that, uh, they use it actually for 3D animation.

08:18.370 --> 08:25.230
So all objects in the physical world, they actually correlated to each other in terms of vibrating frequencies.

08:25.290 --> 08:31.490
So if you put the glass on the table, the table and the glass will be correlated in terms of vibration frequencies.

08:31.490 --> 08:36.190
And this is how, so this is how they actually reproduce 3D, uh, animations.

08:36.190 --> 08:41.810
So somebody's jumping and sorry, and they just know how, how the objects in the room should move together.

08:41.810 --> 08:44.690
And that's creates like kind of realistic picture.

08:45.030 --> 08:59.970
So he tried to apply his method, uh, and, um, interestingly enough, it turned out that even though the method worked because, uh, I helped him to obtain the data set from a water utility on which he could test his approach.

08:59.970 --> 09:07.670
So this approach actually works better, for example, for chemical plants, where it's processes continuously and does not change too frequently.

09:07.670 --> 09:22.230
But in a water 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 like something is, uh, like emptying the, uh, emptying the vessel.

09:22.230 --> 09:26.970
So there've been so many, there is a frequent change of the state of the process.

09:26.970 --> 09:30.690
And this method does not work well for like frequent changes.

09:30.690 --> 09:40.890
So as you can see, so that is where it was also interesting finding that for different type of the processes, you actually have to figure out and develop different approaches.

09:41.890 --> 09:49.530
So, um, no, where was LinkedIn on which browser?

09:50.550 --> 09:51.430
Tom?

09:51.870 --> 09:53.670
On which browser is LinkedIn?

09:59.660 --> 10:02.180
Well, I will try, okay, I cannot go far.

10:02.180 --> 10:06.680
Well, I have to just point, so I will just explain the major principle.

10:07.080 --> 10:15.100
So, first of all, so in order to figure out the dynamic behavior of the process, the attacker has to, uh, send some impulses.

10:15.100 --> 10:21.140
So you change something and you see how the rest of the process is responding because then you can observe the dynamic behavior of the process.

10:21.280 --> 10:30.420
So, but you want to 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.

10:30.420 --> 10:34.040
Then the operators will notice and probably start to investigate.

10:34.040 --> 10:39.000
So you want to change, uh, uh, so much that you would not trigger alarm.

10:39.000 --> 10:40.120
How would you even do it?

10:40.120 --> 10:43.840
How do you even start to thinking how much you have to change?

10:44.060 --> 10:55.240
And we found the, um, approaches in the control series, so you actually have to measure the, um, uh, the noise floor, the noise level and the noise floor in the sensor signal.

10:55.240 --> 11:00.360
So you take all the sensor signals in the plant and you have to figure out the specific formulas.

11:00.360 --> 11:04.080
You can figure out the sensor level and the sensor floor.

11:04.100 --> 11:09.760
And then we applied processes, uh, approach how control engineers tune control loops.

11:09.760 --> 11:18.600
Uh, you have first, your first, um, trigger, like, uh, it has to be five, five times larger than the noise floor.

11:18.720 --> 11:21.520
So for example, in specific case, it looks like this.

11:21.520 --> 11:24.080
So this was five times of the noise floor.

11:24.080 --> 11:33.920
So that is according to the control series that will allow you to, uh, kind of smoothly and gently, um, test the control loop.

11:33.980 --> 11:40.520
So, and, uh, then you just slowly start increasing the amount of change you're, uh, applying.

11:40.520 --> 11:46.760
So because we needed to, uh, cause amount of change so that it would be visible and that we could capture its dynamic.

11:47.460 --> 12:02.480
So the second, um, task was to actually, you want to cluster sensors because what you're interested, you want to know, uh, 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.

12:02.480 --> 12:09.320
So you can, you, you want to spoof sense, uh, certain sensor readings, but you need to spoof all the correlated sensor readings.

12:09.320 --> 12:19.440
Otherwise the attack, uh, the 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 something is wrong.

12:19.500 --> 12:24.940
So you need to figure out the clusters of correlated signals and which, for example, the responses is a positive.

12:24.940 --> 12:29.020
So that change in a positive way, it's not only correlated, but also a negative way.

12:29.840 --> 12:41.860
So, and, uh, there was, so normally, for example, such dynamics in the, uh, one of the popular ways to capture such dynamic behavior is a swinging door algorithm.

12:41.860 --> 12:44.760
It's the most popular algorithm which is used in the historians.

12:44.760 --> 12:56.780
So in the 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 single sensor readings, they extrapolate it.

12:57.280 --> 13:06.500
So, but that method did not well, uh, worked well for us because we could see the slopes, but we could not see whether they're negative or positive, it would not tell us.

13:06.500 --> 13:12.320
So we had to develop algorithms which would allow us to capture that, uh, that information as well.

13:12.600 --> 13:23.640
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 will be on this, uh, network switch.

13:23.640 --> 13:26.240
So you don't have much storage to store a lot of data.

13:26.240 --> 13:31.440
You don't have much computational power, uh, and you don't have much space for your exploits.

13:31.440 --> 13:35.580
So it has to be very lightweight, real-time algorithm.

13:35.580 --> 13:41.140
So you actually go into this weird and extreme programming with an algorithmization.

13:41.480 --> 13:50.340
So eventually we were able to find such algorithm and capture the dynamic of the, uh, chemical plant, of the dynamic behavior of the process.

13:50.340 --> 13:59.480
And, uh, what was also important to figure out to verify that the relationships and correlations which we determined that they are correct.

13:59.480 --> 14:01.680
So we used Piercer correlation algorithm.

14:01.680 --> 14:08.340
This is, again, yet another standard approach to verify, uh, correlation of the data sets.

14:08.340 --> 14:17.760
So, uh, for each, uh, this is needed for reliability of your exploit because you can't always rely that the algorithm will work correctly.

14:17.800 --> 14:21.160
So these were three large tasks which we accomplished.

14:21.160 --> 14:33.140
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 instrumentation diagram of the process.

14:33.140 --> 14:44.780
And we, uh, basically placed, so for example, uh, we applied, we were testing the plant only for, uh, we actually tested every control loop, but for, in this paper, we were, the attack was happening in here.

14:44.780 --> 14:55.100
And then we captured, basically, uh, projected with, marked with colors, uh, correlated, uh, control loops and whether it is positive or negative correlation.

14:55.160 --> 15:01.700
And actually, you see, so it's also, sometimes certain, uh, control loops did not react to the attack at all.

15:01.700 --> 15:07.100
So, for example, in that sense, you, for example, don't need to spoof those sensor readings.

15:07.100 --> 15:19.080
So even though, 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 amount of information.

15:19.080 --> 15:21.160
Otherwise, you are entirely blind.

15:22.120 --> 15:26.980
So, um, yeah, so that was the conclusion, uh, of this work.

15:26.980 --> 15:32.800
So pre-obviously, you know, there is so much work needs to be done further because we discovered several ways.

15:33.320 --> 15:44.500
Uh, Jason Larson picked up yet another approach, but, yeah, for the community, for us, it's just, like, where we need to pick up this research further because, uh, yes, we, we already know how to exploit embedded devices.

15:44.500 --> 15:50.880
We know how, uh, implant them, but the physical damage still need to be performed.

15:50.880 --> 15:54.000
And for that, you still need to discover dynamic behavior of the process.

15:54.000 --> 15:55.560
And we need automated tool for that.

15:55.560 --> 15:57.900
Otherwise, it's a manual work which does not scale.

15:58.440 --> 16:00.120
That was all from me.

16:00.120 --> 16:00.940
Thank you.

