10 ms·
New information about Slack’s 2015 security incident
- oceliker 7y agoThe blog post doesn't make it clear: In 2015, did Slack let the users know that the plaintext passwords were captured as well?
- nvr219 7y agoNo
- rys 7y agoAnd tried to claim in the emails to those affected that it might be the result of malware on their system, performing exfil from a password manager, because they didn't know the real reason. I spent a couple of days doing nothing but trying to prove to myself that wasn't the case on my machine, and have low-key (and sometimes really seriously) worried about it ever since.
- maxtaco 7y agoKeybase CEO here. Let me tell a quick story. January 2019. I was loading the car to leave for a short family ski vacation when I got a truly horrifying email: that my slack account had been accessed from a distant land (that I hadn't been to). There goes my weekend! When we first started Keybase, we used Slack as other teams did, but were gradually moving all Slack-based workflows over to Keybase. As such, we didn't use it for anything beyond communicating when Keybase was down. But I was very worried. I knew I used a good, random, one-time password for Slack, so it couldn't have been that the password was stolen from somewhere else. Had my computer been rooted? Had my side-hustle password manager been compromised (oneshallpass.com). I immediately contacted Slack security and asked them if this issue was on their side, and they neglected to point me to the relevant blog article from 2015 (which didn't detail the extent of the compromise, we now know). They just said they take security very seriously and hinted I was at fault. In the subsequent few weeks, I reset all of my passwords, threw away all my computers, bought new computers, factory-reset my phone, rotated all of my Keybase devices, and reestablished everything from the ground up. It cost me a lot of time, money and stress. In the end, I was pretty sure but not 100% convinced that if I had been rooted, that the attackers couldn't follow me to my new setup. But with these things, you can really never know for sure. I got the email today that my account might have been compromised in the attack. I would say for sure that it was compromised, and I can breathe a big sigh of relief, that was the explanation I wanted to hear all along. It was great to know throughout this ordeal that the product we're building --- Keybase --- solves this problem in a fundamental way, not with adding further workarounds (2FA while better than just password alone, reminds me a bit of the 3-digit verification code on the back of your credit card; and if Slack's credential database is compromised again, 2FA won't help at all). With Keybase, all of your data is E2E encrypted, and your encryption keys never leave your device. A would-be attacker who compromised our database would have no ability to access any important user data. Summary: estimated cost to me: - $5000 worth of hardware - 60 hours of labor - 25 hours of lost sleep - 10 additional hours of team effort Fortunately: * Keybase does not communicate sensitive information in slack such as cap tables, financials, employment decisions or compensation discussions, team reviews, company devops secrets, stupid memes that could be taken out of context, or private DM'ing. Basically we just use a `#breaking` channel in Slack, for when we break Keybase. * Keybase itself is immune from this kind of break-in. Edits: wordsmithing and improvements Also: Import your Slack team to Keybase: https://keybase.io/slack-importer https://keybase.io/slack-importer
- jhiesey 7y agoWhy throw away your computers? Why not remove/disconnect the batteries (if portable) and just store them somewhere in case you eventually no longer suspect a hardware hack, as in this case?
- maxtaco 7y agohttps://www.welivesecurity.com/2018/09/27/lojax-first-uefi-rootkit-found-wild-courtesy-sednit-group/ https://www.welivesecurity.com/2018/09/27/lojax-first-uefi-r...
- malgorithms 7y agoFurther: Keybase is a security product and it wasn't deemed worth the risk for the CEO. And while Keybase isn't made of money, the $5k was roughly irrelevant compared to the other costs mentioned here and the _magnitude of the risk_. If you haven't been through this kind of thing, it's hard to understand how scary it is to have a break-in of unknown origin. If you use strong, unique passwords as Max did, then you're almost certain it's a server break in (and again, this is why Slack is scary for sensitive info)...but being 99% certain isn't enough. Removing that computer permanently from the team gave peace of mind.
- frivolous 7y agoSorry, but you're just being wasteful. You were looking for an excuse and you know it.
- voiper1 7y agotl;dr: UEFI rootkits can survive operating system reinstallation and even a hard disk replacement. That's why he needed a new physical computer.
- ubercow13 7y agoI think if this happened to me I would just assume the company was hacked due to poor security practices. It seems much more likely than my password being stolen from a device of mine considering that a very significant percentage of companies I have account with seem to have had breaches at some point. But maybe I am just naive.
- cremp 7y ago> inserted code that allowed them to capture plaintext passwords as they were entered by users at the time Huh? I get if you 'lose' a database backup, but hashing on the server side has always been the wrong way to do things. If you hash it in JS before the request is sent, there is no possible way for you, or any attacker to get the raw user password; only if they literally change production code to send a new request to another endpoint. > users we confirmed to be affected. So everyone who logged in during the event? > resetting passwords for all accounts that were active at the time of the 2015 incident That's what should have happened the first time. Once you have attacker modified code, you cannot trust what you have on file is accurate or not already taken.
- swsieber 7y agoThe point of hashing it server side is that even identical passwords get different hashes in the database. You can't do that just by hashing the password in the js.
- colejohnson66 7y agoIs letting the client know the salt a problem?
- txcwpalpha 7y agoA salt being public is usually fine. AFAIK most modern suggested hashing libraries use a random salt and store the salt in plaintext next to the hashed password anyway. A properly salted-and-hashed password is still practically uncrackable even if the attacker knows the exact salt used.
- flatiron 7y agoi've always stored the salt plain text, how else do you store a salt? i need to be able to use it with 0 information about the user other than "they are trying to use this password"
- DINKDINK 7y ago>The attackers also inserted code that allowed them to capture plaintext passwords as they were entered by users at the time. >Today we are resetting passwords for all accounts that were active at the time of the 2015 incident Ok so Slack's security is still dependent on the (unrealistic) hope that their authentication-receiving process isn't manipulable and nothing has changed. I.e. "we are very sorry, we are praying this doesn't happen again" It would be better if their authentication-receiving process wasn't dependent on being not manipulable through a "Password-authenticated key agreement" PAKE: https://en.wikipedia.org/wiki/Password-authenticated_key_agreement https://en.wikipedia.org/wiki/Password-authenticated_key_agr... >irreversibly encrypted, or “hashed,” passwords Please, don't describe hashes inaccurately as enciphering information. "Scrambled" is marketable enough.
- segmondy 7y agoDon't forget that Slack is a php shop. Once a system is compromised, it's easy to edit the code.
- AbortedLaunch 7y agoStrange, the 2015 report says nothing about inserted code. Did they not know about it until 2019?
- polemic 7y agoThey knew about it in 2015.
- polemic 7y agoI'm surprised how under reported this has been. There were basically three scenarios: 1. They knew about the malicious code in 2015 and chose to misrepresent the breach, effectively lie to customers. (note that they didn’t reset passwords in 2015, take that how you will) 2. They didn’t know about the malicious code until somewhat later, and they chose not to inform anyone. 3. They only discovered it recently and they were muddying the water as much as possible to make it look like it was part of the 2015 breach It turns out it was somewhere between (1) and (2). They've since revealed the did know about the issue soon after that notification, but chose only to disclose it to small number of users who they believed to be effected. https://twitter.com/SlackHQ/status/1152005165802614786 https://twitter.com/SlackHQ/status/1152005165802614786 > We initially believed those credentials to be the result of malware or password re-use between services and took immediate action to protect accounts. However, we later concluded the majority of credentials were from accounts that logged in to Slack during the 2015 incident. But it turns out it effected a much wider pool of people, and they continue to misrepresent the nature of the breach and it's impact. Their communications are very carefully crafted to downplay the situation or muddy the timelines. Even the title of this piece "New Information...". The information is 4 years old, they're only coming clean now! Slack had an adversary capturing plain text passwords in 2015 and didn't disclose this to potentially effected users. This is a massive trust issue.
- deleted 7y ago[deleted]