WEBVTT

00:00.000 --> 00:02.260
Hi, everyone.

00:03.060 --> 00:07.160
It's really hard to see everyone With this slide.

00:07.540 --> 00:11.420
So if you cannot hear me, just Shout out, and I'll try to adjust the microphone.

00:11.420 --> 00:12.660
Can everybody hear me?

00:13.320 --> 00:14.060
cool.

00:14.440 --> 00:15.520
Good afternoon, everyone.

00:15.520 --> 00:21.280
My name is shishir, and I'm here to talk about red team and Attack vectors for operation technology.

00:21.520 --> 00:32.760
My objective here is to go beyond the hypothetical, and I'm Here to talk about red team and attack vectors, a real-world Example for some of our red team exercises for critical Infrastructure.

00:32.900 --> 00:35.340
However, before I start, a quick Disclaimer.

00:35.560 --> 00:44.320
Even though everything that I Present here is based on real-world case studies, the Content itself is highly redacted to remove any and all Identifying information.

00:45.640 --> 00:50.260
Now, we're not here to talk About it myself, but it's still customary to do a quick Introduction.

00:50.440 --> 00:51.360
My name is shishir.

00:51.360 --> 00:53.800
I'm a technical manager at mandiant slash google.

00:53.920 --> 01:01.020
I'm part of a dedicated team at mandiant that specializes in Security services for operational technology and Control systems.

01:01.020 --> 01:09.920
Personally, I've been, I've had More than 12 years of experience performing offensive security Work for industrial control and cyber-physical systems.

01:09.920 --> 01:26.500
And in that time, I have been fortunate to basically dabble With almost every critical infrastructure sector on the Planet, including power, transport, rail, air traffic Control, manufacturing, waste water, telco, and even building Management systems.

01:27.320 --> 01:32.640
Now, i believe everyone here Would already understand what we mean by operational technology.

01:32.640 --> 01:44.480
That said, i still wanted to take a minute and remind that Operational technology basically deals with systems and Platforms that are used to control and automate industrial Scale physical processes.

01:44.780 --> 01:46.540
People often tend to silo o.t.

01:46.540 --> 01:50.940
Into a specific sector or industry, but i'd like to Remind that o.t.

01:50.940 --> 01:55.900
covers a wide range of infrastructure, and my Talk here is industry agnostic.

01:56.000 --> 02:03.880
I'll be covering examples from Different verticals, including power, utilities, Transportation, manufacturing, and even telecommunications.

02:06.460 --> 02:21.580
I would like, i would also like to call out that real world Attack simulations against industrial networks do not Involve just h.m.i.s or p.l.c.s, but in fact, involve the entire Ecosystem, ranging from the enterprise network that supports O.t.

02:21.580 --> 02:25.460
to level one devices that control the physical processes In the field.

02:25.640 --> 02:36.860
One more disclaimer here, Offensive security exercises, such as red teaming and Penetration testing, essentially involve adversarial testing Against cyber physical systems that can pretty much blow and Burn.

02:37.200 --> 02:40.480
Thus, any kind of offensive Security testing for o.t.

02:40.480 --> 02:50.160
should only be performed by trained Individuals after careful consideration of scenarios, Hazards, risks, and preapproved rules of control engagement.

02:51.760 --> 03:01.120
Now, before we move into the crux of this talk and talk about Attack vectors and case studies for o.t., i'd like to quickly Touch upon one more topic, that is the i.c.s.

03:01.120 --> 03:01.420
o.t.

03:01.420 --> 03:02.620
attack Life cycle.

03:02.880 --> 03:14.300
Most people in cyber are already Aware of attack life cycles, but when we talk about hacking O.t., people often tend to assume that we are talking about Some cool exploit against an isolated i.c.s.

03:14.300 --> 03:23.620
or a control System device, so i'd like to call out that there is a Difference between hacking an individual control system and Hacking a large-scale industrial o.t.

03:23.620 --> 03:24.470
operation.

03:24.960 --> 03:25.520
Real-world o.t.

03:25.520 --> 03:33.800
attacks are rarely single-step compromises, Often involve a multi-step attack life cycle covering Multiple phases.

03:34.320 --> 03:49.620
From an attacker's perspective, This typically translates to information gathering, perimeter Breach, privilege escalation, internal reconnaissance, network Propagation, and finally, a precise execution to achieve a Predetermined objective in an o.t.

03:49.620 --> 03:50.500
environment.

03:50.800 --> 03:56.920
The basic idea here is to obtain prior information about the Target system, breach the perimeter of the o.t.

03:56.920 --> 04:05.920
environment, Remain undetected while operating within the target Environment, and then finally launch a precise attack to Achieve the target objective.

04:06.080 --> 04:13.660
Consequently, if you think about It from the defender's perspective, each phase of this Attack life cycle presents an opportunity for detection and Mitigation.

04:13.740 --> 04:15.820
Thus, it's important to understand the i.c.s.

04:15.820 --> 04:16.020
o.t.

04:16.020 --> 04:28.360
Attack life cycle, identify security issues before an Attacker has a chance to exploit them, develop preventive or Detective controls for known TDPs, and mitigate attack Vectors across multiple phases of the attack life cycle.

04:28.720 --> 04:46.360
Now, I don't believe I have the time to go through each phase of The attack life cycle in the next 20 minutes, so for the Remaining session, I'd like to distill the life cycle into four Key phases listed on the lower side of the slide here and walk Through some real-world examples and case studies for common Attack vectors across the four phases.

04:47.820 --> 04:50.660
The first phase I'd like to cover is initial compromise.

04:50.660 --> 04:56.480
As the name suggests, the objective of this phase is to Gain an initial foothold in the target environment.

04:56.600 --> 05:05.400
In most real-world scenarios, this typically translates to Using a social engineering or spear phishing campaign to Compromise the enterprise side of the organization.

05:05.640 --> 05:08.840
In fact, the majority of the red team exercises for o.t.

05:08.840 --> 05:15.080
that we Perform begin with some form of attempt to gain access or Foothold on the corporate side of the network.

05:15.200 --> 05:23.080
That said, the initial compromise phase could also entail Other more direct attack vectors to gain a direct foothold in the O.t.

05:23.080 --> 05:23.980
network.

05:24.020 --> 05:28.340
The list on the slide here lists Some examples, like direct connection to i.c.s.

05:28.340 --> 05:36.860
on the Internet, supply chain compromise, third-party Compromise, hardware implants, and last but not the least, Physical or wireless access to o.t.

05:36.860 --> 05:38.180
systems in the field.

05:38.300 --> 05:49.860
Industrial environments often have a geographically dispersed Field network, often connected using wireless networks, and Thus present a large attack surface for attackers to gain Direct access to o.t.

05:49.860 --> 05:50.700
devices.

05:50.980 --> 05:57.260
The simplest example of such a System here would be residential smart meters in advanced Metering infrastructure.

05:57.540 --> 06:10.800
So if an attacker, let's say, Is able to gain or manipulate the communication traffic Between the residential smart meter and a back office Collector , they could potentially use that as an Entry point into the back office, back-inherent system.

06:13.910 --> 06:17.690
The first example I have here is for a communication-based Train control system.

06:17.830 --> 06:18.470
In a c.b.d.c.

06:18.470 --> 06:19.890
network, on-board E.c.u.s.

06:19.890 --> 06:27.190
in the train typically connect to the back office Network through radio-based communication, such as wireless Network or cellular network.

06:27.390 --> 06:29.890
In this specific case, we found That a c.b.d.c.

06:29.890 --> 06:39.450
radio network was implemented using a hidden But essentially open s.s.i.d., thus providing an Unauthenticated access to the on-board embedded network on The trains.

06:39.550 --> 06:44.750
The right side of the screen Here shows us using the open wireless network to connect to A v.n.c.

06:44.750 --> 06:48.930
session on one of the operator displays in the local Cab.

06:49.110 --> 06:59.210
Insecure wireless networks are Probably not as common as in the recent past, but we still find Examples of unencrypted protocols or legacy encryption In older networks.

07:02.240 --> 07:07.600
The next example I have here is For an unprotected cellular network for a public transport Operator.

07:07.600 --> 07:14.080
In this case, our team was able To use an arbitrary personal sim to connect to the private a.p.n.

07:14.080 --> 07:19.740
For the field network and gain direct access to traffic Monitoring cameras across the metropolitan region.

07:19.960 --> 07:33.200
To be clear, this is probably an exception and not the norm to Have an unauthenticated private a.p.n., but such was the case Here, and it does show an interesting example of an Initial entry point into an o.t.

07:33.200 --> 07:36.800
environment through an Insecure cellular network.

07:37.400 --> 07:45.660
The last example i have here for Initial foothold is an initial compromise point into a telco Network.

07:45.720 --> 07:48.280
Modern telco networks are Essentially i.p.

07:48.280 --> 07:50.420
Based and involve an i.p.

07:50.420 --> 07:54.680
Based tunnel Between the mobile device and a gateway node in the core network.

07:54.700 --> 08:12.600
The gateway node forwards the traffic to the intended Destination through a backbone network, and it's best practice To basically have the gateway node allow only access to the Intended networks and block any or all attempts to access the Private nodes in the operator network.

08:12.600 --> 08:22.500
However, in this case we found that we were able to actually Use a commercial off the shop sim for the said operator to Connect to the core nodes in the telco network.

08:22.540 --> 08:31.880
Long story short, we were able to compromise the core nodes Such as session border controller, intercept user Traffic, including sms and voice call data.

08:32.320 --> 08:43.140
Now, i realize it's probably not as obvious from a single Screenshot here, but the picture here on the right-hand side Shows us intercepting sms message from the traffic captured On an sbc controller.

08:43.500 --> 08:52.400
Think about using your Personal mobile phone as an entry point into your telco Operator's network and compromising lawful interception Across the national network.

08:52.520 --> 09:01.580
To be clear, this is also very Rare, but still it does provide another interesting example of An initial entry point into what is essentially an Operational network.

09:02.200 --> 09:06.340
The next phase i'd like to Cover is internal reconnaissance.

09:06.420 --> 09:13.680
The objective of this phase is To leverage the foothold gained in the previous phase to Extract specific information about the target system.

09:14.120 --> 09:19.140
This is especially relevant in the context of initial Compromise in the enterprise it environment.

09:19.140 --> 09:28.640
The enterprise network is important not only from the Perspective of itot network segmentation, but it is also Important from the perspective of data segmentation.

09:28.760 --> 09:35.680
A typical enterprise network often hosts multiple sources That can provide an attacker with critical information about The target asset.

09:35.760 --> 09:47.900
Some examples on the slide here Include documentation, department of file shares, e-mail Communications, development resources, management consoles And even key logging and screen monitoring.

09:48.060 --> 10:02.640
Some examples of target information that an attacker Would typically like to retrieve at this phase of the exercise Include network diagrams, host names, ip addresses, process Documentation, operator manuals, and even potentially plain text Credentials.

10:03.380 --> 10:08.980
This is probably the most boring Stage of an attack life cycle from an attacker's perspective.

10:08.980 --> 10:22.680
But in my experience, an attacker will spend the maximum Time operating within this stage because the more information That i can obtain at this stage, the higher my chances of Success and precise execution in the subsequent stages.

10:24.080 --> 10:33.500
Internal reconnaissance often comes down to strategic Targeting information sources and key employees that are Responsible for the administration and maintenance of The ot environment.

10:33.680 --> 10:38.480
I realize that the screen shots Here on the slide are highly redacted.

10:38.480 --> 10:44.720
However, they still provide a snippet of the kind of Information that an attacker might target during internal Reconnaissance phase.

10:44.720 --> 11:00.200
Firewall rules, operation guides, Department shares, plain text credentials, password managers Are all critical information that are typically hosted in the Enterprise side of the environment, but provide Invaluable resources and information for attackers Targeting ot networks.

11:00.240 --> 11:14.320
Now, from a defender's Perspective, it is easy to underestimate the value of the Information exfiltrated during this phase of the attack life Cycle, and security teams, in my opinion, often ignore the Importance of this phase from a detection perspective.

11:14.320 --> 11:20.020
In fact, i would argue that this phase provides the maximum Opportunity for detection.

11:20.180 --> 11:27.780
If i, as a defender, can flag Indicators of compromise for internal reconnaissance in my Enterprise environment, i could potentially detect an attacker

11:32.080 --> 11:35.260
Before they even have a chance to reach the ot environment.

11:35.620 --> 11:39.300
Now, i'm not going to go into specific case studies for this Phase.

11:39.340 --> 11:43.420
Almost every exercise that we Perform involves some kind of internal reconnaissance.

11:43.420 --> 11:49.060
But i still wanted to cover some examples of target sources And information sources.

11:51.690 --> 11:57.210
Moving on, initial compromise Internal reconnaissance is often followed by network Propagation.

11:57.270 --> 12:06.710
In the context of a typical attack Life cycle, this often translates to network Propagation from an initial foothold in the it network to The target system in the ot network.

12:06.810 --> 12:12.390
Now, i know that we all expect our ot systems to be completely Isolated in air gap using nothing but space.

12:12.390 --> 12:17.030
However, in practice, that is rarely the case for modern Industrial environments.

12:17.550 --> 12:22.810
In an ideal world, i would Probably love to see perfect segmentation using gateways.

12:23.030 --> 12:28.230
However, the reality is that we still continue to find ot Environments that lack basic segmentation.

12:28.770 --> 12:32.470
Now, there are probably a million different ways to host Segmentation.

12:32.470 --> 12:46.090
But some common examples of Insecure segmentation between it and ot include lack of Properly secure authentication for remote access, dual home Servers with one leg in it, one leg in ot, shared active Directory domains or domain trust between it and ot,

12:46.090 --> 12:49.010
and Exploitable services in ot dmz.

12:49.370 --> 12:57.130
That said, the most fundamental Issue around it ot segmentation is the use of shared Infrastructure and management platforms.

12:57.210 --> 13:04.390
A classic example of that would be a hypervisor server hosted In the it environment which hosts guest machines for ot Network.

13:04.670 --> 13:15.410
So potentially if i can Compromise the hypervisor server in the it environment using Active credentials, i could pretty much gain access to the Ot consoles, thus bypassing the firewall rules between it and ot.

13:15.490 --> 13:26.890
Like i said, unfortunately, it is very common to find both Physical and logical flaws in segmentation between it and ot, And such issues can often be used to propagate from the it Network to the ot network.

13:31.050 --> 13:46.630
This slide here shows an example of installing a key logger on A compromised engineer desktop in the it network to basically Obtain the single factor authentication credentials for a Remote access point or a jump host server in the ot network.

13:46.630 --> 13:59.290
The screen shot on the right-hand side here shows us Basically connecting to a successful remote desktop Connection to an hmi interface for a subway line or a subway Overline .

14:03.580 --> 14:10.540
This is another interesting Example of compromising remote access credentials in the Corporate network.

14:10.540 --> 14:19.420
However, this time, through Direct compromise of an enterprise password manager or Enterprise password vault, which basically stored ot Credentials.

14:19.420 --> 14:23.840
Enterprise password management Systems often authenticate to corporate domain.

14:24.080 --> 14:32.460
So if an attacker is able to compromise the password, say, For example, engineering teams, the attacker could gain Credentials for remote access to ot systems.

14:32.840 --> 14:41.840
The screen shot on the right again here shows a successful Remote desktop connection to an its server for a traffic Control or a traffic light monitoring system.

14:43.740 --> 14:50.960
This slide here shows an example of a segmentation flaw, like i Said, using domain trust between it and ot.

14:51.180 --> 15:05.840
It is probably not as clear from the screen shot that i have on The slide here, but you will find that the it domain here is Actually superseded as the root domain for ot domains across Multiple dcs.

15:05.900 --> 15:16.080
The end result is that our team Was basically able to use compromised credentials in the Root it domain to gain access to child domains for multiple Plants across the globe.

15:17.620 --> 15:23.700
Finally, this is a real world Example of the issue of shared infrastructure between it and ot.

15:23.700 --> 15:33.800
The virtualization platform on the left authenticates to an it Domain, but hosts guest machines for both it and ot environments.

15:33.800 --> 15:48.300
Our team was able to gain administrator access to the Hypervisor management interface using credentials compromised In the it domain and leverage the same to gain access to the Local console on the guest virtual machines in the ot Environment.

15:48.660 --> 16:02.580
The screen shot on the right Hand side here shows an example of direct console access to the Guest vm for a server in the ot network which hosts software Updates for engineering workstations in the pc and plant Network.

16:03.860 --> 16:08.980
The final attack phase i'd like To cover is mission execution in ot.

16:09.200 --> 16:22.720
As the name suggests, this is the phase where we are dealing With core ot and the attacker will either attempt to leverage The access that they've already obtained or launch a prebuilt Exploit to achieve the final objective.

16:22.940 --> 16:34.060
As you can imagine, the tactics and procedures that an attacker Might use in this phase would highly depend on the specific ot System in question and more importantly the attacker Objective.

16:34.060 --> 16:48.920
So, for example, there are Attacker objectives that could potentially be achieved through Direct access and direct control of an hmi or simply abusing the Built-in features of the target system.

16:49.580 --> 17:00.560
While there are some other attack vectors or attacker Objectives which might require manipulation of the control Logic and input output signals on the lower level embedded Systems.

17:00.600 --> 17:14.700
To be honest, i think we could Spend an entire session talking about attack vectors for mission Execution in ot, but some common examples include remote command Execution through hmi interface, manipulation of configuration Data for a remote terminal or a plc,

17:14.700 --> 17:25.300
spoof communication for an Ics protocol, and last but not the least, a prebuilt exploit to Manipulate the process control logic or the process memory and Embedded controller in the ot network.

17:25.880 --> 17:34.200
As a general term of rule, it is relatively easier to cause Process disruption as compared to process manipulation.

17:34.200 --> 17:46.960
Ics systems are built with redundancy, safety, risks and Hazards in mind, and thus high consequence manipulation often Requires prior reverse engineering and exploit Development.

17:47.020 --> 18:05.960
Some common examples of security Issues that we typically find while assessing and building Exploits for embedded ics systems include unsecured Firmware updates, unpopulated interfaces, hidden back doors, Shared ssh keys between different customers, obviously Buffer overflows,

18:05.960 --> 18:12.300
and then leftover debug functions from Development and testing that have carried over to the Production systems.

18:14.320 --> 18:29.560
Here i would like to once more Stress that we are essentially dealing with cyber physical Systems, and thus any kind of offensive security testing For low-level ics devices should only be performed in a Non -production or a laboratory environment under controlled Conditions .

18:31.440 --> 18:40.660
The first example i have here is For a red team exercise for a power utility with advanced Featuring infrastructure.

18:41.000 --> 18:51.120
This shows an example of simply Using an hmi command to achieve the final objective, that is, Remote disconnect of a target smart meter at a specific Location.

18:51.120 --> 19:01.780
A team was effectively able to Breach the external perimeter, gain remote access to the Command and control interface for the head end system, and Initiate remote disconnect command for the end point Mirrors.

19:02.840 --> 19:08.340
This slide is another example of Mission execution through direct control of hmi.

19:08.340 --> 19:19.700
A team was able to gain remote access to the physical access Control interface for a building management system, thus Obtaining the ability to open doors and turnstiles through A simple click of a button.

19:20.020 --> 19:34.940
Unfortunately, i cannot show You the actual pictures here, but effectively we were able to Use the command and control interface for the bms to walk Into an operations control center while one of us was Actually operating and controlling the doors and Turnstiles remotely.

19:37.320 --> 19:44.820
This slide shows an example of Basically spoofing ics traffic for a locomotive control system.

19:44.820 --> 19:53.800
The screen chart shows us plugging into an on-board Ethernet switch in the locomotive cab and manipulating the Speed sensor reading on the operator's screen.

19:53.940 --> 19:56.820
The train here obviously is not moving at any miles per hour.

19:57.040 --> 20:04.120
This is essentially the effect of spoofing canvas traffic to An existing binary on one of the ecus on the embedded network On the train.

20:06.140 --> 20:16.180
Last but not least, i have Here an example of using debug features to manipulate the input Output signals for a light rail vehicle control system.

20:16.220 --> 20:22.460
It's actually quite surprising how many times one might find a Debug console enabled in a production environment.

20:22.460 --> 20:28.000
And this can often be used to manipulate control signals and Input output signals beyond the intended.

20:28.000 --> 20:44.260
The screen shot there on the left basically shows us using a Vendor ide, which i'm not going to name, to basically connect to A live unit on an lrv and using force tables to override input Output signal tags for the vehicle control system.

20:44.360 --> 21:02.000
Again, unfortunately, i cannot show the video here, but Essentially we were able to access or gain access to an ip Based ethernet network on the lrv, connect to the vehicle Control ecu and override operator input for doors, throttle, Direction, and even emergency braking.

21:02.140 --> 21:19.700
If you've ever seen a movie where you see a hacker scribbling On a laptop trying to stop a train, this is exactly that, but Much worse, because we were actually able to control the Throttle, basically override the dead man switch, move the train And disable all and everything,

21:19.700 --> 21:21.440
every operator input.

21:23.380 --> 21:40.540
I think i've run through 25 minutes, so i realize that i Pretty much run through my slides, but i only have 30 Minutes, so i hope that i have been able to provide some Practical real-world experience or perspective on some common Attack vectors that an attacker might use to hack operational Technology.

21:40.860 --> 21:46.200
But if nothing else, i would Like to conclude with four key takeaways from my talk.

21:46.300 --> 21:57.100
It is possible to conduct offensive security testing for OT, but such testing should only be performed after careful Consideration of risks, hazards, controls, and preapproved rules Of engagement.

21:57.360 --> 22:04.900
Real-world OT attacks are Rarely single-step compromises and often involve a Multi -step attack life cycle covering multiple phases.

22:04.900 --> 22:11.240
It's relatively easier to cause a process disruption as Compared to process manipulation.

22:11.380 --> 22:22.640
Process disruption can often be Achieved through direct abuse of prebuilt features of the system, Whereas high-consequence manipulation often requires Prior reverse engineering and exploit development.

22:23.300 --> 22:38.220
Lastly, from a defender's perspective, it is important to Understand the ICS OT attack life cycle, develop preventive or Effective controls for known TTPs, and mitigate attack Vectors across different phases of the attack life cycle.

22:39.980 --> 22:40.540
Cool.

22:40.540 --> 22:41.040
That's it.

22:41.040 --> 22:42.800
That's all i have for you today.

22:43.140 --> 22:45.020
I realize it's 3 p.m.

22:45.460 --> 22:47.580
on saturday afternoon in vegas.

22:47.800 --> 22:50.240
So thanks, everybody, for joining in and listening in.

22:50.280 --> 22:58.240
If you have any questions, although i cannot see anybody Here, but if you have any questions, you can hit me up Face-to-face.

22:58.400 --> 23:04.040
If you want to reach out and Discuss in more detail, you can reach out to us over e-mail or LinkedIn.

