start	end	text
0	7160	I definitely appreciate you all coming to hear me ramble for 30 minutes or 25 minutes how I do what I do for a living.
7160	13900	I do apologize that you're not able to see things on the screen, but I'm going to do my best to try to narrate what's on my screen as possible.
14080	17340	But you can always feel free to watch the recording.
17680	19820	So my name is Aaron Boyd.
19820	24200	My job title by day is a system engineer for a company called Liberty Energy.
24260	28320	We do a lot of things in oil and gas, utility, and all that fun stuff.
28480	30760	My former life has been spent with the NSA.
30760	33280	I've done a lot of pen testing and red taming for Dragos.
33380	38520	And I've been basically pen testing as a hobbyist since around 2003, which is when I was in high school.
38800	41980	And once I learned OT, I like breaking into refineries.
41980	42800	It's addicting.
43260	49720	So after doing this for as long as I've done it, this is a talk I've really wanted to do for a long time.
49800	53440	It's just hard to do without throwing certain vendors under the bus.
53800	65780	So I finally reached a point where I can do things anonymized in a way where I can represent a few different industry verticals, oil and gas, aerospace, manufacturing, and not use specific vendor names.
65780	68680	I do recognize some faces in here with those vendors.
68680	69980	Sorry, not sorry.
70180	72320	But just setting some ground rules for myself.
72320	75180	I promise not to name and shame you on this recording.
75180	79620	But if you want to know in the hallway some war stories or tools, there's that.
79620	80720	You can come and find me.
80720	82420	Clearly, I stick out.
82500	84840	And you'll also have my contact information at the end.
84840	87140	You can always feel free to reach out.
87740	95580	So when it comes to the term I use, lockdown and operator workstation, when you hear operator workstation, think of those computers in a control room.
95580	99520	That's an operator sitting there controlling the plant, controlling the asset.
99540	102280	And I always hear, oh, those are locked down.
102280	106340	So it's always interesting to assess these machines on a pen test.
106560	110380	So when you start asking, okay, what does lockdown actually mean?
110380	122280	And when comparing that expectations versus reality, when I hear that as a pen tester, I'm expecting there to be that that operator account you're using is only allowed to run what it's specified allowed to run.
122340	130100	And there will be strict group policy objects or strict application controls to specify what you are and aren't allowed to do.
130100	133640	Nobody has local administrator privileges on that machine.
133720	141640	You have application allow listing solutions installed, like McAfee, Solid Core or AppLocker or Carbon Black.
141720	149500	And you also have login scripts that are harmless configuration helpers and alerts if anything bad happens.
149500	155920	I don't think I've ever seen an OT sock before in production, but we've all been talking about it for several years.
155920	159620	And then everything is documented and reviewed, which never happens.
159960	168280	So when we start talking about the reality is, these operators can run renamed binaries or launch other living off the land binary techniques.
168340	170840	Those GPOs I talk about are misconfigured.
170840	178580	Sure, you can specify an executable called alarms.exe, but I can rename that to whatever I want and get code execution that way.
178780	180640	You do have local admin privileges.
180640	186020	Not only do you have local admin privileges, but you are using the same username and password on every single machine.
186300	189460	Those application allow listing tools, I just mount off.
189460	192640	You still have them set to learning mode, not enforcing anything.
192740	194440	So it's just more noise.
194620	204840	Those login scripts, while may be useful and legitimate for a lot of cases, they are exposing other things in your environment, such as hard-coded secrets or credentials.
204980	208540	I don't want to tell you how many times I've seen that in the last six months alone.
208820	217480	And a lot of those tools very rarely trigger alerts because they're considered expected because they are signed by Microsoft or other.
218040	229960	So walking through some specific examples with everything I just mount off, the first one specifically talking about group policy objects, you know, there's an alarms manager usually saying, hey, this just happened in my environment.
229960	232720	You might want to look at this to see if it's valid or not.
232720	237020	That executable, just by example, I call it alarms.exe to keep it easy.
237200	239000	So there's screenshots on the slide.
239000	242420	Sorry, you can't see it in the room, so I'll just try to visually explain it.
242540	253900	So you'll see the RMS is like, hey, group policy object or app blocker is blocking this executable, but I can rename something like PowerShell or command prompt to alarms.exe and get code execution that way.
255940	266680	And then the second one talking about these allow listing solutions, a lot of time I call them autopilot because when I see them installed, my expectation is it's installed, so you're protected.
266680	267240	That's great.
267240	277160	And you only have approved applications allowed to run and you have policies in place configured to block script abuse or other living off the land binaries.
277240	279920	Alerting and logging are in place realtime.
280080	289060	A lot of these systems are implemented by an integrator or the vendor directly, so I am hoping that those integrator and vendors configure it per best practices.
289360	294280	And any change that happens are managed and reviewed by some type of change control board.
294660	301000	And it also prevents malware execution, so you're all operating under the assumption you're safe because it passed compliance.
301480	305860	Now when it comes to the reality is a lot of these tools have what's considered learning mode.
305860	308740	Like I mentioned before, nothing is being enforced.
308960	312800	So when that happens, you are trusting far too many things.
312800	317400	This allows me to use things like red server 32, MS build or bits admin.
317400	324300	Bits admin specifically was referenced in a talk of mine here a couple years ago how I live off the land in an ICSOT pen test.
324480	329480	And when we start talking logging, we know how noisy these things can be if you're not tuning things.
329500	332900	So a lot of times you ignore it and you're not forwarding it to that SIM.
333000	343900	And those integrators that follow the best practices just copy the last working config from a former vendor and they never really validated anything, updates are ad hoc, if at all.
344000	349140	And basically when you do enforce things, it breaks things that actually are needed.
349160	355940	So your alert policies are really new to the point where just to reduce false positives, but imposing risk.
357620	360000	Third example is default credentials.
360000	368280	I know a lot of people in this room are probably tired of hearing it, but it's the reality that default credentials still continue to plague these systems.
368280	376660	So here's a funny gif I made about Michael Myers behind a bush saying he's just waiting for you guys to leave the default admin password on the network somewhere for him to find.
376800	389700	So it really doesn't matter whether this appliance is a vendor appliance or an operator terminal or an HMI, I've genuinely lost count of how many times I have seen a default password in use in production.
389800	398080	So I really don't care whether that was the integrator, the vendor, your own IT, people reuse the same playbooks and processes.
398300	403320	So, for example, I can't name vendors or at least I promised myself I wouldn't name vendors.
403320	418940	If I see a specific solution installed in an environment, I already know the first three sets of credentials I'm going to try and with that specific solution that shall remain nameless, I've seen it 39 times in the past six months, 38 times it has been the same username and password.
419080	422200	So that just calls the reality on how often this actually happens.
422380	436220	And you might think you had them change the password after I got done doing my assessment and you might have validated it at that time, but when I come back next year and do it again and find it again, your integrator probably just reimaged something and reintroduced that password back.
436860	441620	And then fourth, lastly, is log on scripts.
441620	443140	That actually worked for me, too.
443240	446800	So here's a fun play on exhibit where, yo, dog, I heard you like scripts.
446800	448420	So I wrote a script for your script.
448560	450240	So you can script while you script.
450420	453460	So I am a firm believer in working smarter, not harder.
453460	456340	So there's plenty of legitimate use cases for scriptings.
456520	462360	But a lot of times these operator accounts will run those at log on and a lot of times those are editable by anybody.
462400	464400	So I can modify that script.
464400	471960	Also referenced in my past talk where I can modify that to create a new local administrator in that script and I just need to wait for an admin to log in.
471960	476480	That happens pretty frequently in a busy environment, especially like a refinery.
476700	487020	And once that happens, I basically have code execution and I can use tools that we're all familiar with called Mimikatz and such where I don't even need the password for the actual local admin account.
487020	493520	I can just pass the hash and once I confirm that password is the same on every machine, your environment now belongs to me.
493780	501760	So now I always get this question from some of my customers is why do these things happen?
501760	514060	Because obviously I talk about this pretty frequently and behind closed doors but I'm trying to get on this stage more often to call out the reality and this is just my two cents based on the fact I can represent myself now under my own brand.
514060	517540	I don't have to worry about who I'm working for but this is just my two cents.
517540	522960	When it comes to vendors, these vendors really want to ship you something stable and fast.
522980	532740	So oftentimes they're using default images with the basic hardening that works everywhere and their security is not really tailored to you or your organization.
532740	540700	Some of those vendors even sell a security package that I also can exploit everything because it's the same rinse and repeat method.
541380	547740	So if your vendor is not doing the integration but a third party integrator is, they do things fairly similarly.
547740	555200	You know, they are under immense pressure to deploy fast and they often reuse configurations because it's what worked last time.
555200	558900	And the same oversights get copied and pasted from project to project.
559460	570460	So when it comes to those allow listing tools, those things get treated like antivirus where once you install it and trust it, you never go back and look at it to make sure it's doing what you're hoping it does.
570900	580760	And then compliance, this is my unpopular opinion, is that I really think that there's too much of a checklist mentality when it comes to things like compliance.
580800	586560	So oftentimes audit firms ask, can an attacker, did you actually enable allow listing?
586560	587020	Yes.
587020	588160	But did you actually test?
588160	589280	Is it successful?
589280	591720	Can somebody actually break out of these things?
591720	599460	And when you blindly follow a checklist instead of actually chasing actual adversarial behaviors, there's often pretty big blind spots.
599680	613760	So there's a CISO I work with pretty frequently in Houston and he made a comment in a board of directors meeting that he asked me to be an advisor on and I saw him actually say the phrase, we're following the rules, just not the ones the attackers play by.
613800	620300	Seeing the board of directors face was pretty revealing that this is an industry problem and it's something we don't talk about far often than not.
621320	624600	So then I'm always asked, how do we fix these problems?
624680	629260	And I think really it's just time we start changing the culture, not just the configurations.
629540	633520	And what I mean by that is we really need to stop outsourcing accountability.
633800	636580	Security is not the vendor's job, it is ours.
636580	641220	We need to validate everything they say they are doing by proving it ourselves.
641480	645640	And really we need to start treating these security tools like living systems.
645640	650820	They are not set it and forget it because TTPs always change, tactics, techniques and procedures.
650820	652600	We're always learning new things.
652640	657720	So as long as you're able to tune, test and challenge them regularly, you're always ahead of the curve.
658240	662480	And then we really need to start shifting from the check box to the challenge mentality.
662480	665600	Actually go beyond what standards and frameworks suggest.
665600	669520	I know we all know the term DMZ or Purdue model and things like that.
669520	673780	Another unpopular opinion I have is a single jump server in a DMZ.
673780	678640	I see former coworker Chris Norian here, he's talking about DMZ in his talk.
678640	681960	But when I see that stuff, it just becomes a glaring target for me.
682080	686940	Because if I compromise that one DMZ, what else can I do on that one jump server?
686940	690200	I can hijack anybody's session that's using that one server.
690340	701780	So while you're segmenting corporate from OT, which is a good thing to do, you're putting all your eggs in one basket with a single jump server and I only have to target one thing instead of trying to find multiple paths.
702200	708340	And then another one is we really need to start involving the actual operators and operations in security decisions.
708460	722760	Because I have found now that my day job is on the asset owner operator side, if they are not part of this process, every control we're trying to work with them on will get work around and circumvented because you're starting to feel like you're doing things to make their job harder,
722760	723740	not safer.
723820	729860	And when you actually create a space for failure in learning, then people have a chance to learn before attackers do.
730580	739460	So if we ask what's the too long didn't read of everything I just said, lockdown does not mean secure, especially if you've never tried to break it.
739560	743180	Nothing I just mentioned is a zero day technique or exploit.
743180	744660	Those do exist too.
744660	746860	But these are all day one misconfigurations.
747140	751060	You really should start asking better questions of your vendors and integrators.
751060	754320	Don't just trust what they say, actually verify what they say.
754500	756820	And don't just deploy it, actually test it.
756820	759440	Don't wait for the attackers to test it for you.
759440	763500	Because the cost of complacency is way higher than the cost of validation.
764300	777240	So the last slide I have is just if anybody has any questions, I talk really fast because I usually get a lot of questions and I'm an overly transparent person so I wanted to offer enough time for anybody to ask what they wanted.
785560	789440	I do think there is an overreliance on network segmentation to be secure.
789440	791940	It's a great idea in theory.
791980	795800	But actually seeing it implemented well, I don't see that done very often.
795800	801980	Because a lot of these firewall rules to do that are very broad network subnet ranges, slash 24, slash 22s.
801980	809200	Do you really have 256 devices that need to reach the DMZ or is there only a group of two or three people that need to reach the DMZ?
810420	812660	Judging from the nod, I'm assuming you agree.
813160	813960	Awesome.
814580	815560	What else?
815980	816640	Yes, sir.
826570	830970	Yeah, so working with management, I always include them up front as start of the process.
831030	833130	So we know it's always worked this way.
833190	835230	Implementing change requires downtime.
835230	839930	Every assessment I do is always done during turnaround so we can be a little bit more aggressive.
840070	842050	It's like, hey, here's everything I found wrong.
842050	844690	This is the actual impact it has on the business.
844790	847950	And when I talk about impact, I actually use my own scoring system.
847950	851350	I don't like running scans and using their scoring system.
851350	855550	So I focus on if it impacts things like operations and control or safety.
855550	861810	When we can correlate our report findings with actual safety, I rarely get pushed back from making those changes.
862670	865350	I don't know if that helps answer the question.
873810	878770	Yeah, if it's segmented well enough where there is no remote path into it, that's awesome.
878790	880170	Then you've already closed that gap.
880170	884170	But how often does an integrator come on site and you know exactly what they're doing?
884330	888690	I've seen a lot of refineries where they're like, oh, we have no remote access to another refinery.
888730	890590	I show up on site, do a site walk around.
890590	893690	I'm like, what about that router zip tied to the security camera pole?
893910	895590	We didn't even know that was there.
895850	909510	So do you really know what your integrators are doing in your environment because you don't have the time to stand over their shoulders and because they have those aggressive timelines, they're going to build something to be more efficient instead of shipping somebody on site every time too.
910090	911190	I don't trust anybody.
911190	912330	That's just me, though.
945860	950640	Yeah, so privileged access management solutions absolutely to manage those credentials is huge.
950640	953880	Another thing I found is also I have privileged session managers.
953960	962420	So we had in former life is we actually had a pool of SQL servers constantly having performance issues and taking down operations on their historians.
962660	966860	It was just a constant, you know, imagine the spider man meme, it was your fault, it's your fault, it's your fault.
966960	970260	Nobody was willing to come to the table and say, well, let's actually take a look at this.
970280	975080	The second I implemented screen recording, that problem did not come back.
989720	994720	So, for example, I actually allow Windows XP in some of my environments.
994720	996640	I'm curious to see the faces when I say this.
996680	1007380	And I'm confidently saying that that single XP system is far more secure than running a server 2025 latest AV, latest patching because there's not a network cable connected to it.
1007460	1016580	So you would have to physically go on site to compromise the system and there are guys as big as me with very large wrenches that will run at you with them if they do not recognize you.
1024470	1025190	Yep.
1036300	1044840	Yeah, so here's another take is a lot of SIMs will collect everything and parsing it isn't so much the hard part, but it's what to do with it.
1044840	1045960	That's the hard part.
1046100	1049800	So a lot of people will say vulnerability management is really hard in OT.
1050000	1051220	I actually disagree.
1051220	1055140	When you have that mentality, any severity, medium or hard, you need to chase now.
1055240	1060160	My time spent with Dragos is something Rob Lee and I really clicked on and agreed with.
1060160	1063740	There's probably only four or six vulnerabilities I would care about chasing.
1064000	1066100	So internally have the conversations.
1066100	1068120	Does an exploit exist, yes or no?
1068120	1070140	Is it remotely exploitable, yes or no?
1070140	1074840	If it's no to both, don't even worry about it and focus on the stuff that actually matters.
1081310	1082250	Never.
1083110	1099950	The question was how often do I see any jump servers not running any services and I've never seen it not run a service because even internally, like sure those integrators and vendors take shortcuts, but so do internal IT people and OT people because they see it as a roadblock to them being efficient.
1100170	1101890	So I've seen a lot of tools.
1101890	1111350	I've seen things like mobile X term or other safe session managers where once I compromise your profile on that machine, you just let the keys for me to reach everything in your environment.
1111350	1118510	A lot of these tools store those keys encrypted, but they're encrypted in the registry and it is not hard to reverse engineer.
1118870	1122090	Good questions.
1122090	1122910	What else?
1132470	1136550	When you see the actual slides on this presentation, that might help.
1136550	1140630	And then you can also feel free to reach out to me because it also depends on the vertical.
1141030	1147030	So you know a lot of the default passwords is solution followed by the number one or number one, two, three, whatever.
1147050	1148290	We'll never get away with that.
1148290	1152310	I've seen some vendor just change the one to a two or two to a three.
1152350	1154310	For example, perfect use cases.
1154310	1158490	Two weeks ago I just wrapped up an assessment on a solar farm, brand new.
1158550	1160450	I've done assessment work for this customer before.
1160450	1163290	They're like nothing you've done to us in the past will be applicable here.
1163310	1166870	We told them to build it to spec based on the prior test you did for us.
1166950	1168410	I showed up on site.
1168410	1170690	I had the entire site within 30 minutes.
1170770	1178050	Because they believed everything the vendor said, all those solar inverters were actually broadcasting their own wireless networks unprotected.
1178370	1184210	So sure, you have to be actually on site to compromise those inverters, but once you're on those inverters, you can shut them off.
1184250	1185790	You can modify whatever you want to do.
1185790	1190110	And the purpose of a solar panel, harvest solar energy to output power.
1190110	1194350	If I turn that off, your entire site is now useless and just a bunch of real estate.
1226590	1233770	Yeah, so for example, you know, there's tribal knowledge that password can't change because very few people know it anyway.
1233890	1240890	So a lot of consultants will flag findings like, hey, your password was written on a sticky note underneath the keyboard or fixed on the monitor.
1240890	1245390	If there's not a webcam pointed at that sticky note, I really personally don't care.
1245470	1246550	Because what's the risk?
1246550	1248790	You have to be on site to see what that password is anyway.
1248790	1249670	It's not the default.
1249670	1251050	I'm not going to worry about it.
1251050	1255690	Because I've been in that position as a field operator trying to enter a password wearing FRC gloves.
1255890	1258730	You know, it's hard to type a password with those gloves on.
1259170	1260150	So, okay.
1261430	1263630	I hope that answers, yeah, your question.
1263630	1264370	Okay, cool.
1264410	1264830	Yeah.
1274540	1275180	Mm-hmm.
1277700	1280880	You want to repeat the question in the microphone so those on the recording can hear?
1280880	1283780	Because I have somewhat of a snarky answer to this one.
1287960	1302840	I work at a vendor and we tell ourselves that the customers that buy DCSs instead of just buying machine controls are generally more buttoned up, they're buying more integrated solutions all from one place, that sort of thing.
1302880	1305720	And I'm curious as to your perspective on that.
1307380	1311380	So for me it's never been so much about the technology, it's been about the implementation.
1311620	1316900	That one thing I just mentioned I saw 38 times out of 39 is a DCS system.
1322480	1324740	DCS distributed control system.
1324920	1328880	So HMI usually controls one thing, DCS controls multiple things.
1328880	1331260	It's the simplest way of breaking that down.
1332880	1339800	I will not answer specific product solutions because it's recorded, but you can find me in the hallway and I'll tell you.
1339800	1341220	So the
1348060	1361640	companies that make vaccines, they're looking to improve their security, which is great, and they want to go back to buying the most expensive products.
1362660	1365200	They have nobody that's like me.
1365200	1366180	None.
1366700	1370560	From their IT all the way down to DLCs.
1371160	1374120	How do you go about doing these things?
1381040	1396300	So the two questions I ask every time I hear that scenario, number one, does it actually solve the problem?
1396300	1399780	Number two, does it actually save people's lives or can it save people's lives?
1399780	1401800	If the answer is no, it's not worth doing.
1401960	1403680	Let's focus on the other stuff first.
1403780	1405080	Grow and mature into it.
1405320	1408280	I did just get a time warning, so how am I looking, Echo?
1408880	1409480	Two minutes?
1409480	1409980	Cool.
1410040	1411160	Got time for one more.
1421620	1422400	Mm-hmm.
1430020	1431880	Have an alert when that door opens.
1433560	1435220	Because we're good.
1435900	1436500	Okay.
1436800	1437720	One minute.
1438060	1442720	Because when it comes time, I mean, we know we're not going to be able to ship everybody anywhere at the same time.
1442800	1446160	You know, oil and gas, environmental, are very politically motivated.
1446160	1449820	So we know people are going to go turn stuff that they shouldn't turn without knowing about.
1449820	1453080	But while prevention is ideal, detection really is the must.
1453160	1459080	So sensors to know when that door opens or valve turns is relatively cheap compared to the cost of loss of life.
1459640	1463920	Definitely appreciate all hearing me ramble and asking awesome questions.
1463940	1465960	Come find me in the hallway if you have any more.
1465960	1467640	And let's keep talking.
1468220	1468420	Thank you.
