NewsCrawler.org

Slack's Measures Against Exposed Passwords and Hijacked Session Cookies

Slack's Measures Against Exposed Passwords and Hijacked Session Cookies
Slack's Measures Against Exposed Passwords and Hijacked Session Cookies
Image: Reddit

Slack describes its measures to protect user passwords, session cookies[1], tokens and webhooks[2] from breaches and misuse. Since 2016, the company has invalidated tokens and webhooks found exposed on the internet, using regular expressions[3] tailored to their format. These secrets often end up hard-coded in development code and published on GitHub, and the owners are notified.

Slack then extended this approach to passwords. Threat intelligence partners supply data from breaches, dark web forums, botnets and malware, and when a user's credential matches this data, the password is reset and blocked from reuse. Because Slack stores passwords as salted hashes[4], it salts and hashes each candidate password from this data, compares the result with its database, and then discards the data. Affected users receive an email explaining the reset.

Session cookies are stored on the user's device, so a compromised device lets an attacker reuse them. Slack invalidates exfiltrated cookies quickly and, when needed, schedules the logout outside the user's weekday working hours in their timezone. Affected users are notified by email, and on Enterprise plans with Slack Audit Logs the invalidation is recorded there.

Read the original slack.engineeringDiscussion

Sources

Published: First seen: Читать по-русски

Open as a page