Why the secure question in your email provider just sucks
My sister recently had her Hotmail account compromised.
As the IT guy of the family, she asked me to try to retrieve her account.
That's where the fuck begun. (can I say donkey punch? it's feels more adequate...)
I tried to acces her account with her old password. As expected, it wasn't successful.
I clicked on the "recover my password" and tried the secret question ... of course, it was a new one, impossible to answer it.
I decided to send the recovery password to the secondary email. For that, hotmail shows you the first two letters of the secondary email, and the domain where it belongs.
For me, it was sf*****@live.fr, but no one in the family have this email. The hacker had changed it too.
So, I decided to try the last solution, contact the Support center.
They provide a form to complete with the maximum information to confirm you are the owner of this account.
In those questions, you can find :
- Your first and last name
- Your birth date
- Your address
- Some subject of emails you sent
- Some contact you have
- Some other password you used.
I asked my sister the maximum information she can provide me, and sent the form.
Two hours later (that was quite fast!), the answer was definitive : "We cannot identify you as the owner of this email address, we are sorry".
Her Hotmail account (and all accounts related to it, like facebook) were dead.
So, what this has to do with the secure question?
A quick Google search shows that secure question sucks. They sucks because you can have the best password ever, the question you will provide is something that you know and is generally official.
By generally official, I mean something that can be found either by searching on the web (Facebook is the best place ever for that) or by social engineering (a bit more twisted :p)
So any one, with a bit of knowledge to about the person, can access its account.
Thinking like a hacker, after gaining access to an account, what would you do? Obviously, those steps:
- Changing the password
- Changing the secondary email for recover the lost password
- Changing the secrete question
- Changing all the personnal information, even the mobile phone
- Deleting emails.
Doing these steps make the Hotmail form useless, since only the old password used can still be relevant. (#fail)
I believe, and I'm not the only one, that secure question should be removed from every website that use them.
This technique is more helpful for hackers that try to access an account that for people that tries to recover their account, since a compromised account have it's secure question changed (<= this is just sooo dumb).
Ok, so what should we do instead?
I don't have THE solution, but looking at some place, like GMail (for example), great ideas can be highlighted :
- First of all, REMOVE THE FUCKING SECURE QUESTION! (or change the answer with something like "rzezzkoe zer zerkop zkper zerz ekrz")
- Allow secondary emails to be multiple, keep a trace of them, and when a password is lost, allow the user to choose between his current and old secondary email, where to send the password recovery link. Since the secondary email has probably changed to the hacker address, keeping them in the memory should seems obvious!
- Send a code by sms to a phone. But like the secondary email, keep a trace of the previous phone and let the user choose. The hacker will probably change that too. Eventually, force the user to confirm it's new phone number by sending a code every time he changes his profile phone number. That would force the hacker to enter a valid phone number or not changing it at all.
- Send a unique identifier when a user create an account, to it's secondary email that it should keep. Ask it when his account can't be retrieved. (That's what GMail does).
- Enabling 2-way authentication (like GMail).
GMail limit the access to the "Answer to your secure question" at 5 days after the request. I don't know why.
My first though was "That's genious! If the user does not login for 5 days, then the question is opened". But, it doesn't work for many reasons :
- If the account has been compromised, the "not real" user will access it within the 5 days range.
- If you are on vacation, you won't probably access to your inbox during 5 days.
Well, some of you will notice me that my sister could have indicated her phone number, that would have make the recovery work eventually easier. But how many users like to share their personal information with their email provider?
Please, Hotmail, GMail, Yahoo, and all the others, remove the secure question, you do not help your users.
I hope you enjoyed this post.
Feel free to debate in the comment below, I would love to know your opinion on it :) A. Kainwood.Follow me on twitter !
Feel free to debate in the comment below, I would love to know your opinion on it :) A. Kainwood.Follow me on twitter !