News for hackers. Stuff that matters.
Re:TeamViewer stores user passwords in registry, encrypted w... by tptacek on Monday February 03, 2020 @02:22PM (#22227897)
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.

Re:TeamViewer stores user passwords in registry, encrypted w... by Polylactic_acid on Monday February 03, 2020 @07:34PM (#22231040)
If 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.
Re:TeamViewer stores user passwords in registry, encrypted w... by tptacek on Monday February 03, 2020 @08:04PM (#22231251)
The 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.
Re:TeamViewer stores user passwords in registry, encrypted w... by closeparen on Monday February 03, 2020 @07:52PM (#22231157)
Reading keystrokes sent to other applications requires higher privileges than reading registry and filesystem, no?
Re:TeamViewer stores user passwords in registry, encrypted w... by _nedR on Tuesday February 04, 2020 @06:30AM (#22234424)
Not on linux/x.org (wayland is more secure)for certain... i am guessing not on windows either but i am not sure...