News for hackers. Stuff that matters.
Re:Protectimus TOTP tokens with time synchronization are goi... by geofft on Tuesday April 30, 2019 @11:10AM (#19788617)
> The only disadvantage of this token to date was the possibility of time drift. This problem is inherent to all TOTP tokens, without exception. TOTP tokens contain an on-board clock. Inevitably, the clock gradually gets ahead of or falls behind the actual time. Per RFC 6238, the time difference between the token and server should be monitored by the server software.

> But users often don't have access to the authentication server, so Protectimus figured out a way of correcting the token's clock instead. The time will be resynchronized when a secret key is flashed to the to the token.

Not sure I follow... the sync happens because when the user sends an attempted TOTP code to the server, the server calculates a few codes just before/after the current time, and if they match, the server updates its cache of the token's clock drift. Nothing is stored on the client. Why would this not be an option? (It requires the same access as required to send it a code in the first place, no more.)

It seems like a serious negative to have a hardware token with significant complexity on board; at that point you're better off using a smartphone which gets software updates, because you have a platform that's rich enough to have vulnerabilities and an attack surface. (And you can do things like put a password on the smartphone.) Hardware tokens with no inputs, like RSA keyfobs, make more sense.

Re:Protectimus TOTP tokens with time synchronization are goi... by icebraining on Tuesday April 30, 2019 @11:25AM (#19788774)
> Not sure I follow... the sync happens because when the user sends an attempted TOTP code to the server, the server calculates a few codes just before/after the current time, and if they match, the server updates its cache of the token's clock drift. Nothing is stored on the client. Why would this not be an option? (It requires the same access as required to send it a code in the first place, no more.)

"The server" here is owned by the site where you're logging into, not by Protectimus, so you can't make it do those things. They found a way to fix the clock issue from the end they can affect.

Plus you need some input anyway, since the TOTP protocol requires a shared secret, and for some reason it became a standard that the server is the one providing it on setup.

Re:Protectimus TOTP tokens with time synchronization are goi... by geofft on Tuesday April 30, 2019 @05:49PM (#19792345)
Are there servers that don't sufficiently deal with clock drift on their own? (And TOTP devices that drift their clock by more than a few minutes a year?)
Re:Protectimus TOTP tokens with time synchronization are goi... by icebraining on Tuesday April 30, 2019 @07:52PM (#19793194)
Searching for "TOTP drift" seems to indicate it's a problem. I'm personally not very knowledgeable, but I've used a few TOTP libraries, and I don't remember any actually recording the detected drift like the RFC recommends. At most they allow for some drift from the current time, but that's usually up to 1-1.5mins, so if the token drifts more than that, it won't work.
Re:Protectimus TOTP tokens with time synchronization are goi... by underyx on Tuesday April 30, 2019 @11:18AM (#19788704)
At a price tag of $30, you're better off buying a U2F hardware key such as a Solo[0], a YubiKey, or Google's Titan.

TOTP is still vulnerable to phishing attacks and MitM, while U2F machine-verifies the application ID, thus making phishing impossible (unless the phishing site tricks the user into using a non-U2F backup method for 2FA.) The downside is limited adoption, such as no support from Safari, and no support on most websites today. But I expect U2F to have a bright future ahead.

[0]: https://shop.solokeys.com/

Re:Protectimus TOTP tokens with time synchronization are goi... by yangl1996 on Tuesday April 30, 2019 @11:21AM (#19788726)
Webkit's webauthn support is in development [0]. Hopefully the adoption will improve a lot once all major browsers support it.

[0]: https://bugs.webkit.org/show_bug.cgi?id=181943

Re:Protectimus TOTP tokens with time synchronization are goi... by icebraining on Tuesday April 30, 2019 @11:46AM (#19788973)
What's the user story for mobile browsers? Other than having a key hanging off an OTG adapter, how can we secure a login made over a phone or tablet?
Re:Protectimus TOTP tokens with time synchronization are goi... by Freak_NL on Tuesday April 30, 2019 @12:06PM (#19789168)
WebAuthn can use the TPM chip in smartphones. It works the same as a discrete hardware WebAuthn token: the key material is generated on the chip, and never leaves it. The smartphone OS can't access the key on the TPM either, only use it cryptographically to prove possession of the key.

You can test it right now with any recent Android smartphone with TPM chip:

https://webauthn.io/

Apple will eventually join the club too once they stop dragging their feet.

Of course with the TPM you effectively have a hardware token permantently physically linked to your smartphone, so it changes the security analysis a bit.

For users this means that WebAuthn for accessing websites on a TPM-capable smartphone is really just a matter of unlocking the device when prompted. Quite user friendly.

Re:Protectimus TOTP tokens with time synchronization are goi... by kitotik on Tuesday April 30, 2019 @11:53AM (#19789036)
There are NFC capable yubikeys, but I think in general the Secure Enclave of the phone itself is used to store auth creds.
Re:Protectimus TOTP tokens with time synchronization are goi... by StavrosK on Tuesday April 30, 2019 @11:39AM (#19788907)
WebAuthn can't get here soon enough. I am really really looking forward to it.
Re:Protectimus TOTP tokens with time synchronization are goi... by icebraining on Tuesday April 30, 2019 @11:48AM (#19788989)
OTOH, an advantage of TOTP is that it can be used without plugging in stuff, so it works on machines that don't let you access the USB ports, or that don't have them at all.
Re:Protectimus TOTP tokens with time synchronization are goi... by dmix on Tuesday April 30, 2019 @01:35PM (#19790072)
Is Solo better than Yubikey in any way?

Edit: looks like solo has a USB-C + NFC option that seems to be missing from Yubikey's selection.

Edit 2: Same with Feitian which also only has USB-A for the NFC product...

Re:Protectimus TOTP tokens with time synchronization are goi... by jsiepkes on Tuesday April 30, 2019 @11:14AM (#19788661)
I there still a need to evolve TOTP now that we have FIDO2 / WebAuthn?
Re:Protectimus TOTP tokens with time synchronization are goi... by mjlee on Tuesday April 30, 2019 @11:32AM (#19788838)
There are a huge number of services out there that support TOTP and show no sign of implementing WebAuthn.

Apple's business tools still only support SMS authentication.

Re:Protectimus TOTP tokens with time synchronization are goi... by yarrel on Tuesday April 30, 2019 @12:05PM (#19789156)
Top Of The Pops?
Re:Protectimus TOTP tokens with time synchronization are goi... by Freak_NL on Tuesday April 30, 2019 @12:07PM (#19789181)
I was confused to find I landed on a page about some British pop music show when looking for a general overview of TOTP on Wikipedia.
Re:Protectimus TOTP tokens with time synchronization are goi... by fmajid on Tuesday April 30, 2019 @01:32PM (#19790049)
I'm guessing Top Of The Pops, a British institution?

Try: https://en.wikipedia.org/wiki/Time-based_One-time_Password_a...