Clef - two factor authorisation

Status
Not open for further replies.
I am thinking about introducing secure two factor authorisation to a blog. The advantage of the method linked below is that the user does not have to remember a password. There are also no tokens used. The system strength appears to rely on 2048 bit RSA public key encryption with a unique key being generated at every login because the previously used key is invalid.

It requires the user to have a smartphone running either Android or iOS. If the user does not have a smartphone the system defaults to a password logon.

I would appreciate hearing about any thoughts concerning the advantages and disadvantages of this type of system security.

https://getclef.com
 

Apteris

Ars Tribunus Angusticlavius
9,591
Subscriptor
I guess the second factor is the PIN for the Clef app, which the app asks you to create and remember. (As stated in their whitepaper.)

At first glance, seems like 2FA with SSH keys and a better UI. There are worse ideas out there. Not going to protect you if someone steals your phone and dumps its memory, but hey. (Clef mentions they use Apple's Touch ID, where available, which may mitigate the risk in the previous sentence.)
 
What are the two factors? Generally it is something you know (i.e. your password) and something you have (i.e. a security dongle or smartphone). Here I only see something you have.

There is the PIN number and the user's e-mail address which uniquely identify the person.
AFAICT the e-mail address and the PIN number are stored on Clef's server and the phone ID is the last piece which generates the unique encrypted code.
 
I guess the second factor is the PIN for the Clef app, which the app asks you to create and remember. (As stated in their whitepaper.)

At first glance, seems like 2FA with SSH keys and a better UI. There are worse ideas out there. Not going to protect you if someone steals your phone and dumps its memory, but hey. (Clef mentions they use Apple's Touch ID, where available, which may mitigate the risk in the previous sentence.)

I have used iOS with my smartphone and Touch ID means I don't have to type in my PIN. I just wave my phone up to the screen which displays a wave and I am logged in. The phone can be held at any orientation for rotation and it has a lot of room for angular plane variation too.
 

Faramir

Ars Legatus Legionis
36,356
Subscriptor
[url=http:/civis/viewtopic.php?p=30645679#p30645679:24pn8u3z said:
infinite improbability[/url]":24pn8u3z]
What are the two factors? Generally it is something you know (i.e. your password) and something you have (i.e. a security dongle or smartphone). Here I only see something you have.

There is the PIN number and the user's e-mail address which uniquely identify the person.
AFAICT the e-mail address and the PIN number are stored on Clef's server and the phone ID is the last piece which generates the unique encrypted code.
So the second factor is a password, it's just called a PIN instead and isn't very strong?
 

ShuggyCoUk

Ars Legatus Legionis
10,387
Subscriptor++
[url=http:/civis/viewtopic.php?p=30670039#p30670039:3li1b1gw said:
Faramir[/url]":3li1b1gw]
[url=http:/civis/viewtopic.php?p=30645679#p30645679:3li1b1gw said:
infinite improbability[/url]":3li1b1gw]
What are the two factors? Generally it is something you know (i.e. your password) and something you have (i.e. a security dongle or smartphone). Here I only see something you have.

There is the PIN number and the user's e-mail address which uniquely identify the person.
AFAICT the e-mail address and the PIN number are stored on Clef's server and the phone ID is the last piece which generates the unique encrypted code.
So the second factor is a password, it's just called a PIN instead and isn't very strong?

In theory only if you don't have TouchId.

If the PIN is on Clef's server and that's how they deal with device loss then it is indeed pretty crap. If the PIN is tied to the device (so stored on the device, never transmitted in plain (or reversibly encrypted form) to server then it's fine as a stand in for bio-metrics.

However I want to know how it deals with device loss (or indeed it not liking your thumb for some reason)...

Is there a decent technical manual for it anywhere (I had a look around the site and couldn't easily find anything, the developer docs were no use)
 

Faramir

Ars Legatus Legionis
36,356
Subscriptor
A thumb print could be thought of as something you have, which would bring us back to one factor (or rather two factors but of the same kind). Other people call it something you are and consider that a third category. It's worth noting that there are some legal implications in the US regarding the fifth amendment which treat a password more favorably than a thumb print.

I also wonder how they deal with device loss.
 

Apteris

Ars Tribunus Angusticlavius
9,591
Subscriptor
Re: password, in today's Ars article on how Apple will fight the FBI's request for unlocking a locked iPhone, it was mentioned that there's at least one precedent where a defendant was ordered to provide a password to decrypt her laptop, and that it was ruled that this does not constitute a 5th Amendment violation. (On phone, otherwise I'd provide links.)
 
[url=http:/civis/viewtopic.php?p=30645679#p30645679:8s6nmkkh said:
infinite improbability[/url]":8s6nmkkh]
What are the two factors? Generally it is something you know (i.e. your password) and something you have (i.e. a security dongle or smartphone). Here I only see something you have.

There is the PIN number and the user's e-mail address which uniquely identify the person.
AFAICT the e-mail address and the PIN number are stored on Clef's server and the phone ID is the last piece which generates the unique encrypted code.
So the second factor is a password, it's just called a PIN instead and isn't very strong?

Yes. 5 digits
 
[url=http:/civis/viewtopic.php?p=30670039#p30670039:2rhnmv1a said:
Faramir[/url]":2rhnmv1a]
[url=http:/civis/viewtopic.php?p=30645679#p30645679:2rhnmv1a said:
infinite improbability[/url]":2rhnmv1a]
What are the two factors? Generally it is something you know (i.e. your password) and something you have (i.e. a security dongle or smartphone). Here I only see something you have.

There is the PIN number and the user's e-mail address which uniquely identify the person.
AFAICT the e-mail address and the PIN number are stored on Clef's server and the phone ID is the last piece which generates the unique encrypted code.
So the second factor is a password, it's just called a PIN instead and isn't very strong?

In theory only if you don't have TouchId.

If the PIN is on Clef's server and that's how they deal with device loss then it is indeed pretty crap. If the PIN is tied to the device (so stored on the device, never transmitted in plain (or reversibly encrypted form) to server then it's fine as a stand in for bio-metrics.

However I want to know how it deals with device loss (or indeed it not liking your thumb for some reason)...

Is there a decent technical manual for it anywhere (I had a look around the site and couldn't easily find anything, the developer docs were no use)

There is a separate recovery user URL which permits normal password info.
 

ShuggyCoUk

Ars Legatus Legionis
10,387
Subscriptor++
Right, so requires email account compromise, so not so bad.

I agree it's a slightly dodgy second factor, especially given that someone who steals your phone stands a reasonable chance of having a decent thumbprint on there too :). But requiring physical access is still likely a net win for a great deal of people.

Like I said though, in the absence of a decent 'here's all the crypto, and protocols plus assumptions' doc I'm withholding judgement.

I'm personally fine with this (phone and touched) being how I access my own checking account through the banking app I have for example. You can't directly get to much from that, though it is a social engineering spring board if you did.
 

Faramir

Ars Legatus Legionis
36,356
Subscriptor
I saw this post today, which talks about the standardization of something similar:
https://www.paypal-engineering.com/2016 ... passwords/ but I haven't read the linked spec because spec-English :scared: .

[url=http:/civis/viewtopic.php?p=30671471#p30671471:2zzfzvf9 said:
Apteris[/url]":2zzfzvf9]Re: password, in today's Ars article on how Apple will fight the FBI's request for unlocking a locked iPhone, it was mentioned that there's at least one precedent where a defendant was ordered to provide a password to decrypt her laptop, and that it was ruled that this does not constitute a 5th Amendment violation. (On phone, otherwise I'd provide links.)
I haven't read that article, but it is more nuanced than you never have to turn over a password. There's issues of granted immunity and issues of whether or not the act of turning over the password is testimonial. Also I believe that the issue so far has only reached the CoA level and not the Supreme Court. But still and all I think it's fair to say that from a legal standpoint you are no worse off with a password versus a thumb print and potentially better off.
 

krimhorn

Ars Legatus Legionis
39,865
[url=http:/civis/viewtopic.php?p=30673301#p30673301:7cyx8opp said:
Faramir[/url]":7cyx8opp]I saw this post today, which talks about the standardization of something similar:
https://www.paypal-engineering.com/2016 ... passwords/ but I haven't read the linked spec because spec-English :scared: .
FIDO is a little different in that it's a specification geared toward making authentication providers interoperable. So Intel could create a processor that talks to a camera or a touch sensor or a voiceprint recognizer (or all three) in order to perform identification and then sends an id token to a central server which can validate you and tell whomever you're authenticating to that you are who you say you are.

Clef appears to be a fairly standard SSO IdP that's trying to make their name on "easy" two-factor.

Like ShuggyCoUk, I'm going to reserve an opinion as there's not enough information to go on but nothing stands out as an obvious red flag to me either.
 
[url=http:/civis/viewtopic.php?p=30645679#p30645679:2usrk55d said:
infinite improbability[/url]":2usrk55d]
What are the two factors? Generally it is something you know (i.e. your password) and something you have (i.e. a security dongle or smartphone). Here I only see something you have.

There is the PIN number and the user's e-mail address which uniquely identify the person.
AFAICT the e-mail address and the PIN number are stored on Clef's server and the phone ID is the last piece which generates the unique encrypted code.
So the second factor is a password, it's just called a PIN instead and isn't very strong?

Correct. It is a 5 digit number
 
Right, so requires email account compromise, so not so bad.

I agree it's a slightly dodgy second factor, especially given that someone who steals your phone stands a reasonable chance of having a decent thumbprint on there too :). But requiring physical access is still likely a net win for a great deal of people.

Like I said though, in the absence of a decent 'here's all the crypto, and protocols plus assumptions' doc I'm withholding judgement.

I'm personally fine with this (phone and touched) being how I access my own checking account through the banking app I have for example. You can't directly get to much from that, though it is a social engineering spring board if you did.

Thanks. Curious about the thumbprint smiley though.
 
[url=http:/civis/viewtopic.php?p=30673301#p30673301:1guzii5t said:
Faramir[/url]":1guzii5t]I saw this post today, which talks about the standardization of something similar:
https://www.paypal-engineering.com/2016 ... passwords/ but I haven't read the linked spec because spec-English :scared: .
FIDO is a little different in that it's a specification geared toward making authentication providers interoperable. So Intel could create a processor that talks to a camera or a touch sensor or a voiceprint recognizer (or all three) in order to perform identification and then sends an id token to a central server which can validate you and tell whomever you're authenticating to that you are who you say you are.

Clef appears to be a fairly standard SSO IdP that's trying to make their name on "easy" two-factor.

Like ShuggyCoUk, I'm going to reserve an opinion as there's not enough information to go on but nothing stands out as an obvious red flag to me either.

Good to learn that. Thanks
 

Faramir

Ars Legatus Legionis
36,356
Subscriptor
[url=http:/civis/viewtopic.php?p=30674423#p30674423:leo1qppf said:
krimhorn[/url]":leo1qppf]
[url=http:/civis/viewtopic.php?p=30673301#p30673301:leo1qppf said:
Faramir[/url]":leo1qppf]I saw this post today, which talks about the standardization of something similar:
https://www.paypal-engineering.com/2016 ... passwords/ but I haven't read the linked spec because spec-English :scared: .
FIDO is a little different in that it's a specification geared toward making authentication providers interoperable. So Intel could create a processor that talks to a camera or a touch sensor or a voiceprint recognizer (or all three) in order to perform identification and then sends an id token to a central server which can validate you and tell whomever you're authenticating to that you are who you say you are.
At least according to the linked post the OAuth-esque man in the middle is not necessary to the scheme. It talks about generating a keypair per "service provider". One hopes that this could be the long awaited usable peer-to-peer authentication scheme based on public key cryptography.
 

krimhorn

Ars Legatus Legionis
39,865
[url=http:/civis/viewtopic.php?p=30675131#p30675131:5w5gahbh said:
Faramir[/url]":5w5gahbh]
[url=http:/civis/viewtopic.php?p=30674423#p30674423:5w5gahbh said:
krimhorn[/url]":5w5gahbh]
[url=http:/civis/viewtopic.php?p=30673301#p30673301:5w5gahbh said:
Faramir[/url]":5w5gahbh]I saw this post today, which talks about the standardization of something similar:
https://www.paypal-engineering.com/2016 ... passwords/ but I haven't read the linked spec because spec-English :scared: .
FIDO is a little different in that it's a specification geared toward making authentication providers interoperable. So Intel could create a processor that talks to a camera or a touch sensor or a voiceprint recognizer (or all three) in order to perform identification and then sends an id token to a central server which can validate you and tell whomever you're authenticating to that you are who you say you are.
At least according to the linked post the OAuth-esque man in the middle is not necessary to the scheme. It talks about generating a keypair per "service provider". One hopes that this could be the long awaited usable peer-to-peer authentication scheme based on public key cryptography.
True, but I expect most implementations will be the form of a SSO IdP that acts as a "trust" for the user's identity. The user will authenticate via one of the (ideally) many options open to them to the IdP who will then perform a dual sign of their identity token to the requesting party. Users holding their own private keys works in on-device situations where the device itself unlocks the per-device key, that can be recreated via a standard password on another device, but you still need a third-party to be holding the "master" key so that the user's not hosed if their device goes TU.

The beauty of FIDO is that it can work in both user-held Public Key situations and trusted IdP scenarios. That way, if you're not trusting of any third parties, you can protect and back-up your own identifying key but for all other users they can let Apple, Google, Microsoft, et al do that for them. It won't eliminate passwords* but if users only have to remember one actual password then the likelihood that they'll use something stronger than 1234Passw0rd! is better than it is now.

*It could eliminate text passwords if biometrics catches on but then you're looking at storing a voice, eye or finger print with the trusted third party in order to recover your keys if you lose, change or destroy your device.
 

ShuggyCoUk

Ars Legatus Legionis
10,387
Subscriptor++
[url=http:/civis/viewtopic.php?p=30675003#p30675003:1r8vcg35 said:
infinite improbability[/url]":1r8vcg35]
Right, so requires email account compromise, so not so bad.

I agree it's a slightly dodgy second factor, especially given that someone who steals your phone stands a reasonable chance of having a decent thumbprint on there too :). But requiring physical access is still likely a net win for a great deal of people.

Like I said though, in the absence of a decent 'here's all the crypto, and protocols plus assumptions' doc I'm withholding judgement.

I'm personally fine with this (phone and touched) being how I access my own checking account through the banking app I have for example. You can't directly get to much from that, though it is a social engineering spring board if you did.

Thanks. Curious about the thumbprint smiley though.

It has always amused me that the devices that accept fingerprints tend to be shiny smooth glass/metal. That's pretty much the perfect material to lift a fingerprint from.
If you take a look at someone's phone there's a reasonable chance there's a decent finger print on it that someone could lift (at which point manufacturing a duplicate is well within the capability of even a hobbyist - take a look at the youtube videos out there on it).
 
Status
Not open for further replies.