Mechanism for detecting compromise of synchronization passkey

By introducing a new protocol for end-to-end encryption and decoy credential segmentation into the credential backup service, the problem of user credential leakage when the credential backup service is compromised is solved, achieving efficient detection and protection against unauthorized logins while maintaining the availability and security of existing services.

CN123147129APending Publication Date: 2026-11-20VISA INTERNATIONAL SERVICE ASSOCIATION
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202580030162.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2024-04-26
Filing Date
2025-04-25
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

When the credential backup service is compromised, user credentials may be leaked. Existing technologies cannot effectively detect and prevent unauthorized login attempts and may reintroduce account recovery issues.

Method used

A new credential backup protocol is introduced to protect user password credentials through end-to-end encryption and to subdivide them into a decoy subset and a non-decoy subset. A detection mechanism is used to identify attackers using decoy credentials during login attempts and to notify the user that the credential backup service has been compromised.

Benefits of technology

It effectively detects and prevents unauthorized login attempts, protects user credentials from attacks, and does not affect the availability of existing credential backup services and account recovery mechanisms. It features a high probability of false alarms, a low false alarm rate, and ease of deployment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123147129A_ABST
    Figure CN123147129A_ABST
Patent Text Reader

Abstract

A method includes generating, by a user device, a set of detection secrets (Π). The user device obtains a user credential ( ) from a user of the user device. Based on the set of detection secrets (Π) and the user credential ( ), the user device determines a true secret ( ). The user device stores the true secret ( ). The user device provides the set of detection secrets (Π) and a backup account identifier (aid) of an account associated with the user to a server computer.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] Cross-references to related applications

[0002] This application is a PCT application that claims priority to U.S. Provisional Patent Application No. 63 / 639,138, filed April 26, 2024, the entire contents of which are incorporated herein by reference. Background Technology

[0003] Credential Backup Services (CBS) offer a solution to account recovery issues by remotely backing up users' password credentials. However, while addressing the recovery problem, such credential backup services introduce a new technical challenge: if the credential backup service is compromised, user credentials may be compromised.

[0004] Compared to authentication methods based on user-selected credentials (e.g., passwords, passphrases, or security questions), user authentication methods based on password credentials (e.g., FIDO2

[13] , one-time passwords (OTP)

[11] ) are increasingly favored and adopted in practice.

[0005] In some systems, FIDO2 is set to completely replace user-selected text-based authentication in the near future [2], and one-time passwords are the dominant type in existing two-factor authentication systems.

[0006] This widespread adoption is largely attributed to the compelling security guarantees inherent in the design of credential-based authentication protocols. Specifically, the private key

[17] used in FIDO2-based authentication, or the seed[49, 50] used to generate new one-time passwords, is unpredictable and uniformly randomly selected, thus protecting against remote guessing attacks. In contrast, user-selected credentials are highly predictable and therefore vulnerable to guessing attacks. However, this randomness makes credentials impossible for users to remember

[28] , and users must store these random credentials on their devices to log in to their accounts.

[0007] This concern necessitates that existing websites allow users to revert to a user-selected secret so that account recovery is possible if password credentials become unavailable due to loss, theft, or malfunction of the user's device. However, such an insecure account recovery option undermines all the high security guarantees that password credentials can provide; as attackers can now instead focus their attention on guessing the user-selected secret required to complete the insecure account recovery process [41, 53].

[0008] Credential backup services, such as iCloud Keychain[1], Google Password Manager

[14] , 1Password[6], LastPass[5], DashLane[4], and two-factor authentication (2FA) applications

[31] , offer a solution to this account recovery problem by backing up users’ password credentials to cloud storage and then syncing them back to their devices when needed. While credential backup services are a promising solution for users and websites that do not want to revert to an insecure authentication method based on user-selected secrets for account recovery, they open up new attack surfaces when compromised. Attackers can steal users’ credentials from the cloud storage of a compromised credential backup service and use those stolen credentials to take over users’ accounts on different websites. Such compromises can occur, for example, due to a breach of the credential backup service or due to an insider gaining oracle access to the credential key-value store used by the credential backup service.

[0009] The embodiments of this disclosure individually and collectively address this problem and other issues. Summary of the Invention

[0010] One embodiment relates to a method comprising: generating a detection secret set by a user device; obtaining user credentials from a user of the user device by the user device; determining a real secret by the user device based on the detection secret set and the user credentials; storing the real secret by the user device; and providing the detection secret set and a backup account identifier of an account associated with the user to a server computer by the user device.

[0011] Another embodiment relates to a user device, including: a processor; and a computer-readable medium coupled to the processor, the computer-readable medium including code executable by the processor for implementing a method comprising: generating a detection secret set; obtaining user credentials from a user of the user device; determining a real secret based on the detection secret set and the user credentials; storing the real secret; and providing a server computer with the detection secret set and a backup account identifier of an account associated with the user.

[0012] Another embodiment relates to a method comprising: receiving a user account identifier from a user device by a computer attempting to access an account maintained by the computer on behalf of the user device; generating an authentication message by the computer in response to the user account identifier; providing the authentication message to the user device by the computer, wherein the user device modifies the authentication message using cryptographic credentials associated with an authentication key; receiving the modified authentication message from the user device by the computer; determining by the computer whether the modified authentication message was modified using cryptographic credentials associated with a stored authentication key in a set or subset of authentication keys stored in the computer, wherein the subset of authentication keys includes decoy keys; generating a cryptographic credential failure message by the computer if the modified authentication message was modified using cryptographic credentials associated with a stored authentication key in the subset of authentication keys; and providing the cryptographic credential failure message to a user associated with the account using an alternative communication channel.

[0013] Another embodiment includes a dependent computer comprising a processor and a computer-readable medium. The computer-readable medium includes code executable by the processor to perform the methods described above.

[0014] Further details regarding embodiments of this disclosure can be found in the detailed description and the accompanying drawings. Attached Figure Description

[0015] Figure 1 A block diagram of a system according to an embodiment is shown.

[0016] Figure 2 A block diagram of the components of a user device according to an embodiment is shown.

[0017] Figure 3 A system and flowchart illustrating an overview of the messages and stages in the system, according to an embodiment, are shown.

[0018] Figure 4 A flowchart illustrating a new credential backup and recovery method according to an embodiment is shown.

[0019] Figure 5 A flowchart illustrating an authentication method according to an embodiment is shown.

[0020] Figure 6 A flowchart illustrating a detection method according to an embodiment is shown.

[0021] Figure 7 A graph according to an embodiment is shown, which illustrates the minimum expected true detection probability as The function, where and change, .

[0022] Figure 8 A graph according to an embodiment is shown, which illustrates the minimum expected true detection probability as The function, where , and change. Detailed Implementation

[0023] Before discussing the embodiments of this disclosure, some terms may be described in further detail.

[0024] "User" can include an individual. In some embodiments, a user can be associated with one or more personal accounts and / or mobile devices. In some embodiments, a user can also be referred to as a cardholder, account holder, or consumer.

[0025] A “user device” can be a device operated by a user. Examples of user devices include mobile phones, smartphones, cards, personal digital assistants (PDAs), laptops, desktop computers, server computers, vehicles (such as automobiles), simplified client devices, tablet PCs, etc. Additionally, a user device can be any type of wearable technology device, such as a watch, headphones, glasses, etc. A user device can include one or more processors capable of processing user input. A user device can also include one or more input sensors for receiving user input. As is known in the art, various input sensors exist capable of detecting user input, such as accelerometers, cameras, microphones, etc. User input obtained by input sensors can come from various data input types, including but not limited to audio data, visual data, or biometric data. A user device can include any electronic device that can be operated by a user, and said electronic device can also provide remote communication capabilities with a network. Examples of remote communication capabilities include using mobile phone (wireless) networks, wireless data networks (e.g., 3G, 4G, or similar networks), Wi-Fi, Wi-Max, or any other communication medium that can provide access to a network (e.g., the Internet or a private network).

[0026] The term "verification" and its derivatives can include the process of using information to determine whether an underlying subject is valid under a given set of conditions. Verification can include any comparison of information to ensure that certain data or information is correct, valid, accurate, legitimate, and / or credible.

[0027] "User credentials" User credentials may include information that instructs the user or indicates information about the user. User credentials may include user-specific information. User credentials may be stored as a secret by the user's device. User credentials may be passwords, PINs, passphrases, answers to security questions, pattern locks, user biometrics, etc.

[0028] "Secret" can include information that is not normally shared between devices. A secret can be a private key.

[0029] The "detection secret set" (Π) can include multiple secrets. The detection secret set can include real secrets and multiple decoy secrets.

[0030] "The Real Secret" The real secret can be one of a plurality of secrets selected as the actual secret. The real secret can be used to obfuscate data. The real secret can be used during the masking process to mask cryptographic credentials. The real secret can be used by the user device to communicate with other computers to authenticate the user device. The user device can use the real secret to obfuscate cryptographic credentials, such as a private key, which can be used to sign, modify, or otherwise interact with data sent to another computer for authentication of the user device. The other computer can verify that the data was signed, for example, using an authentication key corresponding to the cryptographic credential.

[0031] A "decoy secret" can include one of a plurality of secrets that has not been selected as the actual secret. The decoy secret protects the real secret from being identified within the detection secret set. The decoy secret can be used in a manner similar to the real secret. However, in some embodiments, when the decoy secret is identified as being in use, the device that identified the decoy secret can determine that a data breach has occurred and that the device using the decoy secret is a malicious device. The decoy secret can be used to obfuscate cryptographic credentials used during authentication in a similar manner. If cryptographic credentials obfuscated by the decoy secret are identified as being in use, the computer using the decoy secret can be identified as a malicious computer.

[0032] "Password certificate" This can include data that can be used to cryptographically modify other data. Cryptographic credentials can be used to sign, modify, or otherwise interact with data. Data signed, modified, or interacted with by a cryptographic credential can be verified using a verification key. For example, a cryptographic credential can be a cryptographic key. In some embodiments, a cryptographic credential can be the private key in a public-private key pair. A cryptographic credential can correspond to a verification key. In other embodiments, a cryptographic credential can be a symmetric cryptographic key, where the corresponding verification key is the same key as the cryptographic credential.

[0033] "Verification Key" This can include a public cryptographic key used to identify a specific cryptographic credential. A verification key can be generated based on the cryptographic credential. The verification key can be used, for example, to verify a signature created from the corresponding cryptographic credential on data.

[0034] "Verification key set" It can include multiple verification keys. The verification keys in the verification key set can correspond to cryptographic credentials obfuscated with real secrets and multiple decoy cryptographic credentials obfuscated with decoy secrets.

[0035] "Backup account identifier" This can be a value that identifies the backup account. The backup account identifier can identify a backup account that the user device has or is creating at the provider's computer.

[0036] "User account identifier" This can be a value that identifies a user account. A user account identifier can identify a user account that the user device has or is creating at the dependent computer.

[0037] "Dependency computer identifier" This can be a value that identifies the dependent computer. A dependent computer can be associated with a unique dependent computer identifier.

[0038] A “processor” can include means for processing things. In some embodiments, a processor can include any suitable one or more data computing means. A processor can include one or more microprocessors that work together to perform a desired function. A processor can include a CPU that includes at least one high-speed data processor sufficient to execute program components for performing user and / or system-generated requests. A CPU can be a microprocessor, such as AMD’s Athlon, Duron and / or Opteron; IBM and / or Motorola’s PowerPC; IBM and Sony’s Cell processor; Intel’s Celeron, Itanium, Pentium, Xeon and / or XScale; and / or similar processors.

[0039] "Memory" can be any suitable one or more devices capable of storing electronic data. Suitable memory can include non-transient computer-readable media whose storage can be executed by a processor to implement desired methods. Examples of memory can include one or more memory chips, disk drives, etc. Such memory can be operated using any suitable electrical, optical, and / or magnetic modes of operation.

[0040] A "server computer" can include a powerful computer or cluster of computers. For example, a server computer can be a mainframe, a small cluster of computers, or a group of servers operating as a single unit. In one example, a server computer can be a database server coupled to a web server. A server computer can include one or more computing devices and can use any of a variety of computing architectures, arrangements, and compilations to serve requests from one or more client computers.

[0041] I. Introduction

[0042] The embodiments address the technical problem of potential leakage of user credentials when a credential backup service is compromised. To resolve this problem, the embodiments provide a framework that allows uncompromised websites to detect unauthorized login attempts using credentials stolen from a compromised credential backup service.

[0043] This embodiment provides a novel credential backup protocol that protects user-backed-up credentials from compromised credential backup services and implements a probabilistic detection mechanism that websites can employ during login attempts. The security of each embodiment is presented, and its beneficial effects are analyzed under the worst-case assumption against attackers who always choose the optimal strategy. Model-based analysis reveals that the framework according to the embodiments remains effective even when an attacker obtains compromised credentials from a credential backup service breach and attempts to evade detection by observing breaches from other compromised websites. Overall, the framework is seamlessly integrated into two widely used password authentication protocols, and its ease of deployment is discussed—most importantly, it does not reintroduce account recovery issues and requires no significant changes to existing credential backup services used in practice. The framework according to the embodiments can be easily adopted by websites and enables users to detect unauthorized use of user password credentials due to compromised credential backup services.

[0044] This embodiment addresses the issue of user account takeover due to compromised credential backup services through a carefully designed detection framework. It provides a method that enables websites or computers to detect compromised user password credentials backed up by the credential backup service—without reintroducing account recovery issues.

[0045] To achieve this objective, the embodiments introduce a novel credential backup protocol and implement a detection mechanism. Specifically, the backup protocol protects password credentials with end-to-end encryption under a recovery key and carefully divides the user's entire set of invalid credentials into two subsets: a decoy subset and a non-decoy subset. In particular, the backup protocol ensures that when an attacker gains full access to user credentials stored at the credential backup service (e.g., during a complete data breach), if the attacker uses an incorrect recovery key, they will, in most cases (e.g., with a high probability), derive a decoy credential. Subsequently, the proposed detection technique allows a website (e.g., the target website) or computer to flag login attempts made by an attacker using decoy credentials with a high probability and notify the user that their credential backup at the credential backup service has been compromised.

[0046] This paper provides a formal security assessment of the protocol and describes the effectiveness of each embodiment, even under threats where attackers might attempt to evade detection by exploiting leaked persistent storage from other, non-target websites. Given the increasing number of data breaches, this is a technically significant and challenging threat that needs to be considered, and quantitative analysis based on model testing demonstrates that the embodiments remain substantially effective even under such threats for attackers consistently employing optimal attack strategies.

[0047] Each embodiment is deployable because it can be incorporated into existing authentication protocols (such as FIDO2, one-time ciphers) with negligible overall performance and storage overhead. This is achieved without requiring additional trusted hardware assumptions or relying on distributed trust assumptions similar to those in blockchain infrastructure setups.

[0048] From a usability perspective, the embodiments ensure a low false alarm rate through a simple, user-friendly secret management scheme. For example, empirical evaluations based on prototype implementations show that the false detection rate of the embodiments is practically negligible when the user remembers the four-digit PIN generated by the system.

[0049] II. Background Information

[0050] This will discuss various information regarding credential backup services, password authentication protocols, and decoy-based credential compromise defense.

[0051] A. Credential Backup Service

[0052] Credential backup services are among the most user-friendly account recovery solutions, allowing users to easily back up their password authentication credentials and then restore them after successful authentication. Users must register their accounts with the credential backup service, which is typically protected by authentication based on user-chosen passwords. However, these credential backup services, due to their centralized storage of user password credentials, have become a profitable target for attackers. Therefore, most (but not all) credential backup services now use cryptographic keys to protect user credential backups, safeguarding them during storage at rest and transmission, for example, by encrypting them using cryptographic keys.

[0053] This key needs to be recoverable by the user; otherwise, the user will be unable to decrypt the password credential backup retrieved from the credential backup service, which would unfortunately reintroduce the account recovery problem that the credential backup service originally sought to solve. Given that managing password keys has long been a daunting task for users

[28] , existing credential backup services only require users to maintain a user secret (e.g., a password in most cases), which is presumably easier to remember, recall, and therefore recover than the password key. In practice, this secret can be used in two strategies that emphasize different aspects of the security and recoverability of the password key and thus affect the user credential backup accordingly.

[0054] As employed by popular credential managers such as LastPass[5], 1Password[6], and many OTP-based 2FA applications

[31] , user secrets can be used to directly derive password keys (e.g., via key derivation functions (KDFs)). This approach allows encryption and decryption of user backups to be performed entirely locally on the user's device and prevents the credential backup service from accessing the plaintext password keys. While this strategy provides users with a degree of security control over their password credential backups held by the credential backup service, it also allows attackers to perform offline cracking of user credential backups that have been leaked from the credential backup service.

[0055] The viability of such offline attacks depends on two factors: the user-selected password and the key derivation function algorithm. Relying on these two factors to protect users from compromised credential backup services is a long-standing problem. For example, previous studies have observed that user-selected secrets are easy to guess, especially those that users can reliably recall

[37] . Encouraging users to choose passwords that are resistant to offline attacks (e.g., through password composition strategies, strength meters, etc.) is difficult to achieve and often inaccurate [32, 54]. Many applications utilize key derivation functions defined in the Public Key Cryptography Standard (PKCS#11), but these functions are not well-suited to resist offline attacks using modern hardware. LastPass, 1Password, and KeePass (and many other applications) use the cryptographically based key derivation function 2 (PBKDF2)

[48] , which is the recommended function. However, even in this case, ensuring resistance to offline attacks remains challenging. Concerns about such attacks are not unfounded. In March 2023, LastPass completed an assessment of the damage caused by two cloud storage breaches in 2022[8].

[0056] A completely different strategy employed by popular platform providers such as Apple, Google, and Microsoft involves a user secret (e.g., in the form of a PIN, password, screen lock pattern, etc.) generated independently of the password key, used only as an authentication secret by the credential backup service provider or its components to verify user identity. More specifically, the credential backup service independently generates password keys, stores them on its own Key Management Service (KMS), and uses this key to encrypt the user's credentials before storage. The user can retrieve their key from the KMS after proving their legitimacy by providing a valid authentication secret. Compared to the aforementioned strategies, users must relinquish complete control over their credentials and trust that the credential backup service provider has the capability and willingness to design and implement its Key Management Service correctly and securely as promised, to defend against attackers who have compromised the user's encrypted credentials leaked from cloud storage.

[0057] Unfortunately, with this strategy, users cannot know whether their password credentials have been compromised due to flaws in the design or implementation of the key management service of the credential backup service—similar to the recent undisclosed security vulnerability in Apple's credential wallet

[51] . Even if such an implementation is secure, an insider attacker in the credential backup service could gain query access to the key management service and retrieve the key after successfully guessing the low-entropy verification secret

[24] —even within the rate limits set by the credential backup service [in practice, providers like Google and Apple lock user accounts after 10 failed login attempts. However, previous research has shown that PINs and screen locks can be easily guessed even within 10 guesses [3, 18]. Apple has adopted trusted cloud hardware in the form of hardware security modules for its key management service and destroyed management access cards, thus eliminating the possibility of any party accessing the key without providing the correct verification secret. However, an insider attacker could still gain query access to the hardware security module, steal the user's key by correctly guessing the verification secret, and this would not be detected from the outside. This is possible for an insider attacker even without changing the management strategy of the hardware security module.

[0058] More worryingly, remote attackers could compromise user accounts at a credential backup service that relies on one or more non-password "out-of-band" authentication methods, such as user-selected passwords, Short Message Service (SMS) OTP, or Email OTP.

[0059] However, the security of a user's backup of credentials for all their accounts is ultimately reduced to the security of these non-password "out-of-band" authentication methods, most of which unfortunately offer weak security guarantees, such as poor resistance to phishing and reliance on other weak authentication methods such as passwords.

[0060] The above discussion addresses the challenges currently faced by the system in protecting user password credentials from leakage by the credential backup service. These challenges include, but are not limited to, the security of user accounts at the credential backup service, the resistance of user-selected passwords and key derivation functions to offline attacks, and the correctness of the credential backup service's key management service implementation against internal attackers. Failure in any of these areas can make all of a user's password credentials vulnerable to attack. This has gradually led to user distrust of the credential backup service

[45] , and the system needs a mechanism to detect the theft of password credentials that is compatible with and independent of the existing credential backup service infrastructure, easy to deploy, and does not adversely affect the recoverability of user credentials, thereby addressing this distrust problem.

[0061] B. Password authentication protocol

[0062] The device that generates password credentials is called an authenticator, which can be dedicated physical hardware or rely on a virtual platform. Applications running on the user's device (e.g., browsers, mobile applications, etc.) can contact the Reliable Party (RP) and perform user authentication with the help of the authenticator.

[0063] The information used by the dependent party to authenticate login requests is called a validator. Whether this validator is symmetric or asymmetric depends on the authentication protocol itself. For example, One-Time Passwords (OTPs) have symmetric validators because the password seed is shared between the authenticator and the dependent party. The FIDO2 protocol, on the other hand, has asymmetric validators because the dependent party stores a public key associated with a private signing key, and the authenticator does not share this private signing key with the dependent party.

[0064] The following provides a brief background on cryptographic user authentication protocols based on FIDO2 and OTP.

[0065] 1. FIDO2 and Password

[0066] FIDO2-based user authentication is touted as the next generation of user authentication to replace traditional text-based user-selected password authentication. FIDO2 itself is a standard jointly defined by the FIDO Alliance and the W3C WebAuthn community, and is overseen by more than 250 organizations including Google, Apple, Meta, and Visa.

[13] In this authentication protocol, during registration, the user device generates a new authentication key pair. ,,in It is a private signing key. It is a public verification key. Only public verification keys are available. The private signing key is sent to the online service (or a dependent party). It is stored on the user device. During the login phase, the relying party sends a challenge, and the user device uses a private signing key. Complete the aforementioned challenge. Finally, the dependent party can use the public verification key. Verify the correctness of the complete challenge and allow the user to log in.

[0067] FIDO2-based user authentication is designed to provide robust security against phishing, credential theft, replay attacks, and keylogging. Its security features have been formally verified [19, 21, 33]. Currently, FIDO2 is supported by major web browsers, operating systems, and many web services

[12] . However, a significant obstacle to the widespread adoption of FIDO2-based user authentication has been the lack of secure account recovery when users lose access to their device-hosted private signing keys due to device loss, reset, or theft [20, 30, 41, 44, 45, 47, 52, 58].

[0068] Although many online services have reluctantly resorted to password-based account recovery options for availability reasons, attackers can compromise user accounts by downgrading FIDO2-based authentication to such insecure (password-based) account recovery options

[53] . In particular, studies by Bicakci et al.

[20] and Würsching et al.

[58] have listed the lack of convenient and secure account recovery methods for FIDO2 passwordless authentication as one of the main reasons why passwords cannot be eliminated on web pages in the foreseeable future. Las et al.

[41] found that more than 60% of participants expressed serious concerns about secure account recovery in enterprise environments.

[0069] To address this issue, an industry-led initiative has shifted focus to credential backup services and made all private signing keys hosted by the authenticator accessible to users. These keys can be synchronized, and are referred to as access keys.

[0070] Password keys have been a major driving force behind replacing password-based user authentication, and Apple, Google, and Microsoft have shared their vision of a complete transition from passwords to password keys in the near future [2]. To date, credential backup services have played a crucial role in the widespread deployment of FIDO2. Currently, credential wallets / password managers, including 1Password, Dashlane, KeePass, LastPass, etc., offer (or are offering) this service [4–6]. Apple and Google offer this service through iCloud Keychain [1] and Google Password Manager

[15] , respectively.

[0071] 2. One-time password

[0072] One-time passwords (OTPs) are widely used as multi-factor authentication (MFA) to enhance the security of password-based user authentication, or as the primary authentication option

[10] .

[0073] As the name suggests, a one-time password dynamically creates a new password each time, represented by a random seed generated cryptographically. Generated by applying a hash function 1-digit password As shown in the following formula: Here, It is to keep the password w The value is updated based on the freshness of the data. This update can be based on a counter for hash-based OTP (HOTP)

[50] or on time for time-based OTP (TOTP)

[49] .

[0074] Similar to FIDO2, users may be unable to access their password credentials if their device is lost, reset, or stolen. Furthermore, users may face account lockout due to the inability to generate a new one-time password and complete multi-factor authentication (especially since multi-factor authentication is required in most cases when logging into a new device). To address this issue, a credential backup service can provide users with a one-time password seed. Backups are made to their cloud storage. For example, Google recently announced that they are backing up users’ OTP seeds to their cloud storage

[23] to accelerate the adoption of OTP-based MFA.

[0075] However, the embodiments take into account the user's password credentials. (For example, password seeds used for OTP, private keys from FIDO2) The threat of leaks from credential backup services, and how to detect the loss of user accounts due to such attacks.

[0076] C. Decoy-based credential fallout defense

[0077] Decoy-based defense can involve decoy password vaults, decoy-based credential leakage detection, and decoy credential generation.

[0078] 1. Decoy Password Vault

[0079] Password vaults, also known as password managers, allow users to store their passwords in a vault file encrypted with a master password. For a better cross-device user experience, this encrypted vault file is typically backed up to the cloud and can be downloaded to multiple devices with authorized access. However, this convenience exposes the vault file to threats such as unauthorized access due to weak authentication and vault file compromise due to cloud leaks. Once an attacker gains access to the vault file, they can attempt to crack it offline by guessing the master password or even by brute-forcing it using powerful computing resources. Unfortunately, attackers can do this undetected and efficiently because incorrect master passwords are easily identified and eliminated when the corresponding decrypted vault entries appear random and unreadable. Decoy password vaults, or honeypot vaults, can generate seemingly plausible password entries after being decrypted with an incorrect master password. Their goal is to slow down offline vault cracking and force attackers to perform additional online verification using those seemingly plausible passwords. However, aside from the unresolved challenges of existing honeypot vault designs in defending against intersection attacks

[38] (where attackers exploit passwords that users reuse across different websites) and more robust and effective distinguishing attacks

[26] based on user prior knowledge, most websites do not implement rate limiting on account login attempts

[46] , which casts doubt on the effectiveness of honeypot vaults in practice.

[0080] 2. Decoy-based credential leakage detection

[0081] Unlike embodiments that address the loss of user authentication secrets stored on a credential backup service computer, previous research on decoy-based credential leakage detection systems [27, 38, 56] has focused primarily on detecting credential leakage at the dependent computer. For example, these systems do not simply store user-selected passwords, but allow the dependent computer to implant a number of carefully chosen decoy passwords into its password database, alerting the dependent to a leak if these decoy passwords are used during a login attempt. In these systems, the dependent computer relies on various forms of detection indicators to distinguish between genuine credentials and decoys. Based on whether such detection indicators are assumed to be private in the event of a leakage at the dependent, these detection systems can be categorized into two types: asymmetric and symmetric

[57] . More specifically, asymmetric designs assume that the dependent possesses more information in the form of persistent storage across multiple authentication instances than an attacker could obtain from its leakage. For example, the design by Jules and Rivest

[38] utilizes an identifier pointing to genuine credentials. It is assumed that this identifier remains inaccessible to an attacker even if it is leaked. Similarly, another design called Lethe

[27] assumes the security of the seed of the pseudo-random number generator, which is consistently reused by the defender across multiple authentication instances to identify the use of decoy credentials. In contrast, the symmetric design Amnesia

[56] enables the dependent party to identify the use of decoys even if the attacker has access to the same amount of information as the information in the persistent storage of the dependent party's computer.

[0082] While the framework proposed according to the embodiments can work with all the detection algorithms in the above designs, whether asymmetric (e.g., Jules and Rivest

[38] and Lethe

[27] ) or symmetric (e.g., Amnesia

[56] ), handling symmetric cases requires more careful consideration. This is because symmetric designs assume that attackers are more powerful, and demonstrating the effectiveness of the embodiments against such attackers is more challenging.

[0083] 3. Decoy Certificate Generation

[0084] However, how to generate good decoy credentials for decoy-based leak detection, and the design of the leak detection algorithm introduced in this paper, have been relatively independent research topics. Most existing work (e.g., [16, 29, 55]) focuses on improving the flatness of decoy passwords (referred to as "honeywords" in most related literature) against increasingly sophisticated attackers. These methods often rely heavily on additional user information (e.g., personally identifiable information, phone numbers, addresses, passwords for other sites, etc.) to generate decoy passwords that look more realistic. Similarly, discriminative attackers or false alarm attackers can use the same amount (if not more) of such user information to try to evade detection or trigger false alarms. Since the amount of user information available to attackers and defenders is uncertain, this contradiction between the true alarm rate and the false alarm rate is difficult to resolve, which led Huang et al.

[36] to conclude, based on their systematic analysis of existing decoy password generation algorithms, that "there seems to be no known algorithm that can provide a good trade-off for user-selected passwords for accounts." However, Bernoulli Whisper

[57] takes a different approach, which is to select the decoy password through a probabilistic process independent of user information, thereby generating a quantifiable low false detection probability.

[0085] According to the embodiments, the decoy detection secret generation algorithm GenDetectSecret, as specified in Table 1, follows a similar concept to Bernoulli's Whisper, randomly selecting decoy detection secrets from a large secret space to meet the needs of quantifiable detection effectiveness and secret recoverability. However, the embodiments are designed to be compatible with other decoy credential algorithms. More specifically, GenDetectSecret can be instantiated in a plug-and-play manner with decoy credential algorithms that output a set of detection secrets Π (e.g., also called the decoy secret set) with a certain flatness. This document demonstrates that the embodiments maintain this flatness even if the credential backup service storage fails.

[0086] III. Exemplary Network and Device Infrastructure

[0087] The embodiments can utilize systems and devices to securely generate and back up credentials for user devices using a provider computer, the credentials of which can be used to authenticate the user device to a dependent computer.

[0088] A. Interactive System

[0089] Figure 1 A system 100 according to an embodiment of the present disclosure is illustrated. The system 100 includes a user device 102, a dependent computer 104, and a provider computer 106.

[0090] User device 102 is capable of operatively communicating with dependent computer 104 and provider computer 106. Dependent computer 104 is capable of operatively communicating with provider computer 106.

[0091] To simplify the explanation, Figure 1 A specific number of components are shown. However, it should be understood that embodiments of the invention may include more than one of each component. Furthermore, some embodiments of the invention may include more than one of each component. Figure 1 All components shown are either fewer or more.

[0092] At least Figure 1 Messages between devices in System 100 can be transmitted using secure communication protocols, such as, but not limited to, File Transfer Protocol (FTP); Hypertext Transfer Protocol (HTTP); Secure Hypertext Transfer Protocol (HTTPS), SSL, ISO (e.g., ISO 8583), etc. The communication network can include any one and / or a combination of the following: direct interconnection; the Internet; a local area network (LAN); a metropolitan area network (MAN); Operational Mission as a Node on the Internet (OMNI); a secure custom connection; a wide area network (WAN); a wireless network (e.g., employing protocols such as, but not limited to, Wireless Application Protocol (WAP), I-mode, etc.); etc. The communication network can use any suitable communication protocol to generate one or more secure communication channels. In some instances, the communication channel can include a secure communication channel, which can be established in any known manner, such as by using mutual authentication and session keys, and by establishing a Secure Sockets Layer (SSL) session.

[0093] User device 102 may include a device operated by a user. User device 102 may be a mobile phone, smartphone, card, personal digital assistant, laptop, desktop computer, server computer, vehicle such as a car, simplified client device, tablet computer, wearable technology device (e.g., watch, headphones, glasses, etc.), or other device that can be used by a user and can communicate with other devices.

[0094] User device 102 can communicate with dependent computer 104 to authenticate the user and / or user device 102, thereby accessing an account maintained by dependent computer 104 for the user and / or user device 102. The account may be an account that allows the user and / or user device 102 to access a secure webpage hosted by dependent computer 104. The account may be a streaming account, bank account, social media account, employee / employer account, etc. The account can be identified by a user account identifier.

[0095] The dependent computer 104 may include a computer that can authenticate the user device 102 when the user device 102 requests access to an account. The dependent computer 104 may use an authentication key received from the user device 102 during user device registration to verify data received from the user device 102. Based on this authentication, the dependent computer 104 may grant or deny access to the account to the user device.

[0096] The provider computer 106 may include a computer capable of storing backup data for the user device 102. The provider computer 106 may store backup credentials or derived data thereof, which the user device 102 uses to request access to an account maintained by the dependent computer 104. Thus, if the user device 102 is lost, or data in its memory is deleted, the user device 102 can communicate with the provider computer 106 to retrieve the backed-up data.

[0097] B. User Equipment

[0098] Figure 2 A block diagram of a user device 102 according to an embodiment is shown. The exemplary user device 102 may include a processor 204. The processor 204 may be coupled to a memory 202, a network interface 206, and a computer-readable medium 208. The computer-readable medium 208 may include multiple modules. For example, the computer-readable medium 208 may include an authentication module 208A, a registration module 208B, and a backup module 208C.

[0099] Memory 202 can be used to store data and code. For example, memory 202 can store cryptographic keys, credentials, authentication data, etc. Memory 202 can be coupled internally or externally to processor 204 (e.g., a cloud-based data storage device) and can include any combination of volatile and / or non-volatile memory (such as RAM, DRAM, ROM, flash memory, or any other suitable memory device).

[0100] Computer-readable medium 208 may include code executable by processor 204 to perform a method comprising: generating a detection secret set (Π) by a user device; obtaining user credentials from a user of the user device (Π) by the user device. Based on the detection secret set (Π) and user credentials ( The user device determines the true secret ( ); The real secret is stored by the user device ( ); and the user device provides the server computer with the detection secret set (Π) and the backup account identifier of the account associated with the user ( ); ).

[0101] The authentication module 208A may include code or software executable by the processor 204 to perform authentication. In conjunction with the processor 204, the authentication module 208A can execute authentication methods to authenticate the user of the user device 102. The authentication module 208A, in conjunction with the processor 204, can authenticate the user locally on the user device 102, or assist a remote computer (e.g., dependent computer 104, provider computer 106, etc.) in authenticating the user.

[0102] For example, authentication module 208A, combined with processor 204, can obtain user input from the user of user device 102. User input may include passwords, codes, biometrics, etc. Authentication module 208A, combined with processor 204, can compare the received user input with stored user input. Authentication module 208A, combined with processor 204, can determine user authenticity based on whether these two user inputs match. For example, authentication module 208A, combined with processor 204, can obtain user input as a biometric feature, such as a user fingerprint. Authentication module 208A, combined with processor 204, can compare the user fingerprint biometric feature with stored user fingerprint biometric features. Authentication module 208A, combined with processor 204, can determine a matching value indicating the degree of matching between the two biometric features. If the matching value is greater than a threshold, authentication module 208A, combined with processor 204, can determine that the user is authentic.

[0103] The registration module 208B may include code or software executable by the processor 204 to register user device 102 and / or users to other computers. In conjunction with the processor 204, the registration module 208B can register accounts maintained by another computer for users and / or user device 102.

[0104] The registration module 208B, in conjunction with the processor 204, can register the user device 102 to the provider computer 106 to create a backup account on the provider computer 106. The registration module 208B, in conjunction with the processor 204, can also register on the dependent computer 104 to create a user account on the dependent computer 104. The registration module 208B, in conjunction with the processor 204, can perform different registration processes for different computers, as described in detail herein.

[0105] Backup module 208C may include code or software executable by processor 204 to create and use backups. Backup module 208C, in conjunction with processor 204, can communicate with provider computer 106, which may be a credential backup service computer. After a backup account is created at provider computer 106, backup module 208C, in conjunction with processor 204, can provide data to provider computer 106, which user device 102 can then obtain from provider computer 106 upon request.

[0106] For example, backup module 208C, combined with processor 204, can send backup account identifiers and detection secret sets to provider computer 106 for storage. Even if provider computer 106 is compromised (e.g., due to data breach), a malicious attacker will still be unable to access the user device's real secrets because the real secrets have been obfuscated in the detection secret set.

[0107] For example, the backup module 208C, combined with the processor 204, can store masked cryptographic credentials at the provider computer 106. These masked cryptographic credentials are private keys used to generate signatures to authenticate user device 102 to the dependent computer 104. Even if the provider computer 106 is compromised, because the cryptographic credentials are masked, a malicious attacker cannot impersonate themselves as a user device at the dependent computer 104.

[0108] Network interface 206 may include an interface that allows user device 102 to communicate with an external computer. Network interface 206 enables data communication between user device 102 and another device (e.g., dependent computer 104, provider computer 106, etc.). Some examples of network interface 206 may include a modem, a physical network interface (such as an Ethernet card or other network interface card (NIC)), a virtual network interface, a communication port, a Personal Computer Memory Card International Association (PCMCIA) slot, and a card, etc. Wireless protocols enabled by network interface 206 may include Wi-Fi. TMData transferred through network interface 206 may be in the form of signals, which may be electrical signals, electromagnetic signals, optical signals, or any other signals that can be received by an external communication interface (collectively, "electronic signals" or "electronic messages"). These electronic messages, which may include data or instructions, may be provided between network interface 206 and other devices via a communication path or channel. As described above, any suitable communication path or channel may be used, such as wires or cables, optical fibers, telephone lines, cellular links, radio frequency (RF) links, WAN or LAN networks, the Internet, or any other suitable medium.

[0109] IV. Threat Models and Targets

[0110] A. set up

[0111] Figure 3 A flowchart illustrating an overview of the various messages and stages in the system, according to an embodiment, is shown. Figure 3 A general description will be provided, while further details of each step of the process will be described below. Figure 3 This includes user device 102, dependent party 104, provider computer 106, and attacker device 302.

[0112] Prior to step 310, user device 102 may register with provider computer 106 to create a backup account. During this process, as described further in detail below, user device 102 may generate a detection secret set, which includes multiple decoy secrets and one real secret. The real secret in the detection secret set can be used to create cryptographic credentials for communicating with the dependent computer.

[0113] User device 102 may include a physical authenticator or a virtual authenticator capable of authenticating users of user device 102. For example, user device 102 may include an authentication application capable of authenticating users of user device 102 using user input (e.g., password, password, biometrics, etc.).

[0114] Dependent computer 104 can maintain the website. User device 102 can attempt to register and create an account (e.g., a user account) on the website. The website can be referred to as the target website, and dependent computer 104 can be referred to as the target dependent computer. Other dependent computers on which users have accounts can be referred to as non-target dependent computers.

[0115] In step 310, user device 102 and dependent computer 104 may execute the authentication and registration methods described in further detail herein. For example, an authentication application on user device 102 may perform authentication of the user. The user may authenticate themselves to the user device using a PIN, Face ID, Touch ID, screen lock, or other similar methods.

[0116] After authenticating the user, user device 102 can use password credentials. The user device 102 registers with and creates an account on the dependent computer 104, as described in further detail herein. At a later point in time, the user device 102 can utilize the password credentials. Log in or otherwise interact with the website maintained by the dependent computer 104.

[0117] In step 320, user device 102 can communicate with provider computer 106 to securely back up password credentials. Specifically, user device 102 can verify password credentials. Perform masking to obtain masked cryptographic credentials. User device 102 can transmit masked password credentials. Provided to the provider's computer 106 for storage.

[0118] After user device 102 registers with dependent computer 104, provider computer 106 can transmit the masked password credentials. The backup is created and stored in a cloud storage database. This technical solution of backing up masked password credentials can resolve account recovery issues.

[0119] Even at a later point in time, if attacker device 302 compromises provider computer 106 at step 330 and attempts to log in to a user's account on dependent computer 104 using the compromised data at step 340, the embodiments can still provide password security. For example, attacker device 302 can obtain masked password credentials. However, due to the masked password credentials Because of the cryptographic obfuscation, an attacker's device cannot use the masked cryptographic credentials.

[0120] For example, if attacker device 302 obtains the detection secret set, it does not know which secret in the detection secret set is the real secret. If attacker device 302 attempts to randomly select a secret from the detection secret set (e.g., a decoy secret with a high probability) to maliciously log into a user's account on dependent computer 104, the dependent computer can detect the decoy secret as in step 350.

[0121] In step 350, the dependent computer 104 can detect the use of the compromised decoy secret. The dependent computer 104 can generate a compromised data alert message based on the compromised data. The dependent computer 104 can provide the compromised data alert message to the user device 102. These embodiments enable the dependent computer 104 to detect when an attacker uses compromised data and send an alert to the user's device without reintroducing account recovery issues.

[0122] B. Threat Model

[0123] One technical problem addressed by the various embodiments is to enable the target-dependent computer to detect when an attacker steals password credentials leaked by a user from a credential backup service and maliciously impersonates the user to log in to a website. It is assumed that the attacker compromising the credential backup service is semi-honest. Thus, the attacker knows that any password credentials shared between the user's device and the credential backup service will be leaked to them. In the credential backup service section above, it was discussed how an attacker could still access password credentials backed up by the credential backup service on their cloud storage despite encryption being implemented.

[0124] It can also be assumed that the target dependent computer performing the detection is uncompromised and trustworthy (e.g., the user device is attempting to access a trusted website). To model the benefits an attacker gains by evading detection through an increasing number of data breaches from different dependent computers, various embodiments allow several non-target dependent computers to be passively compromised—exposing their persistent storage to the attacker. However, even if a breach occurs, the integrity of the persistent storage of these non-target dependent computers remains, and the non-target dependent computers continue to execute their prescribed algorithms. In other words, the goal of a semi-honest attacker is to exploit breaches from the credential backup service computer and the non-target dependent computers to compromise the user's account on the target dependent computer undetected.

[0125] It can be assumed that the authenticator (e.g., the application that performs user authentication) and the user device are trusted. As discussed in previous work

[43] , the violation of these assumptions is a separate issue. Therefore, the authenticator, the application, and the user device can be considered together as a single trusted entity, and for simplicity, we will refer to it as the user device from now on.

[0126] C. System Objectives

[0127] The various embodiments achieve several technical system design goals that enable detection when an attacker compromises password credentials from the credential backup service computer. These technical system design goals provide advantages for the various embodiments.

[0128] One advantage of the various embodiments is compatibility. Since users may use different types of cryptographic authentication protocols, the concept employed by the detection framework needs to be universal across different protocols. It is anticipated that the framework according to the embodiments can be easily integrated with any existing authentication protocol flow without requiring modification to the existing authentication protocol flow. In the Detection Protocol section below, this is shown how to achieve this for two popular cryptographic authentication protocols: FIDO2-based and OTP-based user authentication.

[0129] Another advantage of the various embodiments is their ease of deployment. For widespread deployment, the detection framework needs to be easy to deploy. The embodiments may include an application / browser extension running on the user's device, which coordinates with the target dependent computer to detect a compromised credential backup service computer. Therefore, deploying the framework according to the embodiments is simple and straightforward, as simple as a user installing an application on their device, with negligible modifications to the dependent computer and the credential backup service computer. Furthermore, no additional deployment challenges are expected. For example, the framework according to the embodiments is independent of the user's device hardware and software, so the user does not need to acquire additional equipment (e.g., additional security elements, etc.).

[0130] Another advantage of the embodiments is that the system and method are independent of the credential backup service computer infrastructure. Since there are many types of existing credential backup service computers, the detection framework should be independent of the credential backup service computer infrastructure. For example, much of the existing work on detecting and protecting user password credentials for digital wallets

[22] relies on the assumption that the credential backup service computer is decentralized. The framework according to the embodiments does not require such an assumption and is compatible with any credential backup service computer implementation.

[0131] Another advantage of the various embodiments is their friendliness to account recovery. The detection framework should not rely on users having multiple devices and being able to synchronize their credentials across their devices for account recovery friendliness for two reasons. First, many users only have one device [7], and second, synchronizing credentials across devices is challenging for many users

[58] . The framework according to the embodiments may only require users to rely on simple secret management skills, such as remembering short secrets generated by the system. Users can even choose user-selected secrets, and the framework according to the embodiments does not reduce the security strength of user-selected secrets.

[0132] Another advantage of the various embodiments lies in the effectiveness of the detection framework. For effectiveness, the detection framework should have a high true detection probability (TDP) and a low false detection probability (FDP). This is derived considering a practically feasible and robust threat model scenario where an attacker can compromise the persistent storage of a non-target dependency. The effectiveness of the various embodiments is evaluated through model testing, which is described in further detail in the Detection Effectiveness section below.

[0133] V. Detecting secrets

[0134] The framework according to the embodiment can utilize the detection secret set, represented as —One of these secrets is the true secret, represented as And others This secret is called the decoy secret. The notation is slightly overloaded, therefore it uses... Let represent identifying the real secret from a given set of detected secrets Π. The required information. Identifying the true secret. The required information can be referred to as a true secret identifier or user credentials. (For example, users can retain secrets). User credentials Known only to the user, it is neither shared with the credential backup service nor with any dependent parties.

[0135] It can be assumed that user credentials The two properties are: user credentials It is sustainable, and user credentials It must always be accessible to the user (even if the user's device is lost or malfunctions). For example, user credentials. In practice, user credentials can be instantiated using secrets that users easily remember (such as phone numbers, dates of birth, etc.) or secrets that users can easily access (such as credit card numbers, bank account numbers, social security numbers, etc.). User credentials are instantiated using appropriate and secure user secrets. The options will be discussed further in the discussion section below.

[0136] The framework according to the embodiment can utilize a random decoy generator (GenDetectSecret) and a deterministic secret selection generator (SelectRealSecret). Specifically, the random decoy generator (GenDetectSecret) generates a secret within a given integer size. and the detection secret space specified by the process At that time, a size of The detection secret set Π. The deterministic detection secret selection procedure (SelectRealSecret) will combine the detection secret set Π with the user credentials. As input, output the true secret located in the detected secret set Π. (For example, The secret detection set Π includes real secrets. and multiple decoy secrets .

[0137] Instantiated examples of the random decoy generator (GenDetectSecret) and the deterministic detection secret selector (SelectRealSecret) are shown in Tables 1 and 2 below, respectively. The GenDetectSecret and SelectRealSecret help the device generate a detection secret set Π based on user credentials. Select the true secret from the secret set Π. This allows the device to detect a given secret set Π, and to detect a given user credential. In any case, the true secret can always be recovered. The attacker, unaware of the user's credentials In this situation, one can only guess which one in the secret set Π is the real secret. .

[0138]

[0139] Table 1: Example instantiation of the random decoy generator (GenDetectSecret)

[0140] Table 1 describes the process of generating the detection secret set Π. User device 102 can be based on integer size. and detecting secret spaces Generate a detection secret set Π. User device 102 can use the empty set of the detection secret set Π as a reference. Start. User device 102 is able to In the next iteration (for example, where Randomly generate secrets (e.g., The secret is included in the detection secret set Π. The secret can be detected from the secret space. Randomly selected and / or generated. In some embodiments, user device 102 may not need to be based on the detection secret space. Generate the detection secret set Π. Conversely, user device 102 can randomly generate the values ​​of the secrets to be added to the detection secret set Π in each iteration. Detection secret space. It can be , indicating a length of The space of all binary strings. For example, if the length Equal to two (for example, ),but It is equivalent to .

[0141] As an illustrative example, user device 102 can generate a detection secret set Π, which includes a first secret "1234567890", a second secret "846973089", and a third secret "467099438". The first, second, and third secrets can be random values ​​that do not match the other secrets in the detection secret set Π.

[0142]

[0143] Table 2: Example instantiation of the deterministic detection secret selection procedure (SelectRealSecret)

[0144] Table 2 describes how to select a secret from the detected secret set Π as the real secret. The process involves identifying the decoy secret as the remaining secret. User device 102 can perform a hash sorting operation (e.g., HashSort) to sort all elements in the detection secret set Π according to the hash value determined by the hash, and output these elements as an ordered list. After sorting the secrets in the detection secret set Π, user device 102 can determine the user credentials. hash value (e.g., User device 102 can use modulo arithmetic to determine the index of the sorted detection secret set Π using the hashed user credentials. Thus, the user credentials... Used to select a secret from the secret set Π as the true secret. .

[0145] An attacker identifies the true secret from a set of detected secrets Π that has a flatness defined as follows. The difficulties encountered can be measured and assessed as shown in Table 3 below.

[0146]

[0147] Table 3: Attacker Difficulty Assessment

[0148] Detecting the secret set Π relative to the real secret Flatness is defined as: , in , And in all distinguishing attackers Take the maximum value from the middle.

[0149] It is important to note that the random decoy generation procedure (GenDetectSecret) can be completely randomized, where the detection secret set Π is derived from the entire detection secret space. The samples are selected uniformly and randomly.

[0150] VI. Framework Design

[0151] The framework of the system and methodology will now be discussed. In particular, credential backup and recovery protocols, detection protocols, flatness maintenance, and performance will be addressed.

[0152] To enable the dependent computer to detect the compromise of the credential backup service computer, the framework according to the embodiment includes a new credential backup protocol and a detection mechanism that can be customized for the specific authentication method currently in use.

[0153] A. Credential Backup and Recovery Agreement

[0154] Figure 4 The credential backup and recovery protocol is shown. Figure 4 The method shown is independent of the underlying authentication method used by the dependent computer. Figure 4 The method shown includes five stages. Stage 1, 402, can be the credential backup service account setup stage. Stage 2, 404, can be the device setup stage. Stage 3, 406, can be the dependent account registration stage. Stage 4, 408, can be the credential backup stage. Stage 5, 410, can be the credential recovery stage. Tables 4, 5, and 6 below illustrate the process... Figure 4 The various building block procedures used during the methods shown are illustrated. Table 4 shows the authentication credential encryption methods. Table 5 shows the decoy verifier generation methods. Table 6 shows the authentication credential decryption methods.

[0155] In the first phase 402, during the credential backup service account setup, when a user of user device 102 registers a new account at provider computer 106 (e.g., credential backup service computer), the system can perform an initialization process.

[0156] In step 412, user device 102 can obtain user credentials from the user of user device 102. For example, user device 102 may prompt the user to provide user credentials. Input into user device 102. User credentials. It can be a password, PIN, passphrase, answer to a security question, pattern key, user biometrics, or other secrets known to the user.

[0157] In step 414, after obtaining user credentials Then, user device 102 can generate a detection secret set Π. The size of the detection secret set Π can be... Among them, the secret set Π contains One decoy secret and one real secret (the detection secret to be selected). User device 102 can use the random decoy generation procedure (GenDetectSecret) described in Table 1 to generate the detection secret set Π.

[0158] In step 416, after generating the secrets of the detection secret set Π, the user device 102 can select one secret from the detection secret set Π as the real secret. User device 102 can use a deterministic detection secret selection procedure (SelectRealSecret) to determine the real secret. It can be based on detecting the secret set Π and user credentials. Determine the real secret Thus, the true secret... Can be used with user credentials Related. User device 102 can use the process described in reference to Table 2 to generate a real secret. .

[0159] Using these methods, user device 102 can generate a size of The detection of secrets and the real secrets To improve security, the real secret It is never sent to the dependent computer 104 or the provider computer 106. (True Secret) It can be stored locally on user device 102.

[0160] In step 418, in order to identify the user account at the provider computer 106, the user device 102 may base its actions on user credentials. Generate length is Uniformly randomly selected backup account identifier In some embodiments, the backup account identifier It can also be based on other system configuration parameters, such as length. and secret space Dimensions. Backup account identifier. It can identify whether the user device 102 has or is creating an account at the provider computer 106.

[0161] In step 420, user device 102 may store a backup account identifier. The real secret And the detection of secret collection Π.

[0162] In step 422, user device 102 can generate a backup account identifier. And the registration request message for detecting the secret set Π. After generating the registration request message, the user device 102 can provide the registration request message to the provider computer 106.

[0163] In step 424, after receiving the registration request message, the provider computer 106 can register the user device 102 to the backup service. The provider computer 106 can also register the backup account identifier. The secret set Π is stored in the database.

[0164] In the second phase 404, during device setup, a user already associated with a user device registered to provider computer 106 (e.g., a previously used user device) can use a new user device (e.g., user device 102) to obtain a backup account identifier. And detect secret set Π. User device 102 can communicate with provider computer 106 to associate user device 102 with created data stored in provider computer 106 that is associated with the user of user device 102.

[0165] For example, a user who already has a credential backup service account can register user device 102 at provider computer 106 and complete device setup to enable credential synchronization, backup, and recovery services on a new user device (e.g., a phone or laptop) via provider computer 106. In some embodiments, user device 102 may not be able to access the real secret. (For example, the real secret) (Deleted, lost or damaged user device 102, etc.). The user can use user device 102 or a new user device to regain the real secret. .

[0166] In some embodiments, user device 102 may generate a device setup request message. The device setup request message may request provider computer 106 to provide backup data to user device 102.

[0167] In some embodiments, the provider computer 106 may require authentication of the user device 102 and / or the user. The user device 102 may include an authentication application that can authenticate the user via user input. For example, the user device 102 may prompt the user to input a fingerprint biometric feature. The user device 102, in conjunction with the authentication application, can compare the fingerprint biometric feature with stored user biometric features.

[0168] If the fingerprint biometrics match the stored user biometrics, the user device 102, in conjunction with the authentication application, can determine that the user is authentic and can generate data proving the user's authenticity. For example, the authentication application can use its private key to sign the user's authenticity certificate, and the signature can be verified as trustworthy by the provider computer 102. However, it should be understood that other authentication methods can be used to authenticate the user and / or user device to the provider computer 102.

[0169] If the fingerprint biometrics do not match the stored user biometrics, the user device 102 may terminate the process.

[0170] In step 426, the provider computer 106 may allow the user device 102 to download the previously stored backup account identifier. And the detection of secret collection Π.

[0171] For example, provider computer 106 can generate a backup account identifier. The provider computer 106 can provide the device setting response message to the user device 102, along with the device setting response message for detecting the secret set Π.

[0172] In step 428, user device 102 may prompt the user to submit user credentials. Input into user device 102.

[0173] In step 430, after receiving user credentials from the user... Then, user device 102 can execute a deterministic detection secret selection procedure. In order to restore the true secret Use user credentials Select the true secret from the secret set Π. As described above with reference to Table 2.

[0174] In step 432, user device 102 may then store the backup account identifier. Detecting secret sets and real secrets In determining the true secret Subsequently, during Phase 3, 406, the user can begin registering a new account at the dependent computer using the user device 102, or during Phase 5, 410, further restore credentials that have been backed up at the provider computer 106.

[0175] In the third phase 406, during the dependent party account registration, user device 102 can register with dependent computer 104 using the detection secret set Π and / or data derived therefrom.

[0176] In step 434, user device 102 may generate a registration request message, which includes a request to register with dependent computer 104. For example, the registration request message may request registration to access a secure webpage maintained by dependent computer 104. User device 102 may provide the registration request message to dependent computer 104.

[0177] In step 436, after receiving the registration request message, the dependent computer 104 can obtain the dependent computer identifier. For example, the dependent computer 104 can retrieve the dependent computer identifier from memory. Dependent computer identifier This can be a unique identifier for dependent computer 104. Other dependent computers can have different dependent computer identifiers.

[0178] Dependent computer 104 can generate a result including the dependent computer identifier. The registration response message. In some embodiments, the registration response message may include a request for additional data from user device 102. For example, the registration response message may request a user account identifier. and with the verification key set Associated verification key .

[0179] The dependent computer 104 can provide a registration response message to the user device 102.

[0180] In step 438, after receiving the registration response message, user device 102 can generate a user account identifier for the account to be associated with dependent computer 104. User device 102 can randomly generate user account identifiers. For example, user device 102 can generate a user account identifier as follows: : User account identifier It can identify the account being created for user device 102 at the dependent computer 104.

[0181] In step 440, user account identifiers are generated. Then, user device 102 can generate password credentials. User device 102 can randomly generate password credentials. For example, user device 102 can generate password credentials as follows: : Password credentials This could be secret data known only to user device 102. Cryptographic credentials. It can be a password or private key.

[0182] In step 442, the cryptographic credentials are generated. Then, user device 102 can use the cryptographic credentials Generate verification key User device 102 can use the VerifierGen process to generate a verification key. The implementation of the verification generator is specific to the authentication method because the verification generator takes an authentication secret (e.g., a signature key, OTP seed, or password) as input and outputs an authentication verifier v (e.g., a public verification key, the same OTP seed, or a salted and hashed password) for the dependent computer 104. For example, cryptographic credentials. and verification key They can form a private key-public key pair.

[0183] In step 444, the verification key is generated. Afterwards, user device 102 can access the real secret. and password credentials Encryption or masking is performed to obtain masked cryptographic credentials. and uniform random value User device 102 can use the authentication credential encryption method described below with reference to Table 4 to encrypt the real secret. and password credentials Encryption or masking is performed.

[0184]

[0185] Table 4: Example instantiation of the authentication credential encryption method (EncAuthCred)

[0186] The authentication credential encryption method may allow a device (e.g., user device 102) to obfuscate (e.g., through masking) the cryptographic credentials. In order to verify the password credentials The mask is a masked cryptographic credential. User device 102 can generate uniform random values. Uniform random value It can be a random value.

[0187] Generating uniform random values Afterwards, user device 102 can be based on real secrets and uniform random value Use Key Derivation Functions (KDF) to generate recovery keys. .

[0188] User device 102 can then use the recovery key. Password credentials Perform a masking operation to obtain the masked password credentials. Subsequently, during credential backup, user device 102 can only back up the masked password credentials. Send the password credentials to provider computer 106 so that provider computer 106 never observes them. And the provider computer provides 106 pairs of password credentials. Access verified key What is confused.

[0189] Through the true secret and password credentials By performing encryption or masking, user device 102 can prepare password credentials for subsequent credential backup using provider computer 106. At the same time, it provides the provider's computer with 106-level shielded password credentials. .

[0190] In step 446, regarding the password credentials After obfuscation, user device 102 can generate a verification key set V. User device 102 can then use this key set V to verify the secret set Π and the masked cryptographic credentials. and uniform random value Generate a verification key set V. User device 102 can generate the verification key set V using the decoy verifier generation method (DecoyVerifierGen) described in Table 5.

[0191]

[0192] Table 5: Example instantiation of the decoy verifier generation method (DecoyVerifierGen)

[0193] The decoy verification method can accept the detection of secret set Π and masked cryptographic credentials. and uniform random value As input, it can generate a corresponding detection secret for each detection secret in the detection secret set Π. A validator key (e.g., Therefore, for each secret in the secret set Π, by... —The same key derivation function used in EncAuthCred—returns the value that generates the recovery key. Then, use each Follow the method below Demasking: Furthermore, the VerifierGen program generates and Associated verification key. Verification key set. It is sent to the dependent party.

[0194] In step 448, after generating the verification key set V, the user device 102 can assign the user account identifier... Dependent computer identifier Password certificate , verification key , masked password credentials and uniform random value They are stored in the memory of user device 102 in an interconnected manner.

[0195] In step 450, user device 102 may generate a registration completion message, which includes a user account identifier. , verification key Verify the key set V. User device 102 can provide a registration completion message to the dependent computer 104.

[0196] In step 452, upon receiving the verification key set V (also known as the decoy verifier set), the dependent computer 104 can select a subset of verification keys V' from the verification key set V. The subset of verification keys V' may include decoy verifiers considered active. An active decoy verifier, if received by the dependent computer 104 at any later point in time, can trigger a compromise detection alarm. The dependent computer 104 can select a portion of the verification keys from the verification key set V. This includes the verification key subset V'. Other verification keys in the verification key set V that are not included in the verification key subset V' may include the actual verification key. And any other authentication keys considered as valid authentication keys used for user authentication. These authentication keys not in the subset V' of authentication keys, along with the actual authentication key... This can be referred to as the inactive verification key. The subset V' of verification keys can be determined as: ,in .

[0197] For example, in some embodiments, there may be a valid and authentic signature key and a corresponding authentic verification key. The remaining decoy verification keys can be divided into two sets: 1) the active decoy verification key set (denoted as V') and 2) the inactive decoy verification key set (denoted as V'). If the attacker's device gains and utilizes the power... If an attacker logs in using a verified signature key or an inactive decoy key, the attacker's device can log in undetected. If the attacker logs in using a key that can be verified by the active decoy verification key, the attacker's device can be detected.

[0198] Using decoy authentication keys can help defend against scenarios where a user reuses the same user credentials across more than one dependent computer, where an attacker's device can exploit the reused credentials to narrow down the true index in the authentication key set. Based on user credentials This is deterministically generated. If an inactive decoy verification key does not exist, a single lucky guess by the attacker at the first dependent computer will reveal the true index. This is used to avoid detection on second-party computers, third-party computers, etc., targeting the same user. However, with an inactive decoy verification key, even if an attacker is lucky enough to log in undetected on the first-party computer, the attacker's device's guess may actually be an inactive decoy verification key (e.g., not a valid real verification key). If the same index is continued to be used, the attacker's device still faces the risk of being detected by second-party computers, third-party computers, etc., because the index pointing to the inactive decoy on the first-party computer may point to the active decoy on the second-party computers, third-party computers, etc., which improves the overall detection capability of the system.

[0199] The size of the verification key subset V' can be adjusted based on the cross-dependency threat. If there is no cross-dependency attack threat, the verification key subset V' can include all decoy keys (e.g., This means that there is no inactive decoy key.

[0200] In step 454, the dependent computer 104 may store the user account identifier. Verification key set V and verification key subset V'.

[0201] In some embodiments, the dependent computer 104 may generate a successful registration confirmation message. The dependent computer 104 may then provide the successful registration confirmation message to the user device 102.

[0202] In some embodiments, It can be called the activation decoy verifier set of the current dependent, because, as Figure 6 As shown, a successful authentication response verified by any of these activation decoy validators can trigger a credential backup service compromise detection alert. In contrast, The other decoy validators in the array are inactive and are different from the real validators. All of these will be considered valid verification tokens—successful verification of these tokens will result in a successful login. Figure 6This paper illustrates a technique for detecting a compromised credential backup service when a user attempts to log in to a dependent party using FIDO2-based and OTP-based user authentication protocols, respectively.

[0203] In the fourth stage 408, during credential backup, after receiving a successful registration confirmation from the dependent computer 104, the user device 102 can communicate with the provider computer 106 to securely back up information related to the user account of the dependent computer 104.

[0204] In step 456, user device 102 can generate a credential backup message, the credential backup message including a backup account identifier. (For example, used to identify accounts at provider computer 106), user account identifier (For example, used to identify the account at dependent computer 104), dependent computer identifier , masked password credentials and uniform random value User device 102 can provide credential backup messages to provider computer 106. User device 102 can provide masked password credentials to provider computer 106. Instead of password credentials This is to further enhance security in the event of a data breach on provider computer 106.

[0205] In step 458, after receiving the credential backup message, the provider computer can back up the account identifier. User account identifier Dependent computer identifier , masked password credentials and uniform random value Store in the database.

[0206] In phase 5, 410, during credential recovery, user device 102, or another user device operated by the user, can communicate with provider computer 106 to recover credentials. For example, a user may have lost a previous user device and is attempting to restore credentials to user device 102. If credential synchronization across multiple devices is required, or if credentials need to be restored to a new device that has already undergone the device setup phase, provider computer 106 can allow user device 102 to restore credentials for a specific account.

[0207] User device 102 may generate a credential recovery request message to submit to provider computer 106. The credential recovery request message may include a request to obtain backed-up data. In some embodiments, the credential recovery request message may include authentication data. User device 102 may provide the credential recovery request message to provider computer 106. In some embodiments, the credential recovery request message may include a backup account identifier that identifies an account maintained by provider computer 106 on behalf of user device 102.

[0208] In some embodiments, the provider computer 106 can authenticate the user and / or user device 102. For example, before retrieving the masked password credentials from the provider computer 106, the user device 102 can authenticate the user of the user device 102 using an authentication application installed on the user device 102. For example, the authentication application can verify the user's entered password, biometrics, etc. The user device 102 can provide the authentication result to the provider computer 106 to continue obtaining the backed-up data.

[0209] In step 460, the provider computer 106 may provide the backed-up data to the user device 102. The provider computer 106 may generate a credential recovery response message, which includes a user account identifier. Dependent computer identifier , masked password credentials and uniform random value The provider computer 106 can provide a credential recovery response message to the user device 102.

[0210] In step 462, user device 102 can obtain the real secret from the memory. The real secret It can be securely stored in user device 102. For example, a real secret. It can be stored in user device 102 in step 420.

[0211] In step 464, after receiving the credential recovery request message, user device 102 can utilize the authentication credential decryption method. Based on the masked password Confirm password credentials As described in Table 6 below. This method reverses the use of the recovery key. Password credentials This provides the effect of masking. For example, user device 102 can use the real secret. and uniform random value Masked cryptographic credentials Perform demasking.

[0212]

[0213] Table 6: Example instantiation of the authentication credential decryption method (DecAuthCred)

[0214] Table 6 shows the authentication credential decryption methods, which can be based on the true secret. , masked password credentials and uniform random value Confirm password credentials For example, user device 102 can use a key derivation function (KDF) to generate a recovery key. It is possible to use real secrets. and uniform random value Generate recovery key Recovery key It can be used for password credentials The same recovery key that is masked User device 102 can use the recovery key. Masked cryptographic credentials Demask to obtain password credentials. .

[0215] In step 466, the password credentials are determined. Afterwards, user device 102 can recover (e.g., determine) the verification key. User device 102 can use password credentials. Determine the verification key For example, user device 102 can perform... Methods to recover password credentials Corresponding verification key .

[0216] In step 468, the verification key is recovered. Then, user device 102 can store user account identifiers. Dependent computer identifier , masked password credentials Uniform random value Password certificate and verification key .

[0217] User device 102 can transmit password credentials Used by the dependent party's computer identifier The identification of the dependent computer at point 104 is for the user account identifier. Future authentication requests for the identified account.

[0218] In some instances, for the sake of correctness, it is noted that , making ,and .therefore ,because Furthermore, due to and It can be seen Become with same.

[0219] B. Testing Protocol

[0220] The fault detection process of the provider computer 106 can occur between the user device 102 and the dependent computer 104. Figure 5 An authentication method between a user device and a dependent computer is illustrated, during which the dependent computer can detect a compromise of the provider computer 106. (Refer to...) Figure 5 The authentication method may include any suitable authentication method. Figure 6 Two example authentication methods are described, including FIDO2-based and OTP-based user authentication. Figure 6 This includes a detection method 600 for access keys and a detection method 650 for one-time passwords.

[0221] 1. Detection Protocol Method

[0222] Figure 5 A flowchart illustrating an authentication method according to an embodiment is shown. Figure 5 The method shown can be performed by a computer such as the dependent computer 104 when the user device 102 attempts to access an account maintained by the dependent computer 104 on behalf of the user device 102.

[0223] The dependent computer 104 may initiate a process to verify that the user device 102 is a genuine user device that should be granted access to the account.

[0224] In some embodiments, in response to a user account identifier, the dependent computer 104 may generate authentication data as a challenge. The dependent computer 104 may provide the challenge to the user device 102. The user device may sign the challenge to form a signed challenge, which may be the authentication data provided to the dependent computer 104.

[0225] In step 502, the dependent computer 104 may receive a user account identifier and authentication data from the user device 102 that is attempting to access the account. The authentication data includes data modified using cryptographic credentials associated with the verification key. For example, the authentication data may include a signed challenge signed using cryptographic credentials. Alternatively, the authentication data may be a one-time password generated based on cryptographic credentials. The type of authentication data may depend on the type of authentication used by the system. For example, the system may use a FIDO2 access key or a one-time password, as described in further detail below. The system may use any other type of authentication process.

[0226] In some embodiments, during authentication using the dependent computer 104, the user device 102 may sign a message using cryptographic credentials corresponding to the authentication key to generate a signed message. The user device 102 may then transmit the signed message to the dependent computer 104. In some embodiments, the user device 102 may also provide the authentication key along with the signed message to the dependent computer 104 to help the dependent computer 104 identify the authentication key to be used from the authentication keys stored at the dependent computer 104.

[0227] In step 504, after receiving the authentication data, the dependent computer 104 may determine whether the authentication data includes data modified using cryptographic credentials associated with a stored verification key from a set or subset of verification keys stored in the computer. The subset of verification keys includes decoy verification keys.

[0228] For example, the dependent computer 104 can determine whether the authentication data is signed authentication data using cryptographic credentials, and the signed authentication data can be verified using a verification key from a set of verification keys or a subset of verification keys.

[0229] If the authentication data includes data modified using cryptographic credentials associated with stored verification keys in a subset of the verification keys, then the dependent computer 104 can determine that the current user device 102 is a malicious user device attempting to access the user account using a decoy key. The dependent computer 104 can generate a cryptographic credential compromise message, indicating that the provider computer storing the cryptographic credentials and / or related data, or the user device, has been compromised.

[0230] In step 508, the dependent computer 104 may use a backup communication channel to provide a message about compromised password credentials to the user associated with the account. The backup communication channel may be an email, SMS, or a message on a webpage hosted by the dependent computer 104 for the user.

[0231] In some embodiments, the dependent computer 104 may lock the user device’s access to an account when it detects the use of a decoy key, the decoy key being a subset of verification keys stored in the dependent computer 104.

[0232] 2. Detection for FIDO2-based authentication

[0233] Reference Figure 6 The method for detecting the access key in the passage 600 is described, and with reference to the description of FIDO2 above, a specific detection method for FIDO2 is described.

[0234] In step 602, user device 102 may provide user account identifier to dependent computer 104. The user account identifier identifies the account maintained by the dependent computer 104 on behalf of the user device 102.

[0235] In step 604, the dependent computer 104 can generate a challenge for the user device 102. Inquiry This may include a FIDO2 challenge. A FIDO2 challenge could be a message sent after user authentication of user device 102 (e.g., by an authenticator application) using a private key (e.g., cryptographic credentials). )sign.

[0236] Dependent computer 104 can query Provided to user device 102.

[0237] In step 608, upon receiving the query Afterwards, user device 102 can use the password credentials. Inquiry A signature is made, and the cryptographic credential can be a private key. This is achieved through a challenge... By signing, user device 102 can obtain a signed challenge. .

[0238] During the FIDO2 process, user device 102 may include an authenticator application (e.g., a FIDO2 authenticator) that can authenticate the user of the user device. User device 102 can use cryptographic credentials. Inquiry Before signing, the user is prompted to authenticate themselves using an authenticator application. User device 102 can wait until the user is authenticated before challenging the user. Sign it.

[0239] In step 610, in response to the inquiry After signing, user device 102 can send a signed challenge. and verification key Provided to the dependent computer 104.

[0240] In step 612, the dependent computer 104 can obtain a signed challenge from the user device 102. and verification key The dependent computer 104 can verify the received key. Perform a set membership test on the verification key set V and / or the subset of verification keys V'. For example, the dependent computer 104 can determine the verification key. Whether it is included in the verification key set V and / or the verification key subset V'.

[0241] If the received verification key If the login attempt is not included in the authentication key set V, the dependent computer 104 can determine that the login attempt failed. The dependent computer 104 can then notify the user device 102 of the failed login attempt.

[0242] If the received verification key If included in the subset V' of the verification keys, the dependent computer 104 can determine the verification keys. This is the decoy verification key currently being used by malicious actors attempting to access the user's account. The dependent computer 104 may generate a notification indicating that data associated with the user and / or user device 102 has been disclosed on the provider computer 106. The dependent computer 104 may provide the notification to the provider computer 106 and / or to the actual user device 102 associated with the user account.

[0243] Otherwise, the received verification key The correct authentication key is included in the authentication key set. The dependent computer 104 may continue to grant access to the secure webpage (or other authentication reasons) to the user device 102.

[0244] 3. Detection of authentication based on one-time passwords

[0245] The dependent computer 104 and user device 102 can also utilize a one-time password-based authentication method to authenticate the user when the user attempts to access an account maintained by the dependent computer 104. One-time password-based authentication shares some similarities with FIDO2-based authentication. However, there are some differences between the authentication methods, which are... Figure 6 The detection method for one-time passwords is shown in 650.

[0246] User authentication based on one-time passwords is symmetric (e.g., user device 102 and dependent computer 104 share the same password credential), therefore the verification generation method described herein uses password credentials. And output the same password credentials. Instead of determining the corresponding public key (e.g., verifying the key). )(For example, ).

[0247] In step 652, user device 102 may generate a message authentication code using a hash-based function (e.g., One-time password generated .

[0248] In step 654, user device 102 can transmit a one-time password. and user account identifier Provided to the dependent computer 104.

[0249] In step 656, upon receiving the one-time password and user account identifier Subsequently, the dependent computer 104 can generate a one-time password using the verification keys from the verification key set or a subset of the verification keys. The dependent computer 104 can generate a one-time password. With the received one-time password The comparison is performed. The dependent computer 104 can determine whether a one-time password match exists in the subset of verification keys (e.g., The verification key (e.g.) This is similar to the detection process used for the access key described above. The dependent computer 104 can utilize the correct cryptographic credentials when forming the one-time password based on the user device 102. This is to determine whether a login attempt should trigger an alarm indicating a compromised computer on the provider's end or result in a successful login. In symmetric key scenarios, password credentials are crucial. Same as one of the verification keys.

[0250] 4. Testing Notification

[0251] The framework according to the embodiments may include the dependent computer 104 notifying the user device 102 of a potential loss of its authentication credentials from the provider computer 106. To this end, the dependent computer 104 may proactively notify the user via established communication channels (e.g., email, application notification, SMS, or telephone call). In the event that all communication channels between the user device 102 and the dependent computer 104 are unavailable, a last resort may be passive notification: the dependent computer 104 may notify the user device 102 on a webpage or application maintained by the dependent computer 104. The user device 102 may see the alert when it later attempts to log in to its account. Thus, the user may decide to reset its authentication credentials, better protect its credential backup service account, and / or consider switching to another provider computer 106.

[0252] C. Flatness maintenance

[0253] It has been demonstrated that, despite the loss of the provider computer's cryptographic data storage, the flatness of the detection secret used in each embodiment is maintained. Specifically, the system can first be established by defining the following provider computer oracles in Table 7. The oracle determines an attacker's ability to obtain backup entries of credentials for multiple user accounts leaked from a provider's computer. As input, and for each oracle query output pair .

[0254]

[0255] Table 7: Credential Backup Service (CBS) Oracle

[0256] Each embodiment considered the following experiments in Table 8 to characterize the ability of the decoy to differentiate adversaries. Additionally, it can access oracles that provide credential backup services. At that time, to what extent can the decoy distinguish the adversary better differentiate the real secret? Among them, due to the detection of the secret set Π and the real secret Independent of user account identifier and dependent computer identifiers Therefore, user account identifiers and dependent computer identifiers are ignored:

[0257] Table 8: Distinguishing Adversaries Based on Decoys Evaluate

[0258] Decoy Differentiation Against Adversaries The advantages are defined as:

[0259] Among all flatness opponents Take the maximum value from the middle.

[0260] Proposition 5.1: .

[0261] Proof of Proposition 5.1: Given the experiment Distinguishing the enemy from the decoy Construct an experiment for detecting secrets as defined in the above-mentioned section. Bait Differentiator . Towards Provides the detection secret set Π received from the experiment. For Each time Oracle query, from Uniformly and randomly selected and and to return Finally, if If the output is 1, then Output 1. Because for from Any random sample in , ,for Each simulation Oracle query, and The distribution is the same:

[0262] Furthermore, we can construct a decoy-distinguishing adversary for the experiment. It will be used for experiments Bait Differentiator Run as a subroutine. Without querying its... In the case of oracles, decoys differentiate adversaries Using the secret set Π as ' The input is provided, and in The output is 1 if the output is 1, therefore:

[0263] D. performance

[0264] Each authentication instance utilizing the dependent computer requires no additional operations on the user device side. The number of additional dependent computer operations for authentication depends on the specific authentication method used. For FIDO2-based authentication, since the authentication response and verification key... The data is sent together from the user device to the dependent computer, so the dependent computer only needs to perform one additional operation—checking... A membership test for the collection. For authentication based on one-time passwords, the dependent computer can perform... An additional verification operation is required because the dependent computer may not know which seed the user device used to generate the incoming one-time password. These verification operations include running... Next and One-time password comparison.

[0265] The framework according to the embodiments has three setup procedures (e.g., EncAuthCred, DecAuthCred, and DecoyVerifierGen) designed for infrequent events such as account creation or credential synchronization, rather than routine authentication. EncAuthCred and DecAuthCred are specifically designed for credential synchronization via the provider computer. For each execution of EncAuthCred and DecAuthCred, the user device only needs to perform two operations: a key derivation function and an XOR operation. DecoyVerifierGen can be used when the user device creates a new dependent computer account or (re)sets the authentication credentials of its dependent computer account. The user device can perform the key derivation function, XOR, and VerifierGen operations individually. Secondly, compared to the case without these embodiments, the time required for credential generation and registration is approximately [time missing]. times.

[0266] VII. Detection Validity

[0267] The effectiveness of the detection will now be discussed by referring to true detection and false detection.

[0268] A. True test

[0269] 1. Modeling the detection secret

[0270] Recalling the section on secret detection above, which specifies that the framework can utilize a set of secrets with a given size and flatness in the output. The authentication credential encryption method (GenDetectSecret) is used. For general purposes, based on the true detection analysis described herein, it follows the formal processing of password guessing in existing work (e.g.,

[40] ), and in the test, instead of providing the attacker with a credential secret set with a certain flatness, it can provide the attacker with a size of... And the secret of the perfectly flat voucher Π, that is:

[0271] Thus, during the analysis, the attacker guessed the true secret. The ability can be modeled as The function avoids making additional—and potentially inaccurate—assumptions about the probability distribution and flatness of the detection secret set Π for a specific type of detection secret that is instantiated in practice (e.g., by user-selected passwords or PINs).

[0272] make This represents the detection secret subset corresponding to the authentication verifier subset, which uses the same verification key portion. of The leak always falls into the dependent computer. The probability of an attacker triggering a false alarm when impersonating a user device on a dependent computer where no information has been compromised is the probability of the following events: the attacker... Select the detection secret and compare it with the masked password credential. Together, they are used to export a password credential. It generates a valid authentication response that can be verified by the activation decoy validator at the dependent computer where the leak did not occur.

[0273] 2. True detection probability

[0274] To determine the optimal strategy for an attacker to minimize the probability of true detection when attacking multiple dependents, a Markov decision process (MDP) is used to model these optimized and realistic attacks. A MDP consists of a set of states and potential transitions between states. When the MDP is in a particular state, the attacker can choose one of several available actions, thus generating a probability distribution among possible subsequent states based on the current state and the chosen action. In experiments, the attacker was able to learn the detection secret set Π and masked cryptographic credentials for each dependent computer with an account on the user device. and uniform random values Furthermore, attackers targeted sources from... Passively observe the persistent storage of the leaked dependent computers, where each snapshot includes... Activate decoy validators. The attacker's goal here is to select the optimal set of actions within a specified number (denoted as...). The attacker impersonates a user device on a non-disclosure dependent computer, minimizing the expected probability of entering a final state, which corresponds to triggering a disclosure alert on at least one compromised non-disclosure dependent computer. More specifically, the Markov decision process models the attacker performing the following actions.

[0275] attackers from The detection secret is randomly selected, and the detection secret set Π and the masked cryptographic credential are used. and uniform random value Export the authentication signature key and attempt to authenticate at the first dependent computer.

[0276] If the selected detection secret corresponds to the verification token at the first dependent computer If the attacker enters the detected state, the experiment ends. Otherwise, the dependent computer is considered compromised without detection, and if... Then the attacker can choose to: 1) reuse the same detection secret used in the previous attack, or 2) from The system randomly selects another detection secret and then attacks the next dependent computer.

[0277] The attacker repeats the above attack until they: 1) enter a detected state, or 2) complete the attack on all targets without being detected. Attacks and compromises on dependent computers.

[0278] The experiment outputs the minimum expected probability of an attacker entering the detection state across all possible action paths, such as... Figure 7 and Figure 8 The report is in the middle.

[0279] exist Figure 7 In the middle, when When set to 32, Figure 7 ad corresponds to the number of dependent computers where the leak occurred. Four distinct values ​​varying between 0 and 3. Figure 7 In a (for example, when) (time), larger This increases the likelihood that an attacker will trigger a detection alert, because the checksum corresponding to the selected detection secret is more likely to fall into the trap. Furthermore, attacking more dependent computers poses a greater risk of triggering detection alerts compared to attacking a single dependent computer. However, as... Figure 7 b、 Figure 7 c and Figure 7As shown in d, with Increase them to 1, 2, or 3 respectively, for relatively high... (For example, 0.9), the detection probability drops significantly, but for relatively low values... (For example, 0.1), the detection probability remains almost unaffected. This is because in Under fixed conditions, The higher, The smaller I is, the more likely an attacker is to select the real detection secret on the first attack.

[0280] Figure 8 It shows in Fixed and the attacker has observed from The leak of a dependent computer and an attempt to... In the case where a user's account is compromised at a non-leaked dependent computer, the minimum expected true detection probability follows... The relationship of change. One observation here is that when After reaching a certain level (e.g., 32), further increase It is almost impossible to significantly increase the minimum expected probability. This observation provides a basis for determining an optimal appropriate... It provides informative insights, thereby achieving a good balance between detection accuracy and performance within the framework according to the embodiments, taking into account unnecessarily large... This will negatively impact the overall performance of the framework according to the embodiment and its false positive probability, as described below.

[0281] The results presented here are conservative. Model validation experiments calculated the results against an attacker with an optimal strategy within the threat model. If a real-world attacker possesses the same level of knowledge as the Markov decision process described above, these results are used as a lower bound for their expected true detection probability.

[0282] B. False detection

[0283] The effectiveness of the detection system is significantly affected by the risk of false alarms [25, 38, 57]. Within the framework, when unauthorized access to compromised masked cryptographic credentials is denied... People manage to obtain and use authentication credentials accepted by the corresponding activation decoy validator (e.g., False alarms may occur when a device is compromised. Two types of false alarms are considered here: those triggered by guessed decoy authentication credentials, and those caused by the user accidentally entering a detection secret during new device setup.

[0284] 1. Guessing attack

[0285] Without knowing the uncompromised masked password credentials In this case, the probability that a false positive attacker's guess hits one of the activation decoy verifiers is no greater than [missing information]. Regarding the length of the voucher In this regard, the probability is negligible. For example, for With a 256-bit private signing key set to 32, the probability that an attacker can guess a decoy key that can trigger a false alarm is 32 / 2. 256 =2 -251 The probability is so small as to be negligible.

[0286] 2. User error

[0287] During device setup, a careless user might enter an incorrect user secret, which corresponds to an activation decoy validator at a dependent party, given a credential backup service computer (e.g., the provider's computer). However, such events are arguably rare. It is assumed that the user changes their user device at least every 40 months [9] and sets up credential recovery at the same frequency. The user is expected to enter their user credentials only during a period of 106.67 years. The frequency of incorrect user password input is 32 times, and even lower, especially when some typographical error reduction techniques are employed (e.g.,

[42] ), or even by simply requiring the user to enter the password twice. Furthermore, it is argued that false alarms caused by user errors are easier for the user to identify if a detection is triggered on the dependent computer shortly after the user sets up a new user device. The user is likely to have entered incorrect user credentials during device setup according to the framework of the embodiment, and they can simply ignore the leak detection alert and rerun the device setup with the corrected user password. Of course, an attacker could exploit such an event to evade detection, but this is only possible if the attacker happens to simultaneously compromise the user account, which is unlikely given that such events are also rare.

[0288] VIII. Discussion

[0289] A. Achieving sustainability and flatness in each embodiment

[0290] As shown in Table 9, both sustainability and flatness are achieved. The framework of the embodiment treats user-rememberable secrets or user biometrics as user credentials. , to instantiate the detection secret set Π.

[0291]

[0292] Table 9: Types of secrets to detect, and the criteria to consider before instantiating Π using them.

[0293] User-rememberable secrets (used for user credentials) These can be in the form of passwords, PINs, passphrases, answers to secret questions, or graphic passwords. The advantage of user-rememberable secrets is that they are easy to reset if the user wishes, and they are easily deployed through a simple user interface that receives input from the user. Ensuring flatness depends on whether such secrets are user-selected or system-generated. In the latter case, the system can ensure... The flatness. For example, the system can generate... A short password, passphrase, PIN, and security question answer are required, and one of these must be used as the real secret. This makes it impossible for an attacker to effectively identify the real secret given the detection secret set Π. However, achieving flatness may not be easy if these memorable secrets are user-selected, as user-selected secrets are easily predictable. But there are existing techniques that can generate flat secrets from user-given secrets. For example, generative adversarial networks (GANs) can generate sweet nothings that are distinguishable from user-selected secrets

[34] . However, it should also be considered that password leakage may render sweet nothing generation methods ineffective

[35] .

[0294] In some embodiments, the detection of the secret set Π can use user credentials. To instantiate, the user credentials are the user's biometrics. However, unlike a user's memorable secret, ensuring deployability and reversibility is not as straightforward as it seems. For example, in many scenarios, user devices may be heterogeneous, and ensuring biometric reader compatibility can become an issue when a user logs in from multiple devices. However, if all user devices for a particular user are homogeneous and have the same biometric sensors (e.g., the same face sensor, fingerprint sensor, etc.), then the user credentials... Biometrics collected from the user can be used. The different sensor types are one of the main obstacles to using user biometrics to instantiate the detection secret set Π. To ensure reversibility, existing reversible biometrics can be utilized.

[0295] B. False notifications from the dependent computer

[0296] Malicious or error-prone dependent computers may falsely notify users of leaks that did not actually occur. While existing decoy-based credential verification systems do not account for this attack, this paper discusses how the framework can identify this behavior with minimal modifications when instantiated against existing cryptographically based authentication methods.

[0297] When a detection alert is triggered in FIDO2-based authentication, such as Figure 6 As shown, according to the framework of some embodiments, the dependent computer may be additionally required to return an authentication response that triggered the alarm to the user device as proof of detection. Upon receiving the trigger response, the user device can run DecoyVerifierGen to regenerate the verification key set. If the verification key set If no verification key can verify the trigger response, the user device detects a false disclosure notification. In the case of FIDO2-based authentication, this method provides a strong guarantee for identifying false notifications because it only fails if the relying computer can derive a valid signature key for the decoy verification key used to verify the trigger response. However, if the underlying digital signature scheme is secure, it is difficult to derive a valid signature key.

[0298] However, detecting such false alarms is technically more difficult in the case of OTP-based authentication methods, or more broadly, in the case of authentication methods based on a shared secret between the user and the dependent party. This is because authentication in this case relies on the fact that both parties can generate the same authentication response based on their shared secret, making it difficult to determine whether the authentication response was triggered by an attacker who leaked the credential backup service or by improper behavior on the part of the dependent party. To defend against this threat, the user device can randomly select a subset of the detection secret set Π, denoted as detection secret subset Π', while still using the detection secret set Π as input to DecoyVerifierGen to generate a set of verification keys for the dependent party. Additionally, according to the framework of the embodiments, the dependent computer can be required to send back a counter. and triggering OTP (as referenced) Figure 6 (As stated above). Using this setup, a misbehaving dependent computer generates a secret corresponding to the detection secret. OTP seeds of The probability is When this happens, the user device can be aware that the dependent computer intentionally sent a false alarm notification.

[0299] IX. Advantages

[0300] Various embodiments provide a cryptographic framework that can detect unauthorized use of user password credentials that have been compromised due to a compromised credential backup service.

[0301] Each embodiment can be deployed seamlessly with minimal to negligible performance overhead and is compatible with existing credential backup services and authentication protocols widely used in current practice. A conservative analysis of the framework's effectiveness was conducted, and it was found that the framework according to the embodiments is effective even against attackers attempting to evade detection by exploiting leaks of user accounts on other websites. The framework according to the embodiments does not degrade the user experience, including generating only a small number of false positives, and does not (re)introduce account recovery issues.

[0302] These embodiments provide, for the first time, a technical solution to the problem of unauthorized use of user password credentials backed up by the credential backup service under a robust yet practical threat model.

[0303] To address this new threat, the embodiments provide a detection framework by developing new credential backup protocols and detection mechanisms. Both can be seamlessly integrated with existing authentication protocols, as demonstrated by integration tests with two popular authentication protocols, FIDO2 and OTP.

[0304] Each embodiment provides security guarantees with negligible performance overhead.

[0305] The detection effectiveness of each embodiment is demonstrated by modeling the optimal attacker using model validation, providing conservative true detection analysis, and providing quantitative false detection analysis when traversing different system configurations of each embodiment.

[0306] Other embodiments of the invention will be discussed. In some embodiments, a method includes, during credential backup account setup: receiving a backup account identifier and a detection secret set from a user device by a provider computer, wherein the backup account identifier and the detection secret are generated by the user device; and storing the backup account identifier and the detection secret set in memory by the provider computer.

[0307] The above method may further include, in the event that the user device cannot access the real secret: the provider computer receives a device setup request message from the user device; the provider computer generates a device setup response message, the device setup response message including the detection secret set and the backup account identifier; the provider computer transmits the device setup response message to the user device, wherein the user device prompts the user of the user device to enter user credentials, receives the user credentials from the user, regenerates the real secret based on the detection secret set and the user credentials, and stores the real secret.

[0308] The above method may further include, during credential backup: receiving a credential backup message from the user device by the provider computer, the credential backup message including the backup account identifier, user account identifier, dependent computer identifier, masked password credential, and uniform random value; and storing the backup account identifier, user account identifier, dependent computer identifier, masked password credential, and uniform random value by the provider computer.

[0309] The above method may further include, during credential recovery: the provider computer receiving a credential recovery request message from the user device, wherein the credential recovery request message includes the backup account identifier; the provider computer using the backup account identifier to identify the user account identifier, the dependent computer identifier, the masked password credential, and the uniform random value; generating a credential recovery response message, wherein the credential recovery response message includes the user account identifier, the dependent computer identifier, the masked password credential, and the uniform random value; and the provider computer providing the credential recovery response message to the user device, wherein the user device demasks the masked password credential to obtain the password credential.

[0310] X. References

[0311] References: [1] [Dateless], “Security of access keys”, support.apple.com / en-us / HT213305l.

[0312] [2] Available date: 2024-02-22, “Apple, Google and Microsoft commit to expanding support for FIDO standard to accelerate the adoption of passwordless sign-in”, apple.com / newsroom / 2022 / 05 / apple-google-and-microsoftcommit-to-expanded-support-for-fido-standard / .

[0313] [3] Available date: 2024-02-22, "Apple Platform Security, iCloud Keychain Security Overview", support.apple.com / guide / security / icloud-keychain-securityoverview-sec1c89c6f3b / 1 / web / 1.

[0314] [4] Available date: 2024-02-22, "Passkeys in Dashlane", support.dashlane.com / hc / en-us / articles / 7888558064274-Passkeys-in-Dashlane

[0315] [5] Available date: 2024-02-22, “Start Your Passwordless Authentication Journey with LastPass”, lastpass.com / features / passwordless-authentication.

[0316] [6] Available date: 2024-02-22, "Unlock 1Password with Pass Key (Beta)", support.1password.com / passkeys / .

[0317] [7] Available date: 2024-03-01, “Number of devices and connections per person worldwide in 2018 and 2023”, web.archive.org / web / 20240224005007 / statista.com / statistics / 1190270 / number-of-devices-and-connections-per-person-worldwide / .

[0318] [8] Available date: 2024-03-01, “LastPass’s latest data breach exposed some customer information”, theverge.com / 2022 / 11 / 30 / 23486902 / lastpass-hackers-customer-information-breach.

[0319] [9] Available date: 2024-03-01, “Smartphone manufacturers await market recovery in the second half of the year”, bloomberg.com / professional / blog / smartphone-providers-await-2h-smartphone-rebound.

[0320]

[10] Available date: 2024-03-01, Two-Factor Authentication Market, marketresearchfuture.com / reports / two-factor-authentication-market-3772.

[0321]

[11] Available date: 2024-03-01, “What is a One-Time Password (OTP)? A detailed guide with examples”, nordvpn.com / blog / one-time-password-explained / .

[0322]

[12] Available date: 2024-03-01, "Who supports passkeys", passkeys.io / who-supports-passkeys / .

[0323]

[13] February 2013, FIDO Alliance, "FIDO (Fast IDentity Online) Alliance - Industry Association for Advancing Authentication Standards", fidoalliance.org / fido2 / .

[0324]

[14] June 2023, “Passwordless Login Using Passwords”, developers.google.com / identity / passkeys.

[0325]

[15] May 2023, “Making authentication faster than ever: a comparison of pass keys and passwords”, security.googleblog.com / 2023 / 05 / making-authentication-faster-than-ever.html?utm_source=sproutsocial&blaid=4655725.

[0326]

[16] Akshima, D. Chang, A. Goel, S. Mishra and SK Sanadhya, “Generation of secure and reliable honey messages to prevent false detections”, IEEE Transactions on Reliable and Secure Computing, 16, 5 (2019).

[0327]

[17] FIDO Alliance, [date not specified], FIDO Security Reference, fidoalliance.org / specs / common-specs / fido-security-ref-v2.1-rd-20210525.html.

[0328]

[18] Arnar Birgisson, [undated], Security of Passkeys in the Google Password Manager, security.googleblog.com / 2022 / 10 / SecurityofPasskeysintheGooglePasswordManager.html.

[0329]

[19] Manuel Barbosa, Alexandra Boldyreva, Shan Chen and Bogdan Warinschi, “A provable security analysis of FIDO2”, 2021, in Advances in Cryptography – CRYPTO 2021: Proceedings of the 41st International Conference on Cryptography (CRYPTO 2021, online conference, August 16-20, 2021), Part III, Volume 41, Springer, 125-156.

[0330]

[20] Kemal Bicakci and Yusuf Uzunay, “FIDO2 Passwordless Authentication: Hype or Reality?: A Position Paper”, 15th International Conference on Information Security and Cryptography (ISCTURKEY), IEEE, 68-73, 2022.

[0331]

[21] Nina Bindel, Cas Cremers and Mang Zhao, “FIDO2, CTAP 2.1 and WebAuthn 2: Provable Security and Post-Quantum Instantiation”, 2023, IEEE Security and Privacy Workshop (SP), IEEE, 1471–1490.

[0332]

[22] Panagiotis Chatzigiannis, Konstantinos Chalkias, Aniket Kate, Easwar Vivek Mangipudi, Mohsen Minaei and Mainack Mondal, SoK: Web3 recovery mechanism, Cryptographic Electronic Preprint Archive (2023).

[0333]

[23] Christiaan Brand, May 24, 2023, “Google Authenticator Now Supports Google Account Sync”, security.googleblog.com / 2023 / 04 / goog le-authenticator-now-supports.html.

[0334]

[24] Emma Dauterman, Henry Corrigan-Gibbs and David Mazières, 2020, “{SafetyPin}: Encrypted Backups with {Human-Memory} Secrets”, 14th USENIX Operating System Design and Implementation Workshop (OSDI 20), 1121–1138.

[0335]

[25] J. DeBlasio, S. Savage, GM Voelker and AC Snoeren, Tripwire: Inferring Internet Site Failures, 2017, at the 17th Internet Measurement Conference.

[0336]

[26] Wang Ding, Cheng Haibo, Wang Ping, Yan Jeff and Huang Xinyi, 2018, Security Analysis of Whispering, NDSS.

[0337]

[27] Antreas Dionysiou and Elias Athanasopoulos, “Lethe: Practical Data Breach Detection with Zero Persistent Secret State”, 2022, IEEE 7th European Conference on Security and Privacy (EuroS&P), IEEE, 223–235.

[0338]

[28] Jayesh Doolani, Matthew Wright, Rajesh Setty and SM Taiabul Haque, “Locimotion: Aims to learn strong authentication secrets in a single session,” Proceedings of the Human Factors Conference in Computational Systems 2021, 1–13.

[0339]

[29] I. Erguler, “Achieving flatness: choosing sweet words from existing user passwords”, IEEE Transactions on Parallel and Distributed Systems 13, 2 (2016).

[0340]

[30] Florian M Farke, Lennart Lorenz, Theodor Schnitzler, Philipp Markert and Markus Dürmuth, “You’re still using passwords: exploring FIDO2 security keys in small businesses”, 2020, 16th Available Privacy and Security Workshop (SOUPS 2020), 19–35.

[0341]

[31] Conor Gilsenan, Fuzail Shakir, Noura Alomar and Serge Egelman, 2023, Security and Privacy Flaws in Popular 2FA Applications, USENIX Security23.

[0342]

[32] Maximilian Golla and Markus Dürmuth, “On the accuracy of cryptographic strength meters”, 2018, Proceedings of the 2018 ACM SIGSAC Conference on Computer and Communications Security, 1567–1582.

[0343]

[33] Jingjing Guan, Hui Li, Haisong Ye and Ziming Zhao, 2022, “Formal Analysis of the FIDO2 Protocol”, European Conference on Computer Security Research, Springer, 3–21.

[0344]

[34] Briland Hitaj, Paolo Gasti, Giuseppe Ateniese and Fernando Perez-Cruz, “PassGAN: A Deep Learning Approach for Cryptographic Guessing”, 2019, Proceedings of the 17th International Conference on Applied Cryptography and Cybersecurity (ACNS 2019, Bogota, Colombia, 5-7 June 2019), Springer, 217–237.

[0345]

[35] Zonghao Huang, Lujo Bauer and Michael K Reiter, 2023, The impact of exposed codes on the effectiveness of sweet talk, arXiv preprint arXiv:2309.10323 (2023).

[0346]

[36] Z. Huang, L. Bauer and MK Reiter, “The impact of exposed ciphers on the effectiveness of honey talk”, 33rd USENIX Security 24 (August 2024).

[0347]

[37] Mazharul Islam, Marina Sanusi Bohuk, Paul Chung, Thomas Ristenpart, and Rahul Chatterjee, 2023, “Araña: Discovery and Characterization of Cryptographic Guessing Attacks in Practice,” USENIX Security 23, 32nd USENIX Security Conference, USENIX Association, Anaheim, CA, 1019–1036, usenix.org / conference / usenixsecurity23 / presentation / islam

[0348]

[38] Ari Juels and Ronald L Rivest, “Whispering: Making password cracking detectable,” Proceedings of the 2013 ACM SIGSAC Conference on Computer and Communications Security, 145–160.

[0349]

[39] Karim Toubba, Posted on: 2022-12-22, "Notification of Recent Security Incidents", blog.lastpass.com / 2022 / 12 / notice-of-recent-security-incident / .

[0350]

[40] Jonathan Katz, Rafail Ostrovsky and Moti Yung, Efficient and secure authentication key exchange using weak cryptography, ACM Journal (JACM) 57, 1 (2009), 1–39.

[0351]

[41] Michal Kepkowski, Maciej Machulak, Ian Wood and Dali Kaafar, “Challenges of Passwordless FIDO2 in Enterprise Environments: A Usability Study”, 2023, IEEE Security Development Conference (SecDev), IEEE, 37–48.

[0352]

[42] Mohamed Khamis, Tobias Seitz, Leonhard Mertl, Alice Nguyen, Mario Schneller and Zhe Li, “Passquerade: Improving textual cipher correction on mobile devices by using graph filters for cipher masking”, Proceedings of the 2019 CHI Conference on Human Factors in Computing Systems, 1–8.

[0353]

[43] Dhruv Kuchhal, Muhammad Saad, Adam Oest and Frank Li, 2023, “Assessing the security posture of real-world FIDO2 deployments”, Proceedings of ACM SIGSAC Conference on Computer and Communications Security 2023, 2381–2395.

[0354]

[44] Leona Lassak, Annika Hildebrandt, Maximilian Golla and Blase Ur, 2021, “It’s stored on an encrypted server, hopefully”: Mitigating user misconceptions about FIDO2 biometrics {WebAuthn}, USENIX Security 21, 91–108.

[0355]

[45] Leona Lassak, Elleen Pan, Blase Ur and Maximilian Golla, “Why Don’t We Use Password Keys? Barriers to Enterprise Deployment of FIDO2 Passwordless Authentication,” Proceedings of the 33rd USENIX Security Workshop, Philadelphia, PA, August 2024.

[0356]

[46] Bo Lu, Xiaokuan Zhang, Ziman Ling, Yinqian Zhang and Zhiqiang Lin, “A Measurement Study on the Rate Limiting Mechanism of Modern Website Authentication”, Proceedings of the 34th Annual Conference on Applications of Computer Security, 89–100, 2018.

[0357]

[47] Sanam Ghorbani Lyastani, Michael Schilling, Michaela Neumayr, Michael Backes and Sven Bugiel, “Is FIDO2 the Kingkiller of User Authentication? A Comparative Usability Study of FIDO2 Passwordless Authentication,” IEEE Security and Privacy Workshop (SP), 2020, IEEE, 268–285.

[0358]

[48] ​​Kathleen Moriarty, Burt Kaliski, and Andreas Rusch, 2017, PKCS#5: Cryptographic Specification Version 2.1. Technical Report.

[0359]

[49] D M'raihi, M Bellare, F Hoornaert, D Naccache and O Ranen, 2005, RFC4226: HOTP: HMAC-based one-time cryptographic algorithms.

[0360]

[50] David M'Raihi, Salah Machani, Mingliang Pei and Johan Rydell, 2011, RFC 6238: TOTP: Time-based one-time cryptographic algorithms.

[0361]

[51] National Vulnerability Database, published on: 2023-10-25, CVE-2023-42847, nvd.nist.gov / vuln / detail / CVE-2023-42847.

[0362]

[52] Kentrell Owens, Olabode Anise, Amanda Krauss and Blase Ur, 2021, “User perceptions of smartphones as FIDO2 roaming authenticators and their usability and security,” SOUPS USENIX Security Symposium, 57–76.

[0363]

[53] Enis Ulqinaku, Hala Assal, Abdou AbdelRahman, Sonia Chiasson and Srdjan Capkun, “Can real-time phishing be eliminated by FIDO? Social engineering downgrade attacks against the FIDO protocol,” Proceedings of the 30th USENIX Security 21, USENIX Association, 3811–3828.

[0364]

[54] Ding Wang, Xuan Shan, Qiying Dong, Yaosheng Shen and Chunfu Jia, 2023, “No single silver bullet: measuring the accuracy of cryptographic strength meters”, USENIX Security 23, 947–964.

[0365]

[55] D. Wang, Y. Zou, Q. Dong, Y. Song and X. Huang, 2022, “How to Attack and Generate Honey Messages”, 43rd IEEE Security and Privacy Workshop.

[0366]

[56] Ke Coby Wang and Michael K Reiter, “Using Forgotten Detection of Credential Database Leaks”, 2021, USENIX Security 21, 839–855.

[0367]

[57] KC Wang and MK Reiter, “Bernoulli Whispers”, 2024, 31st ISOC Symposium on Network and Distributed Systems Security.

[0368]

[58] Leon Würsching, Florentin Putz, Steffen Haesler and Matthias Hollick, “Can FIDO2 save the day? A comparison of platform authentication and roaming authentication on smartphones,” Proceedings of the Human Factors Conference in Computing Systems 2023, 1–16.

[0369] Although the steps in the flowcharts and process flows described above are shown or described in a specific order, it should be understood that embodiments of the invention may include methods with steps in a different order. Furthermore, steps may be omitted or added, and these steps may still be within the scope of embodiments of the invention.

[0370] Any software component or function described in this application can be implemented as software code executed by a processor using any suitable computer language, such as Java, C, C++, C#, Objective-C, Swift, or scripting languages ​​such as Perl or Python, using techniques such as conventional or object-oriented programming. The software code can be stored as a series of instructions or commands on a computer-readable medium for storage and / or transmission. Suitable media include random access memory (RAM), read-only memory (ROM), magnetic media such as hard disks or floppy disks, or optical media such as optical discs (CDs) or digital versatile optical discs (DVDs), flash memory, and the like. The computer-readable medium can be any combination of such storage or transmission means.

[0371] Such programs can also be encoded and transmitted using carrier signals adapted for transmission over wired, optical, and / or wireless networks conforming to various protocols, including the Internet. Thus, a computer-readable medium according to an embodiment of the invention can be created using data signals encoded with such a program. Computer-readable media encoded with program code can be packaged with a compatible device or provided separately from other devices (e.g., downloaded via the Internet). Any such computer-readable medium can reside on or within a single computer product (e.g., a hard disk drive, CD, or an entire computer system) and can exist on or within different computer products within a system or network. The computer system may include a monitor, printer, or other suitable display for providing a user with any of the results mentioned herein.

[0372] The above description is illustrative and not restrictive. Many variations of the invention will become apparent to those skilled in the art upon reading this disclosure. Therefore, the scope of the invention should not be determined by reference to the above description, but rather by reference to the pending claims and their full scope or equivalents.

[0373] Without departing from the scope of the invention, one or more features of any embodiment may be combined with one or more features of any other embodiment.

[0374] As used herein, unless explicitly indicated otherwise, the use of “a”, “an” or “the” is intended to mean “at least one”.

Claims

1. A method comprising: The detection secret set is generated by the user device; The user device obtains user credentials from the user of the user device; Based on the detected secret set and the user credentials, the user device determines the real secret; The real secret is stored by the user device; as well as The user device provides the detection secret set and the backup account identifier of the account associated with the user to the server computer.

2. The method according to claim 1, wherein, During account registration at the dependent computer, the method further includes: The user device receives the dependent computer identifier from the dependent computer. The user device generates a user account identifier and password credentials; Based on the cryptographic credentials, the user device generates a verification key; Based on the real secret and the cryptographic credentials, the user device generates a masked cryptographic credentials and a uniform random value; Based on the detection secret set, the masked cryptographic credential, and the uniform random value, the user device generates a verification key set; and The user device provides the verification key set to the dependent computer.

3. The method of claim 2, further comprising, during credential backup: The user device generates a credential backup message, which includes the backup account identifier, the user account identifier, the dependent computer identifier, the masked password credential, and the uniform random value; and The user device provides the credential backup message to the server computer, wherein the server computer stores the credential backup message or data.

4. The method of claim 3, further comprising, during credential recovery: The user device retrieves the masked password credential from the server computer; and The user device demasks the masked password credential to obtain the password credential.

5. The method of claim 4, wherein before retrieving the masked password credential from the server computer, the method further comprises: The user device authenticates the user of the user device using an authentication application installed on the user device; as well as The user device provides the authentication result to the server computer.

6. The method of claim 3, further comprising: during verification on the dependent computer: The user device signs the message using the cryptographic credential corresponding to the verification key to generate a signed message; and The user device transmits the signed message and the verification key to the dependent computer.

7. The method according to claim 6, wherein, The dependent computer uses the verification key to verify that the signed message is signed with the cryptographic credentials, and determines whether the verification key is in a subset of the verification key set, wherein the subset of verification keys includes decoy verification keys.

8. The method according to claim 1, wherein, The user credentials are passwords, PINs, passphrases, answers to security questions, pattern recognition, or user biometrics.

9. The method according to claim 1, wherein, The detection secret set includes multiple decoy secrets and the real secret.

10. The method according to claim 1, wherein, Before providing the detection secret set and the backup account identifier to the server computer, the method further includes: The backup account identifier is generated by the user device; and The user device stores the backup account identifier in association with the real secret and the detection secret set.

11. The method of claim 1, wherein the user device cannot access the real secret, wherein the method further comprises: The user device generates a device setting request message; The user device provides the device setting request message to the server computer; The user device receives a device setting response message from the server computer, the device setting response message including the detection secret set and the backup account identifier; The user device prompts its user to enter the user credentials; The user credential is received by the user device; Based on the detected secret set and the user credentials, the user device regenerates the real secret; as well as The real secret is stored by the user device.

12. The method according to claim 1, wherein the server computer is a credential backup service computer.

13. A user equipment, comprising: processor; as well as A computer-readable medium coupled to the processor, the computer-readable medium including code executable by the processor to perform a method comprising: Generate a secret set for detection; Obtain user credentials from the user of the user device; Based on the detected secret set and the user credentials, the real secret is determined; Store the true secret; and The server computer is provided with the detection secret set and a backup account identifier for the account associated with the user.

14. The user equipment according to claim 13, further comprising: An authentication application configured to authenticate the user of the user device.

15. The user equipment according to claim 13, wherein, The detection secret set includes multiple secrets, which include multiple decoy secrets and the real secret. Generating the detection secret set includes: In several iterations: The secret is randomly generated by the user device; and The user device includes the secret in the detection secret set.

16. The user equipment according to claim 13, wherein, The method further includes: The backup account identifier is generated by the user device; and The user device stores the backup account identifier in association with the real secret.

17. A method comprising: The computer receives a user account identifier and authentication data from the user device, which is attempting to access an account maintained by the computer on behalf of the user device, wherein the authentication data includes data modified using password credentials associated with an authentication key; The computer determines whether the authentication data includes data modified using cryptographic credentials associated with stored verification keys in a set or subset of verification keys stored in the computer, wherein the subset of verification keys includes decoy keys; If the authentication data includes data modified using the cryptographic credentials associated with the stored verification keys in the subset of verification keys, then the computer generates a cryptographic credential compromise message; and The computer uses a backup communication channel to provide the compromised password message to the user associated with the account.

18. The method of claim 17, further comprising: The computer receives a registration request message from the user device requesting the creation of the account on the computer; The computer provides the user device with a registration response message including a computer identifier, wherein the user device generates the user account identifier, the password credential, the verification key, the masked password credential, and the verification key set; The computer receives the user account identifier, the verification key, and the verification key set. Based on the verification key set, the computer generates a subset of verification keys; as well as The computer stores the user account identifier, the verification key, the verification key set, and the verification key subset.

19. The method of claim 17, wherein, The user device modifies the authentication data by signing the authentication data using the cryptographic credentials, wherein the authentication data is signed authentication data.

20. The method according to claim 18, wherein, The computer is a dependent computer, and the computer identifier is a dependent computer identifier.