Latest / CyberSecurity Summary / Pentesting Industrial Control Systems: An ethical hacker's guide to analyzing, compromising, mitigating, and securing industrial processes
Transcript
- 0:00Speaker 1: Imagine a facility that powers your home, purifies your water,
- 0:04Speaker 1: or manages critical infrastructure. What if it's digital defenses weren't
- 0:09Speaker 1: quite as robust as they seem.
- 0:11Speaker 2: Yeah, it's a pretty critical thought.
- 0:12Speaker 1: Today we're taking a deep dive into the fascinating, definitely
- 0:16Speaker 1: high stakes world of pen testing industrial control systems or
- 0:20Speaker 1: icsm HM. And this isn't just about like standard IT computers.
- 0:24Speaker 1: It's about the systems that literally make the world run.
- 0:28Speaker 2: That's right, the physical stuff.
- 0:29Speaker 1: Our main guide for this exploration is an Ethical Hackers
- 0:32Speaker 1: Guide pen Testing Industrial Control Systems by Paul Smith. This book,
- 0:37Speaker 1: it takes us on a journey through analyzing, compromising, mitigating,
- 0:41Speaker 1: and securing these industrial processes.
- 0:44Speaker 2: It draws on a lot of experience to in nearly
- 0:45Speaker 2: twenty years in automation control and industrial cybersecurity. Plus we're
- 0:49Speaker 2: pulling in insights from others like Dimitri Komenko, who has
- 0:52Speaker 2: tons of experience in OTIS security for major companies.
- 0:55Speaker 1: So our mission today is really to unpack the critical
- 0:58Speaker 1: techniques ethical hackers used to test the security of these
- 1:01Speaker 1: vital systems. We'll look at everything from setting up a
- 1:03Speaker 1: virtual lab which is key, all the way to the
- 1:06Speaker 1: real world implications if someone does manage a successful breach.
- 1:11Speaker 1: We want to give you the essential nuggets you know,
- 1:13Speaker 1: to understand this field quickly. Okay, let's unpack.
- 1:16Speaker 2: This sounds good and it's a truly vital area because,
- 1:20Speaker 2: like you said, these industrial control systems are the very
- 1:23Speaker 2: backbone of our modern world, think energy grids, water utilities,
- 1:27Speaker 2: advanced manufacturing plants right everywhere. Securing them isn't just about
- 1:32Speaker 2: data protection in the traditional sense. It's fundamentally about ensuring
- 1:36Speaker 2: the physical world functions safely, continuously. The stakes, frankly couldn't
- 1:41Speaker 2: be higher.
- 1:42Speaker 1: Absolutely, And the author Paul Smith, he actually got into
- 1:45Speaker 1: this field by tackling what he called red herring problems.
- 1:48Speaker 1: Oh yeah, like what well, things like weird measurement imbalances
- 1:51Speaker 1: from flair sensor saturation or database migration mishaps that had
- 1:55Speaker 1: unexpected knock got eifacts.
- 1:56Speaker 2: Ah, okay, operational problems that turned out to have a cyber.
- 1:59Speaker 1: Angle, exactly, real hands on issues that kind of nudged
- 2:03Speaker 1: him into understanding the security side of these industrial systems.
- 2:07Speaker 1: It really highlights how often the most critical vulnerabilities pop
- 2:10Speaker 1: up in well, unexpected places.
- 2:13Speaker 2: That's so true. And what's fascinating. Often the deepest vulnerabilities
- 2:17Speaker 2: lie in areas that are completely overlooked. I often ask
- 2:20Speaker 2: IT and OT teams this, who truly controls the virtualization
- 2:24Speaker 2: server where your critical application lives, you know, the ESX
- 2:27Speaker 2: host or whatever. Oh yeah, and then what is your
- 2:29Speaker 2: total exposure if that core virtualization management system like v
- 2:34Speaker 2: center gets compromised.
- 2:35Speaker 1: I can imagine the looks on their faces.
- 2:37Speaker 2: The answers are almost universally shocking, sometimes terrifying. It reveals
- 2:42Speaker 2: these fundamental security gaps in even large, supposedly well resourced organizations. Wow,
- 2:47Speaker 2: it's just a stark reminder of how interconnected everything is
- 2:51Speaker 2: and how much can rely on a single, often quite
- 2:54Speaker 2: vulnerable component.
- 2:55Speaker 1: That is a chilling thought. So okay, given how complex
- 2:58Speaker 1: and risky these line systems are, Yeah, what's the very
- 3:02Speaker 1: first thing an ethical hacker does? You know, the non
- 3:04Speaker 1: disruptive step to even start understanding them?
- 3:06Speaker 2: Right? Well, the absolute first step is building a safe,
- 3:10Speaker 2: contained environment. You obviously can't just start poking around critical
- 3:13Speaker 2: infrastructure in the real world. Okay, so the book really
- 3:16Speaker 2: emphasizes the importance of creating your own virtual lab. This
- 3:20Speaker 2: deep dive isn't just theory it's about getting hands on experience,
- 3:24Speaker 2: but without risking a real world incident.
- 3:26Speaker 1: Okay, but how do you even begin to simulate something
- 3:29Speaker 1: as complex as like an entire factory or power plant
- 3:34Speaker 1: in a lab.
- 3:34Speaker 2: Well, the foundation is virtualization. Using something like the VMware
- 3:38Speaker 2: ESXi hypervisor lets you create a virtual supervisory, control and
- 3:43Speaker 2: data acquisition environment, a SCATA.
- 3:45Speaker 1: Environment, like a digital twin sort.
- 3:46Speaker 2: Of kind of, yeah, a scaled down but functional digital
- 3:50Speaker 2: version of a real system. So inside this virtual world,
- 3:53Speaker 2: you might spin up, say a nUbuntu server to act
- 3:56Speaker 2: as a pseudo programmable logic controller a PLC, and maybe
- 4:00Speaker 2: also as a PSEUDOSCATA server itself. Okay, Then you'd include
- 4:04Speaker 2: a Windows engineering workstation because that's common in real environments,
- 4:07Speaker 2: and critically a Kali Linux attack box that's your offensive toolkit.
- 4:11Speaker 1: And the network inside the lab it's not just one
- 4:14Speaker 1: flat network. Is that you try to mimic a real
- 4:17Speaker 1: industrial setup exactly right.
- 4:19Speaker 2: The setup often follows what's called a quasi perdue model.
- 4:22Speaker 2: It's a theoretical framework, but it's all about segmenting the
- 4:26Speaker 2: industrial network into different layers. Layers like from the top
- 4:30Speaker 2: level enterprise it network down through control levels right down
- 4:33Speaker 2: to the physical process layer.
- 4:35Speaker 1: And why is that layering so important?
- 4:37Speaker 2: Well, it's critical because it's designed to contain breaches. The
- 4:41Speaker 2: idea is to prevent an attack that starts in the
- 4:44Speaker 2: IT layer from immediately jumping down and impacting the critical
- 4:47Speaker 2: physical processes below. So the lab lets you simulate and
- 4:51Speaker 2: test those real world security boundaries.
- 4:54Speaker 1: That makes sense. What's really clever, though, is how you
- 4:56Speaker 1: bridge the virtual and the physical. Even with all this
- 4:59Speaker 1: virtualization you made, real hardware comes into play.
- 5:01Speaker 2: Yes, absolutely. For instance, a Coyo click PLC, specifically the
- 5:06Speaker 2: co ten Ard model is a popular choice for labs.
- 5:10Speaker 1: Why that one, It's.
- 5:11Speaker 2: Relatively affordable, It has an Ethernet port for network comms,
- 5:14Speaker 2: and the engineering software is free. Crucially, it lets you
- 5:18Speaker 2: link your virtual processes to physical io like literally turning
- 5:23Speaker 2: a light on and off exactly, you can wire up
- 5:25Speaker 2: a light or a small motor. It provides that tangible
- 5:29Speaker 2: feedback and gives you a much deeper understanding of how
- 5:32Speaker 2: these commands translate into real world actions.
- 5:35Speaker 1: That's fascinating. But even in these setup phases just getting
- 5:38Speaker 1: the software and hardware ready, are there overlook vulnerabilities that
- 5:42Speaker 1: ethical hackers find even before they start any active testing.
- 5:45Speaker 2: Oh, absolutely, take the software for that Coyo click PLC
- 5:48Speaker 2: the installation software. Something the book points out is that
- 5:51Speaker 2: it often doesn't provide a cryptographic hash for a verification,
- 5:55Speaker 2: you know, like an MD five or SAHA hash to
- 5:58Speaker 2: check if the download is legit.
- 6:00Speaker 1: Ah, okay, so you can't be sure you got the
- 6:01Speaker 1: real software precisely.
- 6:03Speaker 2: And this is a crucial detail because it opens the
- 6:05Speaker 2: door to something called a watering hole attack. Watering hole, Yeah,
- 6:09Speaker 2: an attacker could poison that software package, maybe alter it
- 6:13Speaker 2: to include malware, and then host it on a compromise
- 6:16Speaker 2: website that engineers might visit to download.
- 6:18Speaker 1: It, like a supply chain attack.
- 6:20Speaker 2: Almost exactly like that. We saw this kind of thing
- 6:22Speaker 2: with solar winds. Right. The potential fallout from something like
- 6:25Speaker 2: that happening in an industrial context it could be devastatingly wide.
- 6:30Speaker 1: That's a significant warning. So, okay, before an ethical hacker
- 6:33Speaker 1: even touches the network properly, they need to gather intelligence.
- 6:37Speaker 1: How do they go about that? What's the process?
- 6:38Speaker 2: Right? That's where open source intelligence or ostent becomes absolutely invaluable.
- 6:44Speaker 2: It's all about finding publicly available information just googling. Well, yes,
- 6:49Speaker 2: but it's more advanced. Ethical hackers use specific search techniques
- 6:53Speaker 2: sometimes called Google dorking or Google hackings dorking.
- 6:57Speaker 1: Yeah.
- 6:57Speaker 2: It involves using specific commands within search and commands like siteineural,
- 7:02Speaker 2: dot file type to filter results and glean sensitive details
- 7:05Speaker 2: that are out there, publicly available but often overlooked.
- 7:09Speaker 1: So for you, the listener, the key insight here isn't
- 7:11Speaker 1: just knowing these tools exist. It's realizing that in the
- 7:15Speaker 1: ICs world, what's publicly available can sometimes paint an alarmingly
- 7:19Speaker 1: complete picture of critical infrastructure vulnerabilities long before an attacker
- 7:24Speaker 1: even needs to type a command.
- 7:25Speaker 2: That's it. You can easily build a profile of a
- 7:28Speaker 2: target company, figure out its industry, maybe even identify specific
- 7:33Speaker 2: ICs vendors. It uses like finding mentions of Schweitzer Engineering
- 7:38Speaker 2: Laboratories or SEL, which is really common in the energy sector.
- 7:42Speaker 1: And LinkedIn too that seems more professional networking.
- 7:44Speaker 2: Oh, LinkedIn is an incredibly powerful ocent source. Think about it,
- 7:48Speaker 2: over seven hundred and forty million users.
- 7:51Speaker 1: Wow.
- 7:52Speaker 2: You can quickly uncover company size, industry specific technologies mentioned
- 7:56Speaker 2: in job descriptions or profiles, even find key employees by
- 7:59Speaker 2: title or keyword searching for Stata engineer or maybe a
- 8:03Speaker 2: specific vendor like televint administrator.
- 8:06Speaker 1: It's basically a huge searchable database of corporate.
- 8:09Speaker 2: Insights, exactly a gold mine of publicly available information for profiling.
- 8:13Speaker 1: But okay, beyond general web searches and looking at people's jobs,
- 8:17Speaker 1: what about finding the actual industrial devices themselves, the ones
- 8:21Speaker 1: that might be, you know, directly exposed to the Internet. Ah.
- 8:25Speaker 2: Right, that's where a specialized search engine like showdow dot
- 8:28Speaker 2: io comes in. It offers a truly unique perspective. How So,
- 8:33Speaker 2: showed in dot io calls itself the world's first search
- 8:36Speaker 2: engine for Internet connected devices, and it's genuinely surprising, sometimes shocking,
- 8:41Speaker 2: what it reveals. What kind of things, Well, it's not
- 8:44Speaker 2: uncommon to find complete operator consoles, human machine interfaces, or
- 8:48Speaker 2: even specific industrial tech like those coocli ckplcs we mentioned,
- 8:54Speaker 2: just freely open accessible.
- 8:56Speaker 1: From the Internet. Seriously, just out there. Yeah.
- 9:00Speaker 2: I actually remember one engagement where showdown dot io led
- 9:02Speaker 2: me straight to a company's Citrix VPN portal. Okay, from there,
- 9:06Speaker 2: it took a bit of social engineering to get some credentials,
- 9:09Speaker 2: but within no time I'd compromised one of their domain controllers.
- 9:12Speaker 2: The whole engagement went remarkably smoothly. Really all starting from
- 9:15Speaker 2: that one showdown discovery.
- 9:17Speaker 1: That's an incredible headstart for an engagement. And beyond just
- 9:20Speaker 1: finding exposed devices, I assume ethical hackers also check known
- 9:25Speaker 1: vulnerability databases.
- 9:27Speaker 2: Absolutely, places like EXPLOITDB and the National Vulnerability Database or MVD.
- 9:32Speaker 2: These list known vulnerabilities, often with proof of concept code.
- 9:36Speaker 1: So you find a piece of tech with showdan, then
- 9:39Speaker 1: check if there's a known way to break it.
- 9:41Speaker 2: Pretty much. For example, you might find an older Rockwell
- 9:45Speaker 2: Scata exploit, say from twenty eighteen, documented with its CVE number.
- 9:50Speaker 2: It'll detail the affected versions, maybe even give simple examples
- 9:53Speaker 2: like cross site scripting payloads. It's all about associating the
- 9:57Speaker 2: technology you discover with known flaws before you even start
- 10:00Speaker 2: active testing.
- 10:01Speaker 1: Okay, so that deeper connaissance is done. The next move
- 10:04Speaker 1: I guess is to get inside the wire, but maybe
- 10:06Speaker 1: without making too much noise initially exactly.
- 10:09Speaker 2: Passive network monitoring becomes absolutely critical at this stage, listening
- 10:13Speaker 2: before you talk.
- 10:14Speaker 1: Essentially, how do they do that without messing up the
- 10:16Speaker 1: live operational network. That seems tricky.
- 10:18Speaker 2: Well, you use techniques like switch court analyzers often called
- 10:22Speaker 2: span ports, or dedicated network test access points known as.
- 10:26Speaker 1: Teppeece span in tippiece okay.
- 10:29Speaker 2: These tools basically duplicate the network traffic and send a
- 10:32Speaker 2: copy to your monitoring device. The crucial part is they
- 10:35Speaker 2: do it without impacting the performance or operations of the
- 10:38Speaker 2: actual live network.
- 10:40Speaker 1: And why is that so important?
- 10:42Speaker 2: It's vital because modern intrusion detection systems IDs, especially those
- 10:46Speaker 2: designed for OT environments from vendors like Clarity, Nozomi Networks, Dragos,
- 10:52Speaker 2: they heavily rely on these methods. They need to passively
- 10:55Speaker 2: absorb data from the network to build awareness and detect threats.
- 11:00Speaker 2: In the industrial cybersecurity space, They're.
- 11:02Speaker 1: Constantly trying to understand all the different industrial protocol exactly.
- 11:05Speaker 2: It's a constant evolution for these IDs systems.
- 11:08Speaker 1: And the go to tool for actually looking at all
- 11:10Speaker 1: that capture traffic is wire shark, the network engineer's best front.
- 11:14Speaker 2: Absolutely, wire Shark is indispensable. It lets you capture and
- 11:17Speaker 2: analyze literally all the bits of data moving through the network.
- 11:21Speaker 1: How deep do you have to go?
- 11:22Speaker 2: Well, a proper packet deep dive usually starts with understanding
- 11:25Speaker 2: the OSI models layers you know, physical data, link, network, transport, session, presentation, application,
- 11:33Speaker 2: go whole stack, all right. Understanding those layers is key
- 11:36Speaker 2: because in ICs attacks often exploit vulnerabilities at very specific layers,
- 11:41Speaker 2: maybe the application layer for protocols like modbus, so that
- 11:44Speaker 2: layer by layer analysis is indispensable.
- 11:47Speaker 1: And once you've captured that traffic, maybe from say publicly
- 11:51Speaker 1: available packet captures PC keys from conferences like for SICS,
- 11:56Speaker 1: you can use wire sharks silters to find those gold nuggets.
- 11:59Speaker 2: Right, Oh, definitely Daine filtering the traffic and just finding
- 12:01Speaker 2: admin dot admin or root dot root credentials sitting there
- 12:04Speaker 2: in plaintext within HTTP basic authentication.
- 12:07Speaker 1: Wow, easily decoded from bas sicxty.
- 12:09Speaker 2: Four trivial, or maybe identifying an AKSIS network camera, finding
- 12:13Speaker 2: its exact model and firmware version because it's advertising itself
- 12:16Speaker 2: via FTP. Then you just take that info, cross reference
- 12:18Speaker 2: it with EXPLOITDB, and.
- 12:19Speaker 1: Bam you might have a known vulnerability ready to go.
- 12:22Speaker 2: Exactly. It really demonstrates how surprisingly easy it can be
- 12:26Speaker 2: to get critical information in a very short time just
- 12:29Speaker 2: by passively listening to the network traffic.
- 12:32Speaker 1: So that passive approach often yields a lot before you
- 12:35Speaker 1: even need to actively.
- 12:36Speaker 2: Interact significant results. Yeah, before any active scanning or interaction
- 12:41Speaker 2: is even necessary.
- 12:42Speaker 1: Okay, So once you've listened, you've done the recon, you
- 12:45Speaker 1: kind of know what you're looking for. Then you're ready
- 12:48Speaker 1: to start interacting with the industrial gear through active scanning.
- 12:51Speaker 2: Right now, you start actively probing, but carefully.
- 12:54Speaker 1: What tools are essential here?
- 12:55Speaker 2: Well, NMP is foundational, still a cornerstone for port scannings, fingerprinting,
- 13:01Speaker 2: identifying applications, and importantly, it has custom scripts specifically for
- 13:05Speaker 2: ICs protocols that extend its capabilities significantly.
- 13:09Speaker 1: Okay, MP's the classic.
- 13:10Speaker 2: Any newer tools, Yeah, then you have newer, much faster
- 13:13Speaker 2: tools like rust scan. It's often lauded for its speed,
- 13:16Speaker 2: claims it can scan all sixty five thousand TCP ports
- 13:19Speaker 2: in something like three seconds.
- 13:21Speaker 1: Three seconds. That's incredibly fast. But does that speed come
- 13:25Speaker 1: with a tradeoff, especially in these sensitive industrial environments.
- 13:29Speaker 2: That is the critical question. Yes, there's a huge trade off.
- 13:32Speaker 2: Rust scan speed generates a lot of network noise, and
- 13:35Speaker 2: in my own experience, it can most certainly knock over
- 13:38Speaker 2: sensitive legacy devices, old PLCs controllers, they just weren't designed
- 13:43Speaker 2: for that kind of aggressive scanning.
- 13:45Speaker 1: So a real world cautionary tale absolutely.
- 13:48Speaker 2: In ICs pen testing, you have to be incredibly careful,
- 13:51Speaker 2: much more so than standard IT PEN testing. You cannot
- 13:54Speaker 2: inadvertently shut down production. IT demands this unique safety first mindset.
- 13:59Speaker 1: Right makes sense. Now, what about web interfaces. Lots of
- 14:01Speaker 1: SCATA systems have web front ends now like Ignition Scata yep.
- 14:05Speaker 2: For those you'd use tools like gobuster or Fareroxbuster. They're
- 14:09Speaker 2: designed for web enumeration and directory brute forcing trying to
- 14:13Speaker 2: find hidden pages or directories.
- 14:15Speaker 1: And I guess the wordless you use are crucial.
- 14:17Speaker 2: Are absolutely critical. I always stress this. You are only
- 14:20Speaker 2: as good as your word list, especially for finding industrial
- 14:23Speaker 2: specific paths that standard weblists might miss, things like status can,
- 14:27Speaker 2: fig reports, alarms. Finding those hidden resources can be key.
- 14:31Speaker 1: Okay, tools aside, What's really crucial you mentioned earlier is
- 14:34Speaker 1: speaking in the language of ICs.
- 14:36Speaker 2: Yeah.
- 14:36Speaker 1: Understanding the actual industrial protocols.
- 14:39Speaker 2: Yes, this is non negotiable for any ethical hacker in
- 14:42Speaker 2: this space. You have to understand how these devices talk
- 14:45Speaker 2: to each other. Modbus, for example, is ubiquitous. It's relatively simple.
- 14:49Speaker 2: Uses function codes over TCP port five oh two to
- 14:53Speaker 2: read or write data to devices.
- 14:55Speaker 1: Like function code five.
- 14:57Speaker 2: Right, function code five rights to a single one bit
- 15:00Speaker 2: think of it like flipping a digital light switch, read
- 15:03Speaker 2: coil status as function code one, read holding registers is three,
- 15:06Speaker 2: and so on. Simple but powerful.
- 15:08Speaker 1: And then there's ethernet T more common in North.
- 15:11Speaker 2: America, that's right widely adopted here. It's powered by the
- 15:14Speaker 2: Common Industrial Protocol or CIP. A key part of it
- 15:17Speaker 2: is the identity object.
- 15:19Speaker 1: What's in that.
- 15:20Speaker 2: It contains crucial device information, vendor ID, product board serial number,
- 15:24Speaker 2: even the product name like maybe seventeen fifty six L
- 15:27Speaker 2: five to five a ogi x five five five five
- 15:30Speaker 2: for a rock Well controller. It's like the device's digital
- 15:33Speaker 2: name plate.
- 15:33Speaker 1: And you can actually interact with these directly, like send commands.
- 15:36Speaker 2: Oh yeah, you can learn how simple scripting commands, maybe
- 15:40Speaker 2: using Python libraries can directly interact with say that code
- 15:43Speaker 2: click plc we talked about. Yeah, you can energize specific.
- 15:46Speaker 1: Coils, turning the lights on and off from your script.
- 15:48Speaker 2: Exactly turn physical outputs on and all off. But this
- 15:52Speaker 2: leads us straight to a critical warning, the absolute importance
- 15:56Speaker 2: of having clear, well defined rules of engagement, because you
- 16:02Speaker 2: must never, and I really mean never, just randomly push
- 16:06Speaker 2: data to coils or registers unless you are explicitly authorized
- 16:10Speaker 2: and know exactly what you're doing.
- 16:11Speaker 1: What could happen.
- 16:11Speaker 2: You could easily inadvertently shut down production lines, maybe entire
- 16:15Speaker 2: process trains, and this could have the adverse effect of
- 16:18Speaker 2: creating a massive loss of revenue for your customer, or worse,
- 16:21Speaker 2: create an unsafe condition. The physical impact is immediate and
- 16:25Speaker 2: can be severe.
- 16:26Speaker 1: That's a very stark reminder of the responsibility involved here,
- 16:30Speaker 1: huge physical and financial impact potential. Okay, shifting gear slightly.
- 16:34Speaker 1: Modern ICs environments, they're rarely totally isolated anymore, are they?
- 16:38Speaker 2: No?
- 16:38Speaker 1: Not.
- 16:39Speaker 2: Usually they often connect to the corporate IT networks. This
- 16:42Speaker 2: creates what we call a converged network.
- 16:45Speaker 1: And that opens up entirely new attack vectors right from
- 16:48Speaker 1: the IT side into the OT side.
- 16:50Speaker 2: Precisely, so, to simulate this realistically in the lab, the
- 16:54Speaker 2: book shows how you'd add elements like Windows twenty nineteen,
- 16:57Speaker 2: domain controller running active directory DNS DHCP, and maybe a
- 17:02Speaker 2: standard Windows ten workstation, just like you'd find in a
- 17:05Speaker 2: corporate environment.
- 17:06Speaker 1: So now the attacker might try to compromise the corporate
- 17:09Speaker 1: side first.
- 17:10Speaker 2: Often, yes, once an ethical hacker gets a foothold in
- 17:13Speaker 2: that corporate network, active directory attacks become a primary focus.
- 17:18Speaker 2: There's a whole suite of tools and techniques.
- 17:20Speaker 1: Like what well.
- 17:21Speaker 2: Tools like curb root can enumerate valid ad user names
- 17:25Speaker 2: by sending curbero's requests. Then there are kerber roasting attacks.
- 17:29Speaker 1: Kerber roasting. Yeah.
- 17:30Speaker 2: An attacker, even with just a regular low privileged user account,
- 17:33Speaker 2: can request service tickets for accounts associated with service principal
- 17:37Speaker 2: names SPNs. The ticket they get back contains a hash
- 17:40Speaker 2: of the service account's.
- 17:41Speaker 1: Password, which they can then try to crack.
- 17:42Speaker 2: Offline exactly, maybe revealing the password for an account like
- 17:46Speaker 2: operator three.
- 17:47Speaker 1: And what about NTLM hashes? Are those still relevant?
- 17:50Speaker 2: Oh? Definitely. Tools like Responder are brilliant at capturing NTLM hashes.
- 17:55Speaker 2: They work by poisoning local network name resolution services things
- 17:58Speaker 2: like LLM and r NBTNS sometimes DNSM DNS. When a
- 18:04Speaker 2: machine tries to connect to a non existent share, Responder
- 18:07Speaker 2: tricks it into sending.
- 18:08Speaker 1: Its hash and you can crack those two.
- 18:10Speaker 2: Yes, often leading to cracked credentials like say Operator one
- 18:14Speaker 2: dot password one. Once you have valid credentials, getting a
- 18:17Speaker 2: foothold or getting shells is the next objective.
- 18:20Speaker 1: HOTI get shells.
- 18:21Speaker 2: Tools like evil WinRM are great for getting interactive command
- 18:24Speaker 2: shells over Windows Remote management and PowerShell payloads are super
- 18:28Speaker 2: common for delivering reverse shells where the compromise machine connects
- 18:32Speaker 2: back out to the attacker's listening machine gives you control. Right,
- 18:35Speaker 2: And here's a bit of practical wisdom from the field.
- 18:38Speaker 2: Two is one and one is none, meaning if you
- 18:40Speaker 2: only have one shell one way into a system, you
- 18:43Speaker 2: don't really have reliable access. What if it drops? You
- 18:46Speaker 2: always need a backup plan, a second shell or method
- 18:49Speaker 2: in case your primary session gets lost or detected and severed.
- 18:52Speaker 1: Okay, smart, So after getting that initial shell, the goal
- 18:55Speaker 1: becomes privileged escalation right, moving.
- 18:57Speaker 2: Up the ladder exactly, moving from that less privileged account
- 19:00Speaker 2: like Operator one up to maybe a local system administrator
- 19:04Speaker 2: or the ultimate goal, domain administrator.
- 19:07Speaker 1: What tools help there? I've heard of.
- 19:08Speaker 2: Mimicats, ah, mimicats. It's a legendary tool, primarily famous for
- 19:13Speaker 2: its ability to dump credentials, passwords, hashes, Carberos tickets directly
- 19:17Speaker 2: from memory on a compromised Windows system. So you might
- 19:21Speaker 2: run it as Operator one and find higher privileged credentials.
- 19:24Speaker 1: And you can use those dumped Carberos tickets.
- 19:27Speaker 2: Yes for pass the ticket or PTT attacks. You basically
- 19:31Speaker 2: inject a captured ticket into your current session to impersonate
- 19:34Speaker 2: another user, maybe an administrator. This can sometimes lead to
- 19:37Speaker 2: achieving a golden ticket, the master key. Essentially, Yeah, a
- 19:42Speaker 2: forged Carbrero's ticket granting ticket that gives you domain admin persistence,
- 19:47Speaker 2: letting you create tickets for almost any user or service.
- 19:51Speaker 2: It's like having the master key to the entire active
- 19:54Speaker 2: directory domain.
- 19:55Speaker 1: Wow. Any tools to help find these escalation paths? Yeah?
- 19:58Speaker 2: Tools led windps are great. They automate the discovery process,
- 20:02Speaker 2: scanning the system for common misconfigurations, vulnerable services, stored credentials,
- 20:08Speaker 2: anything that could lead to higher privileges on Windows.
- 20:11Speaker 1: Okay, so you've got Domaine admin maybe on the IT side,
- 20:14Speaker 1: but the real prize is the OT network. How do
- 20:16Speaker 1: you get from IT to OT? Especially if there are firewalls?
- 20:20Speaker 2: Right, that's the next major hurdle pivoting through firewalls. You
- 20:23Speaker 2: need to bridge the gap techniques like using proxy chains
- 20:26Speaker 2: to tunnel traffic, standard SSH tunneling if SSH is available,
- 20:30Speaker 2: or tools like Chisel.
- 20:31Speaker 1: Chisel.
- 20:31Speaker 2: Yeah, Chisel is a fantastic tool. It works as a
- 20:33Speaker 2: TCPUUDP tunnel, often used to set up a reverse sec
- 20:37Speaker 2: case proxy, the compromise machine inside connects out to the attacker,
- 20:41Speaker 2: creating a tunnel back in effectively bypassing firewall rules that
- 20:44Speaker 2: might block inbound connections.
- 20:46Speaker 1: And sometimes finding SSH open can be a surprise for
- 20:50Speaker 1: the defenders.
- 20:51Speaker 2: Definitely. I've had stories, real anecdotes where security managers were
- 20:55Speaker 2: genuinely shocked to discover SSH was active and enabled, even
- 20:59Speaker 2: on servers and they're supposedly pure Windows based environments. Finding
- 21:04Speaker 2: that allows attackers to establish tunnels that completely bypass network
- 21:08Speaker 2: segmentation and get deep into the industrial network.
- 21:11Speaker 1: So that brings us to a common weakness credential reuse.
- 21:14Speaker 2: Oh, it's a massive pitfall. Many organizations suffer from widespread
- 21:18Speaker 2: credential reuse across both IT and OT systems. If you
- 21:22Speaker 2: find credentials on a domain connected system on the IT side.
- 21:26Speaker 1: There's a good chance they work on the OT side too.
- 21:27Speaker 2: A very high likelihood.
- 21:29Speaker 1: Yes.
- 21:29Speaker 2: I worked in engagement once where a domain service account,
- 21:32Speaker 2: which should have been disabled after setting up some new computers,
- 21:34Speaker 2: was actually still active and had privileges across many machines,
- 21:37Speaker 2: including some in the OT zone.
- 21:39Speaker 1: What did that give you?
- 21:40Speaker 2: It granted access to analyze basically every user and machine
- 21:44Speaker 2: in the domain, and ultimately that path led directly to
- 21:47Speaker 2: controlling a distributed control system a DCS. It just highlights
- 21:52Speaker 2: how one single point of failure in credential management can
- 21:56Speaker 2: cascade catastrophically.
- 21:57Speaker 1: That's the ultimate goal, right, getting access to those SCAT user.
- 22:00Speaker 2: Interface often, yes, leveraging those compromise credentials, maybe that operator
- 22:05Speaker 2: one dot password one we found earlier, to log straight
- 22:07Speaker 2: into the ignition SCATA, UI or whatever hm I they're using.
- 22:10Speaker 2: And once you're in, once inside, documentation is crucial. You
- 22:14Speaker 2: need to figure out exactly what processes the SCATA system controls,
- 22:18Speaker 2: what are its network connections, what specific equipment doesn't manage?
- 22:22Speaker 2: Build that complete situational awareness.
- 22:25Speaker 1: But that warning again, yes.
- 22:26Speaker 2: Absolutely have to reiterate it. Just because you can gain
- 22:29Speaker 2: this level of access, maybe see the controls to shut
- 22:31Speaker 2: down a process does not mean you should ever implement
- 22:34Speaker 2: or change anything without explicit written permission in the ROE,
- 22:39Speaker 2: these types of unauthorized actions can absolutely land you in
- 22:42Speaker 2: prison or worse cause a real world disaster.
- 22:45Speaker 1: Understood, It's not just UI access though, right, can you
- 22:48Speaker 1: get deeper like script access?
- 22:50Speaker 2: Definitely? Sometimes you find misconfigured services like an FTP server,
- 22:55Speaker 2: maybe running on the SCATA machine itself. Perhaps it allows
- 22:58Speaker 2: anonymous access, or maybe the credential you found work and
- 23:01Speaker 2: it has right permissions to the web directory.
- 23:04Speaker 1: Ah, so you could upload a webshell exactly.
- 23:06Speaker 2: You could upload a simple PHP webshell. Then you set
- 23:09Speaker 2: up a netcat listener back on your Collie Lenox attack
- 23:12Speaker 2: box brows to the webshell you uploaded.
- 23:14Speaker 1: And it connects back BINGO.
- 23:16Speaker 2: It triggers the shell, providing a full reverse command shell
- 23:19Speaker 2: back to your listener. Now you likely have OS level
- 23:23Speaker 2: access on the SCATA server itself, potentially granting full access
- 23:27Speaker 2: to the network from top to bottom, depending on its connectivity.
- 23:29Speaker 1: Okay, so the PENTIS phase is done. You've potentially gained
- 23:33Speaker 1: significant access. What's the critical final step? How do you
- 23:36Speaker 1: close the loop?
- 23:37Speaker 2: The final step is the comprehensive report and providing actionable
- 23:41Speaker 2: mitigation recommendations. The PENTIS report is really the core deliverable.
- 23:45Speaker 1: What goes into it.
- 23:46Speaker 2: It needs to clearly communicate where the security gaps are
- 23:50Speaker 2: and how you leverage them to gain access. It's usually
- 23:53Speaker 2: a structured document covering the attack vectors used, the likelihood
- 23:57Speaker 2: and impact of the findings, the complexity and any existing
- 24:00Speaker 2: security controls that failed or were bypassed.
- 24:02Speaker 1: And tying it back to business impact is key.
- 24:05Speaker 2: Right, Absolutely, The impact analysis has to tie everything together,
- 24:09Speaker 2: the lateral movement, the privileged escalation back to tangible business risk.
- 24:13Speaker 2: For instance, demonstrating that you could gain access to the
- 24:16Speaker 2: scata UI and realistically lock every user out and shut
- 24:20Speaker 2: down the entire system. That's a critical finding any organization
- 24:23Speaker 2: needs to take extremely seriously.
- 24:26Speaker 1: You mentioned physical impact earlier.
- 24:28Speaker 2: Any examples, Yeah, I recall a story happened in the
- 24:30Speaker 2: northern part of Canada. An engineering team apparently switched the
- 24:33Speaker 2: configurations on two critical controllers by mistake, a simple human error.
- 24:39Speaker 2: It led to a large compressor blowing its seals and
- 24:41Speaker 2: a vital pump cavitating, basically destroying itself millions of dollars
- 24:46Speaker 2: in damage and loss production from a simple control configuration mistake.
- 24:50Speaker 2: It just vividly underscores the immense physical and financial consequences
- 24:54Speaker 2: of messing with control level settings, whether intentionally or accidentally.
- 24:58Speaker 1: That's terrifying. How can defenders the blue teams better understand
- 25:03Speaker 1: these kinds of attacks?
- 25:05Speaker 2: The AIRIATT and CK framework, especially the one for ICs,
- 25:09Speaker 2: is invaluable here. It provides a really great visual representation
- 25:13Speaker 2: of adversarial tactics, techniques and procedures or TTPs.
- 25:17Speaker 1: How does it help?
- 25:18Speaker 2: It helps blue teams understand the specific methods attackers use,
- 25:21Speaker 2: like using valid accounts for lateral movement or exploiting remote services.
- 25:25Speaker 2: And importantly, it links these techniques to potential mitigations and
- 25:29Speaker 2: detection strategies. It gives them a structured way to think
- 25:32Speaker 2: about defense.
- 25:33Speaker 1: And finally, what about actual technological defenses? What should companies
- 25:37Speaker 1: be putting in place?
- 25:38Speaker 2: Well, industrial firewalls are a key component products like the
- 25:41Speaker 2: Cisco ISA three thousand for example. They often integrate with
- 25:45Speaker 2: broader security ecosystems like Cisco ISIC or Cybervision. What they
- 25:49Speaker 2: do They can enforce segmentation, control traffic flow based on
- 25:53Speaker 2: industrial protocols, and sometimes even automatically quarantine new or suspicious
- 25:57Speaker 2: devices found on the network or push specific security policies
- 26:01Speaker 2: using security group tags or sgts. This can cause immense
- 26:05Speaker 2: frustration for pentesters who suddenly find their access roots blocked
- 26:08Speaker 2: mid engagement.
- 26:09Speaker 1: And intrusion detection systems the IDs we mentioned earlier.
- 26:12Speaker 2: Yes, companies like Drago's Clarity and Nozomi Networks are leaders
- 26:16Speaker 2: in the OTIDS space. They deploy sensors often connected via
- 26:20Speaker 2: those SPAN ports or T texts, specifically designed to understand
- 26:24Speaker 2: industrial protocols and baseline normal behavior.
- 26:27Speaker 1: What did they detect?
- 26:27Speaker 2: They look for anomalies new MS or IP addresses, appearing
- 26:31Speaker 2: unusual protocol usage, unexpected communication paths between zones, connections to
- 26:37Speaker 2: known malicious ips. If a company lacks ot specific IDs,
- 26:41Speaker 2: it's almost always a top recommendation and appentest report.
- 26:44Speaker 1: It sounds like a constant arms race for the vendors
- 26:46Speaker 1: to keep up with protocols.
- 26:47Speaker 2: It really is an ongoing arms race for protocol dissectors
- 26:51Speaker 2: to understand and protect against threats targeting every possible industrial
- 26:55Speaker 2: communication method.
- 26:57Speaker 1: Wow, what a journey we've really ventured through the intricate
- 27:00Speaker 1: world of pen testing industrial control system They covered a lot, yeah,
- 27:04Speaker 1: from those foundational lab setups and passive reconnaissance all the
- 27:08Speaker 1: way through active exploitation, privileged escalation and navigating that delicate
- 27:13Speaker 1: ITOT convergence. We've seen our curiosity, when it's combined with
- 27:17Speaker 1: specific tools and techniques, can uncover really critical vulnerabilities in
- 27:22Speaker 1: the systems that manage our most essential services.
- 27:25Speaker 2: And I think this deep dive has hopefully shown you,
- 27:27Speaker 2: the listener, that securing these environments really demands a unique
- 27:31Speaker 2: blend of skills. It's it knowledge, but it's also deep
- 27:35Speaker 2: operational technology understanding.
- 27:37Speaker 1: Not just one or the other exactly.
- 27:39Speaker 2: It's an ongoing challenge, maybe even an arms race that
- 27:42Speaker 2: requires continuous learning and crucially, a deep appreciation for the
- 27:46Speaker 2: potential physical impact of purely digital actions.
- 27:50Speaker 1: Right, hopefully you now have a much more comprehensive understanding
- 27:54Speaker 1: of the ethical hacker's mindset when they approach this high
- 27:58Speaker 1: stakes domain.
- 27:59Speaker 2: That's the goal.
- 28:00Speaker 1: So what does this all mean for you? There's a
- 28:02Speaker 1: quote from Walt Disney. He once said, there's really no
- 28:04Speaker 1: secret about our approach. We keep moving forward, opening up
- 28:08Speaker 1: new doors and doing new things because we're curious, and
- 28:11Speaker 1: curiosity keeps leading us down new paths. We're always exploring
- 28:15Speaker 1: and experimenting.
- 28:16Speaker 2: I like that curiosity.
- 28:17Speaker 1: In a world that's increasingly reliant on these connected industrial systems,
- 28:21Speaker 1: how will your curiosity lead you to explore and maybe
- 28:25Speaker 1: help secure the hidden paths of our critical infrastructure.