{"id":6817,"date":"2022-09-02T15:23:53","date_gmt":"2022-09-02T09:53:53","guid":{"rendered":"https:\/\/zv3d.wpengine.com\/us\/?p=6817"},"modified":"2024-12-18T15:33:49","modified_gmt":"2024-12-18T10:03:49","slug":"beyond-passwords-zetas-advanced-authentication-for-secure-financial-transactions","status":"publish","type":"post","link":"https:\/\/www.zeta.tech\/us\/resources\/blog\/beyond-passwords-zetas-advanced-authentication-for-secure-financial-transactions\/","title":{"rendered":"Beyond Passwords: Zeta\u2019s Advanced Authentication for Secure Financial Transactions"},"content":{"rendered":"<p>Password based authentication is known to have many weaknesses. The weaknesses are chiefly attributable common human behavior of reusing the same password across services, using passwords that can be easily remembered, etc. There is a lot of advice in information security books on how to safeguard password data so that even if a service is compromised the attacker will not be able to retrieve passwords of its users and then use them elsewhere. Some of the good services follow the textbook advice of using key derivation functions and enforce password complexity. However, for some time now it is known that\u00a0<a href=\"https:\/\/www.youtube.com\/watch?v=zUM7i8fsf0g\">password complexity and key derivation functions are not sufficient defenses<\/a>. Large databases of passwords used by users across services are easily available to attackers. This really simplifies the password matching. It is also observed that about\u00a0<a href=\"https:\/\/www.korelogic.com\/Resources\/Presentations\/bsidesavl_pathwell_2014-06.pdf\">13,000-15,000 patterns represent close to 100%<\/a>\u00a0of the passwords used by users. In one of the Fortune 100 companies, 47% of the passwords used matched top 5 patterns. So, system architects\u00a0<strong><em>cannot<\/em><\/strong>\u00a0assume that:<\/p>\n<ol>\n<li>Users will choose strong passwords<\/li>\n<li>They are immune to password compromises on other sites<\/li>\n<li>If their data is compromised, attackers will not be able to derive user passwords<\/li>\n<\/ol>\n<p>Therefore, many services started adopting second-factor authentication. This additional factor acts as a defense when user\u2019s password is compromised. However, the attacker will be able to confirm the password of the user before the second-factor kicks in. Also, the second factor does not eliminate or reduce the risks due to compromised data of the service.<\/p>\n<p>At Zeta, we handle very sensitive information for our users. It is crucial to protect access to this information. Given the limitations of passwords discussed above, we realized that we have to\u00a0go beyond the traditional practices to protect our user data.<\/p>\n<p>It is common to use a\u00a0one-time token (TOTP, HOTP, SMS\/EMAIL OTP) as a\u00a0second factor after the\u00a0user is authenticated using a password. We believe OTPs are not widely used as the first factor because:<\/p>\n<ol>\n<li>of the low level of randomness, they offer<\/li>\n<li>people historically used passwords as the\u00a0first factor and continued with it<\/li>\n<li>it introduces a\u00a0dependency on additional devices and alternative channels of communication<\/li>\n<li>the potential for abuse of Email\/SMS communication by attackers<\/li>\n<li>they are not\u00a0suitable for use as the only factor of authentication<\/li>\n<\/ol>\n<p>The advantage of short-lived tokens delivered to phone or Email is that the service will be able to enforce a\u00a0certain minimum level of randomness. Such tokens are also not vulnerable to compromise of user\u2019s data at other services. Given the ubiquity of SMS-capable mobile phones and accessibility of email on the web, we felt we could rely on SMS and email delivery. Therefore, we devised a mechanism using short-lived OTPs as first factor and relatively static passwords as the second factor.<\/p>\n<p>In our approach, a user is partially authenticated with an OTP. After OTP authentication, we provide a cryptographically secure random salt to the user agent to perform client-side key derivation with the salt and the password provided by the user and use the derived hash as the user\u2019s password on the server. This avoids the inherent weaknesses of the passwords used by users.<\/p>\n<p>[The following content assumes prior knowledge of SHA-256, HMAC, scrypt\u00a0and ECDSA]<\/p>\n<p><strong>Our Scheme<\/strong><\/p>\n<ol>\n<li>When a user enters her identity (usually an email address or a phone number) to log in, the user agent generates a public and private key pair using a secure random generator on the device and communicates identity and public key to the server requesting for an authentication session.<\/li>\n<li>After successful initiation of the authentication session, the user is prompted for an OTP delivered to Email\/SMS or a TOTP generated using software\/hardware token.<\/li>\n<li>When the user provides the OTP, the user agent makes a request to validate this first factor provided by the user. This request for validation is digitally signed using the private key generated in step 1.<\/li>\n<li>On successful verification of the OTP, the first-factor validator sends a signed request to a second-factor validator. This request includes the public key shared by the user agent.<\/li>\n<li>The second factor authenticator passes a user specific 128-bit salt (UserSpecificSalt), to the user agent. The user agent is expected to prompt the user for the password. After accepting the password, user agent generates an HMAC SHA256 of the password using UserSpecificSalt as the key. A validation request is made to second-factor validator with the computed HMAC as the user\u2019s password. [<em>Given that UserSpecificSalt is cryptographically secure, the derived HMAC is also equally random, irrespective of the password used by the user<\/em>]<\/li>\n<li>The second-factor validator considers the HMAC provided by the client as the user\u2019s secret and performs scrypt using another user specific 256 bit key as salt (ScryptSalt). (The derived hash from the scrpyt is stored and authentication is performed against this has for all requests).<\/li>\n<li>Once authenticated, second-factor validator issues a digitally signed certificate for the public key presented by the user agent in the step-1, associating the public key to the user. The authentication session initiated in step-1 ends. The resultant certificate can be used to establish a data and transaction session.<\/li>\n<\/ol>\n<p><strong>Note:<\/strong><\/p>\n<ul>\n<li>Salts and keys are generated using the most secure source of random data available in the host environment.<\/li>\n<li>UserSpecificSalt, ScryptSalt and the result of scrypt are encrypted using AES 256 and stored in separate data zones.<\/li>\n<li>ECDSA with 256-bit private keys is used for all signatures and certificates. The private keys used by first-factor validator and second-factor validator for signing certificates are backed by hardware security modules.<\/li>\n<li>Password check attempts of a user are rate limited to 5 in a window of 5 hours.<\/li>\n<li>TLS 1.2 with Diffie-Hellman is used for data exchange between all entities involved.<\/li>\n<\/ul>\n<p><strong>Summary<\/strong><\/p>\n<p>The above scheme ensures that:<\/p>\n<ol>\n<li>A reusable\/static password cannot be used directly on Zeta to verify if it is the user\u2019s chosen password.<\/li>\n<li>Irrespective of the complexity of the password chosen by the user, the password used for authentication at the server is cryptographically secure.<\/li>\n<li>Zeta servers never see the password of the user.<\/li>\n<li>No information stored on any of the data centers is sufficient to arrive at the user\u2019s passphrase or to impersonate the user.<\/li>\n<li>Compromise of all data from all servers is also insufficient to arrive at user\u2019s chosen password.<\/li>\n<\/ol>\n<p>As with almost all client-server authentication schemes, a compromised or non-compliant user agent or a compromised network will make the scheme vulnerable to a variety of threats. However, the impact of any such exploit will be limited to the user accessing the systems from such compromised environment.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>An innovative authentication model leverages OTPs and cryptographic methods to enhance security and protect user data beyond traditional password vulnerabilities.<\/p>\n","protected":false},"author":11,"featured_media":7062,"comment_status":"open","ping_status":"open","sticky":false,"template":"single-engg.php","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[49],"tags":[],"class_list":["post-6817","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-engineering"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v25.1 (Yoast SEO v25.1) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Beyond Passwords: Zeta\u2019s Advanced Authentication for Secure Financial Transactions - Zeta US<\/title>\n<meta name=\"description\" content=\"An innovative model uses OTPs and cryptography to enhance security and eliminate password vulnerabilities.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.zeta.tech\/us\/resources\/blog\/beyond-passwords-zetas-advanced-authentication-for-secure-financial-transactions\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Beyond Passwords: Zeta\u2019s Advanced Authentication for Secure Financial Transactions\" \/>\n<meta property=\"og:description\" content=\"An innovative model uses OTPs and cryptography to enhance security and eliminate password vulnerabilities.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.zeta.tech\/us\/resources\/blog\/beyond-passwords-zetas-advanced-authentication-for-secure-financial-transactions\/\" \/>\n<meta property=\"og:site_name\" content=\"Zeta US\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/LifeAtZeta\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-09-02T09:53:53+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-12-18T10:03:49+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.zeta.tech\/us\/wp-content\/uploads\/sites\/2\/2022\/09\/Beyond-Passwords_-Zeta\u0393COs-Advanced-Authentication-for-Secure-Financial-Transactions-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Team Zeta\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/zetasuite\" \/>\n<meta name=\"twitter:site\" content=\"@zetasuite\" \/>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Beyond Passwords: Zeta\u2019s Advanced Authentication for Secure Financial Transactions - Zeta US","description":"An innovative model uses OTPs and cryptography to enhance security and eliminate password vulnerabilities.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.zeta.tech\/us\/resources\/blog\/beyond-passwords-zetas-advanced-authentication-for-secure-financial-transactions\/","og_locale":"en_US","og_type":"article","og_title":"Beyond Passwords: Zeta\u2019s Advanced Authentication for Secure Financial Transactions","og_description":"An innovative model uses OTPs and cryptography to enhance security and eliminate password vulnerabilities.","og_url":"https:\/\/www.zeta.tech\/us\/resources\/blog\/beyond-passwords-zetas-advanced-authentication-for-secure-financial-transactions\/","og_site_name":"Zeta US","article_publisher":"https:\/\/www.facebook.com\/LifeAtZeta\/","article_published_time":"2022-09-02T09:53:53+00:00","article_modified_time":"2024-12-18T10:03:49+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/www.zeta.tech\/us\/wp-content\/uploads\/sites\/2\/2022\/09\/Beyond-Passwords_-Zeta\u0393COs-Advanced-Authentication-for-Secure-Financial-Transactions-1.png","type":"image\/png"}],"author":"Team Zeta","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/zetasuite","twitter_site":"@zetasuite","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.zeta.tech\/us\/resources\/blog\/beyond-passwords-zetas-advanced-authentication-for-secure-financial-transactions\/#article","isPartOf":{"@id":"https:\/\/www.zeta.tech\/us\/resources\/blog\/beyond-passwords-zetas-advanced-authentication-for-secure-financial-transactions\/"},"author":{"name":"Team Zeta","@id":"https:\/\/www.zeta.tech\/us\/#\/schema\/person\/eae1c9529bbb16b37b5f5d8169588d65"},"headline":"Beyond Passwords: Zeta\u2019s Advanced Authentication for Secure Financial Transactions","datePublished":"2022-09-02T09:53:53+00:00","dateModified":"2024-12-18T10:03:49+00:00","mainEntityOfPage":{"@id":"https:\/\/www.zeta.tech\/us\/resources\/blog\/beyond-passwords-zetas-advanced-authentication-for-secure-financial-transactions\/"},"wordCount":1106,"commentCount":0,"publisher":{"@id":"https:\/\/www.zeta.tech\/us\/#organization"},"image":{"@id":"https:\/\/www.zeta.tech\/us\/resources\/blog\/beyond-passwords-zetas-advanced-authentication-for-secure-financial-transactions\/#primaryimage"},"thumbnailUrl":"https:\/\/www.zeta.tech\/us\/wp-content\/uploads\/sites\/2\/2022\/09\/Beyond-Passwords_-Zeta\u0393COs-Advanced-Authentication-for-Secure-Financial-Transactions.png","articleSection":["Engineering"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.zeta.tech\/us\/resources\/blog\/beyond-passwords-zetas-advanced-authentication-for-secure-financial-transactions\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.zeta.tech\/us\/resources\/blog\/beyond-passwords-zetas-advanced-authentication-for-secure-financial-transactions\/","url":"https:\/\/www.zeta.tech\/us\/resources\/blog\/beyond-passwords-zetas-advanced-authentication-for-secure-financial-transactions\/","name":"Beyond Passwords: Zeta\u2019s Advanced Authentication for Secure Financial Transactions - Zeta US","isPartOf":{"@id":"https:\/\/www.zeta.tech\/us\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.zeta.tech\/us\/resources\/blog\/beyond-passwords-zetas-advanced-authentication-for-secure-financial-transactions\/#primaryimage"},"image":{"@id":"https:\/\/www.zeta.tech\/us\/resources\/blog\/beyond-passwords-zetas-advanced-authentication-for-secure-financial-transactions\/#primaryimage"},"thumbnailUrl":"https:\/\/www.zeta.tech\/us\/wp-content\/uploads\/sites\/2\/2022\/09\/Beyond-Passwords_-Zeta\u0393COs-Advanced-Authentication-for-Secure-Financial-Transactions.png","datePublished":"2022-09-02T09:53:53+00:00","dateModified":"2024-12-18T10:03:49+00:00","description":"An innovative model uses OTPs and cryptography to enhance security and eliminate password vulnerabilities.","breadcrumb":{"@id":"https:\/\/www.zeta.tech\/us\/resources\/blog\/beyond-passwords-zetas-advanced-authentication-for-secure-financial-transactions\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.zeta.tech\/us\/resources\/blog\/beyond-passwords-zetas-advanced-authentication-for-secure-financial-transactions\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.zeta.tech\/us\/resources\/blog\/beyond-passwords-zetas-advanced-authentication-for-secure-financial-transactions\/#primaryimage","url":"https:\/\/www.zeta.tech\/us\/wp-content\/uploads\/sites\/2\/2022\/09\/Beyond-Passwords_-Zeta\u0393COs-Advanced-Authentication-for-Secure-Financial-Transactions.png","contentUrl":"https:\/\/www.zeta.tech\/us\/wp-content\/uploads\/sites\/2\/2022\/09\/Beyond-Passwords_-Zeta\u0393COs-Advanced-Authentication-for-Secure-Financial-Transactions.png","width":600,"height":378},{"@type":"BreadcrumbList","@id":"https:\/\/www.zeta.tech\/us\/resources\/blog\/beyond-passwords-zetas-advanced-authentication-for-secure-financial-transactions\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.zeta.tech\/us\/"},{"@type":"ListItem","position":2,"name":"Beyond Passwords: Zeta\u2019s Advanced Authentication for Secure Financial Transactions"}]},{"@type":"WebSite","@id":"https:\/\/www.zeta.tech\/us\/#website","url":"https:\/\/www.zeta.tech\/us\/","name":"Zeta US","description":"Launch Next-Gen Credit Cards With Zeta","publisher":{"@id":"https:\/\/www.zeta.tech\/us\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.zeta.tech\/us\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.zeta.tech\/us\/#organization","name":"Zeta","url":"https:\/\/www.zeta.tech\/us\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.zeta.tech\/us\/#\/schema\/logo\/image\/","url":"https:\/\/www.zeta.tech\/us\/wp-content\/uploads\/sites\/2\/2022\/02\/logo-white-xx.png","contentUrl":"https:\/\/www.zeta.tech\/us\/wp-content\/uploads\/sites\/2\/2022\/02\/logo-white-xx.png","width":114,"height":46,"caption":"Zeta"},"image":{"@id":"https:\/\/www.zeta.tech\/us\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/LifeAtZeta\/","https:\/\/x.com\/zetasuite","https:\/\/www.linkedin.com\/company\/zetasuite\/"]},{"@type":"Person","@id":"https:\/\/www.zeta.tech\/us\/#\/schema\/person\/eae1c9529bbb16b37b5f5d8169588d65","name":"Team Zeta","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.zeta.tech\/us\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/b4167de5b0a18bf54bbed35289788cbca3a1e16a9ba9a3c0aedffbdecd91c1df?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b4167de5b0a18bf54bbed35289788cbca3a1e16a9ba9a3c0aedffbdecd91c1df?s=96&d=mm&r=g","caption":"Team Zeta"},"description":"Meet Team Zeta, a diverse group of experts who regularly contribute their insights to our blog. From banking trends to regulatory compliance, each Zetanaut brings a unique perspective to the table. Stay ahead of the curve by following our blog for the latest industry knowledge and expertise from Team Zeta.","sameAs":["https:\/\/www.linkedin.com\/company\/zetasuite","https:\/\/x.com\/https:\/\/twitter.com\/zetasuite"],"url":"https:\/\/www.zeta.tech\/us\/resources\/blog\/author\/teamzeta\/"}]}},"_links":{"self":[{"href":"https:\/\/www.zeta.tech\/us\/wp-json\/wp\/v2\/posts\/6817","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.zeta.tech\/us\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.zeta.tech\/us\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.zeta.tech\/us\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/www.zeta.tech\/us\/wp-json\/wp\/v2\/comments?post=6817"}],"version-history":[{"count":0,"href":"https:\/\/www.zeta.tech\/us\/wp-json\/wp\/v2\/posts\/6817\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.zeta.tech\/us\/wp-json\/wp\/v2\/media\/7062"}],"wp:attachment":[{"href":"https:\/\/www.zeta.tech\/us\/wp-json\/wp\/v2\/media?parent=6817"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zeta.tech\/us\/wp-json\/wp\/v2\/categories?post=6817"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zeta.tech\/us\/wp-json\/wp\/v2\/tags?post=6817"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}