Welcome everyone, thank you. Apologies for my voice, I went to karaoke a few nights ago and it's a bit hoarse, so yeah. Anyway, I hope you're all here for deception for ICS, otherwise you're in the wrong room. Time to get out. My name is Brent Muir, I work for Mandiant, which is now part of Google Cloud Security. I've been with Mandiant for just over three years. Prior to that I spent four plus years in banking, and then prior to that 12 years in government agencies doing DFIR, digital forensics, malware analysis, etc. These days I work with clients on the proactive side, so hardening environments, making their systems a lot more secure than where they started, including for some ICS clients. So, we're going to kick off today. Brief agenda, I don't have a lot of time and I've got a lot of slides, so I do apologise. So we're going to go over the problem statement, some deception strategies, hopefully you can all hear me, a bit of in practical terms how we do deception for ICS, so I'm going to be looking at APT44, and then I've got some ICS honeypot guidance there as well at the end. And if we've got time, we'll do questions outside because I don't think there's any time in the room. Okay, so problem statement, why are we all here? So, security operations centres are drowning in alerts. For anyone who's ever worked in a SOC, you're dealing with a whole bunch of compliance use cases and detection logic these days, it's not really security related, and so it's just too much noise to go through. Additionally to that, we've got APT groups who are always looking at the newest ways to bypass security controls, making it harder to detect their activities versus legitimate activities inside the environment. And threat hunting is great. However, unless you've got a 24 by 7 threat hunting team operating inside your environment, you're probably going to miss a whole bunch of adversarial activities. So we like to use the assume breach mantra within Mandiant, meaning that we already assume there's a threat actor somewhere inside your environment operating, just hasn't been detected yet. And so the answer to all of this is deception, of course, that's what we're here for. So, what is deception? This is the NIST definition, but basically breaking it down, we're trying to build out high fidelity tripwires and alerts to detect the adversary's activities inside your environment. And that's what we're here for, really. So, main benefits, you've got your early detection of threats. As I mentioned, we're trying to build out those high fidelity alerts, we're not trying to generate more noise for the SOC, we want to have these alerts get triggered, and you know that there's something to look at straight away, it's suspicious. They shouldn't be getting triggered by the average user unless it's inside a threat type scenario. On top of that, we've got the increased situational awareness of using deception. So, when you detect some of these activities and these tripwires being triggered, you can then use some very forward thinking mantra and shift them into honeypot environments and then monitor their activities, and you gain a lot of adversarial knowledge that way that you wouldn't gain otherwise, just by mitigating and kicking them out of the environment. If you move them to a honeypot environment that has no other production system or data access, you can then monitor and learn exactly what they were after, what their actions and objectives were, and that can lead to better detections and adversarial knowledge in the future. Thirdly, you can reduce false positives. As I mentioned, we're talking about building out and fine-tuning these alerts. They shouldn't just get triggered by benign activities. We can enhance your incident response because, again, if you think about the normal SOC environment, you've got all these alerts coming through and you've got different priorities, you know, critical, high, whatever. But when these ones trigger, it's critical. You know something is going on straight away. You know exactly which system it is, which alert's been triggered, and you need to step on it and get onto it. And lastly, it's cost-effective. So we don't sell deception technology at Google. What I'm talking about here is using your existing security control stack and your existing tooling, coupled with open-source tools as well. So when we're talking about deception, we're talking about operationalizing the MITRE Engage framework. And if you haven't heard of the MITRE Engage framework, you should definitely have a look. It's a very, very useful adversarial engagement framework. And there's nine stages, and I'll go through them in the example a bit later. But at the high level, you've got the four stages there on the right. So we're collecting threat intelligence about the threat actors who are targeting your environment. So why are they targeting your environment? What kind of assets are they looking to target? We then analyze all of that and then identify opportunities to build out deception tactics for each of their adversarial campaign. So, as I mentioned, to operationalize it, we're looking at the threat actors who are targeting you, the reason why they're targeting you, and the actual assets they want to target. So in this case, we're talking about ICS environments. So if you're a utility or an energy company, water, and you're concerned about your most critical assets there, how would they gain access? What's the attack path that they would take to gain access to those environments and those assets inside your ICS environment? And so we need to design the deception tactics accordingly based on that attack path modeling, that threat attack path. And that's the best way to place these deception lures and these other canary-type items. Once we've designed it, we obviously deploy it. And in the deployment stage, there's a lot of fine-tuning because, again, we don't want to create noise. We're not trying to make an alert that never gets looked at because it's just always a false positive. We're trying to build out these high-fidelity alerts. So we spend a lot of time in that iterative stage of fine-tuning these detection logics, making sure there's no accidental tripping of these events. I've seen organizations in the past where they've built in deception personas based on AD credentials. And every day at 2 a.m., there was an activity across the entire domain. And so it triggered the same deception AD credential alert every single day. It was no value at all to the customer. So you've got to make sure you're fine-tuning it and not having any of those noise activities coming in. And lastly, you want to monitor your deception tactics. And obviously, threat actors are going to change their TTP. So it's an iterative stage. You've got to always be analyzing which threat actors are targeting your environment and then build out accordingly. Okay, so we're just going to go through a breakdown of APT44. But before we do that, we're going to cover off a couple of common deception tactics that we use. First one is lures. So these are like breadcrumbs, decoys, trying to get the adversary to have a look at these items within your environment. And they could be documents. They could be API keys, SSH keys. It could be anything, basically. Then we've got personas. So we're talking about fictional fake accounts. And again, that could be Active Directory. It could be social media accounts, depending on what you're trying to create a fake persona for. And then pocket letter there is around the artifacts you would typically find on a system. So if you think about HMI or even just a workstation in your environment, when an adversary hits one of those environments, if it's a honeypot environment and there's no other documents on there, no other internet browsing history, no other recently opened documents, it's going to look very suspicious. And they're going to know that something is up. So you want to build out these fake items within those environments so that they're masked from the adversary. So additional... these ones are more aligned to the honeypot ICS, which I'll talk about in a minute. But we're talking about artifact diversity. So again, you're trying to emulate your current environment. So if you're using certain protocols, certain application stacks, you want to replicate that in your honeypot environment. Because again, if a threat actor hits that environment and there's nothing else going on in there, they're going to know something's up straight away. So we don't want to do that. So we're talking about different physical or virtual honeypot devices, network protocols that are being used, application stack that's being used. And then lastly, they introduce vulnerabilities. So for example, if you know that there's a software package that has an exploit available and you'd like them to kind of... they've used it in the past, they've triggered that CVE in the past. You might want to put in that vulnerable version of that software to see if they take that same path inside your honeypot environment. Okay, so now we're going to go through the APT44 plan. APT44 targets critical infrastructure, which is why we're talking about it today. So energy, utilities, and the like. It goes by many names. They're all there in tiny font. Hades, sandworm, gray energy, etc. But basically, in the plan stage, we want to build out what we want to have happen inside our deception strategy. So in this case, we're trying to disrupt and detect the activities. But you could also say you want to motivate them to move towards a honeypot, depending on what you're trying to achieve. In the second stage, it's the collection stage. So I don't expect you to be able to read that, because I can't even read it from here. But basically, these are the tactics, techniques, and procedures based on APT44. And you want to be collecting all that raw threat intelligence from the adversaries that are targeting your organization. Additionally to TTPs, we're also collecting the malware. So whatever malware that has been known to be used by APT44, we want to collect all that raw threat intelligence as well. As well as the tooling associated with that threat actor. And then we move on to the detect stage, which is where we take all of those IOCs, all of those TTPs, and we map them back to our current detection logic. So we're trying to look for any awareness of the threat actor inside your environments up until this point. But also, we want to map back our detection use cases against their TTPs. Each kind of stage within the Mitre Engage is iterative. You want to focus on this and then move on to the next stage when you're happy and you've got completion there. So if there's additional detection use cases that you need to develop based on those TTPs and IOCs, then you're expected to do that and then move on to the next stage, which is the prevention stage. I really enjoy hardening environments and stopping adversaries, be it the red team or APTs, etc. And this is something that's really close to my heart. So in the prevention stage, we're looking at your security control stack and how you can prevent and mitigate these threat actors from actually achieving their campaigns to begin with. So we want to map, again, all of these TTPs. So in this case, we've got just a few selected there. And we want to map them back to our security control posture. So that first one there is on spear phishing. You might have an email security gateway. You might be doing URL sandboxing, etc. Command scripting interpreter. You might be deploying application allow listing, etc. I think I've got scripting engines and high risk binaries. You'll be aware that a lot of adversaries these days are living off the land. I like to take it a step further and call them high risk binaries because there's a lot of things that are high risk that the average user should not be able to run. Things like PowerShell. If you do want to run PowerShell, you should have security groups set up to say, this is our security group for PowerShell. Here are our digitally signed scripts that are PowerShell signed with our PKI infrastructure. We're going to allow that. Otherwise, no one can run PowerShell. So high risk binaries is just something I like to throw around. But basically, it's taking lull bins and taking it a step further. And yeah, there's remote services there. So obviously, a privileged access management is very important for those who understand the Purdue model and that segmentation of the different Purdue stages. Having some additional authentication mechanism for anyone who's getting access to your ICS environment is very important. In the organizations I work for within ICS, anyone who accesses the ICS environment, the OT environment, I consider that a privileged account. Even if they've got standard permissions, all of that critical infrastructure that's living in there is highly sensitive and highly important. So I make sure that they all get routed through these kind of channels. And then we move on to the direct stage. So this is the first stage where we're actually deploying some deception strategies. Again, you want to map back the adversaries' campaigns to deception strategies. So in this case, we're looking at the reconnaissance kind of stage of APT44. They like to gain information about organizations through social media. So we might want to build out a fake LinkedIn profile. Obviously, to make it look real, you want other people within the organization to be connected to it. But then once you've got it all set up and it's got enough connections to look legitimate, you want to then build out your detection use cases based on anyone trying to interact with that account, sending them PDFs, emailing the email alias that goes along with that account, etc. And that can be your first kind of understanding of the adversaries targeting your organization. Then we move on to the disruption stage. So this is where we're trying to impair the adversaries' campaign from occurring. So again, we'd be putting in fake Lua documents with fake credentials, fake IP addresses, etc. If anyone accesses one of these Lua documents, obviously that should trigger an alert for your SOC. You'd be using something like file integrity monitoring. And you can do that even with open source PowerShell scripts, etc. But basically, if anyone accesses one of those Lua documents, you should trigger an alert. And on the back end, if they try and then use any of the information from the Lua document, it should be all fictional and trigger more alerts for you. Either way, you should pick up what's happening there. You can also create AD accounts, disable them, put those credentials into memory in different systems around the environment. And if anyone tries to use those credentials, it should trigger an alert. Next stage is the reassure stage. So we want to add authenticity. This is where we're doing things and starting to build out that honeypot environment. So you have a few options. Obviously, if you just want to get the threat actor outside of your environment as soon as possible, you can have an early triggering of a deception Lua and then just isolate that host and investigate, kick them out. But if you are a risk-adverse organization, you want to learn more about what the adversary is doing, then you're going to want to shift them to a honeypot environment and just keep monitoring to learn more. So in this case, we've got some more Lua's there and we might be credential caching in memory. So I'll give an example of that. This is a very useful example. You can use open PowerShell scripts or you can just use command key command within Windows and you can cache those fake AD credentials into memory. You can do this across your entire estate on every SOE build. Whenever it starts up, you can have a script that runs this and it doesn't impact anyone using those machines. The only time you're going to see these credentials in memory is if someone dumps LSAS. So Mimikatz, etc. Otherwise, it just sits there in memory. It doesn't hurt anyone, right? So what I like to do is create an AD account, log into a brand new SOE environment that will build all your garbage Windows directories, user profile, app data, junk, junk, junk, and then start populating that environment, like the fake profiles documents folder with Lua documents and other things like that as well. And then I like to cache all those credentials into memory. And then every time I spin up a new SOE build, new standard operating environment build for Windows, it's already got all of that built in. So you can just deploy that at scale. Again, you can use those credentials in RDP connection files. If you're in Linux and you want to do the same thing, SSH connection files, for example, you just cache those credentials, add those fake details in there, and if someone picks them up, they're going to trigger an alert. Next stage is motivate. So again, we want to encourage the adversary to conduct their campaign. So this is where we're talking specifically about that honeypot environment. We want them to be conducting all of the aspects of their campaign till they get to their final stage actions on objectives. So building out the network diversity, etc. And I'll go into that in a bit more detail in a second. Oh, I'm getting a five-minute signal. I'm going to have to go real fast. Okay, last stage is the analyze stage. I hope that's not me. I don't know. Hopefully not. Either way, analyze stage is when we... I don't know. Is that coming from the speakers? No, okay. The analyze stage is where we're reviewing the adversary's campaigns at the end. Basically, you should have a report that goes hand-in-hand with your IR analysis report and you should show what went well, what was triggered, what didn't trigger. Maybe realign some of those deception tactics and deploy them in other organizations or, sorry, other systems and places. And now we're just going to cover off on the ICS honeypot. So again, we're talking about that network diversity, application diversity and artifact diversity. And it's part of that disrupt, reassure and motivate stages of the MITRE Engage framework. So we've got a few design goals for an ICS honeypot. First one is do no harm. We don't want to have any connection to your production OT environment or OT systems. Second rule is do no harm. Fight club reference. So the honeypot should be indistinguishable. So what we're trying to do is make it look exactly like your production OT environment. So whatever protocols, whatever kind of PLCs you're using, all of the same stuff should be emulated inside the honeypot environment. It should be minimal overhead once you've got it deployed. Obviously it's logging into your SIEM or wherever, but basically you shouldn't have to touch it and update it for support reasons. It's designed to only gather adversarial knowledge. So if you don't want it to gain additional TTPs, you just want to kick them out, then this is probably not for you. But this is designed to gain that adversarial knowledge. And it should keep them busy. We're trying to keep them away from your production OT environments. Any interaction should be suspicious. No one should be touching these systems, these networks, these assets. So we've talked about this earlier, some key benefits there. There's a lot of tooling you can use. Pick your virtualization stack of choice. There's a whole bunch of open source tools out there as well. HoneyD, containers, etc. Even Python virtualized environments will work for a lot of this as well. And we want to cover off the common ICS protocols, only targeting the ones that you're using. There's no point putting BACnet in there if you're not using BACnet. Lots of different protocols as well to be covering off, not just ICS. So you've got SSH, RDP, etc. If you think about your current path to get into your OT environment, replicate that. So you probably would have all seen this before, just the standard ICS ports. So in terms of Purdue placement here, this is the standard kind of Purdue model here. So if you look at the table on the right, you'll see you've got different levels and different kind of honeypot environments and systems. So we've got IDP hosts, jump hosts, etc. VPNs, historian databases, etc. These are the kind of things you want to replicate. For the PLC RTU levels, you can use listeners. You don't have to actually have an interactive device at that level if you don't want to go down that emulation path. You can just use a very simple listener on those ports to see if anyone's trying to connect to them and what they're trying to do. And then you want to monitor. So we want to monitor from the network traffic aspect, but also any interactive logins. So we want it to be almost like you're running a keygen in these environments. If they run any command, we want to have that granular level logging so we know exactly what they were trying to do, what they were trying to access. And you've got to build out those detection use cases as well. So obviously any interaction will trigger an alert, but when it comes to the honeypot specifically, they're going to be doing a whole bunch of different activities. You don't want to be triggering a billion alerts for that, but you want to be monitoring it at least, right? And bringing it all together, we have a mantra at Mandiant, which is the Theory of 99, which means 99% of attacks against ICS are going to start in your IT production environment. So realistically, you want to build out a honeypot that covers off IT production, and then a separate honeypot that covers off your ICS environment so you can cover off a standard kind of attack path that you would see. So basically these are the steps I would follow. Decide on the subnets you want to emulate. Decide on the placement. Decide and build out those lures pointing to that honeypot environment. If you've got a SOAR security orchestration platform, you can actually shift people directly to those subnets, those honeypot subnets. Otherwise, you might have to manually do some things. But basically, you want to make it as easy as possible to get those threat actors into your honeypot environment. And I've got some key takeaways because I think we've got to wrap up. And the first one is know your adversaries. So conduct your threat intelligence, threat profiling. Understand the adversaries who are targeting your organization and why they're targeting your organization and what assets they want to target inside of your organization. Second one is to know your environment. So know those crown jewels, know those critical assets that are important to you. And the third one is deploy deception. It's not that hard. If you do it following these kind of methods in this framework, it's quite straightforward. You can do it for free. So no reason why you shouldn't be thinking about this. And so thank you. Thank you for your time. I'll do questions outside because I think they're about to kick off. Thank you.