start	end	text
0	2420	Welcome everyone, thank you.
3000	7920	Apologies for my voice, I went to karaoke a few nights ago and it's a bit hoarse, so yeah.
7920	11900	Anyway, I hope you're all here for deception for ICS, otherwise you're in the wrong room.
12180	13140	Time to get out.
13580	18280	My name is Brent Muir, I work for Mandiant, which is now part of Google Cloud Security.
18440	20740	I've been with Mandiant for just over three years.
20860	30960	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.
31440	42640	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.
42640	44860	So, we're going to kick off today.
45980	50420	Brief agenda, I don't have a lot of time and I've got a lot of slides, so I do apologise.
50420	69060	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.
69700	73860	And if we've got time, we'll do questions outside because I don't think there's any time in the room.
74700	78080	Okay, so problem statement, why are we all here?
78280	82080	So, security operations centres are drowning in alerts.
82080	93920	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.
94500	105400	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.
105900	107840	And threat hunting is great.
108000	115680	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.
115680	126180	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.
126180	130540	And so the answer to all of this is deception, of course, that's what we're here for.
130980	133680	So, what is deception?
133680	143900	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.
144240	146080	And that's what we're here for, really.
146640	150920	So, main benefits, you've got your early detection of threats.
151040	161080	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.
161080	166280	They shouldn't be getting triggered by the average user unless it's inside a threat type scenario.
166980	170880	On top of that, we've got the increased situational awareness of using deception.
170880	186360	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,
186360	189760	just by mitigating and kicking them out of the environment.
189760	205100	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.
206420	208180	Thirdly, you can reduce false positives.
208180	211940	As I mentioned, we're talking about building out and fine-tuning these alerts.
211940	214940	They shouldn't just get triggered by benign activities.
215620	224580	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.
224860	227320	But when these ones trigger, it's critical.
227320	229280	You know something is going on straight away.
229280	234460	You know exactly which system it is, which alert's been triggered, and you need to step on it and get onto it.
234460	236840	And lastly, it's cost-effective.
236840	240040	So we don't sell deception technology at Google.
240140	247740	What I'm talking about here is using your existing security control stack and your existing tooling, coupled with open-source tools as well.
248620	255020	So when we're talking about deception, we're talking about operationalizing the MITRE Engage framework.
255020	258320	And if you haven't heard of the MITRE Engage framework, you should definitely have a look.
258400	261860	It's a very, very useful adversarial engagement framework.
261860	266140	And there's nine stages, and I'll go through them in the example a bit later.
266140	269020	But at the high level, you've got the four stages there on the right.
269020	274320	So we're collecting threat intelligence about the threat actors who are targeting your environment.
274320	276560	So why are they targeting your environment?
276560	278700	What kind of assets are they looking to target?
279020	287200	We then analyze all of that and then identify opportunities to build out deception tactics for each of their adversarial campaign.
289620	300140	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.
300140	302320	So in this case, we're talking about ICS environments.
302320	311920	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?
311920	317900	What's the attack path that they would take to gain access to those environments and those assets inside your ICS environment?
318160	326360	And so we need to design the deception tactics accordingly based on that attack path modeling, that threat attack path.
326360	332380	And that's the best way to place these deception lures and these other canary-type items.
332980	335660	Once we've designed it, we obviously deploy it.
335660	340900	And in the deployment stage, there's a lot of fine-tuning because, again, we don't want to create noise.
340900	344980	We're not trying to make an alert that never gets looked at because it's just always a false positive.
344980	347340	We're trying to build out these high-fidelity alerts.
347340	356500	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.
356500	363680	I've seen organizations in the past where they've built in deception personas based on AD credentials.
363680	367300	And every day at 2 a.m., there was an activity across the entire domain.
367300	371500	And so it triggered the same deception AD credential alert every single day.
371500	373580	It was no value at all to the customer.
373580	379480	So you've got to make sure you're fine-tuning it and not having any of those noise activities coming in.
379680	382280	And lastly, you want to monitor your deception tactics.
382280	385100	And obviously, threat actors are going to change their TTP.
385100	386340	So it's an iterative stage.
386340	391480	You've got to always be analyzing which threat actors are targeting your environment and then build out accordingly.
393100	398700	Okay, so we're just going to go through a breakdown of APT44.
398960	403540	But before we do that, we're going to cover off a couple of common deception tactics that we use.
403900	405280	First one is lures.
405380	411020	So these are like breadcrumbs, decoys, trying to get the adversary to have a look at these items within your environment.
411020	412280	And they could be documents.
412280	414620	They could be API keys, SSH keys.
414620	416400	It could be anything, basically.
416900	417940	Then we've got personas.
417940	420080	So we're talking about fictional fake accounts.
420080	422340	And again, that could be Active Directory.
422700	429140	It could be social media accounts, depending on what you're trying to create a fake persona for.
429420	436100	And then pocket letter there is around the artifacts you would typically find on a system.
436100	448840	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,
448840	450000	it's going to look very suspicious.
450000	451540	And they're going to know that something is up.
451540	458120	So you want to build out these fake items within those environments so that they're masked from the adversary.
459080	464700	So additional... these ones are more aligned to the honeypot ICS, which I'll talk about in a minute.
464700	466780	But we're talking about artifact diversity.
466840	471400	So again, you're trying to emulate your current environment.
471540	478140	So if you're using certain protocols, certain application stacks, you want to replicate that in your honeypot environment.
478140	484200	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.
484200	485360	So we don't want to do that.
485360	493700	So we're talking about different physical or virtual honeypot devices, network protocols that are being used, application stack that's being used.
493760	495780	And then lastly, they introduce vulnerabilities.
496520	506360	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.
506360	511940	You might want to put in that vulnerable version of that software to see if they take that same path inside your honeypot environment.
513060	516200	Okay, so now we're going to go through the APT44 plan.
517640	520940	APT44 targets critical infrastructure, which is why we're talking about it today.
520940	523220	So energy, utilities, and the like.
523220	524400	It goes by many names.
524400	526620	They're all there in tiny font.
526900	530340	Hades, sandworm, gray energy, etc.
530600	539800	But basically, in the plan stage, we want to build out what we want to have happen inside our deception strategy.
539800	543940	So in this case, we're trying to disrupt and detect the activities.
543940	549140	But you could also say you want to motivate them to move towards a honeypot, depending on what you're trying to achieve.
550080	552700	In the second stage, it's the collection stage.
552700	556320	So I don't expect you to be able to read that, because I can't even read it from here.
556320	560920	But basically, these are the tactics, techniques, and procedures based on APT44.
561360	568040	And you want to be collecting all that raw threat intelligence from the adversaries that are targeting your organization.
568920	572020	Additionally to TTPs, we're also collecting the malware.
572420	578540	So whatever malware that has been known to be used by APT44, we want to collect all that raw threat intelligence as well.
578540	581760	As well as the tooling associated with that threat actor.
582640	591800	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.
591800	597520	So we're trying to look for any awareness of the threat actor inside your environments up until this point.
597540	602280	But also, we want to map back our detection use cases against their TTPs.
602800	605460	Each kind of stage within the Mitre Engage is iterative.
605460	610000	You want to focus on this and then move on to the next stage when you're happy and you've got completion there.
610440	620700	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.
622140	628220	I really enjoy hardening environments and stopping adversaries, be it the red team or APTs, etc.
628440	630500	And this is something that's really close to my heart.
630500	641780	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.
641780	644440	So we want to map, again, all of these TTPs.
644440	646900	So in this case, we've got just a few selected there.
646920	649760	And we want to map them back to our security control posture.
649820	651880	So that first one there is on spear phishing.
651880	653880	You might have an email security gateway.
653900	656680	You might be doing URL sandboxing, etc.
657580	659000	Command scripting interpreter.
659000	662260	You might be deploying application allow listing, etc.
663520	666500	I think I've got scripting engines and high risk binaries.
666580	670400	You'll be aware that a lot of adversaries these days are living off the land.
671000	679740	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.
679740	680980	Things like PowerShell.
680980	686400	If you do want to run PowerShell, you should have security groups set up to say, this is our security group for PowerShell.
686400	691040	Here are our digitally signed scripts that are PowerShell signed with our PKI infrastructure.
691040	692320	We're going to allow that.
692320	694080	Otherwise, no one can run PowerShell.
694080	697240	So high risk binaries is just something I like to throw around.
697240	700620	But basically, it's taking lull bins and taking it a step further.
701240	703100	And yeah, there's remote services there.
703100	712080	So obviously, a privileged access management is very important for those who understand the Purdue model and that segmentation of the different Purdue stages.
712080	719060	Having some additional authentication mechanism for anyone who's getting access to your ICS environment is very important.
719060	727280	In the organizations I work for within ICS, anyone who accesses the ICS environment, the OT environment, I consider that a privileged account.
727280	734760	Even if they've got standard permissions, all of that critical infrastructure that's living in there is highly sensitive and highly important.
734760	737880	So I make sure that they all get routed through these kind of channels.
738920	741320	And then we move on to the direct stage.
741320	745240	So this is the first stage where we're actually deploying some deception strategies.
745240	751460	Again, you want to map back the adversaries' campaigns to deception strategies.
751460	757700	So in this case, we're looking at the reconnaissance kind of stage of APT44.
757700	762240	They like to gain information about organizations through social media.
762240	766080	So we might want to build out a fake LinkedIn profile.
767300	771860	Obviously, to make it look real, you want other people within the organization to be connected to it.
771860	784360	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,
784360	784760	etc.
784800	789660	And that can be your first kind of understanding of the adversaries targeting your organization.
791040	793440	Then we move on to the disruption stage.
793440	798620	So this is where we're trying to impair the adversaries' campaign from occurring.
798900	806260	So again, we'd be putting in fake Lua documents with fake credentials, fake IP addresses, etc.
806280	812360	If anyone accesses one of these Lua documents, obviously that should trigger an alert for your SOC.
812360	815360	You'd be using something like file integrity monitoring.
816000	819760	And you can do that even with open source PowerShell scripts, etc.
819760	824660	But basically, if anyone accesses one of those Lua documents, you should trigger an alert.
824800	832120	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.
832120	834260	Either way, you should pick up what's happening there.
834580	844720	You can also create AD accounts, disable them, put those credentials into memory in different systems around the environment.
844720	848340	And if anyone tries to use those credentials, it should trigger an alert.
850400	852980	Next stage is the reassure stage.
852980	855000	So we want to add authenticity.
855400	859460	This is where we're doing things and starting to build out that honeypot environment.
859460	862300	So you have a few options.
862340	873940	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.
873940	884300	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.
884880	889840	So in this case, we've got some more Lua's there and we might be credential caching in memory.
889840	891460	So I'll give an example of that.
892200	894300	This is a very useful example.
894300	903580	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.
903700	907700	You can do this across your entire estate on every SOE build.
907700	913340	Whenever it starts up, you can have a script that runs this and it doesn't impact anyone using those machines.
913360	917200	The only time you're going to see these credentials in memory is if someone dumps LSAS.
917240	918760	So Mimikatz, etc.
919000	920940	Otherwise, it just sits there in memory.
920940	922200	It doesn't hurt anyone, right?
922360	944340	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.
944360	947060	And then I like to cache all those credentials into memory.
947260	953940	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.
953940	955980	So you can just deploy that at scale.
956660	961680	Again, you can use those credentials in RDP connection files.
961680	972900	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.
974700	976100	Next stage is motivate.
976100	979100	So again, we want to encourage the adversary to conduct their campaign.
979100	982560	So this is where we're talking specifically about that honeypot environment.
982700	988740	We want them to be conducting all of the aspects of their campaign till they get to their final stage actions on objectives.
988740	993160	So building out the network diversity, etc.
993160	995720	And I'll go into that in a bit more detail in a second.
996400	997900	Oh, I'm getting a five-minute signal.
997900	999460	I'm going to have to go real fast.
999460	1001720	Okay, last stage is the analyze stage.
1002620	1003940	I hope that's not me.
1005100	1005980	I don't know.
1006060	1006760	Hopefully not.
1006760	1009740	Either way, analyze stage is when we...
1010680	1011640	I don't know.
1011840	1014000	Is that coming from the speakers?
1014160	1015020	No, okay.
1015020	1020480	The analyze stage is where we're reviewing the adversary's campaigns at the end.
1020820	1029600	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.
1029680	1036660	Maybe realign some of those deception tactics and deploy them in other organizations or, sorry, other systems and places.
1037280	1039780	And now we're just going to cover off on the ICS honeypot.
1039780	1045660	So again, we're talking about that network diversity, application diversity and artifact diversity.
1045660	1050420	And it's part of that disrupt, reassure and motivate stages of the MITRE Engage framework.
1050560	1053780	So we've got a few design goals for an ICS honeypot.
1053780	1055840	First one is do no harm.
1055840	1061220	We don't want to have any connection to your production OT environment or OT systems.
1061540	1063480	Second rule is do no harm.
1064520	1066300	Fight club reference.
1067020	1069580	So the honeypot should be indistinguishable.
1069580	1074420	So what we're trying to do is make it look exactly like your production OT environment.
1074420	1082660	So whatever protocols, whatever kind of PLCs you're using, all of the same stuff should be emulated inside the honeypot environment.
1083320	1087620	It should be minimal overhead once you've got it deployed.
1087700	1093640	Obviously it's logging into your SIEM or wherever, but basically you shouldn't have to touch it and update it for support reasons.
1094980	1098740	It's designed to only gather adversarial knowledge.
1098740	1103980	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.
1103980	1106900	But this is designed to gain that adversarial knowledge.
1107460	1109060	And it should keep them busy.
1109060	1112180	We're trying to keep them away from your production OT environments.
1114760	1116560	Any interaction should be suspicious.
1116560	1119840	No one should be touching these systems, these networks, these assets.
1121220	1125500	So we've talked about this earlier, some key benefits there.
1125520	1127300	There's a lot of tooling you can use.
1128740	1131520	Pick your virtualization stack of choice.
1131780	1134140	There's a whole bunch of open source tools out there as well.
1134140	1136860	HoneyD, containers, etc.
1136860	1140520	Even Python virtualized environments will work for a lot of this as well.
1140960	1146380	And we want to cover off the common ICS protocols, only targeting the ones that you're using.
1146380	1149000	There's no point putting BACnet in there if you're not using BACnet.
1151200	1155320	Lots of different protocols as well to be covering off, not just ICS.
1155320	1157200	So you've got SSH, RDP, etc.
1157200	1162260	If you think about your current path to get into your OT environment, replicate that.
1163660	1167120	So you probably would have all seen this before, just the standard ICS ports.
1167960	1172060	So in terms of Purdue placement here, this is the standard kind of Purdue model here.
1172060	1179380	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.
1179380	1181520	So we've got IDP hosts, jump hosts, etc.
1181820	1184240	VPNs, historian databases, etc.
1184380	1186280	These are the kind of things you want to replicate.
1186680	1190620	For the PLC RTU levels, you can use listeners.
1190680	1195920	You don't have to actually have an interactive device at that level if you don't want to go down that emulation path.
1195920	1200960	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.
1202700	1203840	And then you want to monitor.
1203840	1209760	So we want to monitor from the network traffic aspect, but also any interactive logins.
1209760	1213020	So we want it to be almost like you're running a keygen in these environments.
1213020	1218760	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.
1220200	1222660	And you've got to build out those detection use cases as well.
1222660	1230660	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.
1230660	1234600	You don't want to be triggering a billion alerts for that, but you want to be monitoring it at least, right?
1234940	1247240	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.
1247580	1259420	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.
1261400	1263980	So basically these are the steps I would follow.
1263980	1265940	Decide on the subnets you want to emulate.
1265940	1267320	Decide on the placement.
1267340	1271300	Decide and build out those lures pointing to that honeypot environment.
1271300	1279260	If you've got a SOAR security orchestration platform, you can actually shift people directly to those subnets, those honeypot subnets.
1279260	1281160	Otherwise, you might have to manually do some things.
1281160	1286620	But basically, you want to make it as easy as possible to get those threat actors into your honeypot environment.
1288220	1291080	And I've got some key takeaways because I think we've got to wrap up.
1291080	1292580	And the first one is know your adversaries.
1292580	1295700	So conduct your threat intelligence, threat profiling.
1295700	1303940	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.
1304320	1306560	Second one is to know your environment.
1307000	1310800	So know those crown jewels, know those critical assets that are important to you.
1311280	1313020	And the third one is deploy deception.
1313120	1314320	It's not that hard.
1314360	1318260	If you do it following these kind of methods in this framework, it's quite straightforward.
1318260	1319680	You can do it for free.
1319680	1322700	So no reason why you shouldn't be thinking about this.
1322920	1323860	And so thank you.
1323860	1324980	Thank you for your time.
1332040	1336380	I'll do questions outside because I think they're about to kick off.
1336380	1337200	Thank you.
