0

My question is: What are some standard device authentication methods, in a scenario when:

  • The desktop computer is being authenticated on web service
  • I provide the .exe on the desktop
  • I control the web service
  • The desktop has a TPM chip installed

Should I get the Device id from the desktop, then somehow sign it with TPM and send it to web service? What is the standard method?

  • Take a look at FIDO U2F / UAF and WebAuthn. This is state of the art authentication protocols, and probably the best option to implement. You can use the TPM to protect the device key in this protocol. – Natanael Feb 26 at 17:12
  • Thanks, but this seems rather complex to implement, i was hoping for a simple protocol that can leverage TPM on client, for device authentication on web service. Note that i only need to positively id the device. – guest Feb 28 at 12:17
  • I don't believe anything simpler exists that would be considered secure, and that is well supported. Keep in mind that webauthn / U2F has existing support in web browsers and server authentication libraries, the only thing you need is a local program that call the TPM and that emulate a U2F device, and code for the TPM itself. The only simpler option is TOTP, but this won't have native browser support, the user must type the generated code – Natanael Mar 1 at 15:08
0

Trying to answer my question, reviews are welcome.

On https connection :

  • Alice requests random number from Bob in publicly accessible web service

  • Alice signs random number with her private key within TPM 2.0

  • Alice sends signed random number to Bob

  • Bob verifies that Alice signed random number

  • How long is a request valid? Are you properly binding it to the client / server so that replay attacks can't work? – Natanael Mar 1 at 15:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.