Latest / Cybersecurity Under Pressure. Real Attacks, Real Lessons / Railway Patch Management: When an Update Stops the Network
Transcript
- 0:48Welcome to cybersecurity, under pressure, real attacks, real
- 0:52lessons. Today is Wednesday, June 24th,
- 0:562026. Wow, you can't make this up.
- 0:59Well, you could, but nobody would believe you.
- 1:01Today we're taking a deep dive into the absolute nightmare that
- 1:05is OT security remote access, specifically in the railway
- 1:10sector. Nightmare is well, it's one of
- 1:13the most technically generous term we could use today.
- 1:16Honestly, yeah. Oh, absolutely.
- 1:18Look, if people actually understood how close we are to
- 1:20the edge on a daily basis, well, they'd probably just start
- 1:22taking the. Bus right?
- 1:23Right. And look, if you're listening to
- 1:25this deep dive, you already know the basics.
- 1:27You know the threat landscape is evolving, You know what a flat
- 1:30network is, and you probably have at least a morbid curiosity
- 1:33about how fragile our critical infrastructure truly is.
- 1:36Morbid is definitely the right word.
- 1:38So our mission today, and I'm speaking directly to you, the
- 1:41listener, is to unpack a massive stack of incredibly dense
- 1:45engineering and cybersecurity standards.
- 1:48Dense is putting it mildly. Seriously.
- 1:49Specifically, we're tearing in the Synalek TS-5 or Seven O 1
- 1:54and IEC 62443, and we are going to translate these rigid, highly
- 2:00theoretical frameworks into the terrifying, fascinating reality
- 2:04of how trains are actually kept safe from adversaries.
- 2:07And I think we need to set the baseline reality right from the
- 2:10jump here. Go for it.
- 2:11When we talk about securing operational technology,
- 2:13especially rail, we are not talking about Hollywood
- 2:16scenarios. There is no guy in a dark room
- 2:19furiously typing on 6 monitors to, you know, bypass a glowing
- 2:23red firewall and derail a locomotive.
- 2:25Right, no matrix code raining down.
- 2:26Exactly. The reality is so much Dumber,
- 2:29and frankly, that makes it exponentially harder to defend
- 2:32against. Because you can't predict it.
- 2:33Right. We aren't just trying to stop an
- 2:35elite APT group from a hostile nation state.
- 2:37I mean, yes, we do that, but the everyday threat, we're trying to
- 2:40stop our own mid level maintenance worker from plugging
- 2:43a $50 commercial wireless dongle into a critical Control Board.
- 2:47Just because he didn't feel like walking out into the rain to
- 2:49check a diagnostic log. Precisely.
- 2:52It's human nature. So we are fighting human
- 2:54convenience just as much as we're fighting malicious code.
- 2:58Which actually brings us to the first major issue we pulled from
- 3:01the source material. The geography problem.
- 3:03Yes, the physical geography of railway infrastructure and how
- 3:06it completely obliterates any traditional concept of an IT
- 3:10perimeter because, well, in enterprise IT or even in a
- 3:14manufacturing OT environment, your perimeter is literal,
- 3:17right? It's a concrete box.
- 3:19Correct. You secure a car factory.
- 3:21You have 4 walls. Your robotics, your scatter
- 3:24systems, your PLCS. They are physically contained.
- 3:27You put guards at the doors, badge readers on the turnstiles,
- 3:30maybe a massive next Gen. firewall at your single Internet
- 3:33gateway. You build a castle.
- 3:35But a National Rail network? Your perimeter isn't a wall.
- 3:39Your perimeter is 5000 miles of exposed copper fiber and
- 3:42trackside boxes stretching across mountain ranges, deep
- 3:45urban subway tunnels, and desolate rural plains.
- 3:48You literally have zero physical control over the environment.
- 3:52Zero. And out in that vast sprawl you
- 3:54have these things called signaling houses.
- 3:57The source material focuses heavily on them as a primary
- 3:59vector. Yes, signaling houses.
- 4:01I mean, a signaling house is basically an unassuming concrete
- 4:04or metal shed sitting out in the middle of nowhere.
- 4:07Like next to a cornfield? Yeah, maybe next to a level
- 4:10crossing in a cornfield or bolted to the wall of a damp
- 4:15underground tunnel. Inside that shed is your
- 4:18critical safety equipment. Stuff like interlocking
- 4:20controller. Interlocking controllers, track
- 4:23circuit monitors, communication relays.
- 4:25It is both a physical access point and a highly sensitive
- 4:29digital entry point into the backbone of the railway network.
- 4:33But historically, the defense for these places was just the
- 4:36legendary air gap, right? Pure isolation.
- 4:39Right. The idea was that because these
- 4:41systems weren't hardwired to the Internet, they were untouchable.
- 4:43Makes sense? True in theory.
- 4:45Tack it. An attacker would physically
- 4:47have to break the padlock on the shed, walk inside and plug a
- 4:50laptop directly into the serial port of a 20 year old
- 4:53controller. Which honestly sounds pretty
- 4:55robust until you factor in the operational realities of
- 4:58maintaining a network that massive.
- 5:00Precisely. Enter the maintenance crews.
- 5:04These are the guys responsible for keeping the trains moving
- 5:07and they have punishing SL as service level agreements.
- 5:11So if a fault light goes off in a remote signaling house that is
- 5:15say A5 hour drive from the regional depot and there's a
- 5:17Blizzard outside. Oh man, I can see exactly where
- 5:20this is going. It's just human nature, a
- 5:21maintenance engineer who is probably brilliant at mechanical
- 5:25systems but completely unaware of modern cyber threat
- 5:28landscapes. He says to himself.
- 5:30I am not driving 500 miles round trip just to pull a plain text
- 5:35diagnostic log ever again. Yeah, you can't blame him.
- 5:37You really can't. So what does he do the next time
- 5:41he's out there? He brings a cheap commercial 4G
- 5:44or 5G cellular modem. He quietly wires it into the
- 5:48diagnostic port of the trackside Ethernet switch, sets up an
- 5:51unencrypted remote desktop connection, and goes home.
- 5:55And he doesn't tell anyone. Never.
- 5:57He definitely doesn't log a ticket with the CIO sitting in a
- 5:59glass tower back in the Capitol. So now we have what the industry
- 6:03calls shadow OT. Shadow OT just saying the phrase
- 6:06makes my blood pressure spike. I bet the moment that $50
- 6:10consumer modem boots up and connects to the public cellular
- 6:13network, the entire multi $1,000,000 air gap collapses.
- 6:17All your enterprise firewalls, your intrusion detection
- 6:20systems, your SoC completely bypassed.
- 6:23Wait, so we spend millions building a digital digital
- 6:25fortress and the drawbridge is essentially lowered by our own
- 6:28guy who just wanted to save gas money?
- 6:31That is exactly what happens. Physical convenience Trump's
- 6:34cybersecurity every single time. And because we all know the
- 6:38nightmare of legacy flat networks, the implications here
- 6:41are catastrophic. I mean, listeners know that
- 6:43without micro segmentation, East West traffic is essentially a
- 6:47free for all. If I'm an attacker and I pop a
- 6:50weak lobby Wi-Fi in a corporate network, modern zero trust
- 6:53architecture usually stops me from pivoting into the HR
- 6:56database. But in a rail OT environment.
- 6:59There is no internal segmentation.
- 7:01You have to remember the era these systems were designed in.
- 7:04Legacy OT systems were built on the fundamental assumption of
- 7:07absolute inherent trust. Meaning if you're in, you're
- 7:10trusted. Right.
- 7:12If a device is on the wire, it is assumed to be a trusted piece
- 7:16of safety equipment. There's no authentication header
- 7:19on a Modbus TCP packet, it just executes the command.
- 7:23So if that maintenance worker's cheap 4G modem gets scanned on
- 7:28Show Dan and compromised by an automated botnet, the attacker
- 7:33doesn't just get to see a diagnostic log.
- 7:35No, no, They are sitting on a flat, unsegmented network that
- 7:39connects directly to the interlocking systems.
- 7:42They are on the backbone from that compromised cellular
- 7:44router. They can theoretically and in
- 7:47many legacy architectures, practically jump straight to the
- 7:49radio block center. And since the radio block center
- 7:52communicates with the onboard train control and management
- 7:55system. The PCMS, yes, you have a
- 7:57potential unfiltered pathway right to the train's dynamic
- 8:00braking system. All because a guy didn't want to
- 8:03drive in the snow. You know, it's wild to think
- 8:05about. I'm just thinking about how
- 8:06often we bypass security in our own daily lives just for a tiny
- 8:10fraction of convenience. All the time.
- 8:12Reusing a password across three accounts.
- 8:14We're disabling MFA on a trusted device because we're tired of
- 8:17checking our phones. It's the exact same
- 8:19psychological impulse. It is, but the blast radius is
- 8:23slightly different. Fairpoint.
- 8:24If you reuse a password, maybe your credit card gets cloned.
- 8:27In the railway sector, bypassing security for convenience
- 8:31translates to kinetic physical disaster.
- 8:35You have thousands of tons of steel moving at 300 kilometers
- 8:37an hour, carrying hundreds of passengers.
- 8:40The gap between convenience and derailment is terrifyingly
- 8:43narrow. Which naturally leads to the
- 8:46most infuriating question for any IT security professional
- 8:49listening. If you know these rogue modems
- 8:51are out there, why not just scan the network, find the
- 8:54unauthorized MA addresses, and shut them down?
- 8:57But the source material specifically and repeatedly
- 9:00warns against active probing. It highlights this absolute
- 9:03philosophical war between traditional IT security and OT
- 9:07engineering. Oh, it's a war.
- 9:08It is a holy war and the two sides speak completely mutually
- 9:11unintelligible languages. Let's look at the foundational
- 9:14frameworks. In traditional IT security, the
- 9:17entire universe revolves around the CIA triad.
- 9:21Confidentiality, integrity, availability.
- 9:24In that exact order. Right.
- 9:26If there is a suspected breach, it's immediate reflexive
- 9:30response is to protect the confidentiality of the data.
- 9:33You sever the connection, you lock out the users, you take the
- 9:36server offline. Right, but if you take an OT
- 9:39system offline trains. Simple as that.
- 9:42Simple as that. OT engineers, the people
- 9:44actually managing the physical physics of the railway, will
- 9:48aggressively counter your CIA triad with Rams reliability,
- 9:52availability, maintainability and safety.
- 9:55Notice what's missing? Confidentiality doesn't even
- 9:57make the list. They literally don't care if
- 9:59someone reads the data. Not even a little bit.
- 10:01An OT engineer doesn't care if a hacker intercepts the telemetry
- 10:04data of a track switch. Because it's just telemetry.
- 10:07Right. They care that the switch
- 10:08physically moves when it is mathematically scheduled to move
- 10:12every single time without a millisecond of deviation.
- 10:16Safety and reliability are paramount.
- 10:18If an IT guy shuts down the network to quote UN quote
- 10:21protect IT, they've just violated the OT core requirement
- 10:25availability. So what actually happens when an
- 10:27overzealous IT security team decides they want to secure the
- 10:31railway network using their standard enterprise tools?
- 10:34Say a new CI. So comes in and says hey, we're
- 10:36going to run and map across the whole subnet to find these rogue
- 10:39modems. Absolute, unmitigated disaster.
- 10:42Tell me the source documents detail this beautifully.
- 10:44We call it active probing in an enterprise IT environment.
- 10:47You run a vulnerability scan, you ping an IP address, you
- 10:50check for open ports, and the server just replies here I am
- 10:53and goes about its business. The TCPI IP stack on a modern
- 10:56server can handle millions of concurrent connections.
- 10:59But the TCT IP stack on a legacy programmable logic controller.
- 11:02Is virtually non existent. We are talking about legacy
- 11:06serial to IP converters and communication protocols like
- 11:09Prophibus running on PLCS that have microprocessors from 1998.
- 11:131998. Yeah, these devices are designed
- 11:16to do 1 highly specific mathematical control loop over
- 11:21and over again deterministically.
- 11:23They have incredibly tiny memory buffer.
- 11:25Right, so the networking stack on those old chips just isn't
- 11:28built to handle malformed packets or active probes or
- 11:31rapid connection requests. Exactly.
- 11:33When the IT vulnerability scanner hits that legacy PLC
- 11:37with a barrage of active SYN requests, the PLCS networking
- 11:41stack simply cannot process the unexpected traffic.
- 11:44The buffer instantly overflows, the processor spikes to 100%
- 11:49utilization, and the device goes into what we call a freeze in
- 11:52state failure. It essentially has a digital
- 11:55panic attack and completely locks up.
- 11:57It drops the control loop entirely, and in a safety
- 11:59critical system, a frozen controller means the system
- 12:02doesn't know where the train is anymore.
- 12:04The feel safe protocol kicks in and the system halts everything.
- 12:07It's like trying. To change the tires on a car
- 12:09while it's driving at 100 miles an hour on the highway, Pretty
- 12:11much you're trying to inject modern disruptive security
- 12:14controls into a kinetic process that physically, physically
- 12:17cannot pause for even a microsecond.
- 12:19That's a great way to look at it, and it's not just scanning
- 12:22the source material. Highlights another massive
- 12:24systemic issue, latency. Right latency.
- 12:27Let's say IT decides, OK, no scanning, but we are going to
- 12:30put a standard next Gen. firewall in line between the
- 12:34trackside equipment and the central control room to block
- 12:37unauthorized remote access. Makes sense on paper.
- 12:40On paper, in the IT world, if a firewall introduces A200
- 12:44millisecond latency spike while it performs deep packet
- 12:47inspection on a payload, nobody cares. 200 milliseconds is a
- 12:52minor, completely unnoticeable lag on a zoom call or, you know,
- 12:56loading a cloud application. But in the European train
- 12:58control system. In ETCS, timing is literally
- 13:02life or death. The system relies on continuous
- 13:05real time communication between the train and the radio block
- 13:08center. If that new inline firewall
- 13:10delays an ETCS packet by 200 milliseconds, the train's
- 13:13onboard computer registers a loss of continuous communication
- 13:17the track. And let me guess, the train
- 13:19doesn't just buffer and wait for the connection to re establish?
- 13:21No, it enters a fail safe mode. It triggers the emergency
- 13:25brakes, pneumatic air valves open, pressure drops, and the
- 13:28train clamps down over a 200 millisecond packet delay.
- 13:32Unbelievable. So traditional IT security is
- 13:35like a doctor trying to cure a patient's mild cough with a
- 13:39medicine that accidentally stops their heart.
- 13:41Exactly. Your IT security control
- 13:43designed to keep the train safe just caused a fully loaded
- 13:46passenger train to dump its air brakes and violently skid to a
- 13:50halt in the middle of the main line.
- 13:51You've stranded passengers, disrupted the entire regional
- 13:54timetable and created a massive physical hazard, all in the name
- 13:58of cybersecurity. It's unbelievable and it's
- 14:01compounded by what the documents referred to as the 30 year
- 14:03problem, the patching paradox. The bane of my existence.
- 14:06Oh yeah, an IT server has a life cycle of maybe three to five
- 14:10years before it's decommissioned and replaced a railway
- 14:13interlocking system. The complex logic that ensures 2
- 14:16trains can literally never be routed onto the same track
- 14:19segment at the same time has a life cycle of 30 to 40 years.
- 14:23It is rigorously mathematically tested, certified by an
- 14:27independent safety assessment board, and then permanently
- 14:30locked down. I want to read a specific quote
- 14:32from our research on this because it really crystallizes
- 14:34the insanity of the situation. Quote.
- 14:38Install a security update on a critical interlocking system
- 14:41without CAB approval and you don't just avoid a
- 14:43certification, you risk triggering a mechanical response
- 14:47on live tracks that the safety case never anticipated.
- 14:50The patch closes ACVE it opens a hazard.
- 14:54End Quote. That is the crux of the entire
- 14:57ITOT conflict right there. A CVE is a common
- 15:00vulnerabilities and exposures logging a known software bug.
- 15:03IT demands you patch it immediately.
- 15:05CISA might even legally mandate that you catch it within 14 days
- 15:09if it's a known exploited vulnerability.
- 15:11Right, but legally from the OT side, how do they square that?
- 15:15If you change the code, you invalidate the safety
- 15:17certification you do. You no longer mathematically
- 15:20know for a fact how that system will behave under stress.
- 15:23The Safety Board signed off on version one, point O.
- 15:26If you push version 1.1 over the air to fix a remote execution
- 15:30bug, you are operating an uncertified, technically illegal
- 15:33safety system. That is a massive catch 22.
- 15:36It is OT. Engineers will fight tooth and
- 15:38nail against IT patching mandates because an unpatched
- 15:41system is vulnerable to a hacker.
- 15:43But a patch system is essentially uncertified,
- 15:46unpredictable, and potentially lethal.
- 15:48So we have geographic sprawl, rogue shadow modems, flat
- 15:52networks, devices that crash if you scan them, firewalls that
- 15:55trigger emergency brakes, and systems that you are legally
- 15:57forbidden to patch. Sounds fine, right?
- 15:59Which begs the question, is this just a theoretical academic
- 16:03exercise? Are adversaries actually
- 16:05exploiting the specific friction?
- 16:07I wish it were just an academic debate.
- 16:09It is not. The threat landscape we're
- 16:12reviewing here proves this is happening right now.
- 16:14You've pulled 3 case studies from the sources that highlight
- 16:17completely different vectors of this exact vulnerability.
- 16:20Let's start with Denmark late 2022.
- 16:22Right late 2022, trains across the entire country of Denmark
- 16:26were suddenly halted for hours. Complete nationwide systemic
- 16:30disruption. But the terrifying part is how
- 16:32it happened. It wasn't a direct attack on the
- 16:35trains, tracks, the signaling houses or the physical OT
- 16:38network. Then what forced the stop?
- 16:40They attacked an IT subcontractor, specifically a
- 16:43software vendor named Suvani that provided a testing
- 16:46environment for a train dispatching application.
- 16:50The subcontractor suffered a cyber attack and to contain the
- 16:53blast radius, they isolated and shut down their servers.
- 16:56But wait, why did the physical trains stop if the tracks
- 16:59weren't hacked? If it's just a dispatching app
- 17:01in a third party cloud. Because of the deep operational
- 17:04dependencies of modern rail architecture under systems like
- 17:07ETMS Level 2, dispatching schedules and safety protocols
- 17:10are completely interlocked. The train drivers rely on
- 17:13cryptographic token validation and real time updates pushed to
- 17:16their tablets from those servers.
- 17:19When the Suvani subcontractor went down, it wasn't just
- 17:22servers off, it meant the dispatchers lost visibility and
- 17:26control of mathematical safety margins between trains.
- 17:29If you can't guarantee the safety margin, the rule is you
- 17:32halt the train. So this perfectly illustrates
- 17:35the massive vulnerability of third party remote access and
- 17:38supply chain concentration risk. You can spend a billion dollars
- 17:42securing your physical rail network with data diodes and
- 17:45armed guards, but if the cloud vendor who supplies your
- 17:48operational diagnostic software gets hit with ransomware, you
- 17:51are still completely dead in the water.
- 17:53Exactly. You are outsourcing your
- 17:55availability risk to a vendor who might be prioritizing their
- 17:58own data confidentiality over your physical uptime.
- 18:02OK, let's look at a completely different director.
- 18:04Poland 2023. This is the one that actually
- 18:06gave me chills when I read the report because it bypasses the
- 18:09IP network entirely. We are worried about elite cyber
- 18:11syndicates and a couple of guys with off the shelf walkie
- 18:14talkies brought 20 trains to a screeching halt.
- 18:17This is the one that keeps OT engineers awake at night.
- 18:21Saboteurs didn't use sophisticated IP hacking.
- 18:24They didn't breach a firewall. They didn't fish a password.
- 18:28They used cheap analog radios. That is just nuts.
- 18:31They tuned into the unencrypted VHF radio frequencies used by
- 18:35the Polish railway network and broadcast unauthorized radio
- 18:38stop signals. Detail the mechanics of that.
- 18:41A radio stop signal is just an emergency command sent over open
- 18:44airwaves. Yes, it's a legacy analog safety
- 18:47feature. In an emergency, if there's an
- 18:50obstruction on the track, a train driver or a dispatcher can
- 18:53broadcast a specific sequence of three audio tones over the VHF
- 18:57radio. Just three tones.
- 18:58Just three tones. Any train receiver in a 10
- 19:01kilometer radius that hears those 3 tones will automatically
- 19:04instantly trigger its emergency brakes.
- 19:06And it's unauthenticated by design, right?
- 19:08Because in an emergency, you don't have time for a digital
- 19:10handshake. Exactly.
- 19:12You can't wait for a cryptographic key exchange when
- 19:14you're about to hit a derailed freight car.
- 19:17The attackers exploited the safety first design.
- 19:20They recorded those 3 tones and just played them back over the
- 19:22airwaves using off the shelf walkie talkies.
- 19:25Imagine you're the driver. You're doing 120 kilometers an
- 19:28hour at night. The cab is quiet.
- 19:31Suddenly 3 analog tones blast over the radio.
- 19:34Boop, beep, boop. And before you can even touch
- 19:36the console, the main brake pipe vents to the atmosphere.
- 19:40The entire train violently shutters.
- 19:42Sparks fly off the wheels and you're skidding in the dark.
- 19:45And you look at the dispatch board and there's no
- 19:47construction, just ghost signals.
- 19:50Over 20 trains halted massive cascading disruption and it
- 19:54bypassed all the multi $1,000,000 IT network defenses
- 19:58entirely. It didn't matter how good your
- 20:00next Gen. firewalls were or if you had zero trust implemented
- 20:03on your corporate laptops because the attack came to the
- 20:05airwaves on an analog frequency from the 1970s.
- 20:09It perfectly highlights how mixing old, unencrypted kinetic
- 20:12technology with modern infrastructure creates a
- 20:15massive, glaring blind spot. Secure the digital front door
- 20:18with biometric retina standards and they just walk right through
- 20:21the analog screen door in the back.
- 20:23Exactly. And for our third example, let's
- 20:26look at the SFMTA attack in San Francisco in 2016.
- 20:30This is a classic IT incident, laterally cascading into an OT
- 20:35operational nightmare. Ransomware infected the
- 20:38Municipal Transport Agency's IT network.
- 20:41I remember reading about this one.
- 20:43Right now it didn't breach the OT systems controlling the
- 20:46trains. The trains could still safely
- 20:47drive, but it laterally moved into and disabled the ticketing
- 20:51and fare collection servers. The screens on the ticket
- 20:53machines just showed a ransom note, right?
- 20:56And they had to leave the physical fare gates open for
- 20:58days. Right.
- 20:59And they didn't leave them open just out of generosity.
- 21:02If the Farrah capes are locked and thousands of commuters are
- 21:05pouring into a subterranean station during rush hour, you
- 21:08create a massive physical crush hazard.
- 21:10People can't get to the platforms, the stairs back up
- 21:13and you have a life safety situation.
- 21:14That makes sense. To prevent that physical safety
- 21:16hazard, they had to force open the fare gates and let everyone
- 21:20ride for free. It's a perfect example of how a
- 21:22purely digital IT ransomware event rapidly translates into
- 21:27physical operational degradation and massive revenue loss.
- 21:31So just sit with this chilling thought for a moment.
- 21:34What are critical infrastructure relies on opaque global multi
- 21:38tier supply chains and mixed era technologies.
- 21:42How do you even know who has remote access to your systems?
- 21:45The software vendor in another country?
- 21:47The manufacturer of the legacy radio system?
- 21:50The guy who installed the ticketing server.
- 21:52The terrifying answer is usually you don't.
- 21:54You simply don't know all your dependencies.
- 21:56And that is exactly why the industry realized they couldn't
- 21:59just keep patching holes, They needed a radical new
- 22:01mathematical way of managing this risk.
- 22:04All right, let's pivot to the solution, because otherwise this
- 22:06is just a very depressing hour of horror stories.
- 22:08If patching is illegal because it voids safety certs and the
- 22:11perimeter is 5000 miles of open countryside, what is the
- 22:14industry actually doing? This is where the Cinelec TS5O O
- 22:17seven O 1 standard comes into play.
- 22:20DS5771. This technical specification is
- 22:24currently the absolute gold standard for railway
- 22:27cybersecurity. What makes it brilliant isn't
- 22:30that it invents some magical new security hardware.
- 22:32OK, then what is it? It's brilliant because it
- 22:34mathematically and procedurally forces cybersecurity directly
- 22:38into the existing functional safety life cycle, which is
- 22:41governed by an older standard called EN 50126.
- 22:44Unpack that for us. How does it actually work in
- 22:47practice? First, it completely stops
- 22:49treating the railway as one giant unmanageable monolith.
- 22:52You don't try to secure the railway.
- 22:54TS5O7 der one forces engineers to define very specific zones,
- 22:58called the CC or system under consideration.
- 23:00So you break the element down into manageable chunks.
- 23:03Exactly. You define the onboard zone,
- 23:05which is the physical train itself, the train control and
- 23:07management system, the passenger Wi-Fi.
- 23:09Then you define the trackside zone, the interlockings, the
- 23:11bells is on the track, the radio block centers, and finally the
- 23:14central zone, the scatter systems, the traffic management
- 23:17systems back at headquarters. OK, so once you've logically
- 23:20zoned it out, how do you fix the cultural and legal conflict
- 23:24between the 25 year old IT SoC analyst who wants to patch
- 23:27everything and the 60 year old railway safety engineer who
- 23:31refuses to let them touch it? You force them into a room
- 23:33together to do what's called safety, Security, Co
- 23:36engineering. This is the entire beating heart
- 23:39of TS-10 at 7:01. Sounds intense.
- 23:42Oh it is. Historically, the safety
- 23:44engineer would do a system hazard analysis for SHA to
- 23:47figure out what could mechanically cause the train to
- 23:50crash, like a brake pad wearing out or relay failing.
- 23:53They use things like fault tree analysis, right?
- 23:55Calculating the probability of a mechanical failure based on wear
- 23:58and tear physics. Exactly and completely
- 24:00separately in another building, the security guy would do a
- 24:03threat analysis and risk assessment or Tara to figure out
- 24:06what could be hacked, calculating likelihood times
- 24:09impact. And the mathematical models
- 24:11never overlapped. I mean, how do you integrate a
- 24:13cyber threat vector, which is a deterministic intelligent action
- 24:17by a hacker into a purely mechanical folk tree?
- 24:20It used to be impossible. Co engineering forces you to
- 24:23mathematically weave the SHA into the Terra using a unified
- 24:27matrix. The ultimate unbreakable rule
- 24:31that TS5O7O1 establishes is this.
- 24:34A security control must never violate a safety invariant.
- 24:38Give me a concrete example of a safety invariant interacting
- 24:41with the security control. OK, a safety invariant is a hard
- 24:43mathematical rule, like if trackside communication is lost
- 24:47for more than two seconds, the train must immediately apply the
- 24:50emergency brake. So if the IT security team
- 24:52proposes adding a heavy encryption layer to the
- 24:55trackside communication to stop spoofing, they have to
- 24:58mathematically prove in the Terra that the cryptographic
- 25:00processing time will never, under any CPU load, exceed that
- 25:04A2 second safety invariant. Because if the encryption takes
- 25:072.1 seconds to process, the safety logic assumes the
- 25:10connection is dead and stops the train.
- 25:12Right. So if they can't prove it
- 25:13mathematically, the security control is outright rejected.
- 25:16Safety always, always wins. That makes total sense on a
- 25:19systemic level, but what about the remote access problem?
- 25:22What about the maintenance guy with the 4G modem?
- 25:25Or the cloud vendor who needs to pull diagnostic logs.
- 25:29TS5O7O1 lays down brutal guardrails for vendor remote
- 25:33access, specifically targeting predictive maintenance
- 25:35pipelines. The standard dictates that any
- 25:38vendor remote access can no longer be a persistent always
- 25:41open backdoor. It mandates 4 strict conditions.
- 25:45Access must be requested, logged, time limited and require
- 25:49multi factor authentication. So instead of letting vendors
- 25:52just leave an unmonitored backdoor open for 30 years, we
- 25:55are forcing them into a digital prenup where they have to
- 25:58explicitly ask permission every single time they want to look at
- 26:00the engine data. Digital prenup.
- 26:02I like that. Yes, the vendor has to call the
- 26:05central control room, request a maintenance window, authenticate
- 26:08with MFA, and after exactly, say, 60 minutes, the
- 26:11cryptographic session token expires and the connection is
- 26:14forcefully severed by the firewall.
- 26:16That is a massive improvement. And what about protecting the
- 26:19genuine air gap from the flat network issue?
- 26:22If a hacker does compromise the passenger Wi-Fi on the onboard
- 26:25zone, how do we physically stop them from traversing the network
- 26:29and reaching the brakes? Hardware solutions, specifically
- 26:32the standard, heavily leans on the use of unidirectional data
- 26:35diodes. I love the concept of data
- 26:38diodes. Explain how physical physics
- 26:40solves a software routing problem.
- 26:41It's beautiful in its absolute simplicity.
- 26:44A data diode is a physical piece of hardware placed between two
- 26:47network zones, say the highly secure OT braking network and
- 26:52the less secure passenger Wi-Fi network.
- 26:55Inside the diode, the connection isn't copper wire, it's a fiber
- 26:59optic cable. On the secure side there's only
- 27:02an optical transmitter, A gallium arsenide laser that
- 27:05sends light pulses. On the insecure side, there is
- 27:08only an optical receiver of photocell that receives light.
- 27:11So data can physically, fundamentally only travel in One
- 27:14Direction. Precisely.
- 27:16The secure network can broadcast diagnostic telemetry data out to
- 27:20the monitoring servers on the insecure side, but because there
- 27:23is literally physically no laser on the insecure side to send
- 27:27light back, it is mathematically impossible for a hacker on the
- 27:30passenger Wi-Fi to send a malicious command in.
- 27:33You can't hack the laws of physics.
- 27:35Exactly. You can't hack a light.
- 27:37It allows the OT network to export data for predictive
- 27:40maintenance while maintaining a true physical air gap.
- 27:43Wait. Hold.
- 27:43On I love the physical physics of it.
- 27:44You can't hack light, but operationally, let's think about
- 27:47this. If data only flows one way out
- 27:50of the secure zone, how the hell does the central control room
- 27:53send an emergency stop command in if they see a catastrophic
- 27:56failure on the telemetry? Doesn't a physical diode break
- 27:59bi directional safety controls? You need the TCP handshake just
- 28:03to confirm receipt of the data. That is exactly the multi
- 28:06$1,000,000 architectural headache that engineers fight
- 28:09over. You're right, TCP requires a bi
- 28:12directional handshake, so a diode breaks standard TCP
- 28:15traffic. To fix the network protocol
- 28:17issue you have to use UDP proxies on both sides of the
- 28:20diode to basically spoof the handshake and blind fire the
- 28:24packets across the light gap. And for the safety controls?
- 28:27For the safety controls you have to completely decouple
- 28:30monitoring from actuation. The diode is only used for
- 28:33exporting non critical telemetry and logs to the IT network.
- 28:37Actual bi directional control pathways, the signals that move
- 28:41switches and stop trains use strict dedicated hard lines with
- 28:45deterministic cryptographic key exchanges that are completely
- 28:48segregated from the IT or vendor networks.
- 28:51You never wrote safety commands to the same interface that
- 28:53handles predictive maintenance logs.
- 28:55OK, that clarifies it. It's a massive architectural
- 28:57separation. But this brings us to the
- 29:00elephant in the room. We hear a lot about rules on
- 29:02paper, but implementing them is a different story.
- 29:05If you go to any cybersecurity conference today, the only thing
- 29:08anyone is talking about is zero trust.
- 29:11Don't get me started. Assume breach, never trust,
- 29:14always verify. But from everything we've just
- 29:17discussed about legacy flat networks and PLCS from 1998, a
- 29:21playing zero trust architecture to a railway seems completely
- 29:25absurd. It borders on the delusional.
- 29:27Implementing True Zero Trust, which involves continuous
- 29:30cryptographic authentication of every single user and device,
- 29:33dynamic policy enforcement, and granular micro segmentation of
- 29:37the network is physically impossible in legacy OT
- 29:40environments. I mean, we know old protocols
- 29:43like Modbus, TCP or cleartext. There's no authentication
- 29:46header. You can't just slap a zero trust
- 29:48policy engine onto a legacy serial bus.
- 29:50Exactly. It's a hardware limitation.
- 29:52Remember those trackside PLCS? They literally do not have the
- 29:55compute power, the CPU cycles, or the memory to perform
- 29:58continuous cryptographic authentication.
- 30:00If you ask a 1998 track switch controller to perform a modern
- 30:03TLS 1.3 handshake and validate and buy five O 9 certificate
- 30:07every time you need to send a status packet, the CPU will
- 30:09meltdown. You cannot wrap zero trust
- 30:12around a silicon chip that doesn't understand what a
- 30:13password is. So how do you secure a legacy
- 30:16network that physically cannot be upgraded to modern security
- 30:19standards? Because that sounds like an
- 30:21unsolvable paradox. It requires a massive cultural
- 30:24shift. Historically, security
- 30:27boundaries in OT were physical, a padlock on a metal door.
- 30:31Now those boundaries have to be logical.
- 30:33But since you cannot install a modern endpoint detection agent
- 30:36like a crowd strike or a Sentinel and antivirus directly
- 30:39onto a fragile legacy train controller without freezing it,
- 30:42you have to rely on the only practical solution left, which
- 30:45is passive visibility. Passive visibility detail the
- 30:48mechanics of that. Because the critical systems are
- 30:51safety certified and incredibly fragile, you cannot use active
- 30:54host agents, you can't touch the system, and you can't scan it
- 30:57with nmap. So instead you just watch it use
- 31:00passive network monitoring via hardware taps or span ports on
- 31:03the core network switches. You quietly copy the data
- 31:06flowing across the network wire and send it to a separate
- 31:08physically isolated monitoring tool equipped with Rail Aware
- 31:12deep Packet Inspection, or DPI. OK, let's elevate an analogy
- 31:15here. It's like trying to teach a
- 31:171980s VCR to use facial recognition to know who is
- 31:21pressing the play button. Okay, I'm tracking.
- 31:23The VCR physically doesn't have the circuitry for it since it
- 31:27can. You just put a very smart
- 31:29security camera pointed at the VCR to see who is pushing the
- 31:31buttons. You don't alter the VCR's
- 31:34internal circuitry at all, you just monitor the environment
- 31:37around it. That is surprisingly accurate,
- 31:39yes. You never touch the safety
- 31:41critical asset, you just watch the traffic flowing across what
- 31:44TS 50701 calls the conduits between the different zones.
- 31:49The DPI tool sitting on the SPAN port understands the specific
- 31:54esoteric railway protocols. It unpacked the Modbus or
- 31:57Profibus packets in real time. It does state machine tracking.
- 32:00So it knows what normal looks like.
- 32:02Exactly. It knows that this specific IP
- 32:04address belongs to a track switch, and mathematically that
- 32:07switch should only ever send a status update message to the
- 32:10central server. If the passive monitor suddenly
- 32:12sees that same switch trying to send a firmware rewrite message,
- 32:16or trying to communicate with an unauthorized external IP address
- 32:20like our maintenance workers 4G modem, it instantly triggers
- 32:23massive alarms in the SoC, the security operation center.
- 32:26And it does all of this without ever sending a single active
- 32:30probe or TCPSYM packet to the fragile OT device.
- 32:34It just listens. It just listens sustained
- 32:36visibility into the operational network.
- 32:38You turn opaque legacy control flows into measurable,
- 32:41actionable telemetry. And I really want to emphasize
- 32:44to the listener here, this methodology isn't just about
- 32:47trains. Right, the supplies everywhere,
- 32:48everywhere. The power grid, water treatment
- 32:51plants, chemical manufacturing facilities, oil pipelines.
- 32:55We live in a modern hyper connected world that is
- 32:57completely, fundamentally reliant on critical
- 33:00infrastructure running on 2030, even 40 year old technology.
- 33:04You cannot patch it all. You cannot replace it all
- 33:06overnight. You have to watch the
- 33:07interfaces, You have to monitor the conduits.
- 33:09Which brings us to the synthesis of this entire deep dive.
- 33:13We've gone from the sprawl of the signalling houses to the
- 33:15maintenance guys buying rogue modems, to the brutal
- 33:18mathematical war between CIA and Rams.
- 33:21We've seen hackers trigger emergency brakes with analog
- 33:24walkie talkies, explore the elegant physics of data diodes,
- 33:27and unpack the absolute necessity of passive DPI
- 33:30monitoring. It's a lot to take in.
- 33:32It is. I want to pull all of this
- 33:33together and leave you, the listener, with one final, deeply
- 33:38provocative thought that really crystallized for me while
- 33:41reading through the appendices of these sources.
- 33:44As an industry and as a society, we are moving rapidly toward
- 33:48fully autonomous driverless trains.
- 33:51The sources talk extensively about FRMCS, the future railway
- 33:55mobile communication system, which is essentially a dedicated
- 33:585G network for trains, enabling massive real time data exchange,
- 34:02AI diagnostics and remote autonomous control.
- 34:05But if the 30 year old train wasn't built for the Internet,
- 34:08and the Internet certainly wasn't built for safety, who
- 34:10actually owns the risk? That's a huge issue.
- 34:13When a software vendor remotes in from across the globe over a
- 34:175G network into a trackside interlocking system that was
- 34:21built when dial up Internet was cutting edge, and an AI
- 34:24algorithm is dynamically managing the braking distance
- 34:27based on passive telemetry exported through a UDP proxy,
- 34:31who is truly driving the train? Is it the local operator?
- 34:34The cloud software vendor? The telecom provider hosting the
- 34:375G slice. That is the multi billion dollar
- 34:39question and it's going to be the absolute liability nightmare
- 34:42of the next next decade. That's all for this episode of
- 34:44Cybersecurity Under Pressure. Real attacks, real lessons.
- 34:47Check your PLCS, check your logs, and maybe, just maybe
- 34:50question whether that air gap is really an air gap.
- 34:53See you in the next chapter.