Re:OS X sudoers exploit found in the wild
by noondip on Friday August 07, 2015 @04:42PM
(#10024892)
It is a lot easier than you may think. Here is a simple demonstration: https://vid.me/gGQY
[ Parent
| on HN ]
Re:OS X sudoers exploit found in the wild
by jakobegger on Wednesday August 12, 2015 @03:39AM
(#10046588)
This is bullshit. If you actually put that disk image on a web server, and then download it, you'll get the unidentified developer warning and you can't run the script (there will be no button to open it).
Gatekeeper and code signing work hand-in-hand. You can run any unsigned code you want, as long as you didn't download it from the web. For example, gatekeeper won't prevent you from running usigned code you compiled yourself, or from running code you installed using a package manager.
OS X is smart enough to know that a shell script is equivalent to an application. You can't fool Gatekeeper quite that easily.