start	end	text
0	5000	Hi, everyone. It's really hard to see everyone
5880	9260	With this slide. So if you cannot hear me, just
9260	11420	Shout out, and I'll try to adjust the microphone.
11420	15520	Can everybody hear me? cool. Good afternoon, everyone.
15520	18740	My name is shishir, and I'm here to talk about red team and
18740	21280	Attack vectors for operation technology.
21520	25840	My objective here is to go beyond the hypothetical, and I'm
25840	29500	Here to talk about red team and attack vectors, a real-world
29500	31800	Example for some of our red team exercises for critical
31800	34540	Infrastructure. However, before I start, a quick
34540	36700	Disclaimer. Even though everything that I
36700	39280	Present here is based on real-world case studies, the
39280	42880	Content itself is highly redacted to remove any and all
42880	46760	Identifying information. Now, we're not here to talk
46760	49380	About it myself, but it's still customary to do a quick
49380	51360	Introduction. My name is shishir.
51360	53800	I'm a technical manager at mandiant slash google.
53920	57640	I'm part of a dedicated team at mandiant that specializes in
57640	59760	Security services for operational technology and
59760	63480	Control systems. Personally, I've been, I've had
63480	66620	More than 12 years of experience performing offensive security
66620	69920	Work for industrial control and cyber-physical systems.
69920	73420	And in that time, I have been fortunate to basically dabble
73420	76760	With almost every critical infrastructure sector on the
76760	81400	Planet, including power, transport, rail, air traffic
81400	85200	Control, manufacturing, waste water, telco, and even building
85200	89280	Management systems. Now, i believe everyone here
89280	92640	Would already understand what we mean by operational technology.
92640	96200	That said, i still wanted to take a minute and remind that
96200	99000	Operational technology basically deals with systems and
99000	102600	Platforms that are used to control and automate industrial
102600	106540	Scale physical processes. People often tend to silo o.t.
106540	109700	Into a specific sector or industry, but i'd like to
109700	113820	Remind that o.t. covers a wide range of infrastructure, and my
113820	117640	Talk here is industry agnostic. I'll be covering examples from
117640	119900	Different verticals, including power, utilities,
119900	123880	Transportation, manufacturing, and even telecommunications.
126460	129800	I would like, i would also like to call out that real world
129800	133180	Attack simulations against industrial networks do not
133180	137720	Involve just h.m.i.s or p.l.c.s, but in fact, involve the entire
137720	140760	Ecosystem, ranging from the enterprise network that supports
140760	144200	O.t. to level one devices that control the physical processes
144200	147020	In the field. One more disclaimer here,
147020	149140	Offensive security exercises, such as red teaming and
149140	152620	Penetration testing, essentially involve adversarial testing
152620	156000	Against cyber physical systems that can pretty much blow and
156000	158900	Burn. Thus, any kind of offensive
158900	162780	Security testing for o.t. should only be performed by trained
162780	166580	Individuals after careful consideration of scenarios,
166580	170160	Hazards, risks, and preapproved rules of control engagement.
171760	175240	Now, before we move into the crux of this talk and talk about
175240	178500	Attack vectors and case studies for o.t., i'd like to quickly
178500	181660	Touch upon one more topic, that is the i.c.s. o.t. attack
181660	184460	Life cycle. Most people in cyber are already
184460	188640	Aware of attack life cycles, but when we talk about hacking
188640	191900	O.t., people often tend to assume that we are talking about
191900	194760	Some cool exploit against an isolated i.c.s. or a control
194760	198180	System device, so i'd like to call out that there is a
198180	201560	Difference between hacking an individual control system and
201560	204470	Hacking a large-scale industrial o.t. operation.
204960	208350	Real-world o.t. attacks are rarely single-step compromises,
208760	212200	Often involve a multi-step attack life cycle covering
212200	216200	Multiple phases. From an attacker's perspective,
216200	219640	This typically translates to information gathering, perimeter
219640	223600	Breach, privilege escalation, internal reconnaissance, network
223600	227860	Propagation, and finally, a precise execution to achieve a
227860	230500	Predetermined objective in an o.t. environment.
230800	234060	The basic idea here is to obtain prior information about the
234060	237860	Target system, breach the perimeter of the o.t. environment,
237860	240480	Remain undetected while operating within the target
240480	244240	Environment, and then finally launch a precise attack to
244240	247500	Achieve the target objective. Consequently, if you think about
247500	249800	It from the defender's perspective, each phase of this
249800	252720	Attack life cycle presents an opportunity for detection and
252720	256020	Mitigation. Thus, it's important to understand the i.c.s. o.t.
256020	258900	Attack life cycle, identify security issues before an
258900	262000	Attacker has a chance to exploit them, develop preventive or
262000	265220	Detective controls for known TDPs, and mitigate attack
265220	268360	Vectors across multiple phases of the attack life cycle.
268720	271400	Now, I don't believe I have the time to go through each phase of
271400	273880	The attack life cycle in the next 20 minutes, so for the
273880	276520	Remaining session, I'd like to distill the life cycle into four
276520	281040	Key phases listed on the lower side of the slide here and walk
281040	283860	Through some real-world examples and case studies for common
283860	286360	Attack vectors across the four phases.
287820	290660	The first phase I'd like to cover is initial compromise.
290660	293660	As the name suggests, the objective of this phase is to
293660	296480	Gain an initial foothold in the target environment.
296600	299620	In most real-world scenarios, this typically translates to
299620	302960	Using a social engineering or spear phishing campaign to
302960	305400	Compromise the enterprise side of the organization.
305640	309300	In fact, the majority of the red team exercises for o.t. that we
309300	312520	Perform begin with some form of attempt to gain access or
312520	315080	Foothold on the corporate side of the network.
315200	318800	That said, the initial compromise phase could also entail
318800	322820	Other more direct attack vectors to gain a direct foothold in the
322820	326200	O.t. network. The list on the slide here lists
326200	328520	Some examples, like direct connection to i.c.s. on the
328520	330780	Internet, supply chain compromise, third-party
330780	334680	Compromise, hardware implants, and last but not the least,
334680	338180	Physical or wireless access to o.t. systems in the field.
338300	341440	Industrial environments often have a geographically dispersed
341440	344980	Field network, often connected using wireless networks, and
344980	348420	Thus present a large attack surface for attackers to gain
348420	352860	Direct access to o.t. devices. The simplest example of such a
352860	356200	System here would be residential smart meters in advanced
356200	359040	Metering infrastructure. So if an attacker, let's say,
359040	362440	Is able to gain or manipulate the communication traffic
362440	364780	Between the residential smart meter and a back office
364780	366900	Collector, they could potentially use that as an
366900	370800	Entry point into the back office, back-inherent system.
373910	376570	The first example I have here is for a communication-based
376570	379370	Train control system. In a c.b.d.c. network, on-board
379370	382070	E.c.u.s. in the train typically connect to the back office
382070	384950	Network through radio-based communication, such as wireless
384950	389210	Network or cellular network. In this specific case, we found
389210	392330	That a c.b.d.c. radio network was implemented using a hidden
392330	395450	But essentially open s.s.i.d., thus providing an
395450	398530	Unauthenticated access to the on-board embedded network on
398530	400390	The trains. The right side of the screen
400390	404250	Here shows us using the open wireless network to connect to
404250	408070	A v.n.c. session on one of the operator displays in the local
408070	410570	Cab. Insecure wireless networks are
410570	414030	Probably not as common as in the recent past, but we still find
414030	417370	Examples of unencrypted protocols or legacy encryption
417370	424080	In older networks. The next example I have here is
424080	426780	For an unprotected cellular network for a public transport
426780	429480	Operator. In this case, our team was able
429480	434080	To use an arbitrary personal sim to connect to the private a.p.n.
434080	437180	For the field network and gain direct access to traffic
437180	439740	Monitoring cameras across the metropolitan region.
439960	443580	To be clear, this is probably an exception and not the norm to
443580	447880	Have an unauthenticated private a.p.n., but such was the case
447880	451700	Here, and it does show an interesting example of an
451700	454560	Initial entry point into an o.t. environment through an
454560	459520	Insecure cellular network. The last example i have here for
459520	464600	Initial foothold is an initial compromise point into a telco
464600	467500	Network. Modern telco networks are
467500	470820	Essentially i.p. Based and involve an i.p. Based tunnel
470820	474680	Between the mobile device and a gateway node in the core network.
474700	477800	The gateway node forwards the traffic to the intended
477800	481360	Destination through a backbone network, and it's best practice
481360	487100	To basically have the gateway node allow only access to the
487100	490440	Intended networks and block any or all attempts to access the
490440	492600	Private nodes in the operator network.
492600	495760	However, in this case we found that we were able to actually
495760	499580	Use a commercial off the shop sim for the said operator to
500040	502500	Connect to the core nodes in the telco network.
502540	505500	Long story short, we were able to compromise the core nodes
505500	508600	Such as session border controller, intercept user
508600	511880	Traffic, including sms and voice call data.
512320	514660	Now, i realize it's probably not as obvious from a single
514660	517420	Screenshot here, but the picture here on the right-hand side
517420	521520	Shows us intercepting sms message from the traffic captured
521520	524460	On an sbc controller. Think about using your
524460	527420	Personal mobile phone as an entry point into your telco
527420	530400	Operator's network and compromising lawful interception
530400	533980	Across the national network. To be clear, this is also very
533980	537460	Rare, but still it does provide another interesting example of
537460	540140	An initial entry point into what is essentially an
540140	543640	Operational network. The next phase i'd like to
543640	547820	Cover is internal reconnaissance. The objective of this phase is
547820	550960	To leverage the foothold gained in the previous phase to
550960	553680	Extract specific information about the target system.
554120	556640	This is especially relevant in the context of initial
556640	559140	Compromise in the enterprise it environment.
559140	561960	The enterprise network is important not only from the
561960	565800	Perspective of itot network segmentation, but it is also
565800	568640	Important from the perspective of data segmentation.
568760	571640	A typical enterprise network often hosts multiple sources
571640	574440	That can provide an attacker with critical information about
574440	577280	The target asset. Some examples on the slide here
577280	581380	Include documentation, department of file shares, e-mail
581380	584780	Communications, development resources, management consoles
584780	587900	And even key logging and screen monitoring.
588060	590800	Some examples of target information that an attacker
590800	593720	Would typically like to retrieve at this phase of the exercise
593720	597160	Include network diagrams, host names, ip addresses, process
597580	601560	Documentation, operator manuals, and even potentially plain text
601560	605840	Credentials. This is probably the most boring
605840	608980	Stage of an attack life cycle from an attacker's perspective.
608980	612680	But in my experience, an attacker will spend the maximum
612680	616140	Time operating within this stage because the more information
616140	619420	That i can obtain at this stage, the higher my chances of
619420	622680	Success and precise execution in the subsequent stages.
624080	626180	Internal reconnaissance often comes down to strategic
626180	629440	Targeting information sources and key employees that are
629440	632060	Responsible for the administration and maintenance of
632060	635100	The ot environment. I realize that the screen shots
635100	638480	Here on the slide are highly redacted.
638480	640660	However, they still provide a snippet of the kind of
640660	643320	Information that an attacker might target during internal
643320	647400	Reconnaissance phase. Firewall rules, operation guides,
647400	649860	Department shares, plain text credentials, password managers
650340	653360	Are all critical information that are typically hosted in the
653360	655380	Enterprise side of the environment, but provide
655380	658320	Invaluable resources and information for attackers
658320	661300	Targeting ot networks. Now, from a defender's
661300	664520	Perspective, it is easy to underestimate the value of the
664520	667240	Information exfiltrated during this phase of the attack life
667240	670660	Cycle, and security teams, in my opinion, often ignore the
670660	674320	Importance of this phase from a detection perspective.
674320	678320	In fact, i would argue that this phase provides the maximum
678320	681960	Opportunity for detection. If i, as a defender, can flag
681960	684920	Indicators of compromise for internal reconnaissance in my
684920	687780	Enterprise environment, i could potentially detect an attacker
692080	695260	Before they even have a chance to reach the ot environment.
695620	698460	Now, i'm not going to go into specific case studies for this
698460	700820	Phase. Almost every exercise that we
700820	703420	Perform involves some kind of internal reconnaissance.
703420	707040	But i still wanted to cover some examples of target sources
707040	714210	And information sources. Moving on, initial compromise
714210	716130	Internal reconnaissance is often followed by network
716130	718730	Propagation. In the context of a typical attack
718730	721010	Life cycle, this often translates to network
721010	724190	Propagation from an initial foothold in the it network to
724190	726710	The target system in the ot network.
726810	729490	Now, i know that we all expect our ot systems to be completely
729490	732390	Isolated in air gap using nothing but space.
732390	735510	However, in practice, that is rarely the case for modern
735510	739250	Industrial environments. In an ideal world, i would
739250	742810	Probably love to see perfect segmentation using gateways.
743030	745530	However, the reality is that we still continue to find ot
745530	748230	Environments that lack basic segmentation.
748770	751490	Now, there are probably a million different ways to host
751490	753690	Segmentation. But some common examples of
753690	757190	Insecure segmentation between it and ot include lack of
757190	760090	Properly secure authentication for remote access, dual home
760090	763150	Servers with one leg in it, one leg in ot, shared active
763150	766370	Directory domains or domain trust between it and ot, and
766370	771510	Exploitable services in ot dmz. That said, the most fundamental
771510	774770	Issue around it ot segmentation is the use of shared
774770	777130	Infrastructure and management platforms.
777210	780210	A classic example of that would be a hypervisor server hosted
780210	783430	In the it environment which hosts guest machines for ot
783430	785790	Network. So potentially if i can
785790	788190	Compromise the hypervisor server in the it environment using
788190	791530	Active credentials, i could pretty much gain access to the
791530	795410	Ot consoles, thus bypassing the firewall rules between it and ot.
795490	798130	Like i said, unfortunately, it is very common to find both
798130	801770	Physical and logical flaws in segmentation between it and ot,
801770	805190	And such issues can often be used to propagate from the it
805190	806890	Network to the ot network.
811050	815430	This slide here shows an example of installing a key logger on
815430	819730	A compromised engineer desktop in the it network to basically
819730	823030	Obtain the single factor authentication credentials for a
823030	826830	Remote access point or a jump host server in the ot network.
826830	830710	The screen shot on the right-hand side here shows us
831490	834210	Basically connecting to a successful remote desktop
834210	838690	Connection to an hmi interface for a subway line or a subway
838690	846240	Overline. This is another interesting
846240	849420	Example of compromising remote access credentials in the
849420	852620	Corporate network. However, this time, through
852620	855680	Direct compromise of an enterprise password manager or
855680	858360	Enterprise password vault, which basically stored ot
858360	860540	Credentials. Enterprise password management
860540	863840	Systems often authenticate to corporate domain.
864080	866600	So if an attacker is able to compromise the password, say,
866600	870140	For example, engineering teams, the attacker could gain
870140	872460	Credentials for remote access to ot systems.
872840	875400	The screen shot on the right again here shows a successful
875400	879020	Remote desktop connection to an its server for a traffic
879020	881840	Control or a traffic light monitoring system.
883740	888420	This slide here shows an example of a segmentation flaw, like i
888420	890960	Said, using domain trust between it and ot.
891180	895580	It is probably not as clear from the screen shot that i have on
895580	900660	The slide here, but you will find that the it domain here is
900660	904380	Actually superseded as the root domain for ot domains across
904380	907980	Multiple dcs. The end result is that our team
907980	910760	Was basically able to use compromised credentials in the
910760	914360	Root it domain to gain access to child domains for multiple
914360	919980	Plants across the globe. Finally, this is a real world
919980	923700	Example of the issue of shared infrastructure between it and ot.
923700	928540	The virtualization platform on the left authenticates to an it
928540	933800	Domain, but hosts guest machines for both it and ot environments.
933800	936480	Our team was able to gain administrator access to the
936480	939580	Hypervisor management interface using credentials compromised
939580	944260	In the it domain and leverage the same to gain access to the
944260	947320	Local console on the guest virtual machines in the ot
947320	949980	Environment. The screen shot on the right
949980	953800	Hand side here shows an example of direct console access to the
953800	958220	Guest vm for a server in the ot network which hosts software
958220	961600	Updates for engineering workstations in the pc and plant
961600	966060	Network. The final attack phase i'd like
966060	968980	To cover is mission execution in ot.
969200	972140	As the name suggests, this is the phase where we are dealing
972140	976580	With core ot and the attacker will either attempt to leverage
976580	979860	The access that they've already obtained or launch a prebuilt
979860	982720	Exploit to achieve the final objective.
982940	986640	As you can imagine, the tactics and procedures that an attacker
986640	989960	Might use in this phase would highly depend on the specific ot
989960	993020	System in question and more importantly the attacker
993020	995820	Objective. So, for example, there are
995820	1001620	Attacker objectives that could potentially be achieved through
1001620	1006340	Direct access and direct control of an hmi or simply abusing the
1006340	1008920	Built-in features of the target system.
1009580	1012920	While there are some other attack vectors or attacker
1012920	1016220	Objectives which might require manipulation of the control
1016220	1019780	Logic and input output signals on the lower level embedded
1019780	1022220	Systems. To be honest, i think we could
1022220	1025320	Spend an entire session talking about attack vectors for mission
1025320	1029060	Execution in ot, but some common examples include remote command
1029060	1031760	Execution through hmi interface, manipulation of configuration
1031760	1035780	Data for a remote terminal or a plc, spoof communication for an
1035780	1039580	Ics protocol, and last but not the least, a prebuilt exploit to
1039580	1042920	Manipulate the process control logic or the process memory and
1042920	1045300	Embedded controller in the ot network.
1045880	1050180	As a general term of rule, it is relatively easier to cause
1050180	1054200	Process disruption as compared to process manipulation.
1054200	1058020	Ics systems are built with redundancy, safety, risks and
1058020	1062940	Hazards in mind, and thus high consequence manipulation often
1062940	1065760	Requires prior reverse engineering and exploit
1065760	1068300	Development. Some common examples of security
1068300	1072140	Issues that we typically find while assessing and building
1072140	1076240	Exploits for embedded ics systems include unsecured
1077020	1081520	Firmware updates, unpopulated interfaces, hidden back doors,
1081520	1084440	Shared ssh keys between different customers, obviously
1084440	1088380	Buffer overflows, and then leftover debug functions from
1088380	1091060	Development and testing that have carried over to the
1091060	1095960	Production systems. Here i would like to once more
1095960	1098500	Stress that we are essentially dealing with cyber physical
1098500	1102120	Systems, and thus any kind of offensive security testing
1102120	1105900	For low-level ics devices should only be performed in a
1105900	1108960	Non-production or a laboratory environment under controlled
1108960	1114240	Conditions. The first example i have here is
1114240	1119640	For a red team exercise for a power utility with advanced
1119640	1123360	Featuring infrastructure. This shows an example of simply
1123360	1128040	Using an hmi command to achieve the final objective, that is,
1128040	1129800	Remote disconnect of a target smart meter at a specific
1130440	1132740	Location. A team was effectively able to
1132740	1135660	Breach the external perimeter, gain remote access to the
1135660	1138500	Command and control interface for the head end system, and
1138500	1140820	Initiate remote disconnect command for the end point
1140820	1145780	Mirrors. This slide is another example of
1145780	1148340	Mission execution through direct control of hmi.
1148340	1152060	A team was able to gain remote access to the physical access
1152060	1155040	Control interface for a building management system, thus
1155040	1158200	Obtaining the ability to open doors and turnstiles through
1158200	1161440	A simple click of a button. Unfortunately, i cannot show
1161440	1164760	You the actual pictures here, but effectively we were able to
1164760	1168040	Use the command and control interface for the bms to walk
1168040	1171120	Into an operations control center while one of us was
1171120	1173140	Actually operating and controlling the doors and
1173140	1180220	Turnstiles remotely. This slide shows an example of
1180220	1184820	Basically spoofing ics traffic for a locomotive control system.
1184820	1187160	The screen chart shows us plugging into an on-board
1187160	1190080	Ethernet switch in the locomotive cab and manipulating the
1190080	1193800	Speed sensor reading on the operator's screen.
1193940	1196820	The train here obviously is not moving at any miles per hour.
1197040	1200020	This is essentially the effect of spoofing canvas traffic to
1200020	1203200	An existing binary on one of the ecus on the embedded network
1203200	1208360	On the train. Last but not least, i have
1208360	1212800	Here an example of using debug features to manipulate the input
1212800	1216180	Output signals for a light rail vehicle control system.
1216220	1220160	It's actually quite surprising how many times one might find a
1220160	1222820	Debug console enabled in a production environment.
1222820	1225700	And this can often be used to manipulate control signals and
1225700	1228600	Input output signals beyond the intended.
1228600	1231660	The screen shot there on the left basically shows us using a
1231660	1236020	Vendor ide, which i'm not going to name, to basically connect to
1236460	1240520	A live unit on an lrv and using force tables to override input
1240520	1244260	Output signal tags for the vehicle control system.
1244360	1247280	Again, unfortunately, i cannot show the video here, but
1247280	1251040	Essentially we were able to access or gain access to an ip
1251040	1254500	Based ethernet network on the lrv, connect to the vehicle
1254500	1259760	Control ecu and override operator input for doors, throttle,
1259760	1262000	Direction, and even emergency braking.
1262140	1266000	If you've ever seen a movie where you see a hacker scribbling
1266000	1269440	On a laptop trying to stop a train, this is exactly that, but
1269440	1273140	Much worse, because we were actually able to control the
1273140	1277640	Throttle, basically override the dead man switch, move the train
1277640	1281440	And disable all and everything, every operator input.
1283380	1287000	I think i've run through 25 minutes, so i realize that i
1287000	1289460	Pretty much run through my slides, but i only have 30
1289460	1293180	Minutes, so i hope that i have been able to provide some
1293180	1296900	Practical real-world experience or perspective on some common
1296900	1299580	Attack vectors that an attacker might use to hack operational
1299580	1302640	Technology. But if nothing else, i would
1302640	1306200	Like to conclude with four key takeaways from my talk.
1306300	1308620	It is possible to conduct offensive security testing for
1308620	1312020	OT, but such testing should only be performed after careful
1312020	1316160	Consideration of risks, hazards, controls, and preapproved rules
1316160	1318860	Of engagement. Real-world OT attacks are
1318860	1322040	Rarely single-step compromises and often involve a
1322040	1324900	Multi-step attack life cycle covering multiple phases.
1324900	1329160	It's relatively easier to cause a process disruption as
1329160	1332640	Compared to process manipulation. Process disruption can often be
1332640	1336640	Achieved through direct abuse of prebuilt features of the system,
1336640	1339780	Whereas high-consequence manipulation often requires
1339780	1342640	Prior reverse engineering and exploit development.
1343300	1347100	Lastly, from a defender's perspective, it is important to
1347100	1350940	Understand the ICS OT attack life cycle, develop preventive or
1350940	1354380	Effective controls for known TTPs, and mitigate attack
1354380	1358220	Vectors across different phases of the attack life cycle.
1359980	1362800	Cool. That's it. That's all i have for you today.
1363140	1367580	I realize it's 3 p.m. on saturday afternoon in vegas.
1367800	1370240	So thanks, everybody, for joining in and listening in.
1370280	1373240	If you have any questions, although i cannot see anybody
1373240	1377040	Here, but if you have any questions, you can hit me up
1377040	1379480	Face-to-face. If you want to reach out and
1379480	1383580	Discuss in more detail, you can reach out to us over e-mail or
1383580	1384040	LinkedIn.
