Re:TeamViewer stores user passwords in registry, encrypted w...
by amluto on Monday February 03, 2020 @02:40PM
(#22228098)
Storing a bearer token in the registry means that anyone who compromises the registry once gets persistent access. There are multiple solutions:
1. Store a token that is replaced with a new token on every successful connection. This makes it very obvious if the token is stolen: either the stolen token stops working quickly or your connection stops working.
2. Store a key using a privileged service (TPM, Microsoft KSP, etc) that provides only the ability to use the key, not to read it.
1. Store a token that is replaced with a new token on every successful connection. This makes it very obvious if the token is stolen: either the stolen token stops working quickly or your connection stops working.
2. Store a key using a privileged service (TPM, Microsoft KSP, etc) that provides only the ability to use the key, not to read it.
3. Both 1 and 2.