Live data from Hacker News

Show HN: Device-Bound Session Tokens in JavaScript

session-lock.keyri.com

11–12 of 12 posts

Re: Show HN: Device-Bound Session Tokens in JavaScript

#11

Earlier quoted context omitted.

Actually, Session-Lock does offer some protection against some MITM attacks in the form of a timeout that would be triggered with most MITM attacks, but its purpose (and that of Chrome's DBSC proposal) is to protect against cookie stealer malware, not MITM. This is malware that steals session tokens from the device's filesystem. Take a look here to understand the threat: https://blog.google/threat-analysis-group/phis…

If the user has malware can't that steal the private key as well? Why is it hard to exfil if the attacker has full access?

In an ideal world, the private key should be stored in an HSM, preventing exfiltration. However, even assuming an HSM, the current scheme doesn't protect against malicious actors pre-signing requests on the client and exfiltrating those requests.

This library adds more defense-in-depth, making it harder to attack sessions, but not impossible.

Post reply on HN