4 ms·
If you can come up with a backdoor that requires the non-obvious interaction of multiple parts of the kernel (or parts of the kernel and certain user-space acti
by Amadou 13y ago
If you can come up with a backdoor that requires the non-obvious interaction of multiple parts of the kernel (or parts of the kernel and certain user-space actions) then it would be reasonable to break up the necessary changes and slip each one in as a part of a larger demonstrable improvement to each specific subsystem.
For example (completely hypothetical), you could create a race condition in the kernel's page allocator that can be reliably be triggered by filling up physical ram and then forcing the kernel to allocate more memory for itself by filling up the proc table past a certain size. So in one patch you include an improvement to the allocator that has this obscure race condition but otherwise makes the allocator work much faster. Then in another patch you increase the maximum size of the proc table (under the pretense of supporting some big-iron system that practically no one outside of some HPC centers own) so that filling it up will force a kernel page allocation. So then you can force the exploit to occur on any system with both patches installed simply by allocating all the physical ram and then creating a ton of do-nothing processes that max out the proc table.
If you are an organization like the NSA you could even have the submissions come from what appear to be completely independent developers.
It is kind of the exploit version of "parallel construction." You know the exploit you want to put into the kernel, you just need to come up with reasonable sounding explanations for every little patch that ultimately gets you to the end goal.
- nitrogen 13y agoThat reminds me of a story I read about how the satellite companies foiled carders by slowly building up a new decryption system out of apparent garbage released across a long string of updates. I don't dare to search for it though, so I don't have a link.
- khoffrath 13y agohttp://www.codinghorror.com/blog/2008/05/revisiting-the-black-sunday-hack.html http://www.codinghorror.com/blog/2008/05/revisiting-the-blac... Original article: http://news.slashdot.org/story/01/01/25/1343218/directvs-secret-war-on-hackers http://news.slashdot.org/story/01/01/25/1343218/directvs-sec... Fascinating background story here: http://www.wired.com/politics/security/news/2008/05/tarnovsky?currentPage=all http://www.wired.com/politics/security/news/2008/05/tarnovsk...
- FajitaNachos 13y agoNice article. It's the first time I've heard of it, and I enjoyed reading it.
- anaphor 13y agoThanks for mentioning that, I had a feeling of deja vu that I couldn't figure out. It was an awesome hack anyway.