Live data from Hacker News

Google hacked account

news.ycombinator.com

151–160 of 169 posts

Re: Google hacked account

#151

If they are automatically clicking these links you may be able to spoof an E-mail that looks similar to the password reset request but have the cancel link actually log them out. Going to this URL logs you out on Gmail: https://accounts.google.com/Logout?service=mail&continue=htt... This might not work, but it's probably worth a try.

It did work for me a when I clicked from here on HN!

Yes, and this can be done in a CSRF attack on a web page like superlogout.com (don't go there if you don't want to be logged out of 20+ websites).

Re: Google hacked account

#153
post #130

Earlier quoted context omitted.

Nitpicking? I had no idea what this submission was even about. I thought maybe Google, the company, was hacked by outsiders. That was my best guess. Or even "Google hacked" could imply "Hacked by Google", I don't even know. The current title is ambiguous at best; just plain misleading/sensational at worse - especially now reading that this is really about just one person losing access to their Gmail. _____ EDIT: In c…

It's just so not important.. from the content of the guys submission it strikes me that English may not be his first language.. he's here asking for help with a problem and the top response he gets is some ass berating him over the wording of his title. But oh right, you woke up this morning and the sky was falling, all because you had to take an extra 30 seconds to actually read the fucking post

Did it occur to you that he might get more help, from people in the know, if the link actually indicated that he needed help?

Re: Google hacked account

#156
post #114

Earlier quoted context omitted.

> What kind of two factor authentication? TOTP codes don't protect you against e.g. phishing. Sure it does. TOTP codes are only good for X seconds and most phishing scammers merely collect the information to use much later (I have seen the source behind the actual phishing sites). I have yet to hear of a story of someone's account being compromised while using TOTP (knock on wood). But seriously though - companies li…

Sure it does. TOTP codes are only good for X seconds Not seconds, usually a minute: https://tools.ietf.org/html/rfc6238#page-6 (This is mandated because the user could start typing at the end of a time step and/or clocks can be slightly out of sync.) and most phishing scammers merely collect the information to use much later Right. It's probably still profitable to do things in this manner because most people do not…

> Not seconds, usually a minute:

Almost every service I use is 30 seconds - including Google's [1]. Even in the RFC you linked it says 30 seconds.

> This is mandated because the user could start typing at the end of a time step and/or clocks can be slightly out of sync.

That is the downside of TOTP. If your clock isn't in sync with the server's then you may never have a valid OTP. However, I have seen many implementations allow for time shifting - ie the code that was generated in the past 30 seconds, this 30 seconds and the next 30 seconds are all valid. I didn't do that for my source code hosting service - but it makes sense in case the user hit enter right after the 30 second window. I suppose HOTP is supposed to solve the timing problem.

> That does not change the fact that TOTP is extremely vulnerable to phishing.

This doesn't make sense - TOTP isn't any more vulnerable than the password itself. You still need my password. And even if you phished that - by the time you would attempt to access my account the TOTP would be invalid. The only way that would work is if you were actively watching the captured credentials and attempted to login right away. That to me would be a targeted attack rather than some random phish.

[1] - https://github.com/google/google-authenticator/wiki

Re: Google hacked account

#157
post #151

Earlier quoted context omitted.

It did work for me a when I clicked from here on HN!

Yes, and this can be done in a CSRF attack on a web page like superlogout.com (don't go there if you don't want to be logged out of 20+ websites).

This is nice :) Certainly helpful when using a public machine. Heck .. make that the homepage on browser-launch on public machines and guest accounts.

Re: Google hacked account

#158
post #58

Earlier quoted context omitted.

My mistake was that I didn't enable 2 factor authentication. Kind of aggressive calling out Google's engineers when you couldn't bother protecting yourself with their free and easy to use security mechanisms.

Except that now Google has my phone number linked to my identity too. I know this is not everyone's use case, but for those of us that care deeply about privacy, that's not a good alternative. If that's not a good counterpoint, my phone/SMS service sucks when I'm traveling abroad, which is exactly when Google thinks I'm not me. I wish Google supported TOTP like Github does, without asking for a phone number.

Are you sure that's still the case?

This[1] would seem to indicate you can use a U2F device[2] as an alternative to providing a cell phone for verification.

[1] https://www.google.com/landing/2step/#tab=how-it-works

[2] http://googleonlinesecurity.blogspot.com/2014/10/strengtheni...

Re: Google hacked account

#159
post #117

Earlier quoted context omitted.

"but technical strong people like yourself" I like the sound of that. I actually have run my own mail servers since the mid 90's [1] but I am more of a business guy who knows computers than a strong technical guy the way that I see it. I don't use gmail (for anything important I do use it for unimportant things) I don't like the idea of my mail sitting on their servers. [1] Actually if you include non internet mail d…

How do you deal with spam when self hosting?

I self-host my own mail server, and deal with spam amazingly well. I deal with it so well that I'm able to have "old school" public mailing lists that don't require registration in order to post.

There are various options for dealing with spam, if you're doing it by yourself.

My number one defense is a simple DNS check. SMTP servers that do not have valid and matching forward and reverse DNS are almost always spammers, with very little false positive identification. Spammers almost never have a server whose reverse DNS address is a domain name that resolves back to the same IP. Most of the time when spammers do have such a thing is when they compromise someone else's (e.g. Yahoo or whatever).

After that, it's a few DNS-based checks of black-listing databases.

Then some pieces of custom logic in the Exim configuration.

Of course, SPF: if the apparent sender's domain publishes an SPF record, I check it to see whether the server connecting is authorized to handle mail for that sender.

Finally, I also have scripts that monitor the mail server's log and implement IP banning (like fail2ban but home brewed). For instance, if the server reports suspicious SMTP commands, this will be ferreted out of the log in real-time and turned into an iptables-based ban that stays in effect for some time.

Oh, plus I have geographic banning in effect. Periodically, I download the latest IP netblock list from ARIN and other autonomous systems and block certain parts of the world (e.g. China) from connecting to my port 25.

Re: Google hacked account

#160
post #117

Earlier quoted context omitted.

"but technical strong people like yourself" I like the sound of that. I actually have run my own mail servers since the mid 90's [1] but I am more of a business guy who knows computers than a strong technical guy the way that I see it. I don't use gmail (for anything important I do use it for unimportant things) I don't like the idea of my mail sitting on their servers. [1] Actually if you include non internet mail d…

How do you deal with spam when self hosting?

spamassasin, or like me, dspam.
Post reply on HN