News for hackers. Stuff that matters.
Re:How Dropbox Hacks Your Mac by bahoom on Saturday September 10, 2016 @05:30AM (#12468459)
Well, that's obviously a bug in OSX.

I'm not saying that accessibility enabled apps can't do any harm, of course they can. My point is that they can't do more damage then regular applications you run on your mac.

The only way to run third party apps in a kind of secure environment is sandboxing.

All this accessibility api lockdown stuff from Apple is just pseudo-security.

Re:How Dropbox Hacks Your Mac by elmigranto on Saturday September 10, 2016 @06:32AM (#12468600)
> My point is that they can't do more damage then regular applications you run on your mac.

Well, they can autoconfirm Keychain prompts with simulated keyboard events (and access all the keychain data in general), for one. This is something non-accessibility apps can't do after some update.

Keylogger can't steal your password, if it's in keychain, even though it knows your root password. But I guess now it'll add itself into accessibility, so… waiting for Sierra :)

Re:How Dropbox Hacks Your Mac by bahoom on Saturday September 10, 2016 @06:55AM (#12468649)
> Well, they can autoconfirm Keychain prompts with simulated keyboard events (and access all the keychain data in general), for one. This is something non-accessibility apps can't do after some update.

Simulating keyboard (and mouse) events is easily possible for non-accessibility apps (CoreGraphics CGEvent api). In fact, AXUIElementPostKeyboardEvent is just a simple wrapper around CGPostKeyboardEvent.

Re:How Dropbox Hacks Your Mac by elmigranto on Saturday September 10, 2016 @08:13AM (#12468835)
It is, but OS X won't accept it and will not unlock Keychain item, unless all the apps that do this are in Accessibility. So if there is an app that uses those APIs but not in Accessibility, even you yourself won't be able to copy anything password-protected from Keychain.

https://support.apple.com/en-us/HT205375

  SecurityAgent
  Available for: OS X El Capitan 10.11

  Impact: A malicious application can programmatically control keychain access prompts

  Description: A method existed for applications to create synthetic clicks on keychain prompts. This was addressed by disabling synthetic clicks for keychain access windows.

  CVE-ID
  CVE-2015-5943