OpenID, smart cards and security risks
There have been lately some posts on the wild-wild-web about a service we've been preparing for public launch but there is one post I'd like to answer right now as it touches the delicate subject of security (or the urge to feel secured and safe).
I have promised a longer and more in-depth English post about the backround of the mentioned service before or right after the "gold v1.0 beta" release (what is happening really soon now, a matter of days I would say) - stay tuned for that.
Mark points out several real risks we must deal with. And yes - the golden rules for security related stuff would be "never say never" and "there is no mission impossible". Even though my post does not give the answer to the original question about phishing nor discuss the generic functioning of smart cards or two factor authentication or identity issues I'd like to make some things clear in the context of open.id.ee solution and answer his concerns.
First: I'd like to make it absolutely clear that Estonia is not issuing OpenID-s as it is all about enabling existing technology and electronic identity rollouts to become OpenID compatible. This is mainly a question of 'addressing' or defining the semantics of the OpenID URL and how (if at all) do we encode the identity information into the OpenID URL. Very technical and very practical problem. You don't issue addresses as they are just merely 'pointers' in programming parlance. You exist independently of any URLs possibly pointing at you. You can issue as many pointers as you like, as long as you understand the address and find it useful.
Second: The reason why this hybrid was created is not absolute security that is required by applications like electronic voting or electronic banking but to improve the overall security and privacy of the online identities of Estonians for the 99% rest of the websites in the wild wild web (and mainly abroad). Something practical. Somethig real. Right now, right here - not on the whiteboard.
Back to the list of things that could fail with open.id.ee:
- A person could be threatened or bribed into activating their smart-card for someone else to use
- You can never avoid the human factor. Threatened - yes (a hammer works best). Bribed? If you're a complete moron selling your identity to someone - you could do it but what would the buyer get? By selling it you only hurt yourself (and the buyer could post on jyte a stupid claim under the sellers name). The idea is mainly to allow those who care to take better care of their online identity. If you don't care and are willing to sell it - there is a problem secure OpenID can't help you with. But what is very important: you can always reclaim your online identity (after you have been forced to part part from your eID card and PIN codes, thanks to either brute force or loads of gold) by applying for new eID 'hardware' (the old one is revoked and becomes useless).
- The openid service itself could be hacked and thus faked
- True. This is one of the biggest problems and this shall be dealt with special care by using a very secure environment and by open sourcing the service software. As this is a pure SSL service server certificates should help eliminate fakes.
- The smart cards could be forged
- Could. But very unlikely. If that would happen you should be much more worried about your Visa card than your online dog forum account. Be sure to check the pictures where I break into my eID card
- Valid smart cards could be given to false identities either through forged documents or dishonest government employees
- This is a more rare crime and way more serious and understood by police than a 'my pet forum account was hijacked'. It is of course possible but here again the technical security of the given solution is secondary and human factor the primary threat.
- Someone could figure out how to simulate a valid smart-card authentication
- I would classify this under the generic security of smart cards. Again - this attack is possible - but very unlikely/difficult/expensive.
- The openid server could have a bug that allowed for cross-site scripting attacks
- True. This is what open source security is all about. You'll eventually see the source code running the v1.0 service (and if there is a reasonable way to have signatures on the actual code running in the servers - you'll have that too)
- A phishing site might discover a way to capture a valid authentication and replay it later
- What would make OpenID collapse. A lot of problems for everybody involved.
Good to know :)
"I’d like to make it absolutely clear that Estonia is not issueing OpenID-s..."
So, even though the National ID card is mandatory, it would work just fine without OpenID integration? Any links on how that works?
Thanks,
Tara