News for hackers. Stuff that matters.
Re:Who rooted kernel.org servers two years ago? by rgbrenner on Tuesday September 24, 2013 @12:27PM (#6438870)
What are the ramifications if this is what happened?

I strongly suspect they were able to get a copy of the kernel source code... They could be doing anything with it.. Porting it to a new platform.. Compiling it with unsafe GCC flags.. Or worse..

Re:Who rooted kernel.org servers two years ago? by woah on Tuesday September 24, 2013 @10:33PM (#6442295)
The people need an answer. Does the NSA have a copy of the linux source code or not??!
Re:Who rooted kernel.org servers two years ago? by jeresig on Tuesday September 24, 2013 @12:50PM (#6439037)
There was a discussion about this recently saying that it was highly unlikely. All the source was in Git and every git commit references the previous commit, making it highly challenging to modify an old commit without also modifying the commit id. More details: http://archive.is/Khq7R
Re:Who rooted kernel.org servers two years ago? by rgbrenner on Tuesday September 24, 2013 @12:57PM (#6439085)
Yes, it's unlikely they modified the source in git.. But it's possible they were able to download a copy and modify it locally... Possibly adding comments to document certain blocks of code.. Or adding unofficial patches for zfs support... Or worse..
Re:Who rooted kernel.org servers two years ago? by adamnemecek on Tuesday September 24, 2013 @01:24PM (#6439311)
Isn't that against the Geneva Convention?
Re:Who rooted kernel.org servers two years ago? by SimHacker on Tuesday September 24, 2013 @09:43PM (#6442150)
Like enabling ReiserFS??!
Re:Who rooted kernel.org servers two years ago? by joeyh on Tuesday September 24, 2013 @10:53PM (#6442355)
Here's how to do it:

1. Contribute a driver to the kernel. A network driver would be ideal, but any driver will do. Include a binary firmware blob, because including binary firmware blobs in drivers is how linux kernel devs roll (or how they used to roll). When creating the binary firmware blob, use a SHA1 preimage attack to actually create two versions with the same SHA. One is benign, and one runs your back door.

2. Root git server. Replace object containing firmware blob with the alternate version.

This attack should be detectable by comparing blobs from old git clones with blobs from new ones, using a hash that has better preimage resistance than does SHA1.

There are other ways to get your SHA1 colliding binary blob into a git commit in ways that are unlikely to be noticed. I demonstrated one (without actual SHA1 preimage attack) here: http://github.com/joeyh/supercollider But a binary firmware blob is pretty much ideal.

Re:Who rooted kernel.org servers two years ago? by rgbrenner on Tuesday September 24, 2013 @11:54PM (#6442526)
except there are no practical preimage attacks on sha1
Re:Who rooted kernel.org servers two years ago? by meowface on Wednesday September 25, 2013 @12:37AM (#6442662)
Right.

His comment reads as "ok, do all these simple things then just put in your backdoor but make sure it has the same SHA1 hash as something benign, and that's it!"

Re:Who rooted kernel.org servers two years ago? by jeffreyg on Tuesday September 24, 2013 @12:58PM (#6439095)
whoosh :)
Re:Who rooted kernel.org servers two years ago? by spangled on Tuesday September 24, 2013 @12:43PM (#6438990)
This reminds me of a friend's response to the idea that the TouchID in the new iphone could be a way for the NSA to get your fingerprints: "Just imagine the shitstorm if they put a camera in there. Or a microphone."
Re:Who rooted kernel.org servers two years ago? by ris on Tuesday September 24, 2013 @04:04PM (#6440355)
There's no good way yet to uniquely identify a person based on a (dodgy) picture of them or sample of their voice. Whereas fingerprints are used for this daily* and a quickly searchable database of these (or just their "hashes") would be incredibly useful to _somebody_.

*I'm not raising the issue of whether they _should_ be or not here, just that they are.

Re:Who rooted kernel.org servers two years ago? by contingencies on Wednesday September 25, 2013 @01:02AM (#6442746)
There's no good way yet to uniquely identify a person based on a (dodgy) picture of them or sample of their voice

Surely this is sarcastic. We can easily identify with great certainty from a relevant set... as Facebook does, for instance. You have a relevant set if you are many governments (the local government, and in many cases Israel via AMDOCS and its intelligence allies - primarily the US, but in some cases possibly their intelligence allies) or a motivated attacker (eg. with an insider, or hiring an insider via a private investigation firm), because you have the device call/messaging/physical location records from which to cross-match. Even if it's a land-line. You also have easy access to additional voice data (voicemail recording, 'this call may be recorded' records at large companies such as banks or wings of government, etc.). Public data sets on non-secret government telephone interception frequency even in 'free-ish' countries like Australia suggest extremely broad cultures around acceptable collection. (For .au I read a raw statistics report I can't seem to relocate recently, but http://www.smh.com.au/technology/technology-news/be-careful-... is a good overview.)

Re:Who rooted kernel.org servers two years ago? by r4pha on Tuesday September 24, 2013 @01:23PM (#6439309)
Or a GPS.