|
|
|
|
|
by oblio
2022 days ago
|
|
> repos are mirrored, come with signing keys and any successful attacks are detected sooner or later and become public knowledge. 1. Not all package managers come with signing keys or actually check them. 2. "Sooner or later" - weasel words. Some of these breaches have been discovered years after the fact. Who really cares if they get discovered after 3 years? By that point all the harm has been done plus the attacker could have taken control of the systems in more varied ways so even removing the initial entry point won't save you. |
|
Seems like a very big problem with those package manager... Ubuntu as far as I'm aware does proper signing. (as any sane distro and hell, microsoft too)
I would not be using those package managers.
> 2. "Sooner or later" - weasel words.
What's your point?, I trust Ubuntu/Red Hat to keep their keys safe. I trust that google project zero and others would notice anything spooky.
I do not trust a random distro with only a few users to keep their keys safe and I do not use that.
It's also hard to do a proper attack when you have:
ubuntu -> (n) mirrors -> me
Ubuntu can't push a malicious package directed at me (I go via mirrors which can be picked at random)
Mirrors can't push a malicious package directed at me (they would need ubuntu signing keys, and someone would need to own all of them or be very lucky)
And if someone does compromise Ubuntu's keys, they're not going to go after me and risk getting detected that way.
There is a lot more security built into package managers then what I said compared to 0 you get on curl|bash.