Swedish e-leg fiasco

Since the rather public display of identity fraud via Telia’s e-leg a couple of weeks ago, it is interesting to do some more digging, and what a better place to start than with the Swedish e-leg? Apparently the architecture will be using SAML federation, i.e. they have a relationship that they trust each other. Every ticket includes an identity (a SAML assertion) it is digitally signed but the signing is not embedded in the SAML assertion.  The YouTube video below describes this specific inherent weaknesses in SAML, but clearly (and hopefully) these issues have now been fixed. However according to the speaker (questions at the end) the signature signing standard in SAML is very complex, and there are not many that really understand it fully enough to implement properly. The main problem seems to be the way the signature is separate from the SAML assertion. [youtube=http://youtu.be/RHIkb9yEV1k] If the vulnerabilities mentioned from 2012 have been fixed, there is in any case potentially integrity issues for customers with the Swedish e-leg implementation, namely: You can’t see what you are signing!

  • What you will see in the web-browser has a very weak connection to what you are signing. What this means is that your digital signature is not encapsulated with the text you are signing online, i.e. your signature and text are not married. I could leave the rest to your imagination, but I’ll give you one risk just to start with, and that is a Man-in-the-browser (MitB) trojan changes the content in the browser.

What you do maybe not be exactly what you expect!

  • This is exactly it, the customer… well that could be you, can potentially be ‘lured’ into signing something that you were not expecting to sign.  It is likely that the e-leg service works so that the identification of a user leads to a legitmate transaction. However this could be a logon to a service or digital signing of a transaction. There are other services available today that differentiate a signing transaction from a logon request. Swedish e-leg does not differentiate these two different transactions.

However, now the Myndigheten för samhällsskydd och beredskap (MSB) has published a summary report “Analys av informationssäkerheten i Svensk e-legitimation” (link broken, 2015-05-21). The detailed reports has been labelled as Secret.  However I guess that they are fixing all the potential security flaws, of just a couple I have named above. The thing that bothers me still is that even in the recommendations they are still fixated on using SAML for the infrastructure. Funny that this report came out though in the wake of the Telia e-leg identity fraud fiasco 😉 Have fun reading!

How embarrassing for Sweden’s e-leg!

law-legislationOr is it?  Not really, it was an id fraud just waiting to happen, so if it is no surprise than it is not embarrassing really….. except it was top Swedish profiles that had their e-leg used fraudulently. That was pretty awkward for Telia, SBAB, Avanza and the Swedish Tax Authority ….and the party poppers were out this weekend for Swedish press.

SBAB and Avanza immediately issued a statement saying that they had stopped using the Telia e-leg. However the Swedish Tax Authority are waiting to see how things develop…..

But why do I say it was an id fraud waiting to happen? The problem is pretty straightforward. All credentials pertaining to access to information that we as natural and legal persons need to access/process is organised with the information, what I call ‘information silos’, not with the natural person. An ‘information silo’ can be financial information, i.e. your money in the bank, it could be your tax returns, or it could be your health information, your children’s information held by government authorities. In fact every ‘information silo’ has your logon credentials, i.e. your so called ‘digital identity’ or as was the case in this rather embarrassing crime, your e-leg. If you were to add to this list your credentials on LinkedIn, Facebook, your store cards, and loyalty schemes… you have potentially 100s of ‘digital identities’ that are fair game to identity fraud. Although I said this wrong… you don’t have 100s of ‘digital identities’, because they don’t belong to you. You have no control over your so called ‘digital identities’ whether these are in the form of e-leg or not. Well e-leg is yours, right? No it is not, it’s not controlled by you. In this example of id fraud, your digital id is created by a third party, and they even send the secret codes for access to information through the post.

I don’t know anyone that knows exactly how many ‘digital identities’ they have, because all so called ‘digital identities’ are owned and managed by the owners of the ‘information silos’. Clearly if you trust the 100s of information owners to be doing their job right, and to care about you and your personal privacy, then I guess it’s not a problem, but I don’t. I am sure that I care more about my digital identity than anyone else out there controlling my access to their information silos.

I don’t know anyone that has complete control over their digital identity or their digital footprint. What is more is that if anything bad happened to any of these identities, you would have no idea… even if you check your bank account daily, it doesn’t matter, because this is only one of many opportunities for identity fraudsters to take over and cause temporary chaos (for just a year or two) in your, and your family’s life.

So what’s the future? What I visualise is a world whereby I own my digital identity. I control my digital identity. I have only a single digital identity that is a digital and legal representative of my natural self. The fact that I own my digital identity, all transactions pertaining to my digital self will be mine.   This means that if I have a 100 places that I conduct digital interactions, that regardless of which legal entity has been agreed to own the content of the interaction, both parties will receive details of all transactions pertaining to the digital interactions. This would give me, as the identity owner, absolute transparency, and legal traceability.

It is how it should work after all. One digital identity for each natural/legal person. It’s pretty obvious really, isan’t it?