News for hackers. Stuff that matters.
Re:TeamViewer stores user passwords in registry, encrypted w... by Thorrez on Tuesday February 04, 2020 @01:21AM (#22232929)
> Since there's a central server involved in this authentication

According to a comment above, it's possible to use teamviewer purely locally, without a central server.

Re:TeamViewer stores user passwords in registry, encrypted w... by marcus_holmes on Tuesday February 04, 2020 @01:52AM (#22233076)
How does TV authenticate a login locally if disconnected from the server?

I mean, in an ideal world where they didn't save the user's password locally...

Re:TeamViewer stores user passwords in registry, encrypted w... by Thorrez on Tuesday February 04, 2020 @11:01PM (#22243901)
Are you asking how they currently do it, or how it could theoretically be done better?

If you're asking how they currently do it, I guess by sending the password, but I don't really know.

One way that would be slightly better than that would be to send the hash. That's still a replayable token, but it has the advantage that if someone does password reuse it's not immediately replayable against other websites. Ideally the hash would be salted (maybe with the username and some teamviewer-specific constant). Even better than sending it would be to use a PAKE, authenticated with that salted hash.

Maybe an alternative would be some sort of asymmetric key system, where each device gets its own keypair. I guess it depends on exactly what functionality is needed. Does it need to be able to be setup offline, or can it be setup online, then go offline for further use?

Re:TeamViewer stores user passwords in registry, encrypted w... by marcus_holmes on Thursday February 06, 2020 @09:41AM (#22256271)
Yeah I guess the first.

I suppose they could insist on an online login before they allow an offline login, then save the hash locally. A bad person would need to generate a hash collision to login then.