[00:00.000 --> 00:05.000] Hi, everyone. It's really hard to see everyone [00:05.880 --> 00:09.260] With this slide. So if you cannot hear me, just [00:09.260 --> 00:11.420] Shout out, and I'll try to adjust the microphone. [00:11.420 --> 00:15.520] Can everybody hear me? cool. Good afternoon, everyone. [00:15.520 --> 00:18.740] My name is shishir, and I'm here to talk about red team and [00:18.740 --> 00:21.280] Attack vectors for operation technology. [00:21.520 --> 00:25.840] My objective here is to go beyond the hypothetical, and I'm [00:25.840 --> 00:29.500] Here to talk about red team and attack vectors, a real-world [00:29.500 --> 00:31.800] Example for some of our red team exercises for critical [00:31.800 --> 00:34.540] Infrastructure. However, before I start, a quick [00:34.540 --> 00:36.700] Disclaimer. Even though everything that I [00:36.700 --> 00:39.280] Present here is based on real-world case studies, the [00:39.280 --> 00:42.880] Content itself is highly redacted to remove any and all [00:42.880 --> 00:46.760] Identifying information. Now, we're not here to talk [00:46.760 --> 00:49.380] About it myself, but it's still customary to do a quick [00:49.380 --> 00:51.360] Introduction. My name is shishir. [00:51.360 --> 00:53.800] I'm a technical manager at mandiant slash google. [00:53.920 --> 00:57.640] I'm part of a dedicated team at mandiant that specializes in [00:57.640 --> 00:59.760] Security services for operational technology and [00:59.760 --> 01:03.480] Control systems. Personally, I've been, I've had [01:03.480 --> 01:06.620] More than 12 years of experience performing offensive security [01:06.620 --> 01:09.920] Work for industrial control and cyber-physical systems. [01:09.920 --> 01:13.420] And in that time, I have been fortunate to basically dabble [01:13.420 --> 01:16.760] With almost every critical infrastructure sector on the [01:16.760 --> 01:21.400] Planet, including power, transport, rail, air traffic [01:21.400 --> 01:25.200] Control, manufacturing, waste water, telco, and even building [01:25.200 --> 01:29.280] Management systems. Now, i believe everyone here [01:29.280 --> 01:32.640] Would already understand what we mean by operational technology. [01:32.640 --> 01:36.200] That said, i still wanted to take a minute and remind that [01:36.200 --> 01:39.000] Operational technology basically deals with systems and [01:39.000 --> 01:42.600] Platforms that are used to control and automate industrial [01:42.600 --> 01:46.540] Scale physical processes. People often tend to silo o.t. [01:46.540 --> 01:49.700] Into a specific sector or industry, but i'd like to [01:49.700 --> 01:53.820] Remind that o.t. covers a wide range of infrastructure, and my [01:53.820 --> 01:57.640] Talk here is industry agnostic. I'll be covering examples from [01:57.640 --> 01:59.900] Different verticals, including power, utilities, [01:59.900 --> 02:03.880] Transportation, manufacturing, and even telecommunications. [02:06.460 --> 02:09.800] I would like, i would also like to call out that real world [02:09.800 --> 02:13.180] Attack simulations against industrial networks do not [02:13.180 --> 02:17.720] Involve just h.m.i.s or p.l.c.s, but in fact, involve the entire [02:17.720 --> 02:20.760] Ecosystem, ranging from the enterprise network that supports [02:20.760 --> 02:24.200] O.t. to level one devices that control the physical processes [02:24.200 --> 02:27.020] In the field. One more disclaimer here, [02:27.020 --> 02:29.140] Offensive security exercises, such as red teaming and [02:29.140 --> 02:32.620] Penetration testing, essentially involve adversarial testing [02:32.620 --> 02:36.000] Against cyber physical systems that can pretty much blow and [02:36.000 --> 02:38.900] Burn. Thus, any kind of offensive [02:38.900 --> 02:42.780] Security testing for o.t. should only be performed by trained [02:42.780 --> 02:46.580] Individuals after careful consideration of scenarios, [02:46.580 --> 02:50.160] Hazards, risks, and preapproved rules of control engagement. [02:51.760 --> 02:55.240] Now, before we move into the crux of this talk and talk about [02:55.240 --> 02:58.500] Attack vectors and case studies for o.t., i'd like to quickly [02:58.500 --> 03:01.660] Touch upon one more topic, that is the i.c.s. o.t. attack [03:01.660 --> 03:04.460] Life cycle. Most people in cyber are already [03:04.460 --> 03:08.640] Aware of attack life cycles, but when we talk about hacking [03:08.640 --> 03:11.900] O.t., people often tend to assume that we are talking about [03:11.900 --> 03:14.760] Some cool exploit against an isolated i.c.s. or a control [03:14.760 --> 03:18.180] System device, so i'd like to call out that there is a [03:18.180 --> 03:21.560] Difference between hacking an individual control system and [03:21.560 --> 03:24.470] Hacking a large-scale industrial o.t. operation. [03:24.960 --> 03:28.350] Real-world o.t. attacks are rarely single-step compromises, [03:28.760 --> 03:32.200] Often involve a multi-step attack life cycle covering [03:32.200 --> 03:36.200] Multiple phases. From an attacker's perspective, [03:36.200 --> 03:39.640] This typically translates to information gathering, perimeter [03:39.640 --> 03:43.600] Breach, privilege escalation, internal reconnaissance, network [03:43.600 --> 03:47.860] Propagation, and finally, a precise execution to achieve a [03:47.860 --> 03:50.500] Predetermined objective in an o.t. environment. [03:50.800 --> 03:54.060] The basic idea here is to obtain prior information about the [03:54.060 --> 03:57.860] Target system, breach the perimeter of the o.t. environment, [03:57.860 --> 04:00.480] Remain undetected while operating within the target [04:00.480 --> 04:04.240] Environment, and then finally launch a precise attack to [04:04.240 --> 04:07.500] Achieve the target objective. Consequently, if you think about [04:07.500 --> 04:09.800] It from the defender's perspective, each phase of this [04:09.800 --> 04:12.720] Attack life cycle presents an opportunity for detection and [04:12.720 --> 04:16.020] Mitigation. Thus, it's important to understand the i.c.s. o.t. [04:16.020 --> 04:18.900] Attack life cycle, identify security issues before an [04:18.900 --> 04:22.000] Attacker has a chance to exploit them, develop preventive or [04:22.000 --> 04:25.220] Detective controls for known TDPs, and mitigate attack [04:25.220 --> 04:28.360] Vectors across multiple phases of the attack life cycle. [04:28.720 --> 04:31.400] Now, I don't believe I have the time to go through each phase of [04:31.400 --> 04:33.880] The attack life cycle in the next 20 minutes, so for the [04:33.880 --> 04:36.520] Remaining session, I'd like to distill the life cycle into four [04:36.520 --> 04:41.040] Key phases listed on the lower side of the slide here and walk [04:41.040 --> 04:43.860] Through some real-world examples and case studies for common [04:43.860 --> 04:46.360] 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:53.660] As the name suggests, the objective of this phase is to [04:53.660 --> 04:56.480] Gain an initial foothold in the target environment. [04:56.600 --> 04:59.620] In most real-world scenarios, this typically translates to [04:59.620 --> 05:02.960] Using a social engineering or spear phishing campaign to [05:02.960 --> 05:05.400] Compromise the enterprise side of the organization. [05:05.640 --> 05:09.300] In fact, the majority of the red team exercises for o.t. that we [05:09.300 --> 05:12.520] Perform begin with some form of attempt to gain access or [05:12.520 --> 05:15.080] Foothold on the corporate side of the network. [05:15.200 --> 05:18.800] That said, the initial compromise phase could also entail [05:18.800 --> 05:22.820] Other more direct attack vectors to gain a direct foothold in the [05:22.820 --> 05:26.200] O.t. network. The list on the slide here lists [05:26.200 --> 05:28.520] Some examples, like direct connection to i.c.s. on the [05:28.520 --> 05:30.780] Internet, supply chain compromise, third-party [05:30.780 --> 05:34.680] Compromise, hardware implants, and last but not the least, [05:34.680 --> 05:38.180] Physical or wireless access to o.t. systems in the field. [05:38.300 --> 05:41.440] Industrial environments often have a geographically dispersed [05:41.440 --> 05:44.980] Field network, often connected using wireless networks, and [05:44.980 --> 05:48.420] Thus present a large attack surface for attackers to gain [05:48.420 --> 05:52.860] Direct access to o.t. devices. The simplest example of such a [05:52.860 --> 05:56.200] System here would be residential smart meters in advanced [05:56.200 --> 05:59.040] Metering infrastructure. So if an attacker, let's say, [05:59.040 --> 06:02.440] Is able to gain or manipulate the communication traffic [06:02.440 --> 06:04.780] Between the residential smart meter and a back office [06:04.780 --> 06:06.900] Collector, they could potentially use that as an [06:06.900 --> 06:10.800] Entry point into the back office, back-inherent system. [06:13.910 --> 06:16.570] The first example I have here is for a communication-based [06:16.570 --> 06:19.370] Train control system. In a c.b.d.c. network, on-board [06:19.370 --> 06:22.070] E.c.u.s. in the train typically connect to the back office [06:22.070 --> 06:24.950] Network through radio-based communication, such as wireless [06:24.950 --> 06:29.210] Network or cellular network. In this specific case, we found [06:29.210 --> 06:32.330] That a c.b.d.c. radio network was implemented using a hidden [06:32.330 --> 06:35.450] But essentially open s.s.i.d., thus providing an [06:35.450 --> 06:38.530] Unauthenticated access to the on-board embedded network on [06:38.530 --> 06:40.390] The trains. The right side of the screen [06:40.390 --> 06:44.250] Here shows us using the open wireless network to connect to [06:44.250 --> 06:48.070] A v.n.c. session on one of the operator displays in the local [06:48.070 --> 06:50.570] Cab. Insecure wireless networks are [06:50.570 --> 06:54.030] Probably not as common as in the recent past, but we still find [06:54.030 --> 06:57.370] Examples of unencrypted protocols or legacy encryption [06:57.370 --> 07:04.080] In older networks. The next example I have here is [07:04.080 --> 07:06.780] For an unprotected cellular network for a public transport [07:06.780 --> 07:09.480] Operator. In this case, our team was able [07:09.480 --> 07:14.080] To use an arbitrary personal sim to connect to the private a.p.n. [07:14.080 --> 07:17.180] For the field network and gain direct access to traffic [07:17.180 --> 07:19.740] Monitoring cameras across the metropolitan region. [07:19.960 --> 07:23.580] To be clear, this is probably an exception and not the norm to [07:23.580 --> 07:27.880] Have an unauthenticated private a.p.n., but such was the case [07:27.880 --> 07:31.700] Here, and it does show an interesting example of an [07:31.700 --> 07:34.560] Initial entry point into an o.t. environment through an [07:34.560 --> 07:39.520] Insecure cellular network. The last example i have here for [07:39.520 --> 07:44.600] Initial foothold is an initial compromise point into a telco [07:44.600 --> 07:47.500] Network. Modern telco networks are [07:47.500 --> 07:50.820] Essentially i.p. Based and involve an i.p. Based tunnel [07:50.820 --> 07:54.680] Between the mobile device and a gateway node in the core network. [07:54.700 --> 07:57.800] The gateway node forwards the traffic to the intended [07:57.800 --> 08:01.360] Destination through a backbone network, and it's best practice [08:01.360 --> 08:07.100] To basically have the gateway node allow only access to the [08:07.100 --> 08:10.440] Intended networks and block any or all attempts to access the [08:10.440 --> 08:12.600] Private nodes in the operator network. [08:12.600 --> 08:15.760] However, in this case we found that we were able to actually [08:15.760 --> 08:19.580] Use a commercial off the shop sim for the said operator to [08:20.040 --> 08:22.500] Connect to the core nodes in the telco network. [08:22.540 --> 08:25.500] Long story short, we were able to compromise the core nodes [08:25.500 --> 08:28.600] Such as session border controller, intercept user [08:28.600 --> 08:31.880] Traffic, including sms and voice call data. [08:32.320 --> 08:34.660] Now, i realize it's probably not as obvious from a single [08:34.660 --> 08:37.420] Screenshot here, but the picture here on the right-hand side [08:37.420 --> 08:41.520] Shows us intercepting sms message from the traffic captured [08:41.520 --> 08:44.460] On an sbc controller. Think about using your [08:44.460 --> 08:47.420] Personal mobile phone as an entry point into your telco [08:47.420 --> 08:50.400] Operator's network and compromising lawful interception [08:50.400 --> 08:53.980] Across the national network. To be clear, this is also very [08:53.980 --> 08:57.460] Rare, but still it does provide another interesting example of [08:57.460 --> 09:00.140] An initial entry point into what is essentially an [09:00.140 --> 09:03.640] Operational network. The next phase i'd like to [09:03.640 --> 09:07.820] Cover is internal reconnaissance. The objective of this phase is [09:07.820 --> 09:10.960] To leverage the foothold gained in the previous phase to [09:10.960 --> 09:13.680] Extract specific information about the target system. [09:14.120 --> 09:16.640] This is especially relevant in the context of initial [09:16.640 --> 09:19.140] Compromise in the enterprise it environment. [09:19.140 --> 09:21.960] The enterprise network is important not only from the [09:21.960 --> 09:25.800] Perspective of itot network segmentation, but it is also [09:25.800 --> 09:28.640] Important from the perspective of data segmentation. [09:28.760 --> 09:31.640] A typical enterprise network often hosts multiple sources [09:31.640 --> 09:34.440] That can provide an attacker with critical information about [09:34.440 --> 09:37.280] The target asset. Some examples on the slide here [09:37.280 --> 09:41.380] Include documentation, department of file shares, e-mail [09:41.380 --> 09:44.780] Communications, development resources, management consoles [09:44.780 --> 09:47.900] And even key logging and screen monitoring. [09:48.060 --> 09:50.800] Some examples of target information that an attacker [09:50.800 --> 09:53.720] Would typically like to retrieve at this phase of the exercise [09:53.720 --> 09:57.160] Include network diagrams, host names, ip addresses, process [09:57.580 --> 10:01.560] Documentation, operator manuals, and even potentially plain text [10:01.560 --> 10:05.840] Credentials. This is probably the most boring [10:05.840 --> 10:08.980] Stage of an attack life cycle from an attacker's perspective. [10:08.980 --> 10:12.680] But in my experience, an attacker will spend the maximum [10:12.680 --> 10:16.140] Time operating within this stage because the more information [10:16.140 --> 10:19.420] That i can obtain at this stage, the higher my chances of [10:19.420 --> 10:22.680] Success and precise execution in the subsequent stages. [10:24.080 --> 10:26.180] Internal reconnaissance often comes down to strategic [10:26.180 --> 10:29.440] Targeting information sources and key employees that are [10:29.440 --> 10:32.060] Responsible for the administration and maintenance of [10:32.060 --> 10:35.100] The ot environment. I realize that the screen shots [10:35.100 --> 10:38.480] Here on the slide are highly redacted. [10:38.480 --> 10:40.660] However, they still provide a snippet of the kind of [10:40.660 --> 10:43.320] Information that an attacker might target during internal [10:43.320 --> 10:47.400] Reconnaissance phase. Firewall rules, operation guides, [10:47.400 --> 10:49.860] Department shares, plain text credentials, password managers [10:50.340 --> 10:53.360] Are all critical information that are typically hosted in the [10:53.360 --> 10:55.380] Enterprise side of the environment, but provide [10:55.380 --> 10:58.320] Invaluable resources and information for attackers [10:58.320 --> 11:01.300] Targeting ot networks. Now, from a defender's [11:01.300 --> 11:04.520] Perspective, it is easy to underestimate the value of the [11:04.520 --> 11:07.240] Information exfiltrated during this phase of the attack life [11:07.240 --> 11:10.660] Cycle, and security teams, in my opinion, often ignore the [11:10.660 --> 11:14.320] Importance of this phase from a detection perspective. [11:14.320 --> 11:18.320] In fact, i would argue that this phase provides the maximum [11:18.320 --> 11:21.960] Opportunity for detection. If i, as a defender, can flag [11:21.960 --> 11:24.920] Indicators of compromise for internal reconnaissance in my [11:24.920 --> 11:27.780] 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:38.460] Now, i'm not going to go into specific case studies for this [11:38.460 --> 11:40.820] Phase. Almost every exercise that we [11:40.820 --> 11:43.420] Perform involves some kind of internal reconnaissance. [11:43.420 --> 11:47.040] But i still wanted to cover some examples of target sources [11:47.040 --> 11:54.210] And information sources. Moving on, initial compromise [11:54.210 --> 11:56.130] Internal reconnaissance is often followed by network [11:56.130 --> 11:58.730] Propagation. In the context of a typical attack [11:58.730 --> 12:01.010] Life cycle, this often translates to network [12:01.010 --> 12:04.190] Propagation from an initial foothold in the it network to [12:04.190 --> 12:06.710] The target system in the ot network. [12:06.810 --> 12:09.490] Now, i know that we all expect our ot systems to be completely [12:09.490 --> 12:12.390] Isolated in air gap using nothing but space. [12:12.390 --> 12:15.510] However, in practice, that is rarely the case for modern [12:15.510 --> 12:19.250] Industrial environments. In an ideal world, i would [12:19.250 --> 12:22.810] Probably love to see perfect segmentation using gateways. [12:23.030 --> 12:25.530] However, the reality is that we still continue to find ot [12:25.530 --> 12:28.230] Environments that lack basic segmentation. [12:28.770 --> 12:31.490] Now, there are probably a million different ways to host [12:31.490 --> 12:33.690] Segmentation. But some common examples of [12:33.690 --> 12:37.190] Insecure segmentation between it and ot include lack of [12:37.190 --> 12:40.090] Properly secure authentication for remote access, dual home [12:40.090 --> 12:43.150] Servers with one leg in it, one leg in ot, shared active [12:43.150 --> 12:46.370] Directory domains or domain trust between it and ot, and [12:46.370 --> 12:51.510] Exploitable services in ot dmz. That said, the most fundamental [12:51.510 --> 12:54.770] Issue around it ot segmentation is the use of shared [12:54.770 --> 12:57.130] Infrastructure and management platforms. [12:57.210 --> 13:00.210] A classic example of that would be a hypervisor server hosted [13:00.210 --> 13:03.430] In the it environment which hosts guest machines for ot [13:03.430 --> 13:05.790] Network. So potentially if i can [13:05.790 --> 13:08.190] Compromise the hypervisor server in the it environment using [13:08.190 --> 13:11.530] Active credentials, i could pretty much gain access to the [13:11.530 --> 13:15.410] Ot consoles, thus bypassing the firewall rules between it and ot. [13:15.490 --> 13:18.130] Like i said, unfortunately, it is very common to find both [13:18.130 --> 13:21.770] Physical and logical flaws in segmentation between it and ot, [13:21.770 --> 13:25.190] And such issues can often be used to propagate from the it [13:25.190 --> 13:26.890] Network to the ot network. [13:31.050 --> 13:35.430] This slide here shows an example of installing a key logger on [13:35.430 --> 13:39.730] A compromised engineer desktop in the it network to basically [13:39.730 --> 13:43.030] Obtain the single factor authentication credentials for a [13:43.030 --> 13:46.830] Remote access point or a jump host server in the ot network. [13:46.830 --> 13:50.710] The screen shot on the right-hand side here shows us [13:51.490 --> 13:54.210] Basically connecting to a successful remote desktop [13:54.210 --> 13:58.690] Connection to an hmi interface for a subway line or a subway [13:58.690 --> 14:06.240] Overline. This is another interesting [14:06.240 --> 14:09.420] Example of compromising remote access credentials in the [14:09.420 --> 14:12.620] Corporate network. However, this time, through [14:12.620 --> 14:15.680] Direct compromise of an enterprise password manager or [14:15.680 --> 14:18.360] Enterprise password vault, which basically stored ot [14:18.360 --> 14:20.540] Credentials. Enterprise password management [14:20.540 --> 14:23.840] Systems often authenticate to corporate domain. [14:24.080 --> 14:26.600] So if an attacker is able to compromise the password, say, [14:26.600 --> 14:30.140] For example, engineering teams, the attacker could gain [14:30.140 --> 14:32.460] Credentials for remote access to ot systems. [14:32.840 --> 14:35.400] The screen shot on the right again here shows a successful [14:35.400 --> 14:39.020] Remote desktop connection to an its server for a traffic [14:39.020 --> 14:41.840] Control or a traffic light monitoring system. [14:43.740 --> 14:48.420] This slide here shows an example of a segmentation flaw, like i [14:48.420 --> 14:50.960] Said, using domain trust between it and ot. [14:51.180 --> 14:55.580] It is probably not as clear from the screen shot that i have on [14:55.580 --> 15:00.660] The slide here, but you will find that the it domain here is [15:00.660 --> 15:04.380] Actually superseded as the root domain for ot domains across [15:04.380 --> 15:07.980] Multiple dcs. The end result is that our team [15:07.980 --> 15:10.760] Was basically able to use compromised credentials in the [15:10.760 --> 15:14.360] Root it domain to gain access to child domains for multiple [15:14.360 --> 15:19.980] Plants across the globe. Finally, this is a real world [15:19.980 --> 15:23.700] Example of the issue of shared infrastructure between it and ot. [15:23.700 --> 15:28.540] The virtualization platform on the left authenticates to an it [15:28.540 --> 15:33.800] Domain, but hosts guest machines for both it and ot environments. [15:33.800 --> 15:36.480] Our team was able to gain administrator access to the [15:36.480 --> 15:39.580] Hypervisor management interface using credentials compromised [15:39.580 --> 15:44.260] In the it domain and leverage the same to gain access to the [15:44.260 --> 15:47.320] Local console on the guest virtual machines in the ot [15:47.320 --> 15:49.980] Environment. The screen shot on the right [15:49.980 --> 15:53.800] Hand side here shows an example of direct console access to the [15:53.800 --> 15:58.220] Guest vm for a server in the ot network which hosts software [15:58.220 --> 16:01.600] Updates for engineering workstations in the pc and plant [16:01.600 --> 16:06.060] Network. The final attack phase i'd like [16:06.060 --> 16:08.980] To cover is mission execution in ot. [16:09.200 --> 16:12.140] As the name suggests, this is the phase where we are dealing [16:12.140 --> 16:16.580] With core ot and the attacker will either attempt to leverage [16:16.580 --> 16:19.860] The access that they've already obtained or launch a prebuilt [16:19.860 --> 16:22.720] Exploit to achieve the final objective. [16:22.940 --> 16:26.640] As you can imagine, the tactics and procedures that an attacker [16:26.640 --> 16:29.960] Might use in this phase would highly depend on the specific ot [16:29.960 --> 16:33.020] System in question and more importantly the attacker [16:33.020 --> 16:35.820] Objective. So, for example, there are [16:35.820 --> 16:41.620] Attacker objectives that could potentially be achieved through [16:41.620 --> 16:46.340] Direct access and direct control of an hmi or simply abusing the [16:46.340 --> 16:48.920] Built-in features of the target system. [16:49.580 --> 16:52.920] While there are some other attack vectors or attacker [16:52.920 --> 16:56.220] Objectives which might require manipulation of the control [16:56.220 --> 16:59.780] Logic and input output signals on the lower level embedded [16:59.780 --> 17:02.220] Systems. To be honest, i think we could [17:02.220 --> 17:05.320] Spend an entire session talking about attack vectors for mission [17:05.320 --> 17:09.060] Execution in ot, but some common examples include remote command [17:09.060 --> 17:11.760] Execution through hmi interface, manipulation of configuration [17:11.760 --> 17:15.780] Data for a remote terminal or a plc, spoof communication for an [17:15.780 --> 17:19.580] Ics protocol, and last but not the least, a prebuilt exploit to [17:19.580 --> 17:22.920] Manipulate the process control logic or the process memory and [17:22.920 --> 17:25.300] Embedded controller in the ot network. [17:25.880 --> 17:30.180] As a general term of rule, it is relatively easier to cause [17:30.180 --> 17:34.200] Process disruption as compared to process manipulation. [17:34.200 --> 17:38.020] Ics systems are built with redundancy, safety, risks and [17:38.020 --> 17:42.940] Hazards in mind, and thus high consequence manipulation often [17:42.940 --> 17:45.760] Requires prior reverse engineering and exploit [17:45.760 --> 17:48.300] Development. Some common examples of security [17:48.300 --> 17:52.140] Issues that we typically find while assessing and building [17:52.140 --> 17:56.240] Exploits for embedded ics systems include unsecured [17:57.020 --> 18:01.520] Firmware updates, unpopulated interfaces, hidden back doors, [18:01.520 --> 18:04.440] Shared ssh keys between different customers, obviously [18:04.440 --> 18:08.380] Buffer overflows, and then leftover debug functions from [18:08.380 --> 18:11.060] Development and testing that have carried over to the [18:11.060 --> 18:15.960] Production systems. Here i would like to once more [18:15.960 --> 18:18.500] Stress that we are essentially dealing with cyber physical [18:18.500 --> 18:22.120] Systems, and thus any kind of offensive security testing [18:22.120 --> 18:25.900] For low-level ics devices should only be performed in a [18:25.900 --> 18:28.960] Non-production or a laboratory environment under controlled [18:28.960 --> 18:34.240] Conditions. The first example i have here is [18:34.240 --> 18:39.640] For a red team exercise for a power utility with advanced [18:39.640 --> 18:43.360] Featuring infrastructure. This shows an example of simply [18:43.360 --> 18:48.040] Using an hmi command to achieve the final objective, that is, [18:48.040 --> 18:49.800] Remote disconnect of a target smart meter at a specific [18:50.440 --> 18:52.740] Location. A team was effectively able to [18:52.740 --> 18:55.660] Breach the external perimeter, gain remote access to the [18:55.660 --> 18:58.500] Command and control interface for the head end system, and [18:58.500 --> 19:00.820] Initiate remote disconnect command for the end point [19:00.820 --> 19:05.780] Mirrors. This slide is another example of [19:05.780 --> 19:08.340] Mission execution through direct control of hmi. [19:08.340 --> 19:12.060] A team was able to gain remote access to the physical access [19:12.060 --> 19:15.040] Control interface for a building management system, thus [19:15.040 --> 19:18.200] Obtaining the ability to open doors and turnstiles through [19:18.200 --> 19:21.440] A simple click of a button. Unfortunately, i cannot show [19:21.440 --> 19:24.760] You the actual pictures here, but effectively we were able to [19:24.760 --> 19:28.040] Use the command and control interface for the bms to walk [19:28.040 --> 19:31.120] Into an operations control center while one of us was [19:31.120 --> 19:33.140] Actually operating and controlling the doors and [19:33.140 --> 19:40.220] Turnstiles remotely. This slide shows an example of [19:40.220 --> 19:44.820] Basically spoofing ics traffic for a locomotive control system. [19:44.820 --> 19:47.160] The screen chart shows us plugging into an on-board [19:47.160 --> 19:50.080] Ethernet switch in the locomotive cab and manipulating the [19:50.080 --> 19:53.800] 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:00.020] This is essentially the effect of spoofing canvas traffic to [20:00.020 --> 20:03.200] An existing binary on one of the ecus on the embedded network [20:03.200 --> 20:08.360] On the train. Last but not least, i have [20:08.360 --> 20:12.800] Here an example of using debug features to manipulate the input [20:12.800 --> 20:16.180] Output signals for a light rail vehicle control system. [20:16.220 --> 20:20.160] It's actually quite surprising how many times one might find a [20:20.160 --> 20:22.820] Debug console enabled in a production environment. [20:22.820 --> 20:25.700] And this can often be used to manipulate control signals and [20:25.700 --> 20:28.600] Input output signals beyond the intended. [20:28.600 --> 20:31.660] The screen shot there on the left basically shows us using a [20:31.660 --> 20:36.020] Vendor ide, which i'm not going to name, to basically connect to [20:36.460 --> 20:40.520] A live unit on an lrv and using force tables to override input [20:40.520 --> 20:44.260] Output signal tags for the vehicle control system. [20:44.360 --> 20:47.280] Again, unfortunately, i cannot show the video here, but [20:47.280 --> 20:51.040] Essentially we were able to access or gain access to an ip [20:51.040 --> 20:54.500] Based ethernet network on the lrv, connect to the vehicle [20:54.500 --> 20:59.760] Control ecu and override operator input for doors, throttle, [20:59.760 --> 21:02.000] Direction, and even emergency braking. [21:02.140 --> 21:06.000] If you've ever seen a movie where you see a hacker scribbling [21:06.000 --> 21:09.440] On a laptop trying to stop a train, this is exactly that, but [21:09.440 --> 21:13.140] Much worse, because we were actually able to control the [21:13.140 --> 21:17.640] Throttle, basically override the dead man switch, move the train [21:17.640 --> 21:21.440] And disable all and everything, every operator input. [21:23.380 --> 21:27.000] I think i've run through 25 minutes, so i realize that i [21:27.000 --> 21:29.460] Pretty much run through my slides, but i only have 30 [21:29.460 --> 21:33.180] Minutes, so i hope that i have been able to provide some [21:33.180 --> 21:36.900] Practical real-world experience or perspective on some common [21:36.900 --> 21:39.580] Attack vectors that an attacker might use to hack operational [21:39.580 --> 21:42.640] Technology. But if nothing else, i would [21:42.640 --> 21:46.200] Like to conclude with four key takeaways from my talk. [21:46.300 --> 21:48.620] It is possible to conduct offensive security testing for [21:48.620 --> 21:52.020] OT, but such testing should only be performed after careful [21:52.020 --> 21:56.160] Consideration of risks, hazards, controls, and preapproved rules [21:56.160 --> 21:58.860] Of engagement. Real-world OT attacks are [21:58.860 --> 22:02.040] Rarely single-step compromises and often involve a [22:02.040 --> 22:04.900] Multi-step attack life cycle covering multiple phases. [22:04.900 --> 22:09.160] It's relatively easier to cause a process disruption as [22:09.160 --> 22:12.640] Compared to process manipulation. Process disruption can often be [22:12.640 --> 22:16.640] Achieved through direct abuse of prebuilt features of the system, [22:16.640 --> 22:19.780] Whereas high-consequence manipulation often requires [22:19.780 --> 22:22.640] Prior reverse engineering and exploit development. [22:23.300 --> 22:27.100] Lastly, from a defender's perspective, it is important to [22:27.100 --> 22:30.940] Understand the ICS OT attack life cycle, develop preventive or [22:30.940 --> 22:34.380] Effective controls for known TTPs, and mitigate attack [22:34.380 --> 22:38.220] Vectors across different phases of the attack life cycle. [22:39.980 --> 22:42.800] Cool. That's it. That's all i have for you today. [22:43.140 --> 22:47.580] I realize it's 3 p.m. on saturday afternoon in vegas. [22:47.800 --> 22:50.240] So thanks, everybody, for joining in and listening in. [22:50.280 --> 22:53.240] If you have any questions, although i cannot see anybody [22:53.240 --> 22:57.040] Here, but if you have any questions, you can hit me up [22:57.040 --> 22:59.480] Face-to-face. If you want to reach out and [22:59.480 --> 23:03.580] Discuss in more detail, you can reach out to us over e-mail or [23:03.580 --> 23:04.040] LinkedIn.