3 ms·
The normal thing to do here is to use the credential just once to generate a (revocable) token, and to store that (reversibly encrypted). Especially if you own
by tptacek 7y ago
The normal thing to do here is to use the credential just once to generate a (revocable) token, and to store that (reversibly encrypted). Especially if you own both sides of the connection, it is in fact a bad idea to store user passwords; they're irrevocable and inevitably shared across services.
As security advice for developers, the writeup you're commenting about isn't especially useful. But that's not the point. It's a standard consulting war story post, about how they managed step-by-step to exploit a weakness in an application. As a war story, it seems plenty competent.
- Polylactic_acid 7y agoIf you are able to grab the users password off of their computer then you are able to capture it as they type it. Passwords are stored unencrypted on computers all the time, your browser stores passwords.
- closeparen 7y agoReading keystrokes sent to other applications requires higher privileges than reading registry and filesystem, no?
- _nedR 7y agoNot on linux/x.org (wayland is more secure)for certain... i am guessing not on windows either but i am not sure...
- tptacek 7y agoThe point of tokenizing is to minimize the number of times you ever need to handle the actual password, in part to avoid exactly those attacks.