News for hackers. Stuff that matters.
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 :)