Live data from Hacker News

The closest I've ever come to falling for a Gmail phishing attack

twitter.com

111–120 of 289 posts

Re: The closest I've ever come to falling for a Gmail phishing attack

#111

Just addressing this attack in particular, is there any legitimate reason to have consecutive white spaces in a URL bar?

If you accept that someone is allowed to embed text documents into a URL then you also need to either allow people to link to text documents containing large runs of white space, or introduce some very weird restrictions to the kind of documents that can be embedded that way.

Re: The closest I've ever come to falling for a Gmail phishing attack

#112
post #98

Earlier quoted context omitted.

This is pretty scary. When you hear security professionals explain to laymen how to identify phishing attacks, it's almost always check the URL, make sure you're actually at google.com and not go0gle.com, or something like that. I can't even imagine what legitimate use there is to placing an entire HTML document into the URL. Just seems like a hack someone came up with as a solution to a problem, not the right soluti…

>I can't even imagine what legitimate use there is to placing an entire HTML document into the URL. Just seems like a hack someone came up with as a solution to a problem, not the right solution, but a solution nonetheless. It allows you to embed data in an URL, meaning you can link to documents that aren't necessarily stored anywhere, such as generated images/text. I suppose you could make an argument that it should…

Why even render the content of data:text/html in the first place?

Re: The closest I've ever come to falling for a Gmail phishing attack

#113
post #73

Earlier quoted context omitted.

My school is actually rolling out optional 2-factor auth. I'm not a fan of the system they use^, but it's neat that a University is taking advantage of some security best practices. ^Instead of using "standard" 2-factor that generates a code on-the-fly within an app like GAuth or Authy, users receive a text message with 10 codes. The first digit of every code increases sequentially (0972,1042,2512,etc), must be used…

That's a pretty awful method of securing anything. Like, that would prevent me from using 2FA. Whatever happened to standards?

[deleted]

Re: The closest I've ever come to falling for a Gmail phishing attack

#115
post #5

Thanks for sharing this - this is fiendishly clever. Even with all the investment in infosec, we're still woefully unprepared to deal with this type of attack. We need to start thinking about new approaches to protect users.

It's a hard problem but the industry isn't doing as much as it could do. There's low hanging fruit that has gone unharvested for years at most big companies. 1. Reform the browser address bar. Safari does this right. Chrome, IMHO shamefully, does not. The address bar is completely ignored by a large fraction (I've read it's about 25%) of users because it's full of meaningless technobabble. These users navigate entire…

#0 - Get browsers to agree on some protocol for client side certs, and make them usable. That voids the need for #s 1, 2, 3, or 4.

Re: The closest I've ever come to falling for a Gmail phishing attack

#116

Sysadmin at a school: we use GMail for our students and faculty, and we got hit by this hard right before the holiday break. Three employees and a handful of students all got hit by the attack within a two hour period. It's the most sophisticated attack I've seen. The attackers log in to your account immediately once they get the credentials, and they use one of your actual attachments, along with one of your actual…

Requiring 2-factor auth would prevent this from being exploitable, right? Probably impossible in a school environment but in an enterprise situation, more palatable perhaps.

Not really. The phisher can just ask for the second factor the same way they ask for the password.

Re: The closest I've ever come to falling for a Gmail phishing attack

#117

Earlier quoted context omitted.

Yes, but as per the standard TOTP codes are valid for a window of 1 minute. TOTP barely protects against phishing. What you want is an U2F key as the second factor. It's not like they are expensive anyway (usually 7-15 Euro) and quite some large services support U2F tokens already (Google, Dropbox, GitHub, Fastmail, etc.).

Thanks! Is the 1 minute window always the case? In the authenticator app, it seems like codes expire after ~30 seconds. If I wait till the last few seconds before using the code, does that make me any safer?

No. How long does it take from you entering the code to the code reaching Google? A few tens of miliseconds? With a phisher in the middle it's a couple extra miliseconds.

Re: The closest I've ever come to falling for a Gmail phishing attack

#118
post #104

Earlier quoted context omitted.

No. A man-in-the-middle phishing attack can ask you for your second factor and pass it through to Gmail.

This is definitely true of TOTP but U2F was designed to prevent phishing attacks by incorporating the hostname in the protocol[1], which means the attacker needs to successfully compromise SSL as well. 1. https://security.stackexchange.com/questions/71316/how-secur...

Very clever, thanks for sharing.

However I wouldn't want my second-factor to be attached to my browser. Seems way too volatile for me. Personally I'd rather keep TOTP and be vulnerable to time-of-use phishing.

Maybe if the browser had an OS API that a YubiKey could query...

Re: The closest I've ever come to falling for a Gmail phishing attack

#119

Just addressing this attack in particular, is there any legitimate reason to have consecutive white spaces in a URL bar?

"legitimate" is highly subjective in this instance. Personally, I would argue that there's none. The only use case I can think of is submitting a form with arbitrary text in a field value, but most such submits should be POSTed. The main exception - search keywords - are a lot less likely to need to support repeating whitespace.

However, a better question is: do a lot of legitimate websites in the wild put multiple spaces in the address field. Obvious answer is that millions do, so there's nothing browsers can really do here.

Re: The closest I've ever come to falling for a Gmail phishing attack

#120

Earlier quoted context omitted.

Requiring 2-factor auth would prevent this from being exploitable, right? Probably impossible in a school environment but in an enterprise situation, more palatable perhaps.

Not really. The phisher can just ask for the second factor the same way they ask for the password.

U2F knocks this on the head - a MITM site won't have the secret required to generate the token.
Post reply on HN