Authentication device, program, and authentication method
The authentication device simplifies user authentication by using predefined patterns to validate multiple passwords, addressing the complexity and vulnerability of conventional methods, and enhancing security and convenience by eliminating the need for additional devices and reducing the burden of remembering multiple passwords.
Patent Information
- Application Number
- PCT/JP2023/016098
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-24
- Publication Date
- 2024-10-31
AI Technical Summary
Conventional authentication methods require users to remember and input multiple passwords, which can be cumbersome and vulnerable to password leaks and brute force attacks, and often necessitate additional devices for one-time password generation and acquisition.
An authentication device that accepts multiple passwords and determines authentication success based on predefined patterns, eliminating the need for separate devices and reducing user burden by requiring only one memorized password.
This solution simplifies user authentication, enhances resistance to password eavesdropping and brute force attacks, and reduces the risk of spoofing by using dynamic authentication rules and patterns, thereby improving security and user convenience.
Smart Images

Figure JP2023016098_31102024_PF_FP_ABST
Abstract
Description
Authentication device, program, and authentication method
[0001] The present invention relates to an authentication device, a program, and an authentication method for authenticating a user using a password.
[0002] Two-factor authentication and one-time passwords are methods of user authentication when using a personal computer or network service (see Non-Patent Documents 1 and 2). These methods are widely used as authentication methods that are resistant to password leaks, eavesdropping, and brute force attacks.
[0003] "What is Two-Factor Authentication? A Trending IT Term You May Not Know?" [online], NTT Communications, [Retrieved April 10, 2023], Internet<URL: https: / / www.ntt.com / bizon / glossary / j-n / 2-factor-auth.html> "What is a one-time password? Explaining how it works and how to use apps and tokens," [online], Cybersecurity.com, [Retrieved April 10, 2023], Internet<URL: https: / / cybersecurity-jp.com / column / 26623>
[0004] The conventional authentication methods described above require a device for obtaining a one-time password in addition to a correct password, or a separate device for multi-factor authentication. Examples of such devices include a device called a token, or a device (e.g., a smartphone) separate from the device (e.g., a PC) where the password is entered. A user must authenticate using a separate correct password in addition to the correct password, and the process of obtaining this separate correct password is cumbersome. The present invention has been made in light of this background, and aims to enable simple user authentication.
[0005] In order to solve the above-mentioned problems, the authentication device of the present invention includes an authentication unit that accepts multiple passwords, compares each of the multiple passwords with one correct password, and determines whether authentication is successful or not based on the pattern of success or failure of the comparison results.
[0006] According to the present invention, it is possible to easily authenticate a user.
[0007] FIG. 1 is a functional block diagram of an authentication device according to the present embodiment; FIG. 2 is a data configuration diagram of a password database according to the present embodiment; FIG. 3 is a sequence diagram of authentication processing according to the present embodiment; FIG. 4 is a flowchart of determination processing according to the present embodiment; FIG. 5 is a diagram for explaining key information according to a modified example of the present embodiment; and FIG. 6 is a hardware configuration diagram showing an example of a computer that realizes the functions of the authentication device according to the present embodiment.
[0008] An authentication device in a mode (embodiment) for carrying out the present invention will be described below. When a terminal used by a user of a network service requests connection to a server that provides the network service, the authentication device authenticates the user in response to the request from the server. The user has only one correct password in advance (memorizes or sets it). During authentication, the user submits a predetermined number of passwords. The authentication device compares these multiple passwords with the correct password and determines whether the authentication is successful or not based on whether the correct / incorrect pattern matches a predetermined pattern. An example of a correct / incorrect pattern is a pattern in which, of three passwords, the first and third passwords match the correct password, but the second password does not match.
[0009] This type of authentication device eliminates the need for a one-time password generator on the authentication device side, which was necessary for conventional one-time passwords and two-factor authentication, and a device (such as a token or smartphone) carried by the user to acquire the one-time password. Users also no longer need to go through the trouble of acquiring one-time passwords. Furthermore, because users only need to remember one password, the burden of remembering passwords is reduced.
[0010] <Configuration of Authentication Device> Fig. 1 is a functional block diagram of an authentication device 100 according to this embodiment. The authentication device 100 is connected to a network 280 and is capable of communicating with a server 200 and a terminal 270. The server 200 provides a network service to the terminal 270. The terminal 270 connects to the server 200 when receiving the network service. The server 200 requests the authentication device 100 to authenticate the user of the terminal 270. The authentication device 100 authenticates the user and notifies the server 200 of the authentication result. If the authentication result is successful, the server 200 provides the network service, and if the authentication result is unsuccessful, the server 200 disconnects from the terminal 270 and does not provide the network service.
[0011] The authentication device 100 is a computer and includes a control unit 110, a storage unit 120, and a communication unit 180. The communication unit 180 includes a communication device and is capable of transmitting and receiving data to and from the server 200 and the terminal 270. The storage unit 120 includes storage devices such as a read-only memory (ROM), a random access memory (RAM), and a solid-state drive (SSD). The storage unit 120 stores a password database 130 and a program 128. The program 128 includes a description of the processing of the authentication device 100 in the authentication processing (see FIG. 3) described below.
[0012] 2 is a data configuration diagram of the password database 130 according to this embodiment. The password database 130 is, for example, data in a table format, with each row indicating a user of the terminal 270 and including columns (attributes) of identification information, password, and authentication rule. The identification information is the identification information of the user. The password is the password of the user. It is desirable that the password is encrypted. The authentication rule is identification information of the authentication rule described below, and indicates the authentication rule adopted when authenticating a user. Details of the authentication rule will be described later.
[0013] The control unit 110 is configured to include a CPU (Central Processing Unit) and is provided with a setting unit 111 and an authentication unit 112. The setting unit 111 stores the user's identification information, password, and authentication rule settings used for authentication in the password database 130 in accordance with instructions from a user who is a user of the network service provided by the server 200 and also a user of the terminal 270. The authentication unit 112 receives a request from the server 200, authenticates the user using the authentication rules based on the multiple passwords received from the terminal 270, and notifies the server 200 of the result. Details of the authentication rules will be described later.
[0014] <<Authentication Rules>> The authentication rules are explained in detail below. The authentication unit 112 compares multiple passwords with the correct passwords stored in the password database 130, and determines the success or failure of authentication (success or failure) in accordance with the authentication rules based on the pattern of success or failure. In the following explanation, it is assumed that the number of passwords is three and that "abc123" is the correct password.
[0015] <Authentication rule: Basic authentication rule: Determine the ordinal number of the correct password> One basic authentication rule is to determine the ordinal number (sequential number) of the correct password among multiple passwords. For example, suppose the first and third passwords are determined to be correct. In this case, authentication will be successful for "abc123", "abD123", and "abc123", but will fail for "abc123", "abc123", and "abc123".
[0016] <Authentication Rule: Basic Authentication Rule: Determine the Number of Correct Passwords> Another basic authentication rule is to determine the number of correct passwords among multiple passwords. For example, you can determine that two passwords are correct. In this case, authentication will be successful for "abc123", "abD123", "abc123" or "aFc123", "abc123", "abc123", but authentication will fail for "abc123", "abc123", "abc123", "abc123".
[0017] <Authentication rules: Rules for invalid passwords (invalid patterns): Determine the number of characters> In addition to the basic authentication rules described above, additional rules related to invalid passwords may be added. An invalid password is a password that does not match the correct password, and an invalid password pattern (invalid pattern) is determined as an additional rule. Even if the password is invalid, if it violates the invalid pattern rules, authentication will fail. One rule related to invalid password patterns is to determine the number of characters. For example, if the number of characters in an invalid password is 5, then "bc123" and "x5y1z" are invalid passwords that follow the rules, but "abc1" and "123abc" are invalid passwords that violate the rules.
[0018] <<Authentication Rules: Rules for Invalid Passwords (Invalid Patterns): Determine the Characters to be Included>> Rules related to invalid password patterns include rules that determine the characters to be included. For example, there is a rule that symbols must be included. Instead of symbols, numbers, uppercase letters, lowercase letters, etc. may be used. For example, if the rule requires symbols to be included, then "abc#123" and "Eb8?4pQ" are invalid passwords that comply with the rules, but "et4Qd" is an invalid password that violates the rules.
[0019] <<Authentication Rules: Rules for Invalid Passwords (Invalid Patterns): Include Correct Passwords>> Rules for invalid password patterns include the inclusion of correct passwords (character strings that match the correct password). For example, "abc1234" and "@abc123#" are invalid passwords that follow the rules, but "abcF123" is an invalid password that violates the rules.
[0020] <Authentication Processing> Fig. 3 is a sequence diagram of authentication processing according to this embodiment. With reference to Fig. 3, the authentication processing when the terminal 270 connects to the server 200 and accesses a network service provided by the server 200 will be described. Note that it is desirable that the communication path between the terminal 270 and the server 200 is encrypted. It is also desirable that the communication path between the server 200 and the authentication device 100 is encrypted and mutually authenticated.
[0021] In step S11, terminal 270 transmits a connection request message including the user's identification information to server 200. In step S12, server 200 transmits an authentication request message including the user's identification information to authentication device 100. In step S13, authentication unit 112 of authentication device 100 transmits a password request message to terminal 270 via server 200.
[0022] In step S14, terminal 270 transmits the multiple passwords entered by the user to authentication device 100 via server 200. In step S15, authentication unit 112 executes a determination process. Details of the determination process will be described later with reference to FIG. 4. In step S16, authentication unit 112 notifies server 200 of the result of the determination process as the authentication result.
[0023] In step S17, server 200 transmits a connection permission message or a connection refusal message to terminal 270 depending on whether the authentication result is successful. More specifically, if the authentication result is successful, server 200 transmits a connection permission message and thereafter provides network services to terminal 270. If the authentication result is unsuccessful, server 200 transmits a connection refusal message and disconnects the communication path with terminal 270.
[0024] <Determination Process> Fig. 4 is a flowchart of the determination process according to this embodiment. Details of step S15 (see Fig. 3) will be described with reference to Fig. 4. In step S31, the authentication unit 112 refers to the password database 130 (see Fig. 2) to obtain a password and authentication rules corresponding to the identification information received in step S12 (see Fig. 3). The obtained password is the correct password of the user.
[0025] In step S32, the authentication unit 112 compares each of the multiple passwords received in step S14 with the correct password to determine whether the multiple passwords are correct. In step S33, the authentication unit 112 determines whether the correct / incorrect pattern matches the basic authentication rule. If the pattern matches (step S33 → YES), the authentication unit 112 proceeds to step S34; if the pattern does not match (step S33 → NO), the authentication unit 112 proceeds to step S37. In step S34, if the authentication rule includes a rule for an invalid password invalid pattern (step S34 → YES), the authentication unit 112 proceeds to step S35; if the rule does not include a rule for an invalid password invalid pattern (step S34 → NO), the authentication unit 112 proceeds to step S36.
[0026] In step S35, the authentication unit 112 determines whether all of the invalid passwords included in the multiple passwords match the rules for invalid password patterns included in the authentication rules. If they match (step S35 → YES), the authentication unit 112 proceeds to step S36, and if they do not match (step S35 → NO), the authentication unit 112 proceeds to step S37. In step S36, the authentication unit 112 determines that the authentication is successful. In step S37, the authentication unit 112 determines that the authentication is unsuccessful.
[0027] <Characteristics of the authentication device> In conventional password authentication, legitimate users enter the correct password. Therefore, if the password is stolen by spying on keystrokes while entering the password or through a brute force attack, it is not possible to prevent impersonation attacks.
[0028] In response to a request from the server 200, the authentication device 100 performs user authentication processing using multiple passwords. The multiple passwords include invalid passwords. Furthermore, the ordinal numbers and invalid patterns of invalid passwords (e.g., invalid passwords with a specified number of characters) are determined as rules, and authentication fails if the rules are violated. Therefore, even if the correct password is stolen, as long as the authentication rules are not also stolen, spoofing attacks can be prevented.
[0029] The user only needs to remember one correct password, reducing the burden of remembering passwords. Furthermore, there is no need for a device for the user to obtain a one-time password, and there is no need for a one-time password generation function / device in the authentication device 100. Furthermore, compared to biometric authentication, there is no need for a device to obtain biometric information.
[0030] <<Modification: Changing Authentication Rules>> When changing the authentication rules in the above-described embodiment, the setting unit 111 changes the authentication rules in the password database 130 in response to a user's request for a setting change. The authentication rules may include rules that change over time, such as basic authentication rules and rules related to invalid password patterns. For example, while three rules related to invalid password patterns have been described, one of the three rules may be assigned to each day of the week on the day of authentication. Alternatively, the number of passwords, two basic authentication rules, and three rules related to invalid password patterns may be combined and switched depending on the day or time of day.
[0031] If the authentication rule changes dynamically, the user may not know which authentication rule is being used. Key information suggesting the authentication rule may be displayed on the password entry screen. FIG. 5 is a diagram for explaining key information according to a modified example of this embodiment. A cat icon is displayed in the upper right corner of the password entry screen 510. Authentication rules may be assigned to icons such as cats, dogs, monkeys, and birds, and the icons may be used as key information. Furthermore, even with the same cat icon, the direction of the head, the number of paws above the ground, the direction of the tail, etc. may be used as key information to indicate the basic authentication rule or rules related to invalid password fraud patterns.
[0032] The user memorizes the authentication rules associated with the icon (basic authentication rules and rules related to invalid password patterns), and inputs a password based on the authentication rules. Rules that change the authentication rules and key information are set by the user by instructing the setting unit 111. When the administrator of the authentication device 100 sets rules that change the authentication rules and key information, the contents of the key information (the correspondence between key information (e.g., icons) and authentication rules) are notified to the user, and the user is assumed to remember the contents of the key information.
[0033] The key information is preferably information that only the user can recognize as to which authentication rule it is, such as an icon, rather than the content of the authentication rule itself. By using such key information, even if someone spies on the password while the user is entering it, the possibility of the password or authentication rule being stolen can be reduced. Note that the authentication device 100 can transmit the key information to the terminal 270 by including it in a password request message (see step S13 in FIG. 3).
[0034] <Other Modifications> While several embodiments of the present invention have been described above, these embodiments are merely illustrative and do not limit the technical scope of the present invention. For example, the number of passwords that a user is required to enter is predetermined, but this is not limiting. An authentication rule may be such that a minimum number is set, the number of passwords that a user is required to enter is four or more, and the second and last passwords are valid, while the others are invalid. Furthermore, the authentication method described in the embodiments may be used for local authentication, such as logging in to a personal computer, rather than authentication via a network. In this case, the personal computer corresponds to the authentication device 100 and includes the authentication unit 112.
[0035] The present invention can take on various other embodiments, and various modifications such as omissions and substitutions can be made without departing from the spirit of the present invention. These embodiments and modifications are included in the scope and spirit of the invention described in this specification, etc., and are also included in the invention described in the claims and their equivalents.
[0036] <Hardware Configuration> The authentication device 100 according to the embodiment described above is realized by a computer 900 having a configuration as shown in Fig. 6, for example. Fig. 6 is a hardware configuration diagram showing an example of a computer 900 that realizes the functions of the authentication device 100 according to the embodiment. The computer 900 includes a CPU 901, a ROM 902, a RAM 903, an SSD 904, an input / output interface 905 (referred to as an input / output I / F (Interface) in Fig. 6), a communication interface 906 (referred to as a communication I / F in Fig. 6), and a media interface 907 (referred to as a media I / F in Fig. 6). The computer 900 may include a hard disk drive (HDD) instead of the SSD 904, or may include a HDD in addition to the SSD 904.
[0037] The CPU 901 operates based on programs stored in the ROM 902 or the SSD 904, and performs control by the control unit 110 in Fig. 1. The ROM 902 stores a boot program executed by the CPU 901 when the computer 900 starts up, programs related to the hardware of the computer 900, and the like. The CPU 901 controls an input device 910 such as a mouse or keyboard, and an output device 911 such as a display or printer, via an input / output interface 905. The CPU 901 acquires data from the input device 910 and outputs generated data to the output device 911 via the input / output interface 905.
[0038] The SSD 904 stores programs executed by the CPU 901 and data used by the programs. The communication interface 906 receives data from other devices (not shown) (e.g., the terminal 270 or the server 200) via a communication network and outputs the data to the CPU 901. It also transmits data generated by the CPU 901 to other devices via the communication network. The media interface 907 reads programs or data stored on a recording medium 912 and outputs the programs to the CPU 901 via the RAM 903. The CPU 901 loads the programs from the recording medium 912 onto the RAM 903 via the media interface 907 and executes the loaded programs. The recording medium 912 may be an optical recording medium such as a DVD (Digital Versatile Disk), a magneto-optical recording medium such as an MO (Magneto Optical Disk), a magnetic recording medium, a conductive memory tape medium, or a semiconductor memory.
[0039] For example, when the computer 900 functions as the authentication device 100 according to the embodiment described above, the CPU 901 of the computer 900 executes the program 128 (see FIG. 1 ) loaded onto the RAM 903, thereby realizing the functions of the authentication device 100. The CPU 901 reads and executes the program from the recording medium 912. Alternatively, the CPU 901 may read the program from another device via a communication network, or may install and execute the program 128 from the recording medium 912 onto the SSD 904.
[0040] <Effects> The effects of the authentication device 100 will be described below.
[0041] The authentication device 100 according to the above embodiment is characterized by including an authentication unit 112 that accepts multiple passwords, compares each of the multiple passwords with one correct password, and determines whether the authentication is successful or not based on the pattern of success or failure of the comparison results.
[0042] According to the authentication device 100, it is possible to authenticate a user by password authentication that is resistant to password snooping and brute force attacks.
[0043] The authentication unit 112 according to the embodiment described above determines that authentication is successful when only one of a plurality of passwords with a preset ordinal number matches one correct password.
[0044] According to such an authentication device 100, multiple patterns of success or failure can be provided by changing the ordinal numbers, and resistance to password snooping and brute force attacks is improved.
[0045] The authentication unit 112 according to the above embodiment determines that the authentication is successful when a preset number of multiple passwords match one correct password.
[0046] According to such an authentication device 100, multiple patterns of success or failure can be provided by changing the number of times the correct password is required to be entered, thereby improving resistance to password snooping and brute force attacks.
[0047] A password that does not match one of the correct passwords among the multiple passwords is one that has a predetermined number of characters, contains any of the predetermined characters, or contains a character string that matches one of the correct passwords.
[0048] According to the authentication device 100, a correct invalid pattern can be set for an invalid password, and the resistance to password snooping and brute force attacks is improved.
[0049] The pattern of success or failure used by the authentication unit 112 according to the embodiment described above when determining whether authentication is successful or not changes over time.
[0050] According to such an authentication device 100, the pattern of success or failure is constantly changing, improving resistance to password snooping and brute force attacks.
[0051] Before accepting a plurality of passwords, the authentication unit 112 according to the above embodiment transmits key information indicating a pattern indicating whether the plurality of passwords are correct or incorrect to the device transmitting the plurality of passwords.
[0052] According to the authentication device 100, the user can check the authentication rules, and authentication failures due to misidentification of the authentication rules can be avoided.
[0053] 100 Authentication device 110 Control unit 111 Setting unit 112 Authentication unit 130 Password database 200 Server 270 Terminal
Claims
1. An authentication device comprising an authentication unit that accepts a plurality of passwords, compares each of the plurality of passwords with one correct password, and determines whether authentication has been successful based on the pattern of the comparison results.
2. The authentication device according to claim 1, wherein the authentication unit determines that the authentication is successful when only one of the plurality of passwords having a preset ordinal number matches the one correct password.
3. The authentication device according to claim 1, wherein the authentication unit determines that the authentication is successful when a preset number of the plurality of passwords match the one correct password.
4. The authentication device of claim 1, wherein a password among the plurality of passwords that does not match the one correct password is either of the following: has a predetermined number of characters, contains any of a predetermined number of characters, or contains a character string that matches the one correct password.
5. The authentication device according to claim 1, wherein the pattern of success or failure changes over time.
6. The authentication device according to claim 1, wherein the authentication unit transmits key information indicating a pattern of success or failure to a device transmitting the plurality of passwords before accepting the plurality of passwords.
7. A program for causing a computer to function as the authentication device according to any one of claims 1 to 6.
8. An authentication method comprising the steps of: an authentication device receiving a plurality of passwords; comparing each of the plurality of passwords with one correct password; and determining whether authentication has been successful based on a pattern of success or failure of the comparison results.
Citation Information
Patent Citations
Information processing device, information processing method, and program
JP2015114853A
Authentication server and authentication server program
JP2017156993A
Password authentication with input pattern analysis
US20200193001A1
