News for hackers. Stuff that matters.
Re:Polish railway system hacked, trains forced to stop by at... by progbits on Monday August 28, 2023 @05:37AM (#37291725)
Emergency stop signal should be easy to send when it is needed.

Most trains have a emergency brake lever inside which is also very easy to abuse, but is there for safety. It is better to enforce harsh penalties for abuse.

Re:Polish railway system hacked, trains forced to stop by at... by mschuster91 on Monday August 28, 2023 @05:41AM (#37291746)
In Germany, in addition there is yet another emergency signal - if you need a train to stop (say, because someone fell into the tracks) and you can see the train (so no time to call 112), wave your hand in a circular motion [1].

[1] http://www.tf-ausbildung.de/SignalbuchOnline/sh3.htm

Re:Polish railway system hacked, trains forced to stop by at... by throw_a_grenade on Monday August 28, 2023 @11:13AM (#37295382)
Same in Poland, though here you can also use white lantern, if you don't have red one.
Re:Polish railway system hacked, trains forced to stop by at... by mytailorisrich on Monday August 28, 2023 @05:50AM (#37291792)
Harsh penalties are ineffective and irrelevant in terrorism and warfare situations.

Here I don't think that this signal system is designed to be used by the public. I'm guessing that there are transmitters installed and operated by the railways and perhaps police/emergency services but no-one else.

I am sure that the system will now be upgraded to include cryptographic authentication.

Re:Polish railway system hacked, trains forced to stop by at... by jacquesm on Monday August 28, 2023 @05:54AM (#37291818)
And that will sooner or later result in loss of life. Certificate not updated? Oops...
Re:Polish railway system hacked, trains forced to stop by at... by mytailorisrich on Monday August 28, 2023 @06:12AM (#37291935)
In this case I am pretty sure that a single organisation controls the whole system, transmitters and receivers. So I see no reason why they would update one side but not the other. There has to be a minimum level of competence and enforced procedures to run any important systems...
Re:Polish railway system hacked, trains forced to stop by at... by jacquesm on Monday August 28, 2023 @06:18AM (#37291969)
That's not how safety systems work.

Ever walked around in a factory? Those big red mushroom buttons everywhere actually work. Absolutely nothing is going to stop you from hitting one of them. It's not unlike the social contract: the assumption is that you too are kept safe by others.

Abusing such systems is the lowest of the low, and will get you in serious trouble. As would be sabotaging fire fighting equipment, arson, bomb threats, throwing stuff onto the highway and so on. The fact that you can't see any reason means that you are probably not in charge of safety anywhere. The battle is so asymmetrical that you can't win unless people stick to the assumption that their lives are valuable too. If that is no longer the case you are technically at war.

This is why suicide bombers have an easy time of it: they have broken out of that social contract and are willing to give up their own lives to take the lives of others. You simply can not effectively defend against this unless you are willing to throw out the social contract and become a police state yourself (or suffer eventual loss of life).

The minimum level of competence to run an important system (to put a train in motion, for instance) is definitely there. But to stop an important system should need no competence, it should just require presence and action. Any other requirements are not going to be secure (because too many people need to have access to such systems, including all of the public) but will cause the critical part to fail just when it is needed.

Re:Polish railway system hacked, trains forced to stop by at... by mytailorisrich on Monday August 28, 2023 @06:24AM (#37292014)
Obviously in a factory people who are let in are vetted and authenticated to start with.

Here we're discussing a radio transmission (from what I understand) in the wild that can come from absolutely anyone and anywhere and stop a whole train. There is no reason for this not to be secured.

I didn't claim that there should be a special competence to remotely stop a train, and indeed we may want something as simple as a big red button. But not anyone should be able to push that button and there should obviously be competence to run the system behind the scene as per my previous comment.

Re:Polish railway system hacked, trains forced to stop by at... by jacquesm on Monday August 28, 2023 @06:34AM (#37292088)
> Obviously in a factory people who are let in are vetted and authenticated to start with.

Factory workers are not vetted beyond being able to perform some function on behalf of the factory owners / operators. That can be as much as having finished grade school. On your first day you have the run of the place.

> Here we're discussing a radio transmission (from what I understand) in the wild that can come from absolutely anyone and anywhere and stop a whole train.

Oh no! Such radio transmissions have been the norm for decades and plenty of such older systems are still in use all over the world. Abusing such systems is easy. Upgrading them properly is costly and carries risk so the default is to leave things as they are.

> There is no reason for this not to be secured.

Well, why don't you propose a system that is 'secured'? And then I'll show you fifty ways in which your so called secured system can be 'hacked'. For instance, pre-emptively by stealing some of the gear.

There are fall-backs for all of those and the final fall back is flares and hand signals which every railway man hopes to never see in their lives. Fucking with infra is easy. Creating systems that are still just as safe but that are secure isn't easy at all: it is impossible. As every hacked website proves. And even if you could: the next thing that would happen is that these jerks would derail the trains instead of stopping them because that too is stupidly easy.

At some point we all rely on each other not to do bad stuff.

Re:Polish railway system hacked, trains forced to stop by at... by mytailorisrich on Monday August 28, 2023 @06:42AM (#37292146)
We know that a lot of our critical infrastructure is vulnerable, as this article again shows. This may have been "the norm" for decades but this has to be fixed. Unfortunately it often takes a catastrophe for things to be fixed.

At least here there was no catastrophe but still enough noise at a sensitive enough time that, again, I am sure that those systems will be upgraded.

Also, we're discussing securing infrastructure against threats up to state actors. They don't care about harsh penalties unless these are painful counter-attacks.

Re:Polish railway system hacked, trains forced to stop by at... by jacquesm on Monday August 28, 2023 @06:50AM (#37292197)
As far as I'm concerned the system worked exactly as designed. Nobody died, all trains stopped safely for a minute or so. Props to whoever designed the system and to all of those involved for keeping their heads cool.

What will most likely happen is that we will see more such acts of sabotage, against these and other systems.

Some suspects (Polish nationals) have been arrested:

https://www.i24news.tv/en/news/international/europe/16931682...

Re:Polish railway system hacked, trains forced to stop by at... by CaptainZapp on Monday August 28, 2023 @11:10AM (#37295339)
Ok, here's a different example.

Defilibrators, strategically positioned at places where a lot of people congregate. Such as train stations or city centers.

Herearound those are not locked. There's nothing stopping you of taking it out and toss it into the river.

The social contract is such that you just don't fucking do it and frankly, I never heard of such a thing happening. And yes, we have our shares of assholes.

Contrast that to the UK, where they are under lock and code. You call an operator explaining the emergency and she may unlock it.

There are two problems that I can see (and probably more). The communication device adds another layer of potential failure. And those two minutes it takes to unlock the device may be the difference between life and death.

I, for one, know in which kind of society I prefer to live. Even given the very occasional asshole who breaks that contract and abuses the accessibility of that life saving device.

Re:Polish railway system hacked, trains forced to stop by at... by mytailorisrich on Monday August 28, 2023 @12:36PM (#37296792)
You cannot compare access to a small medical device in public places to being able to stop whole trains remotely...
Re:Polish railway system hacked, trains forced to stop by at... by msm_ on Monday August 28, 2023 @06:01AM (#37291859)
Sadly, given the current situation, we'll probably have to migrate from the current (easy to use and available) system to something more secure (and fragile).

Some people will die, but if that happens again there's not much choice.

Re:Polish railway system hacked, trains forced to stop by at... by jacquesm on Monday August 28, 2023 @06:08AM (#37291907)
No, I don't think we should. What we should do is hunt these perps down and take them out of circulation for a long long time. Because it isn't possible to make a system both easy to access and secure at the same time and if the price is that people will get killed who have nothing to do with any of this then we will end up losing our critical infrastructure just as sure as if you bombed it.
Re:Polish railway system hacked, trains forced to stop by at... by msm_ on Monday August 28, 2023 @09:44AM (#37293874)
It's very hard to find a source of a radio signal sent from a middle of nowhere (having only a few trains to trinagulate). Of course we should do this, but if someone starts abusing this to raise chaos in the country, we may have no other choice. And we have an enemy country very interested in causing problems nearby.

>Because it isn't possible to make a system both easy to access and secure at the same time

Not right now, but since 2009 we're implementing GSM-R, and we still don't have it. It's not a bad solution, but nobody really cared until the recent abuse happened.

Re:Polish railway system hacked, trains forced to stop by at... by jacquesm on Monday August 28, 2023 @10:44AM (#37294832)
Legacy... hard to overcome that in a few years when it took many, many decades to deploy the original gear. This stuff is quite expensive, deployed everywhere and needs to continue to be backwards compatible while the new solution is rolled out, which is difficult to achieve.
Re:Polish railway system hacked, trains forced to stop by at... by andrewaylett on Monday August 28, 2023 @06:21AM (#37291986)
In the UK, the "emergency stop" feature might actually be an "emergency talk to the driver" feature.

Source: I was sitting opposite a family whose small child activated the emergency stop. The train didn't stop.

Re:Polish railway system hacked, trains forced to stop by at... by tialaramex on Monday August 28, 2023 @06:41AM (#37292134)
On a modern train, if you activate the button and the driver doesn't react at all, it will eventually stop the train, but the driver gets a few moments to decide what to do, and in a lot of cases their decision is going to be explicitly "Don't stop" because of the disproportionate number of inadvertent or malicious activations.

On the tube, where (aside from a handful of long distance expresses e.g. to/from Amersham) your train is going to stop at a station anyway in the next couple of minutes they have notices explaining to people that the best way to get e.g. medical assistance is going to be to get off the train at a station, where they can help you, not stay on it and push the emergency button hoping somehow assistance magically teleports to a moving train.

Re:Polish railway system hacked, trains forced to stop by at... by pjerem on Monday August 28, 2023 @06:35AM (#37292093)
See my other comment. On modern trains, the emergency lever doesn’t stop the train anymore but let you speak to the conductor. The train will only stop if you don’t speak for several seconds or in case of a real emergency.

And tbh, I just can’t see which sort of emergency can happen inside the train that would require an immediate full stop. Even if something life threatening is happening inside, the best option is to call and meet the emergency services in the next station.

Re:Polish railway system hacked, trains forced to stop by at... by jacquesm on Monday August 28, 2023 @06:47AM (#37292172)
> And tbh, I just can’t see which sort of emergency can happen inside the train that would require an immediate full stop.

Trains are multiple vehicles that are somewhat loosely connected. A train segment could be detached from the rest of the train.

https://abcnews.go.com/US/amtrak-cars-separate-boston-bound-...

And other mechanical issues with the train besides (for instance: the train being on fire).

The fact that you can't think of something doesn't mean that you have done an exhaustive search.

Re:Polish railway system hacked, trains forced to stop by at... by alphager on Monday August 28, 2023 @07:21AM (#37292388)
In case of a detachment, the train will automatically perform an emergency brake (without the possibility of manual intervention by the conductor).

Trains are fail-safe. They only run because the brakes are held open by a pressured air system running along the whole train. In case of a detachment, the hose connecting the wagons would break, releasing the air pressure and thus slamming the brakes down.

Re:Polish railway system hacked, trains forced to stop by at... by jacquesm on Monday August 28, 2023 @07:29AM (#37292452)
Fair enough, that's a thing I actually knew so I should have not used that example. But a runaway would have much the same effect.
Re:Polish railway system hacked, trains forced to stop by at... by pm215 on Monday August 28, 2023 @06:49AM (#37292183)
Examples where a passenger-initiated emergency stop would help:

The Eschede crash in Germany: https://en.m.wikipedia.org/wiki/Eschede_train_disaster -- part of the wheel came through the floor into the passenger compartment. The passenger couldn't find an emergency stop, and by the time they'd found a conductor and got their attention (which took minutes) the train crashed.

Trap-and-drag accidents where somebody on the platform gets clothes trapped in the train door and is pulled along with the train as it starts to pull off. If you don't emergency-stop the train within seconds that person is likely to suffer serious injuries or die. Likely the conductor/guard isn't near that door and only passengers will have seen the problem.