134 points · by twoshedsmcginty · 10y ago · 89 comments
It's a bit tricky to fail someone in an interview because they don't know security. I think the better way to handle security in a company is to hire a programmer that knows it and teaches it to other programmers during code reviews.
http://security.stackexchange.com/questions/211/how-to-secur...
https://paragonie.com/blog/2016/02/how-safely-store-password...
It's strange that candidates would be expected to have any knowledge of security when security is very hard to get right. This is the domain of a dedicated specialist, not a generalist who's usually pressed for time and whose work usually isn't audited.
If you want to get security 90% right, you can spend a few days doing the cryptopals challenges. But you need to get security 100% right, because 90% right means your systems can be compromised. A situation like that pretty much demands security audits.
(It doesn't help that the go-to answer of "Who should we contact to get a security audit?" is "Someone that will charge half a year's salary of a decent engineer," though.)
If you want secure systems, audit them.
That is to say, you can tell someone to google and they'll find "Use bcrypt", but they'll still feel scared and confused because they don't even know if this is quality suggestion or not let alone what bcrypt is doing and why it's better than MD5.
https://paragonie.com/blog/2015/08/you-wouldnt-base64-a-pass...
Look at how TalkTalk ignored a security researcher's warnings a year before incurring a major attack. They were also storing in plain-text, available to support staff, and came up with comments like "We're squeaky-clean on security". This is a PR response, not one from the engineers who know what's going wrong. https://paul.reviews/value-security-avoid-talktalk/
In practice, there's a lot more things involved leading to stupid decisions like this. Something that was supposed to be temporary made permanent by growing technical debt, unclear responsibilities, moving priorities, etc.
Security is never any company's top priority just because it's not visible. Changing a color of a button is normally more important.
It's mind-boggling how many well-known companies stored passwords badly.
Slightly less advertised news: This never happened, the data is from a 2011-2012 leak, and everyone from it was forced to change passwords long ago.
The "33,236 times" password is actually mildly obscene, meaning something close to "everything went to hell". Doesn't make any special sense to me.
It's not a reference to anything i'm aware of.
It's worrying because the founders of VK started Telegram which claims to be end-to-end encrypted.
There was also "remind password" feature: https://twitter.com/extractor/status/739801634423857152
Also, they used to store MD5(password) in cookies.
Yes, these are the same people who made Telegram.
Also, you missed a part of my comment where I said that they sent passwords by email when you clicked "I forgot password".
It's a common name, apparently the English speakers traditionally translated Greek name Μαρίνα (Marina) to "Margaret."
edit: ugly sentence structure.
I wish that there was some way to shame these companies. I've seen some websites that list some of these offenders but they don't appear to be effective enough. I want news articles written about these companies in the magazines that the CIOs care about, with their photo right next to the article.
There should be a warning in the browser that these websites are known to store password in plaintext. This can be achieved by an extension too.
In the website you linked, there is a "3rd party tools" link [1] that has a Chrome extension [2] and a Firefox addon [3] that do just that.
[1]: http://plaintextoffenders.com/tools
[2]: https://chrome.google.com/webstore/detail/plain-text-offende...
[3]: https://addons.mozilla.org/en-US/firefox/addon/plain-text-of...
I'd use bcrypt if I were working on my own project though. I think scrypt goes too far, I would actually be concerned about its speed and memory utilization hurting responsiveness for any sort of web server or other latency-sensitive system.
Edit: LeakedSource has been wrong in the past and will be wrong again. https://news.ycombinator.com/item?id=11805691
They're leeches of the worst kind.
I just happened to find more information on the leak on the page that I linked.
What gives? Russian speaking countries? Multiple accounts per user?