Good morning, everybody. My name is Jim Harris from PFP. Today I'm here with Carlos, our CTO. We're going to talk a little bit about side channel analysis for critical infrastructure protection. And since we're kind of early and we're starting a little bit early, feel free to interrupt with questions, whatever, as we're going along. And hopefully this will be an informative session. I hate standing behind a podium normally. I walk around when I'm talking, so this is... he's going to walk and I'll talk a little bit and then we'll switch. All right, this is a little bit easier for me because I have to pay some little ADHD. So what we're talking about is essentially using... we're trying to take a technology that was basically developed for the U.S. government, U.S. military, and our first commercial targets were in the ICS space. And the reason is because it's a similar use case. You have absolutely critical infrastructure that absolutely has to be protected. You have some things that cannot go down and you can't load software on them and you can't look at the network traffic and you can't do any of those things because we have a lot of this big divide between the focus of the OT, which is safety and security and availability of the system, and the focus of IT, which is trying to prevent compromises and breaches. And after... so I have a long, weird history. I won't go through the whole thing, but I spent... well, I started as an engineer back in the 1990s. I took a detour through the FBI for 11 years as a special agent, working mostly in cyber division and that type of stuff. And then I became a consultant, mostly back to the government, and did a lot of critical infrastructure protection cyber events in an effort to help people talk more intelligently about risk decisions. And IT and OT divide was a big part of my consulting business back in the day. Because this difference between how people view things, I mean, there's lots of different things you can go into about the psychological differences of how IT folks tend to think abstractly in terms of things like IP addresses and MAC addresses. OT guys tend to think concretely in things like mechanical processes and switches. And all the way through to the difference between a focus heavily on confidentiality and a focus almost entirely on availability and integrity. Right, so, can we go to the next one? Next one. There you go. Okay. So, the problem is, of course, that there's a shared deployment. In the old days, OT and the IT didn't meet. OT was on Modbus, serial ports, things like that, and IT was IP address, Ethernet, and they just didn't have a big connection. But now, everything including the Modbus has gone to Ethernet as well, and there's even wireless products that can be IP based as well. And we have this problem essentially of we have to make some decisions about systems that the folks who traditionally do IT technology don't necessarily understand what the system's doing or how to judge the context in which it's operating. Go ahead. So, let me give to the last point that Jim was talking about. So, there's been a lot of emphasis on using machine learning for security. And one of the main problems we have with machine learning is that, you know, that is the ground truth, which is once you're training your machine learning, you have to make sure whatever you claim is good is actually good, and whatever you claim is malicious is actually malicious. And there is a very blurry line between the two. So, coming up with that ground truth in the first place is very, very difficult. And the last one, when we talk about the endpoint paradox, is that most of the endpoint protection relies on actually installing agents on the devices themselves. And of course, that, you know, you need that endpoint information for context. If you're just looking at the network and you see a packet going through, you don't know what it did. You know, did it deploy? Did it do something bad to it? You don't know. You need to have that endpoint context to really understand what's going on with your network, with your whole system. But in order to get that context, you need, usually, you need to install an agent in the endpoint itself. Which means that it's a little bit like asking, you know, the fox having a chicken in the hen house. Because the moment somebody compromises that endpoint, you know, they can make the agent lie to you. So we have that paradox that we call it because you need to rely on the endpoint, but you cannot trust it. Alright, so a lot of the things that people do today, which are trying to separate the systems from the internet, good. Patching, good. But difficult if you've separated the system from the internet. Using these kind of traditional IT systems, they're all, you know, things that are necessary, but not complete, right? They don't actually solve the essential problem. They also don't necessarily solve the fundamental insider problem that everybody kind of understands they now face. With this, you know, sorry, let me go back to Carlos because there was something about the limited operations that he put in here that I wasn't sure about. Right, yeah, so, like Jim said, IT and OT are very different. Most of the time, when you're talking about security, you bring the things that we learn in the IT world, we try to jam them into the OT world, and they're very different worlds. There's one quick example that, you know, for Windows updates, the best time to do it is on a Sunday at 2 a.m. in the morning, when it's not disrupting anybody. That would be the absolute worst time to do it in an OT system, because if something goes wrong, you want to have everybody looking at it so they can take action. So they're very, very different. And when you try to jam the security solutions from IT into the OT, you leave some systems vulnerable because not all of them can be deployed. So you have, in addition to that, a lot of the operational requirements that are very strict, very different from OT systems. You have embedded systems, you have legacy devices, you have a broad variety of platforms that have to interact, and where reliability is king. So it makes it really difficult to use the things that we have learned in the IT world to directly just apply them in the OT. So, yeah, that's what we were trying to say in this one. Yeah, and to that end, I kind of remembered, I sort of blanked there for a second, but I had an interesting two different consulting engagements, and of course I can't mention the companies involved, but both of them were utilities. And one of the utilities proudly said, we solve all of our problems with air gaps. And then they went on to describe, I said, okay, so it's truly air gapped. And they said, yeah, absolutely air gapped, this is a power supply system. I said, okay, so your billing of the energy, right, how does that get to your, your billing department? They said, oh, well it just, you know, goes through the firewall and the MPLS to the business system, something. But that's not an air gap. No, it's like an air gap. But it's not an air gap. And it was just kind of funny that we, as we were having this discussion, they, they really genuinely, truly thought they had air gapped the system by putting a firewall and MPLS through the firewall. I had another company that really, truly, they were, as far as I could tell, air gapped, right? They had completely severed any IP connection into the system. Cool. How do you update the firmware? Oh, we go over to the internet machine, download the firmware, put it on a thumb drive, walk over to the machine and load it. Okay, technically an air gap, but obviously another vector. And since they had no other software on the system to protect it or any other device to protect it because, hey, we're air gapped, what could possibly go wrong? They were doing that, which post-Duxnet everybody knows doesn't work. So what we're looking at instead is something a little bit different. So the challenge here, of course, is to put something that doesn't require loading software, interrupting the network, or could possibly become a point of failure for the entire system. So PFPs, what we've been researching and doing for quite some time in the government space is looking at side-channel analysis. Now, everybody at the conference has probably heard somebody talk about side-channel analysis, talking about reading RSA keys or breaking or doing bad things to a system, but we're kind of the other side of this, which is we want to use the same process. We want to look at tiny fluctuations on either the power or the EM emissions to determine what the state of the system is, if it's in a known good state, a known bad state, or an unknown state, which in this type of application should be considered bad. So if you think about the power plane inside of an electrical device, right, like our badges and everything like that, each time a processor, microcontroller, whatever, has to make an operation, has to do something at a clock cycle, even if it's negligible, it has to reach into that power plane, it has to pull some power out. So if you think about that as a very still, crystal still lake, right, like Lake Tahoe in the summer, you know, looks really clear, you almost don't want to touch it, because as soon as you touch it, you know you're going to create ripples. Those ripples are going to go on smaller and smaller, but indefinitely. If you think about a deterministic process like an industrial control system reaching in, dipping into that power plane over and over again, it creates very patternistic, patternistic is not a word I'm sure, but deterministic patterns of waves on that plane. So we're using, usually in EM in these cases, and we'll talk about why, we're using that, along with some signal processing and machine learning to basically identify, in time and frequency space, what are those things that are important between the different operating states. And then outputting a statistical fit of what state you're in, the machine thinks you're in, and how confident it is in that state. Is there anything you wanted to add? No, no, that's really it. No, there's a lot of signal processing involved, so when we start talking to people about, you know, side channels and transforms and wavelet transforms and things like that, often they don't, the traditional cyber people, they have a little hard time wrapping their heads around it, but in principle it's very, very straightforward. You know, when you have a digital device, you're flipping bits from 1 to 0 to 1, and the more bits they flip in every clock cycle, the more energy you need to flip those bits. So as you're executing your logic, you're flipping more or less bits, it gives you this very tiny but very unique pattern that depends upon the hardware and the software. And that's the one we're going. The people doing side channel attacks, they go after that to steal information. We're flipping around and we're using it to make sure that nobody has modified the logic in your device. And, oh yeah, this is the slide, the next slide, that we'll see in a minute, is one that for some reason takes a long time to load on this computer. But let me talk about it a little bit while these are loads. Oh, yeah, sure. So the training right now, and actually our current setup is actually based, so I should probably talk about it more. The machine learning training, we got a couple of different paths. One is the original machine learning algorithms that Carlos, as part of his PhD work, developed some time back. And that has been developed into what we're currently using. I'm also doing some work now in deep learning, convolutional neural networks, to do the same thing. So less signal processing up front, more deep learning, which obviously takes more processing power, but can get better separation in some odd cases, some difficult cases. But that's still kind of under development. But Carlos can talk more about his work, because... Yeah, so my background is in wireless communications. I used to work with self-defined radios. And the origin of the technology, it was looking at how to help regulatory bodies certify self-defined radios and enforce those certifications. When the FCC tests a new radio and puts a stamp of approval that can be sold, they certify a specific hardware with a specific software, it's a pair. And if you change either one of them, you have to go get retested to get re-certified. But they never said how they were going to enforce that. So that was part of the work that we were doing in figuring out how can we help, how can we detect that either one of them has changed. Of course, we look at such channels, they worked, and the application for cybersecurity was straightforward. In terms of the training, we have a battery, like Jim was saying, we have a battery of different machine learning algorithms. And they go from the traditional, the support vector machines, random forests, just Bayes classifiers. And we're doing a lot of work lately with deep learning and just giving really good results. And all of them work in different cases. So we have a battery of them, we do a lot of feature extraction ahead of time, a lot of signal processing to clean the signals, synchronize them, and clean them up. And then, you know, we pass them to the classifiers. A lot of our work is part of a DARPA project on using AI to classify signals in different areas has fed this. So we're kind of finding what are the best things to work on different use cases. Because different machine models have different accuracies, depending upon the signal, you know, different parts of the signal. In fact, we still don't fundamentally understand why some things work better. And that's part of what we're doing now as fundamental research is, can we figure out why certain machine learning algorithms work better on certain types of signals and not on others? And, you know, that's, there's still a lot of fundamental questions to be answered about that. So went to finally loaded the slide. And one of the things that when we tell people that we look at side channels, usually a PFP stands for power fingerprinting, we often look at power consumption of the devices. People often think, oh, let me see the level of power in my cell phone, like the battery indicator. And that's not what we look at. We look at tiny, tiny patterns. This is what they look like. That's one of the traces from a PLC, actually. This is what they actually look like. And if you see the picture of the chip, the emissions radiating directly from the silicon. This is part of the fundamental physics of the semiconductor. See, as you're moving electrons around, they generate those fields. And we're the ones, those are the ones where we're picking up. Because we tell people often, oh, we're looking at power. You're looking at how much, you know, what if I turn my screen on? Or what if I turn a fan? That's gonna mess you up. No, we're looking at the emissions directly from the processor that it's executing your logic. So it's a, it's a different concept. No packets, no, uh, system calls, um, yeah. And one of the things about, uh, this part right here. So if you go see our demo in the next area, you'll see that we have a very tiny little loop antenna. That little loop antenna is mostly going to pick up, because a question commonly comes up, uh, well, isn't that subject to a whole lot of noise? But the type of probe that you'll see there is mostly picking up the magnetic component of the, of the EM emissions, right? So it doesn't, that drops off very rapidly, uh, with distance. So it's much, you know, more accurate when we use the EM. We also have, uh, some demos where there were, uh, some installed on the wall where you see it's using DC power, which is also pretty good. Um, not always in an ICS if it's in line, because then potentially we could become a point of failure for the system. But the EM is really, really good and works well in a noisy environment, because we're mostly measuring that, the B, the magnetic field component of the EM field. So, so we, we talk already about side channel, uh, uh, attacks. And the Tempest, you probably guys are familiar with, the Tempest was designed specifically, uh, for those side channels. So when we, you know, if you're familiar with those, you know, you know that they haven't used for decades to extract that information, which is using it in a slightly different way. And if you see the racks and stuff that goes in there for a Tempest system, that's what you have to do to prevent the signal from leaking out. Oh, go ahead. Right. Whether it's malicious or not. That's right. So, so basically that would be the, the case of jamming, right? If, if somebody would be jamming you with a, with a, with a magnet, uh, or with anything else. So we, you would see it, you would see, oh, there's this big jam and, and we will flag it and somebody would have to go look at it. But it would be very obvious that you're being jammed in the signal. That's true. That's true. They could be just working with magnets. Right. It is possible, but it's very unlikely. So we were actually, we were doing some tests in a, in a substation. They have these big, massive, massive transformers right next to it. And you can see that, you know, there's this huge electromagnetic fields around it. And they actually, when you go there, they, they ask you, they, no metal, you have to, you have to put your suit to, to, to be able to get there. And, and this one works just fine because, you know, at that point it becomes, um, you increase a little bit the noise and the, the, the, uh, the signals come at different spectral bands. So you can filter those fairly easily. And, and if somebody doesn't say, if somebody were going to be playing with a magnet right next to your device and doing this, like, you know, at several kilohertz moving it, well that could probably, you know, impact us, but very unlikely. Yeah. A static magnet, the, the delta of the, or the change from moment to moment of the magnetic field isn't going to really register. It's the delta. So if you're moving the magnet rapidly in and out, if you do it, you know, 10,000 times a second, then it would definitely make a field. And a lot of the magnetic fields we would be around might be static. Yeah. Yeah. I mean, exactly. It, it is potentially there. That's part of the reason when you're doing the baseline, the machine learning, you should do it in as much as possible in the environment in which it's going to be deployed. So as close to that environment as possible so that the machine can already learn what the ambient noise that it might pick up looks like. Integrity assessments, again, what we're essentially doing is trying to look at, once we have built a model of it, we're looking through those side channel patterns, we have our baseline, we measure distance from the baseline to what we're seeing right now, and then give you a confidence level out of, this is the state I'm in, this is my confidence level. If the confidence level gets too far outside of what is acceptable, then, and it doesn't match any other state, then it's an anomaly. And I don't know what it is, I can't help you figure that out, but I can absolutely tell you that it's not operating exactly the same way. It could be because of an electrical failure, it could be because somebody's doing something with electromagnetic fields nearby. I don't know what it is, I just know I'm not in the right operating condition that you expect me to be in. Okay. This one I have to turn it down. So there's two ways in which we normally do the training. The way that we prefer, that we prefer, is when we do the supervised learning. And which means is that you grab your device that you're going to be monitoring, and you bring it to your test and evaluation room, and you make it go through all the different phases, go through all the different states. This is the exact same type of assessment that you would do to do code coverage on your traditional functional tests. So you want to exercise all the different paths, doesn't mean you have to exercise all the different inputs. You have to exercise all the different execution paths, and that way you can come up with a complete library of what the normal, the real states are. And then if anything were to come in, we will flag it. Of course, that requires you to have a test and evaluation room, and that you can able to monitor for the execution of different states. The other one is unsupervised learning, where you simply observe the device for a period of time, and whatever you observe in that time, you make it part of your library. And they might, anything you don't see, you can match it, you flag it. But in that case, we can have more false positives, because we haven't seen all the states. And people often ask us, well, how about complex platforms? You have a really, really complex device, and PLCs are actually fairly complex. And what we tell them is we limit the scope of those. We either force them to execute a specific task, and we make sure that that task hasn't been compromised, or we go low-level and make sure that the firmware and the initial execution, the BIOS, hasn't been tampered with. So let me go to the next one. So one of the things people ask about the performance is how well it does. This is one of the early work we did with DARPA, and it shows the ROC, Receiver Operating Characteristic Curve. Basically, it's how good a detector is, how well a detector works. And so vertical axis is probability of detection. When you have an anomaly, something else, you detect it, versus a false positive, which is when you have a real legitimate event that you've mistaken flag it as an anomaly. And in this case, you see that for the blue line, for over 80% probability of detection, you have a 10 to the minus 15 false positive rate. And the reason why we can do that, you see the three lines, is because with PFP, it works differently. If you were to send a file to VirusTotal and get your assessment, it will tell you malicious, not malicious, whatever. If you send the same packet 1,000 times, or the same file 1,000 times, you get the same answer 1,000 times. With PFP, you observe one execution instance, and you give you an assessment, which is the black line. If you can observe another execution instance of the same code, you can put them together and start integrating the noise out, so you get a cleaner signal. The more you observe, the cleaner the signal it gets. So that's why we can come up with this such low probability of false positives. Works differently. So one of the reasons people do this is, you know, doing assessment using side channels, integrative side channels, is much harder than just asking the device, hey, you know, are you okay? But there's a lot of advantages of doing it this way. And the main one is that we do no harm. So normally, like we've talked before, we have that line between the OT and the IT, the safety critical side. You have to make sure you do no harm to those systems. And with PFP, because you can be physically separated from them, you can physically air gap from it, you guarantee you do no harm. There's no latency or reliability impact on your network or on your device itself. And you're literally just putting a probe right next to it. You can, because we look at them as signals, we don't care what the box that generated them there. So we look at them as black boxes. You can support embedded legacy devices, can be real-time systems, and we add no latency to them. So there's no need to re-certification. A lot of critical infrastructure plants, they have to go through a very rigorous certification process to make sure that they don't, you know, explode and kill people. So every time you're going to introduce a change in any of those systems, it can be very expensive to go through and do the whole re-certification. With PFP, since you're not changing any of that, by using side channels and you're not changing any of the system, you avoid all that complex process. And very importantly, it does not introduce additional vulnerabilities. Something like 30% of attack vectors, don't remember the actual numbers, come from actually, you know, security solutions. With PFP, again, you are separated from it, so you introduce no additional vulnerabilities to your system. And you can detect that very quickly. And the last one that we have here is very robust against evasion. Technically, it's possible for somebody to generate a sequence of code that matches perfectly what the other code was doing, but it's very, very difficult. Technically possible, but it's very, very difficult. And also covers accidental faults. So if for some reason you have this gamma ray that hits your system and it's definitely behaving, we will catch that as well. And it's not a malicious attack, but it's something that you need to know because you're dealing with critical infrastructure. It integrates with any other solution, so you can, you don't have to modify any of your system, including your security solutions that you have in place. You can have your access controls, you can have firewalls, anything else you want. We just put an additional layer of protection. And because we're air-gapped from it, if you compromise the device, the target device that we're monitoring, you cannot get from there to us. And if you compromise us, you cannot get to them. Yeah, and again, to this point about adding a layer, so we're obviously not sitting here saying that, you know, this is the only way you should monitor the device. There are lots of other things you should be doing. This is just an additional checkpoint. When you get to the idea of what we can detect, again, at the end of the day, if the function gets weird, which could be because it's failing or could be because somebody's attacking it, all we can tell you is that it's weird. We can't tell you that it's, you know, malicious or we can't, you know. In some limited circumstances with other types of devices, we have categorized things like Mirai on cameras and things like that, so we have known bad states that we can characterize, but there's too many of those and there's enough people in that area doing that type of stuff. We focus more on making sure that the hardware is what you expect it to be. So, it's time? Okay. Well, this was a very interesting live, but we spent too much time at the beginning, so we'll keep it. Let's just wrap it up. There's DARPA project that is funding us to do this work. And there's basically two deployment options. You can deploy the technology runtime or you can deploy the technology as a screening. So, if you create an infrastructure, you want to make sure that your devices haven't been, the hardware hasn't been compromised. You can tailor the tools to do that or you want to make sure continuous monitoring. And when we say continuous, you know, we really mean 24-7, you know, every second making sure that the execution of your system hasn't been compromised. So, we have those two deployment options. We've done tests with PLCs. You can come to our next door to see our demo. We've done tests with Cisco routers, network infrastructure, a number of platforms. So, with that, I'll let Jim, you know, wrap it up. Yeah, so again, we'll wrap up quickly. We don't want to go over time and, you know, respectful of the next speakers that are going up, but please come see it. Think about this and other applications of this. We're still, you know, kind of in that transition stage between research and government and DoD research and like practical applications. So, I'd love to hear your ideas, thoughts you might have on it, and look forward to talking to all of you. Thanks very much. Thank you.