Re:Generate self-signed x509 certificates valid for multiple...
by lmm on Monday July 20, 2015 @10:07AM
(#9916079)
People who are serious about their security run something like Debian and only install from the official repositories, where all packages are signed with GPG and all package maintainers must be part of the web of trust (i.e. have had their identity vouched for by at least one other Debian maintainer).
Of course you have to make sure the original install is trustworthy; all you can really do for that is compare the .iso checksum on several different machines. If all those machines are compromised (or there's a hardware-level compromise of your machine) then you're doomed, but that at least makes attacking a lot more costly than it would otherwise be.
Re:Generate self-signed x509 certificates valid for multiple...
by rimantas on Monday July 20, 2015 @10:39AM
(#9916330)
Well, latest SSH vulnerabilities came from the official repos as well. Sure, those were bugs not evil modifications, but still.
Re:Generate self-signed x509 certificates valid for multiple...
by lmm on Monday July 20, 2015 @10:42AM
(#9916353)
Yeah, I know. That was awful and should have resulted in policy changes; it hasn't, and I don't use Debian any more. But it makes a good example of the right approach to package infrastructure.
Re:Generate self-signed x509 certificates valid for multiple...
by solidpy on Monday July 20, 2015 @11:52AM
(#9916851)
Is there a distro with a stronger policy than Debian? what are you using now?
Re:Generate self-signed x509 certificates valid for multiple...
by lmm on Tuesday July 21, 2015 @02:43AM
(#9920828)
I wouldn't think stronger than Debian, but there are plenty of distros with equivalent policies. At the moment I'm running FreeBSD (not especially for security reasons).
But an unsigned software repository that calls post install scripts seems just as absolutely easy to modify, and we see those regularly.
My software is most easily installed with a piped bash script. In the script contents, I try to explain what's going on. I also at the top indicate that you shouldn't just trust what I am telling you. And then in the documentation, where you are told how to run the script, I tell you to be cautious there as well. (The script just installs the repository, and from there it's all signed and delivered over https).
I could never get over how easy it would be to whitewash a bash script with an rpm just to get some psychological credibility.
If it's not signed and/or delivered over https, it's completely hackable.
That first step of trust, how?