News for hackers. Stuff that matters.
Re:Defenders think in lists, attackers think in graphs (2015) by TeMPOraL on Sunday August 25, 2024 @06:22AM (#41346164)
Security != safety. Safety in civil engineering and aviation is paramount. Security is an annoying, bolt-on side issue at best, nonexistent typically (e.g. railroads).

Therac-25 was a safety event, not a cybersecurity event.

Re:Defenders think in lists, attackers think in graphs (2015) by mcmoor on Sunday August 25, 2024 @06:29AM (#41346204)
Also security attack in those engineering fields are not nearly as scalable as attack on computer systems. So you don't have as much need to cover every single hole because the damage won't be as much.
Re:Defenders think in lists, attackers think in graphs (2015) by blueflow on Sunday August 25, 2024 @06:26AM (#41346187)
IT security is a thing at all because software safety is near non-existent.
Re:Defenders think in lists, attackers think in graphs (2015) by stavros on Sunday August 25, 2024 @06:33AM (#41346222)
How are you going to retain safety in a compromised software system?
Re:Defenders think in lists, attackers think in graphs (2015) by TeMPOraL on Sunday August 25, 2024 @06:48AM (#41346292)
You aren't, for the same reason you aren't going to retain safety in an airplane or a nuclear reactor when men with guns are shooting people and pushing random panels (and/or the other way around).

Even with "defense in depth", there's clear separation between parts that do the important stuff, and parts that protect the parts that do the important stuff from being used against the rules.

I'd go as far as dividing cybersecurity into two major areas of concern:

1) The part that constrains software systems to conform to some make-believe reality with rules stricter than natural -- this is trying to make the abstract world function more like physical reality we're used to;

2) The rules and policies - who can access what, when, why, and what for.

Area 1) should very much be a bolt-on third-party thing everyone should ideally take for granted. Area 2) is a responsibility of each organization/project individually, but it also small and mostly limited to issues specific to that organization/project.

It maps to physical reality like this:

Area 1) are the reinforced walls, floor and ceiling, and blast doors that can only be opened via a key card[0];

Area 2) are the policies and procedures of giving and revoking keycards to specific people in the company.

--

[0] - Or by crossing some wires deep in the reader, because accidents happen and cutting through blast doors cost money. I.e. real-life security and safety systems often feature overrides.

Re:Defenders think in lists, attackers think in graphs (2015) by blueflow on Sunday August 25, 2024 @06:40AM (#41346256)
You don't? Safety is not having that compromise in the first place.

Like, if the code can handle all input correctly, then there is no exploit path. Regardless of whether the input comes from an attacker or not.

Re:Defenders think in lists, attackers think in graphs (2015) by stavros on Sunday August 25, 2024 @06:44AM (#41346275)
You said "security is a thing because safety is nonexistent". This means that, if you had safety, you wouldn't need security. I'm asking you to explain how a perfectly safe system wouldn't need security, as someone who compromised it would be able to simply undo all the safety.
Re:Defenders think in lists, attackers think in graphs (2015) by blueflow on Sunday August 25, 2024 @06:44AM (#41346276)
How do you compromise a safe system?
Re:Defenders think in lists, attackers think in graphs (2015) by stavros on Sunday August 25, 2024 @06:50AM (#41346305)
Say I wrote software to control a gamma ray knife, it's perfectly safe and it always does the right thing and shuts down properly when it detects a weird condition.

Compromising it would simply be a matter of changing a few bytes in the executable, or replacing the executable with another one.

This seems so obvious to me that I think you may have non-standard definitions of either safety or security.

Re:Defenders think in lists, attackers think in graphs (2015) by blueflow on Sunday August 25, 2024 @07:00AM (#41346346)
> Compromising it would simply be a matter of changing a few bytes in the executable, or replacing the executable with another one.

The executable is part of the system that's supposed to be safe. That you have no means to modify it is an aspect of safety.

With your example, imagine that program would be running on an AVR with boot fuses burnt.

Re:Defenders think in lists, attackers think in graphs (2015) by stavros on Sunday August 25, 2024 @07:01AM (#41346353)
Ah, there's the non-standard definition. Safety means that the system performs as designed while the design invariants hold. Security means someone malicious can't change the invariants.
Re:Defenders think in lists, attackers think in graphs (2015) by blueflow on Sunday August 25, 2024 @07:06AM (#41346374)
Cite your standard.
Re:Defenders think in lists, attackers think in graphs (2015) by TeMPOraL on Sunday August 25, 2024 @07:07AM (#41346383)
How could it be any other way? There are probably some definitions out there, but what 'stavros said is pretty much what the words mean.
Re:Defenders think in lists, attackers think in graphs (2015) by blueflow on Sunday August 25, 2024 @07:13AM (#41346403)
That's not what it is about. If someone calls you "non-standard", you challenge them to identify these standards. If you call me wrong, at least give it hands and feets.
Re:Defenders think in lists, attackers think in graphs (2015) by TeMPOraL on Sunday August 25, 2024 @07:16AM (#41346420)
> If you call me wrong, at least give it hands and feets.

    \|/      \|/
      \      /
    You're wrong!
      |      |
     ^^^    ^^^
Sorry, couldn't help myself. There's an obscure Polish joke it made me think of (punchline being, thankfully you didn't ask for it to "hold its shit together").
Re:Defenders think in lists, attackers think in graphs (2015) by stavros on Sunday August 25, 2024 @07:07AM (#41346380)
Nah, I'm OK.
Re:Defenders think in lists, attackers think in graphs (2015) by blueflow on Sunday August 25, 2024 @07:41AM (#41346555)
If you know it better, enlighten us.
Re:Defenders think in lists, attackers think in graphs (2015) by stavros on Sunday August 25, 2024 @07:43AM (#41346565)
I comment for fun, and this thread has stopped being fun.
Re:Defenders think in lists, attackers think in graphs (2015) by Dylan16807 on Sunday August 25, 2024 @10:28AM (#41347542)
That AVR can still be manipulated. If your definition of safety includes preventing in-person attacks on the data storage, then you pretty much need armed guards.

If that's the standard, then no wonder "software safety is near non-existent".