4 ms·
You're right in that this mostly foils the NSA in its role as a global passive attacker. However, having a FOSS OS doesn't foil active, targeted attacks at all:
by derefr 13y ago
You're right in that this mostly foils the NSA in its role as a global passive attacker. However, having a FOSS OS doesn't foil active, targeted attacks at all: the version of a package in the repo could be perfectly safe, while the version distributed to just your computer could be backdoored. (The NSA, after all, can FISA-order someone to give up their package signing key just as well as they can grab a decryption key, and then MITM just your connection to deliver an "automatic security update" that nobody else got.)
- consonants 13y agoFBI did just this and pushed a special update to bug a member of a mob's dumbphone a relatively long time ago.
- tedunangst 13y agoI love how this story keeps getting better with time.
- nitrogen 13y ago...while the version distributed to just your computer* could be backdoored.* They would have to get the base distribution signing key, which is probably a shared secret that requires multiple people to unlock. Have there been any hints of NSLs or FISC orders requiring the disclosure of private Linux distribution keys, some of which may not even be held in the US?
- derefr 13y agoThe funny thing is, you don't actually need to replace a package that's part of the base distribution. Every package format we have (RPM, DEB, etc.) runs its install- and upgrade-scripts as root, so every package can potentially do anything on install, including patching the installed files of other packages (or cleverer things, like adding SSL trust roots.) So, since they don't specifically need to patch your openssl package to compromise your openssl library, they could just as well suborn the signing key of (presuming Ubuntu) some PPA author, as long as the user they're trying to bug has that PPA in their sources.list.
- nitrogen 13y agoThough I do use them, the PPA concept is kind of flawed, because there's no way of saying which packages you will accept from a particular PPA, and no way for a PPA signing key to limit the packages it covers. Packaging systems do detect file collisions, however, and with something vaguely similar to checkinstall or fakeroot they could detect attempts to overwrite other packages' files in the pre- and post-install scripts.
- gtirloni 13y agoSolaris introduced some concepts in its IPS packaging to avoid packages changing the system. IMHO, it is very good but adds some pain to developers and sysadmins alike. http://www.oracle.com/technetwork/server-storage/solaris11/technologies/ips-323421.html http://www.oracle.com/technetwork/server-storage/solaris11/t... That coupled with system wide snapshots is a great tool to audit a system after a patch is applied.