Live data from Hacker News

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

krausefx.com

281–290 of 326 posts

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

#281
post #239

Earlier quoted context omitted.

Back on XP I recall C-A-D not showing the task manager on malware-infested machines. Not sure if that's changed since then (is the full-screen c-a-d in 7/8/10 related)?

This only works when malware already has root privileges.

So it's useful in the narrow-ish case of AD privilege escalation.

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

#282
post #52

Earlier quoted context omitted.

TouchID is replaced by FaceID which I assume likewise eliminates the vast majority of password prompts?

Doesn't it have a password/pin fallback though?

Yes, just like TouchID.

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

#283

Earlier quoted context omitted.

No, he's correct. Ctrl-Alt-Delete on windows is a privileged hotkey that goes directly to the kernel. A phishing program can't intercept it once it has been pressed. If you know that Ctrl-Alt-Delete has been pressed, you are already privileged as the kernel and would be able to compromise a hypothetical protected screen buffer anyways. https://i.imgur.com/BE0xN3i.png The Windows login screen here doesn't allow you to…

Programs can detect Ctrl alt del somehow, because RDP clients do it. But they can't intercept it. But a phishing program can just show the enter password screen, without the ctrl alt del prompt. Few users understand the security need to press ctrl alt del. And in newer Windows, it doesn't seem to prompt unless you enable it via GP.

Doesn’t RDP use Ctrl+Alt+End for bringing up the password screen?

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

#284

Earlier quoted context omitted.

There are many solutions. First is requiring un-catchable keyboard shortcut to enter the password. Something like "ctrl-alt-delete" for Windows (I'm not sure if it's un-catchable, but you got an idea) or even better some unused key like pause/break. User will be trained to press this shortcut and app can't replicate it, so user won't be tricked. Second is using fingerprint. iOS should just use fingerprint always inst…

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-…

The Linux console does support a secure attention key that can't be trapped and will kill any process which has /dev/console open. root can configure it with /sbin/loadkeys.

Not sure how distributions tend to configure it by default.

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

#285

When the iPhone X notch was first announced I thought it would be a fantastic security UI opportunity: What if the top of the screen was only writable by the system? It would normally be black or show the time, but whenever there is a password dialog, it turns green with a security lock. This is something I've wanted on all computers for a while: fundamentally, any computer where you can get access to the whole scree…

fantastic idea

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

#286

Earlier quoted context omitted.

Keyboard apps explicitly have to ask for “full access” and you need to opt-in. Also, apps can block 3rd party keyboards, not sure how many secure / banking apps do that though.

What's stopping an app from imitating the keyboard? Fundamentally, we're talking about imbuing meaning to patterns of light on a screen. And apps can write on any part of the screen. I suspect the only way to battle this is to have a separate screen which is controllable only from the system. And even many people will fall for password prompts in the main screen.

> What's stopping an app from imitating the keyboard?

What is the end goal of that? If you have control of the screen (aka are the foreground app), why would you need to emulate the keyboard? If you aren't the foreground app, then you aren't going to be able to render a keyboard on the screen (on iOS anyway).

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

#287

When the iPhone X notch was first announced I thought it would be a fantastic security UI opportunity: What if the top of the screen was only writable by the system? It would normally be black or show the time, but whenever there is a password dialog, it turns green with a security lock. This is something I've wanted on all computers for a while: fundamentally, any computer where you can get access to the whole scree…

What does prevent the developer from making this new screen buffer blank/black and making the top of app's screen look exactly like that shape and style? The user won't see the difference except small top margin.

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

#288

Earlier quoted context omitted.

In my misspent youth I wrote a login trojan for VAX/VMS. It circumvented the "break" key trick that you are alluding to above. I had to drop down to Bliss-32 and use the $QIO syscall but it can be done. Once I had captured the sysadmin password and logged in once to prove my achievement I never ran it again. Learned many interesting things though. My task was made easier because DEC published the source code for the…

> DEC published the source code for the OS, albeit as Microfiche. Wait.... What? Nice job decoding that.

It was written in Bliss so not so hard if you understand BCPL or C. Also I was 17 and had a lot of time on my hands...

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

#289

When the iPhone X notch was first announced I thought it would be a fantastic security UI opportunity: What if the top of the screen was only writable by the system? It would normally be black or show the time, but whenever there is a password dialog, it turns green with a security lock. This is something I've wanted on all computers for a while: fundamentally, any computer where you can get access to the whole scree…

Am I missing something here? Isn't the notch already taken up by FaceID sensors/front-facing camera? It isn't really "extra screen real estate".

I do like the idea of a separate indicator for system-wide security events though. Perhaps an LED indicator although that doesn't seem very Apple-like.

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

#290

The real problem is that apps can get data off your device too easily. An app that phishes your password isn't actually dangerous until it uploads it to a server somewhere. Apple should provide an API that limits an app's internet access in severe ways, preventing encryption, large uploads, etc. Unrestricted internet access should be a permission that few apps are granted. Apps would still find clever ways to exfiltr…

Making apps request internet access privileges seems like a viable idea. Don't limit encryption though - that's the opposite direction from where we want to be. It is more important to secure the connections to our devices.
Post reply on HN