{"id":99,"date":"2018-06-29T13:50:23","date_gmt":"2018-06-29T12:50:23","guid":{"rendered":"https:\/\/willow.systems\/?p=99"},"modified":"2018-07-02T16:17:43","modified_gmt":"2018-07-02T15:17:43","slug":"fingerprint-scanners-are-not-reliable-proof-of-identity","status":"publish","type":"post","link":"https:\/\/willow.systems\/blog\/fingerprint-scanners-are-not-reliable-proof-of-identity\/","title":{"rendered":"Fingerprint scanners are not reliable proof of identity."},"content":{"rendered":"<p><span style=\"font-family: IBM Plex Sans Light, sans-serif;\">There\u2019s a problem with mobile biometrics. More specifically, there\u2019s a disconnect between how they <i>should <\/i>be used, and how they are being used. App developers are treating a fingerprint as though it though it will 100% surely assert that the user is who they say they are when in reality it can&#8217;t, it can only assert that they had access to the phone at one point or another. Looking at Android for specifics, let&#8217;s look at why the problem is there, and how it can be fixed.<br \/>\n<\/span><\/p>\n<p><!--more--><\/p>\n<h3><span style=\"font-family: IBM Plex Sans Light, sans-serif;\"><b>A brief history<\/b><\/span><\/h3>\n<p><span style=\"font-family: IBM Plex Sans Light, sans-serif;\">In 2007 the Toshiba G500 was released. Running a version of Windows for mobile that vastly predates the tiling phone OS we associate with the name today, the device is alleged to be the first mobile phone with a fingerprint scanner. Fingerprint scanners of this era were all optical and if they\u2019re anything like the ones I&#8217;ve used, a bit hit and miss. At the time it was somewhat of a novelty and almost exclusively used to unlock the phone. 6 years pass, and along came the iPhone 5s in 2013 with the now more widely used capacitative style sensor. Again, using it (at first) as a convenient and quick way to unlock your phone. The rest, as they say, is history. As of 2018, 70% of all smartphones shipped will be equipped with a fingerprint scanner. <sup><a href=\"#footnotes\">[1]<\/a><\/sup><\/span><\/p>\n<h3><span style=\"font-family: IBM Plex Sans Light, sans-serif;\"><b>So what\u2019s the problem?<\/b><\/span><\/h3>\n<p>The issue is that because adding a fingerprint is protected only by the lock screen password, and fingerprints are not revoked during a lock screen password change, a valid fingerprint is less a certain assertion it&#8217;s the device&#8217;s owner and more proof that whoever is holding the phone once knew the device password. Even if it&#8217;s since been changed. As such, applications using fingerprints to assert the user&#8217;s identity are also giving access to anyone who has ever know their lock screen password. The difference between &#8216;Authorised to access the device&#8217; and &#8216;Biometrically proven to be the owner&#8217; is a subtle, but important differentiation.<\/p>\n<p>An obvious use case here is that many couples, friends, and siblings have access to each others phones, usually because they borrow it from time to time. For me this is true, I know the password to a few of my friends phones. Now whilst these people may not have an issue with me unlocking their phone read a message to them whilst they&#8217;re driving, or so that I can show them the latest viral video, they most likely don&#8217;t want me having access to their banking applications or paypal etc. But once I know their password, pattern, or pin, I <em>almost always<\/em> have access to all of this.<\/p>\n<figure id=\"attachment_141\" aria-describedby=\"caption-attachment-141\" style=\"width: 344px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" class=\" wp-image-141\" src=\"https:\/\/willow.systems\/wp-content\/uploads\/2018\/06\/verify-231x300.png\" alt=\"\" width=\"344\" height=\"447\" srcset=\"https:\/\/willow.systems\/blog\/wp-content\/uploads\/2018\/06\/verify-231x300.png 231w, https:\/\/willow.systems\/blog\/wp-content\/uploads\/2018\/06\/verify-768x998.png 768w, https:\/\/willow.systems\/blog\/wp-content\/uploads\/2018\/06\/verify-788x1024.png 788w, https:\/\/willow.systems\/blog\/wp-content\/uploads\/2018\/06\/verify.png 1000w\" sizes=\"(max-width: 344px) 100vw, 344px\" \/><figcaption id=\"caption-attachment-141\" class=\"wp-caption-text\">Mobile apps like IBM&#8217;s Verify or Google&#8217;s Authenticator that use biometrics to assert your identity are limited by the way fingerprints are added<\/figcaption><\/figure>\n<h4>But if you&#8217;re sharing passwords, you can&#8217;t expect privacy!<\/h4>\n<p>So the obvious retort to the above example is that if someone has knowingly given me the password to unlock their phone, shouldn&#8217;t they expect that I&#8217;d be able to access everything? This isn&#8217;t, however, true if you use passwords for everything. For example if you have a password on your banking application it can be set to a different password to the one on your phone or your paypal account etc, and everyone knows that password reuse is a bad <em>bad<\/em> security practice.<\/p>\n<p>The point is passwords allow you to enforce a finer-grained access control across your accounts than fingerprints allow for, and assuming that the fingerprint proves the identity of the user is a bad idea. Fingerprints are better usernames than they are passwords.<\/p>\n<h4>Adding fingerprints is not fingerprint protected<\/h4>\n<p>Let&#8217;s look at a quick scenario. Bob is setting up his new phone, and he installs paypal. Paypal asks him to sign in with a username and password and Bob, being security aware, has a unique 20 character password only used for Paypal. Now, once installed it prompts him and asks &#8216;Use fingerprint to unlock app in future&#8217; and bob ticks &#8216;yes&#8217; to save time. So far everything is fine, but now, when Alice asks to use Bob&#8217;s phone, he gives her the lock screen pattern. By knowing the pattern to his lockscreen, Alice can now add a new fingerprint and subsequently can use her fingerprint to login to every app allowing fingerprint logins, an umbrella under which most banking apps fall under.<\/p>\n<figure id=\"attachment_118\" aria-describedby=\"caption-attachment-118\" style=\"width: 293px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" class=\"size-full wp-image-118\" src=\"https:\/\/willow.systems\/wp-content\/uploads\/2018\/06\/AddFingerprint2.gif\" alt=\"\" width=\"293\" height=\"558\" \/><figcaption id=\"caption-attachment-118\" class=\"wp-caption-text\">Adding a fingerprint on Android<\/figcaption><\/figure>\n<p>Fingerprints are being used my many apps to assert the person holding the phone&#8217;s identity, when currently <strong>it can only verify the person knew how to unlock the device<\/strong>.<\/p>\n<h4>Fingerprints persist password changes<\/h4>\n<p>Lastly, when you update your device password in Android the registered fingerprints stay on the device. I personally have 2 fingers enrolled on my phone, such that I can unlock in with either hand. But considering I unlock my device with my left hand about once every 3 months, how do I know someone who knew my old phone password didn&#8217;t delete my left fingerprint and enroll their own? I doubt many people check the fingerprint settings often enough to know if a new finger or two had cropped up. This therefore means that changing the password on your phone does not guarantee retracting access to anyone who previously had it.<\/p>\n<h4>Android tells apps when the fingerprint data updates, doesn&#8217;t it?<\/h4>\n<p>Whilst the Android fingerprint API <em>can<\/em> <a href=\"https:\/\/github.com\/googlesamples\/android-FingerprintDialog\">tell the app that fingerprint information has been updated<\/a>, and that the app should force password authentication again, I&#8217;ve seen several apps that don&#8217;t act on this. In my tests, my Nationwide banking app did prompt for password re-auth, but Monzo, Nextcloud and a few more did not.<\/p>\n<p>Furthermore, it does not alert the user that it&#8217;s asking for a password because the fingerprint information has changed, so many users would simply enter their password and continue to use fingerprint authentication.<\/p>\n<h4>It&#8217;s not the end of the world. But it&#8217;s not great either.<\/h4>\n<p>I want to make it clear that I don&#8217;t think this is the end of the world. In many cases, banking applications that allow unlocking with a fingerprint won&#8217;t allow you to add a new payee without further step up authentication, so you can&#8217;t see someone&#8217;s screen pattern then steal all their money. I do think it is somewhat of a process flaw though, you should be able to grant a person access to the unsecured apps on your phone without relinquishing access to the secure and often private information in other applications.<\/p>\n<h3><strong>How do we fix it?<\/strong><\/h3>\n<p>&nbsp;<\/p>\n<h4><strong>Option 1 &#8211; Two types of fingerprint<\/strong><\/h4>\n<figure id=\"attachment_123\" aria-describedby=\"caption-attachment-123\" style=\"width: 362px\" class=\"wp-caption alignleft\"><img loading=\"lazy\" class=\"wp-image-123\" src=\"https:\/\/willow.systems\/wp-content\/uploads\/2018\/06\/Fingerprints_demo-1-231x300.png\" alt=\"\" width=\"362\" height=\"470\" srcset=\"https:\/\/willow.systems\/blog\/wp-content\/uploads\/2018\/06\/Fingerprints_demo-1-231x300.png 231w, https:\/\/willow.systems\/blog\/wp-content\/uploads\/2018\/06\/Fingerprints_demo-1-768x998.png 768w, https:\/\/willow.systems\/blog\/wp-content\/uploads\/2018\/06\/Fingerprints_demo-1-788x1024.png 788w, https:\/\/willow.systems\/blog\/wp-content\/uploads\/2018\/06\/Fingerprints_demo-1.png 1000w\" sizes=\"(max-width: 362px) 100vw, 362px\" \/><figcaption id=\"caption-attachment-123\" class=\"wp-caption-text\">A mockup of how this could work<\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<p>The first option is to have two types of fingerprint, one which can unlock your account, and one which can assert your identity.<\/p>\n<p>In this scenario you would have to have a &#8216;master fingerprint&#8217; that you scan in order to allow a new fingerprint to assert your identity, but this does come with a whole host of other issues. When dealing with fingerprints you can&#8217;t rule out that there&#8217;s going to be a scenario where a person no longer has access to their master finger. Accidents happen.<\/p>\n<p>&nbsp;<\/p>\n<p>This option avoids having another password for the user to remember (after all, isn&#8217;t that part of the point of fingerprints?), but it&#8217;s not the cleanest.<\/p>\n<h4><strong>Option 2 &#8211; A master password for fingerprint adding<\/strong><\/h4>\n<p>Option 2 is a simpler approach to the above: Simply require a master password to be set when you first configure a fingerprint on the OS, and then require this password instead of the lock screen password in the future. This would be my personal approach as it&#8217;s simple and easy, but adds an extra layer of security.<\/p>\n<h4><strong>Option 3 &#8211; Don&#8217;t use fingerprint authentication<\/strong><\/h4>\n<p>Of course, there is always the option not to use these systems. Leave your Nationwide, Paypal or other banking app password protected. Lose the ease of use of a fingerprint for the fine grained security of a password. A lot of the time security is little more than complex risk mitigation and, if you have something you really need to protect, a password is a lot more secure than a fingerprint<\/p>\n<h2><strong>Wrapping up&#8230;<\/strong><\/h2>\n<p>Fingerprints are great for certain things. A second factor to accompany a password, being the username to a traditional password, a convenient way to unlock a device. However, due to the way that Android uses the same password used to unlock the device to add new fingerprints (fingers on what it falsely presumes to be the same person), they are not suited to verify with 100% certainty that it&#8217;s the phone owner holding the device. <strong>They&#8217;re really acting more as a token that proves the person scanning their finger knew the device password at one point or another.<\/strong> A master password on the fingerprint setting would be the easiest fix, and something I&#8217;d like to see in the future.<\/p>\n<h6><\/h6>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<footer id=\"footnotes\">\n<h6>Sources:<\/h6>\n<ul>\n<li>1 &#8211; <a href=\"https:\/\/www.androidauthority.com\/2018-smartphones-fingerprint-sensors-803905\">https:\/\/www.androidauthority.com\/2018-smartphones-fingerprint-sensors-803905\/<\/a><\/li>\n<\/ul>\n<\/footer>\n","protected":false},"excerpt":{"rendered":"<p>There\u2019s a problem with mobile biometrics. More specifically, there\u2019s a disconnect between how they should be used, and how they are being used. App developers are treating a fingerprint as though it though it will &hellip;<\/p>\n","protected":false},"author":1,"featured_media":113,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/willow.systems\/blog\/wp-json\/wp\/v2\/posts\/99"}],"collection":[{"href":"https:\/\/willow.systems\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/willow.systems\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/willow.systems\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/willow.systems\/blog\/wp-json\/wp\/v2\/comments?post=99"}],"version-history":[{"count":40,"href":"https:\/\/willow.systems\/blog\/wp-json\/wp\/v2\/posts\/99\/revisions"}],"predecessor-version":[{"id":160,"href":"https:\/\/willow.systems\/blog\/wp-json\/wp\/v2\/posts\/99\/revisions\/160"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/willow.systems\/blog\/wp-json\/wp\/v2\/media\/113"}],"wp:attachment":[{"href":"https:\/\/willow.systems\/blog\/wp-json\/wp\/v2\/media?parent=99"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/willow.systems\/blog\/wp-json\/wp\/v2\/categories?post=99"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/willow.systems\/blog\/wp-json\/wp\/v2\/tags?post=99"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}