Live data from Hacker News

iOS Privacy: Easily get a user's Apple ID password, just by asking

krausefx.com

71–80 of 326 posts

Re: iOS Privacy: Easily get a user's Apple ID password, just by asking

#71
The reactions I have regarding the urgency of this are:

1) Have there in fact been any known phishing attacks in Apple's App Store using this method?

2) Wouldn't Apple's app review usually notice something like this before allowing it into the store?

Re: iOS Privacy: Easily get a user's Apple ID password, just by asking

#72
post #40
post #3

This is related to an issue called root-phishing or superuser-phishing. You can do this with the Windows admin password prompt, the MacOS prompt, or with Linux sudo, as long as you can run code from a user account or edit a single file. alias sudo='sudo ./somethingbad; sudo' I'm surprised you don't hear about this that often. There is no perfect solution, since any visual feedback the operating system can do to make…

That's slightly different though, in order to do this you need to have shell access on the target's computer. TFA is about displaying a password dialog from an unprivileged app or website. The equivalent scenario with sudo would be to have a website display a mock terminal asking for sudo password, although that would be a lot harder to do inconspicuously because I don't expect terminal windows to pop out of the blue…

> That's slightly different though, in order to do this you need to have shell access on the target's computer.

But I suppose any application can write to the current user's .bashrc file right? Then it can also set the alias whenever the user opens a terminal.

Re: iOS Privacy: Easily get a user's Apple ID password, just by asking

#73

Earlier quoted context omitted.

Ios apps cannot log keys at all. They're sandboxed.

Not entirely -- keyboard apps can intercept keystrokes and send them to a remote server.

As far as I can remember, 3rd party keyboards are not allowed for password prompts.

Re: iOS Privacy: Easily get a user's Apple ID password, just by asking

#74
post #3

This is related to an issue called root-phishing or superuser-phishing. You can do this with the Windows admin password prompt, the MacOS prompt, or with Linux sudo, as long as you can run code from a user account or edit a single file. alias sudo='sudo ./somethingbad; sudo' I'm surprised you don't hear about this that often. There is no perfect solution, since any visual feedback the operating system can do to make…

[deleted]

Re: iOS Privacy: Easily get a user's Apple ID password, just by asking

#75
I remember seeing a research group that was working on creating an out of band password prompt for desktop computers at NC State. Basically the OS had a syscall to pause everything the kennel included and a separate module would basically dim the screen and show the password prompt over what was currently on the screen. I forget the exact details but it was neat.

Re: iOS Privacy: Easily get a user's Apple ID password, just by asking

#76

The reactions I have regarding the urgency of this are: 1) Have there in fact been any known phishing attacks in Apple's App Store using this method? 2) Wouldn't Apple's app review usually notice something like this before allowing it into the store?

> 1) Have there in fact been any known phishing attacks in Apple's App Store using this method?

no attacks are known. But that doesn't mean a thing. It's very easy to do this, so you'd have to assume that it is being done.

> 2) Wouldn't Apple's app review usually notice something like this before allowing it into the store?

no. As the article says, this kind of functionality is incredibly easy to hide.

Re: iOS Privacy: Easily get a user's Apple ID password, just by asking

#77
post #13
post #3

This is related to an issue called root-phishing or superuser-phishing. You can do this with the Windows admin password prompt, the MacOS prompt, or with Linux sudo, as long as you can run code from a user account or edit a single file. alias sudo='sudo ./somethingbad; sudo' I'm surprised you don't hear about this that often. There is no perfect solution, since any visual feedback the operating system can do to make…

A solution is to only ask for the password when absolutely necessary. I still don't understand why I need to enter a password (or use touchID) to download a free app. Shouldn't it be enough to login when I want to buy something for the first time in-app? AFAIK that's how android handles it.

What if the phone/iPad belongs to your kid and you don't want her to be installing apps without vetting them beforehand? That's a legitimate reason to ask for prompts. Should be a setting though (if it's not already)

Re: iOS Privacy: Easily get a user's Apple ID password, just by asking

#78
post #39

Earlier quoted context omitted.

I think the idea behind ctrl-alt-delete is that it generates a non-maskable interrupt that can't be hooked from user-mode. In days past, this sort of thing was called a secure attention key. https://en.wikipedia.org/wiki/Secure_attention_key And you're right, this needs to be a default part of any login handler. Why don't we use it when logging into a Linux console? The login prompt could easily be spoofed by a user-…

> I think the idea behind ctrl-alt-delete is that it generates a non-maskable interrupt that can't be hooked from user-mode. Keyloggers can still enter the winlogon session and log all keystrokes there, they need to run as a SYSTEM service, but it's very possible to do. I'm surprised this isn't better documented, but it's pretty much as simple as copying the token from the existing Winlogon process, adjusting the pri…

If you have keyloggers running as SYSTEM you've already lost.

Re: iOS Privacy: Easily get a user's Apple ID password, just by asking

#79
post #40
post #3

This is related to an issue called root-phishing or superuser-phishing. You can do this with the Windows admin password prompt, the MacOS prompt, or with Linux sudo, as long as you can run code from a user account or edit a single file. alias sudo='sudo ./somethingbad; sudo' I'm surprised you don't hear about this that often. There is no perfect solution, since any visual feedback the operating system can do to make…

That's slightly different though, in order to do this you need to have shell access on the target's computer. TFA is about displaying a password dialog from an unprivileged app or website. The equivalent scenario with sudo would be to have a website display a mock terminal asking for sudo password, although that would be a lot harder to do inconspicuously because I don't expect terminal windows to pop out of the blue…

Maybe the actual password dialogue could contain some kind of visual code, like the one on paper money. Then the OS could detect when a fake password input is shown to the user, just like copy machines detect it when you put a bank note in the scanner.

Re: iOS Privacy: Easily get a user's Apple ID password, just by asking

#80

Earlier quoted context omitted.

It is free in cost, not in terms of your privacy. For example let's say you handed your phone to your kid, they downloaded a free app, gave that app your entire contact list, and then that app spammed everyone you know? For the sake of example let's call that app LinkedIn.

> For the sake of example let's call that app LinkedIn. It’s bad that LinkedIn has such a reputation that I automatically assume they likely did just as you alluded that they might’ve done.

http://addconnectionssettlement.com

They were pioneers in the field!

Post reply on HN