start	end	text
0	6820	Thank you very much for waiting. Today is one of those days, you know, when everything goes
6820	12560	wrong. So I wanted to, two hours ago, I wanted to rehearse my talk and I went into my ICS
12560	18080	Village folder and it was empty. I made all the searches on the hard drive, on the external
18080	23880	hard drive, and there was not a trace that I ever been collecting any materials or had any
23880	32260	presentation created. So I cannot explain that mystery, except just being a bad day. And if any of you attended
32260	40700	today, my morning talk, and you've heard some stories and everything that also, again, one of those talks. So this
40700	48720	was a photo of the, like, there was allegation that we stole that research. So this was a photo how we were
48720	57720	brainstorming the morning talk. And there was an issue with unquoted picture and what has happened. So I had
57720	64680	original research co-presenter Ali Abassi, who actually received the picture, which was on the screenshot from
64680	71520	the owner, from the Reid Whiteman. But unfortunately, the picture is hidden behind this picture. So it's not
71520	78260	visible. And when Ali Abassi is getting married, and there was so much work with weddings that he could
78260	86020	not work on research anymore. So I changed the co-speakers and we inherited a few slides from Ali. So we actually
86020	92440	rewrote the entire application, abstract and so on. But so basically, we could not see that there was a picture, but
92440	99880	apparently, there is an animation. So the picture is behind this picture. And we were absolutely not aware of it. So
99880	106160	we neither could quote it nor we even knew that it was there. We've never looked at the full presentation mode. So
106160	113740	now you know what has happened. And hopefully, we will sort out those all of those matters. So I wanted also to
113740	122440	mention my so this work, which I presented or as much as I can in the next 12 minutes. So that was actually 12
122440	130780	months worth of work. And the student really thought his master's thesis and he really took all of his time to work on
130780	135900	this. And the reason why, why it took so long is because, you know, like, we've done something new, something
135900	142760	what never done, nobody ever done before or tried. So we first have to discover it 150 ways which do not work at
142760	152480	all. So, and, uh, the motivation for this talk was it's just a reason to frequently claim that when the attacker is on
152480	158720	the network, he can do whatever he wants to do. But this is kind of overly bold and overly pessimistic statement
158720	164720	because the attacker will be in a position to arbitrarily manipulate the traffic, but will he be able to bring the
164720	172140	system into the arbitrary state or needed state. So in order actually to control the target, and I will, it comes on
172140	178640	the next slide, the attacker actually has to become process aware. So, and then the goal was of this work was to assess
178640	184100	the visibility of discovery and physical behavior of the process in an automated manner. So basically, as you do
184100	189580	like end mapping of the networks and so on, so, uh, you have automated tool to understand what's happening on the
189580	195260	network. In OT domain, for example, there is no any automated tools. There is no even methods to do so. We even
195260	203180	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
203180	209940	square, in, in, uh, this is was something what attacker manipulated. And as you can see the, the entire chemical
209940	216760	plant has responded to that manipulation. And as you can see, every shape of the sensor signal is different. So you
216760	223780	don't even know how the, any manipulation of the physical process, which reaction it will cause. So basically you
223780	229740	need to figure out the dynamic behavior of the process. And if you would look at those green circles, you see, so one
229740	236520	is the reactor exit temperature and another is, um, supply of oxygen. They have similar reactant, but just
236520	245400	opposite. Like why? So and the reason for that is because the tuning of the control loop is a very complex process.
245420	251620	So all of that, this weird responses which you see on this slide, they will be determined by tons of parameters
251620	260980	which are specific and custom to every single individual plant. So, but luckily, so the attacker in order to
260980	266800	understand the dynamic behavior of the process, the attacker does not really need to know like, uh, all of these
266800	273060	parameters. All he wants to know, he wants to figure out how this, uh, like if he changed something in this process, how
273060	277960	the disturbance is propagating and whether it's something increasing or decreasing. You basically just want to
277960	283460	capture this dynamic of the physical process. You don't need really to understand why it's happening that way.
283460	290020	Well, it's just that way in this plant. So at Black Hat, I gave a talk of hacking chemical processes. And at that
290020	296020	time, I still didn't have these processes in place. So I have to discover the dynamic behavior of the process, which
296020	303940	falls under the control stage manually. And this is how I captured manually the dynamic behavior of the chemical, uh,
303940	312000	of the physical process. But the motivation was to find the automated ways to do so. Uh, another motivation was
312000	320180	is that, um, so Jason Larson presented, um, like capturing, uh, again, shapes of the physics process in this, uh, with the
320180	326300	help of triangles. And he actually suggested also to extrapolate like dynamic behavior of the process in the sense like
326300	334100	slopes. And my idea was, can we actually, for example, you know that every attacker is specializing, like some attack
334100	341140	groups specializing on specific tasks. One is writing, uh, containers, another is reversing firmware and so on. So I
341140	347300	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
347300	354120	capture the fingerprint, you know, like a hash function, a fingerprint of the dynamic behavior of the physical process in a
354120	359280	specific facility and store it in some meaningful way, which is small enough, which you can then trade, for example, in dark
359280	372540	forums. So that was actually quite over-optimistic. So, um, basically at the beginning we, uh, we did not even know how to
372540	381080	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
381080	388800	through the control literature because at the end, uh, we needed to borrow methods from the control theory. And, um, so for
388800	394600	example, even if you, if we want to capture the dynamic behavior of the physical process, we need some benchmark against
394600	403760	something. We have to compare it against something. So, and the idea was like initial was idea was compare, uh, to compare
403760	411880	against. So this is what you see the sinusoid, uh, wave. That is a typical response in the proportional PID controller. So the
411880	420780	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
420780	427580	equation and, uh, tuning control loops meaning finding those coefficients. And this is typical sinusoid response. Whenever you
427580	434320	change, adjust the valve, this is the form of the response. The sensor signal will look like that. But what we figured out that
434320	442180	unfortunately we're not, we cannot compare the responses in the real plant. Again, this, um, you know, like ideal sinusoid,
442180	448860	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
448860	462290	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
462290	472350	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,
472350	480270	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
480270	487110	follow up work. And, um, so he said like, Hey, maybe I'll try something. So he gave another talk like automatic generation of
487110	497470	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
497470	506070	animation. So all objects in the physical world, they actually correlated to each other in terms of vibrating frequencies. So if you put the
506070	513530	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
513530	521810	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.
521810	532190	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
532190	540970	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
540970	548430	actually works better, for example, for chemical plants, where it's processes continuously and does not change too frequently. But in a water
548430	557390	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
557390	566030	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
566030	575890	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
575890	588710	different type of the processes, you actually have to figure out and develop different approaches. So, um, no, where was LinkedIn on which
588710	605520	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
605520	615620	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
615620	622500	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
622500	630820	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
630820	639480	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
639480	648060	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
648060	657040	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
657040	666700	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,
666700	677340	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
677340	685620	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
685620	697380	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
697380	705160	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
705160	715120	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,
715120	722680	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
722680	730380	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
730380	737960	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
737960	746380	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
746380	757440	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
757440	765080	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
765080	773720	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
773720	783980	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
783980	791780	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
791780	801140	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
801140	809880	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
809880	819120	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
819120	829500	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
829500	839800	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
839800	851620	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
851620	860360	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
860360	871000	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
871000	880480	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
880480	888500	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
888500	898760	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,
898760	908220	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,
908220	917860	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
917860	928900	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
928900	938060	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,
938060	947720	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
947720	955560	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.
955560	960940	Otherwise, it's a manual work which does not scale. That was all from me. Thank you.
