How Encrypted Binaries Work In Mac OS X 365
An anonymous reader writes "By now we know that OS X uses encrypted binaries for some critical apps like Dock, Finder and LoginWindow. Amit Singh explains the implementation of this protection scheme which makes use of the AES crypto algorithm and a special memory pager in Mach. The so called Do Not Steal Mac OS X (DSMOS) kernel extension helps along the way by decrypting things for the special pager when apps get executed. A funny thing is that if you print the pointer at address 0xFFFF1600 in your own app you get as output Apple's karma poem for crackers! According to the article there are 8 protected binaries in OSX including Rosetta and Spotlight meta data demon. Interestingly Apple's window server is NOT one of those."
One reason not to encrypt the windowing system (Score:3, Informative)
Re:One reason not to encrypt the windowing system (Score:5, Informative)
Originally, developers could inject their own menus into it if they figured out Apple's undocumented API for it. However, Apple shut that down (in 10.2, I think) since an unstable menu would destabilize all of Apple's menus. They're all run in the same address space, presumably to allow Apple to cut some corners in their command-drag reordering system. After 10.2, some developers hacked it to allow them to inject other menus into it. Maybe that's what Apple is trying to stop.
Even so, it's a really odd pick for encryption.
Re:How hard is reverse engineering? (Score:3, Informative)
Re:How hard is reverse engineering? (Score:3, Informative)
I'm not interested in re-selling the proprietary solution. I'm interested in selling detailed information about the proprietary solution.
Reverse engineering makes security holes more obvious (does it not? Otherwise, how do hackers find security holes?). This is of obvious interest to "industrial" crackers -- the ones who harness large botnets and sell them to the highest bidder. It's a multi-million dollar business.
Re:Signed binaries = good, encrypted binaries = ba (Score:1, Informative)
Re:That poem is scary.. (Score:4, Informative)
Comment removed (Score:3, Informative)
Re:Signed binaries = good, encrypted binaries = ba (Score:3, Informative)