|
|
Log in / Subscribe / Register

Images are a false simplification

Images are a false simplification

Posted Nov 5, 2025 22:06 UTC (Wed) by nim-nim (subscriber, #34454)
In reply to: Images are a false simplification by bluca
Parent article: A security model for systemd

Either way the value is limited.

We’ve known for quite a long time it is useless to install genuine foo if genuine foo can not resist exploitation as soon as it is put online (as companies deploying golden Windows images discovered as soon as networking became common), and we’ve known for quite a long time attackers rarely bother altering components in flight they typo squat and trick you into installing genuine authenticated malware (not different from the counterfeits that flood marketplaces and that Amazon or Alibaba will happily ship you in their genuine state).

Security comes from the ability to rebuild and redistribute stuff when it has a hole (honest mistakes) and from poking inside stuff that will be redistributed to check it actually is what it pretends to be (deliberate poisoning). And then you can sign the result and argue if your signing is solid or not, but signing is only worthwhile if the two previous steps have been done properly.


to post comments

Images are a false simplification

Posted Nov 6, 2025 1:22 UTC (Thu) by Nahor (subscriber, #51583) [Link] (2 responses)

> And then you can sign the result and argue if your signing is solid or not, but signing is only worthwhile if the two previous steps have been done properly.

If what you built and distributed can easily be replaced without you knowing, then those two steps are of limited value too.

And continuing your line of thought, if signing/immutability/rebuild/distribution are all done right, they are useless if you don't very the source code you're using.

And even if the source code verification is done right, it is useless if the person doing the verification and signing of the code can be corrupted or coerced with a $5 wrench.

And even if [...]

TLDR; what you're arguing is that security is pointless and of limited values because there will always be a point where you have to trust something or someone. There will always be a weak link. All we can do is ensuring that most links are safe to reduce the attack surface. Using images is one step in that direction.

Images are a false simplification

Posted Nov 6, 2025 7:32 UTC (Thu) by nim-nim (subscriber, #34454) [Link] (1 responses)

That’s the “trust the vendor” thought but in out world we definitely do not trust the vendor.

We trust a system, where maximum transparency, accountability and absence of lockdown keep vendors honest. We trust the regulator, that forces vendors to provide a minimum of information on their pretty boxes, we trust consumer associations, that check the regulator is not captured by vendors, we trust people that perform reviews, tests and disassembly of products, the more so they are diverse and independent and unable to collude with one another, we trust competition and the regulations that enforce this competition and prevent vendors from cornering and locking down some part of the market.

And then you can add a certificate of genuine authenticity to the mix but most of the things you'll buy in real life don’t come with those because that’s icing on the cake no more. Trusting the vendor produces 737 maxes. This is not a fluke but human nature. You're usually better served by checking other things such as the quality of materials and assembly.

Performing third party checks is hard, and long, and those checks are usually incomplete, be it by distributions or in the real world, while printing authenticity certificates is easy. It is very tempting to slap shiny certificates on an opaque box and declare mission accomplished but it is not. Moreso if the result is reducing vendor accountability and dis-incentivize doing things right (I’m not saying that’s the case here but it is the usual ending of let’s trust the vendor initiatives).

Images are a false simplification

Posted Nov 6, 2025 19:01 UTC (Thu) by Nahor (subscriber, #51583) [Link]

> It is very tempting to slap shiny certificates on an opaque box and declare mission accomplished but it is not

Nobody said that signatures are the only thing needed, that they are sufficient. We only said that they are necessary. You still need someone to verify that what is being signed is what it's supposed to be. And you're only supposed to accept the signature of people you trust (be it a vendor, a regulator, a consumer association, whatever).

On their own, yes, signatures are useless. But so is source code verification if you have no way to ensure that your binaries are built from that code, by a compiler that will not add backdoors, and that the loader/kernel is actually loading that binary when executing.
One without the other is useless. Individually, they are both necessary but insufficient. It's only when they are combined that they become sufficient.

And signatures is what allows you to choose who to trust instead of blindly trusting a vendor. If you trust a consumer association and they have signed off on some regulators. Then you can trust that those regulators are doing their job. And if those regulators signed off on a vendor, then you can trust that the vendor is doing the right thing.

> it is the usual ending of let’s trust the vendor initiatives

Which is better than "let's trust the vendor and trust that no random person is going to change the box".


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds