17 ms·
Your mistake is using "Log in with Facebook" on a mobile device. Since neither iOS nor Android have any kind of trusted UI, there is no way you can be sure if
by londons_explore 6y ago
Your mistake is using "Log in with Facebook" on a mobile device.
Since neither iOS nor Android have any kind of trusted UI, there is no way you can be sure if you are logging into Facebook on an app, or just giving that app your credentials for them to do as they please.
Until iOS or Android get trusted UI for these usecases, I suggest using browsers on windows/Mac/Linux where you can see the in the address bar which company you are giving credentials to, and can't as easily be faked.
If you must use a mobile device to log into Facebook via a third party app, I suggest using a new Facebook account each time.
- canes123456 6y agoiOS will redirect you to your Facebook app
- beervirus 6y agoDelete the app. There’s no reason to install it.
- xaitv 6y ago> If you must use a mobile device to log into Facebook via a third party app, I suggest using a new Facebook account each time. I might be wrong about this as I've not used Facebook for many years now, but doesn't Facebook require a phone number for new accounts nowadays, and requires you to use your real name as well?
- danielhua 6y agoIt's actually even nastier than that. If you fail their automated checks for fake accounts, they'll lock your account and require you to submit a photo of your face and ID card.
- wolco 6y agoNo I have an older relative who creates a new account every other week for whatever reason. Think of how many accounts are created for games reasons. Some games require friends taking action to progress. Some allow friends to send prizes like lives/money/resource.
- Sohcahtoa82 6y ago> No I have an older relative who creates a new account every other week for whatever reason. Could be like my grandma who would occasionally manually log out of the app, but then the next time she loaded the app, rather than actually logging in again, she'd create a new account because that's what she did the first time she loaded the app and thought she had to do that every time.
- gridlockd 6y agoIt's possible to do "trusted UI" on iOS/Android by opening a browser window that shows you're actually logging into facebook-dot-com. That still wouldn't prevent these scams from working because users don't necessarily know how to tell the difference between "trusted UI" and "scam UI".
- londons_explore 6y agoExcept it isn't... Because the app can just show a UI that looks like a browser window, and there's no way for the user to know.
- danielhua 6y agohttps://news.ycombinator.com/item?id=24470530 https://news.ycombinator.com/item?id=24470530 Looks like it was a real Facebook login webview.
- gridlockd 6y ago...which is different from a browser window, running inside the actual system browser. The difference may of course be subtle, but even obviously fake logins can work on the untrained eye.
- gridlockd 6y agoIf you open a browser window, there is going to be some things that can't be faked 100% accurately, e.g. on iOS there will be a link back to the app at the top left, there is going to be an animation, and so on. It could be faked 95% accurately, but that's moot, because like I said, the user hasn't necessarily learned what "trusted UI" is in the first place.
- donmcronald 6y agoLike this old trick. https://news.ycombinator.com/item?id=4629906 https://news.ycombinator.com/item?id=4629906
- babuskov 6y ago> Your mistake is... Not mine. I just posted what Niek van der Maas wrote on his GitHub. I don't think he's even reading this HN thread.
- NiekvdMaas 6y agoActually I am ;)
- babuskov 6y agoCool :)
- taftster 6y agoI don't feel comfortable tying any two logins together for any site, regardless of mobile vs. desktop. Choosing to log into any site using facebook, google, etc. is setting up for trouble. I much prefer a strong password manager and separate logins for everything.
- NiekvdMaas 6y ago(OP here) While you are absolutely right, I want to highlight that this was done in a quite sophisticated way. It's actually the real login page of Facebook in a webview. I have 2FA on all my accounts including FB, so it looked very legit. Once you have logged in, they seem to grep the token and close the webview.
- GoblinSlayer 6y agoYou mean they extracted your primary full access token, not the generated restricted oauth token?
- NiekvdMaas 6y agoYes, pretty sure. It wasn't an oauth screen but the actual FB login screen.
- londons_explore 6y agoIf your app has a webview in it, on both iOS and Android, you have full access to run script inside that webview and take/set cookies for any domain. You can easily take the auth cookie. Some Google auth cookies can only be used on the same tls session that created them[1]. That means the TLS session resumption information (which can be tied to hardware platform features like the TPM) is required to make use of a stolen auth cookie. Unfortunately while that approach has big security benefits, it's pretty anti-user-privacy. [1]: https://nakedsecurity.sophos.com/2018/10/25/could-tls-session-resumption-be-another-super-cookie/ https://nakedsecurity.sophos.com/2018/10/25/could-tls-sessio...
- ramses0 6y agoiOS has trusted UI via "double-tap-side-hardware-power-button". So it's a trusted trigger, and a presumably native UI. I've been very impressed by eBay/PayPal providing "very good" almost native-feeling payment integration (swipe-to-pay, UI coming up from the bottom of the screen), so it may not last forever, but interesting to hear of the depth of scamming possible on phone UI's (and probably desktop UI's too).