Personal authentication method

A cost-effective and secure identity verification method for user communication terminals using time-based authentication with user actions and hash values addresses vulnerabilities in existing methods, enhancing security by eliminating the need for tokens and email transmission.

JP2024115482AInactive Publication Date: 2024-08-26藤井忠生
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2023021211
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-02-14
Publication Date
2024-08-26
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing identity verification methods for user communication terminals are costly and vulnerable to security breaches, particularly when using one-time passwords transmitted via email or SMS, and challenge-response methods are susceptible to challenges being stolen during transmission.

Method used

A method involving pre-registration of user ID and terminal ID, time-based authentication with user actions, and hash value generation on both the terminal and server to ensure secure and cost-effective identity verification.

Benefits of technology

Ensures secure identity verification without the need for tokens or email transmission of one-time passwords, using human actions and random time-based authentication to enhance security and reduce costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024115482000001
    Figure 2024115482000001
Patent Text Reader

Abstract

To provide a personal authentication method that performs personal authentication more safely and more cost-effectively.SOLUTION: A personal authentication method comprises the steps of: registering an ID and a password of a user of a communication terminal and a terminal ID of the communication terminal in advance in a server; measuring, separately in the server and in the communication terminal, elapsed time from a login request to the server by the communication terminal and success of first stage authentication in the server to an authentication request by the communication terminal to the server; generating, in each of the server and the communication terminal, on the basis of the ID, the password, the terminal ID and the elapsed time, a one-time password, calculating a hash value of the one-time password, and transmitting the hash value calculated in the communication terminal to the server; matching the two hash values in the server, determining, if the two match, that the user is a genuine user, and transmitting a signal indicating success of second stage authentication to the communication terminal.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a method for authenticating the identity of a user of a communication terminal on the server side when the communication terminal and the server are connected via a communication network such as the Internet and communication is performed between the communication terminal and the server. [Background technology]

[0002] Today, the Internet has become an indispensable part of society, and it is difficult to imagine daily life without it. For example, the Internet is connected to servers of online banks, online securities companies, online shops, etc., and users connect their communication devices (PCs, smartphones, tablets, etc.) to these servers via the Internet on a daily basis to carry out online transactions, online shopping, online payments, etc.

[0003] Furthermore, with the advancement of IoT (Internet of Things), for example, smart homes in which IoT technology is applied to homes are becoming more and more prevalent. In a smart home, a home controller is installed in the house, and the home's home appliances and various facilities (surveillance cameras, sensors, etc.) are connected to the home controller, which is also connected to a security company's server via the Internet.

[0004] For example, a user can access the server from outside using his or her own communication terminal and remotely lock / unlock the door of his or her home, open / close the windows, operate the air conditioner, fill the bathtub with water, and monitor the inside of his or her home using surveillance cameras.

[0005] In this way, the Internet makes people's daily lives more convenient and comfortable. On the other hand, if unauthorized access to these servers is gained by individuals posing as users, serious damage can occur, such as the leakage of customer information, unauthorized withdrawals, the theft of goods, and the hijacking of home appliances.

[0006] To prevent this, several methods are known in the prior art for authenticating the identity of a user on the server side when communication takes place between the user's communications terminal and the server. Among these, the most widely used method is one that performs two-step authentication by using a one-time password in addition to an ID and password.

[0007] There are several methods for personal authentication using one-time passwords, but the most commonly used are the time stamp method (time synchronization method) and the challenge-response method (see, for example, Patent Documents 1 to 3).

[0008] In the time stamp method, for example, a user activates a token to display a one-time password, which is then sent to the server along with the password. Meanwhile, the server knows when and what kind of one-time password the user's token will generate, and if the one-time password matches the received one-time password and the received password matches the registered password, authentication is successful.

[0009] Alternatively, when a user requests the server to issue a one-time password, the server generates a one-time password for that time and sends it to the user via email, SMS (Short Message Service), smartphone app, telephone, etc. The user then sends a combination of password and one-time password from their communications terminal to the server, and if the received password matches the registered password on the server side and the received one-time password matches the one-time password that was generated, authentication is successful.

[0010] However, the token-based system requires a system that provides tokens to users and simultaneously monitors the operation of each user's token on the server, which is costly. Furthermore, in a method in which a one-time password is sent from a server to a user by e-mail or the like, there is an opportunity for an attacker to steal the one-time password during transmission, which poses a security problem.

[0011] In the challenge-response method, when a user makes a login request to a server, the server generates a different character string each time based on random numbers called a challenge and sends it to the user. The user generates a response based on the challenge and password and sends it to the server. The server generates a response based on the challenge and registered password, and if the generated response matches the received response, authentication is successful.

[0012] However, with this method, there was a risk that an attacker could steal the challenge while it was being sent from the server to the user. [Prior art documents] [Patent documents]

[0013] [Patent Document 1] Special Publication No. 2009-540458 [Patent Document 2] Patent No. 6898536 [Patent Document 3] JP 2008-262549 A Summary of the Invention [Problem to be solved by the invention]

[0014] Therefore, an object of the present invention is to provide a method for verifying identity more safely and at lower cost. [Means for solving the problem]

[0015] In order to solve the above problems, according to the present invention, there is provided a method for connecting a communication terminal and a server via a communication network, and performing identity authentication of a user of the communication terminal on the server side when communication is performed between the communication terminal and the server, the method comprising: (1) registering in advance in the server a combination of an ID and password of the user and a terminal ID for identifying the communication terminal; (2) transmitting a login request including an ID and a password to the server on the communication terminal side; (3) on the server side, when the login request is received, if the ID and password included in the login request match the registered ID and password pair, transmitting a first authentication signal to the communication terminal and starting timekeeping by the server's built-in clock, but discarding the login request if they do not match; (4) initiating, on the communication terminal side, time measurement by a built-in clock of the communication terminal when the first authentication signal is received, and having the user take an action through the communication terminal; (5) on the communication terminal side, when the action is completed within a predetermined limited number of times, a built-in clock of the communication terminal measures the elapsed time from the start of the timing in step (4) and ends the timing, but if the limited number of times is exceeded before the action is completed, when the number of times of the action reaches the limited number of times, a built-in clock of the communication terminal measures the elapsed time from the start of the timing in step (4) and ends the timing; (6) generating a one-time password on the communication terminal side, when the action is completed, based on the ID, the password, the terminal ID, and the elapsed time measured in step (5), in accordance with a predetermined rule; (7) calculating a hash value of the one-time password using a hash function in the communication terminal, and transmitting an authentication request including the hash value to the server; (8) on the server side, when receiving the authentication request, measuring the elapsed time from the start of the timekeeping in step (3), ending the timekeeping, generating a character string according to the rule based on the elapsed time, the ID and password received in step (3), and the corresponding terminal ID previously registered, and calculating a reference hash value of the character string using the hash function; (9) A method is provided which includes the steps of: on the server side, comparing the hash value included in the authentication request with the reference hash value, and if the two match, determining that the user is a true user and sending a second authentication signal to the communication terminal, and if the two do not match, determining that the user is a fake user and sending a non-authentication signal to the communication terminal.

[0016] According to a preferred embodiment of the present invention, on the server side, when the elapsed time from the start of the timing in step (3) exceeds a predetermined authentication implementation time, a non-authentication signal is sent to the communication terminal and a connection with the communication terminal is not established.

[0017] According to another preferred embodiment of the present invention, the action comprises displaying a different alphanumeric string on the display of the communication terminal each time based on a random number, and having the user input the alphanumeric string into the communication terminal, and the action is completed when the string input by the user matches the string displayed in the image. Effect of the Invention

[0018] According to the present invention, the ID and password of the user of the communications terminal and the terminal ID of the communications terminal are registered in advance on the server, and the time elapsed from the communications terminal's login request to the server and the first-stage authentication success at the server (transmission of a first authentication signal) to the communications terminal's authentication request to the server is measured separately at each of the server and the communications terminal, a one-time password is generated based on the ID, password, terminal ID and elapsed time at each of the server and the communications terminal, a hash value of the one-time password is calculated, and the hash value calculated by the communications terminal is sent to the server, the server compares the two hash values, and if the two match, it is determined that the user is the true user and a signal of second-stage authentication success (second authentication signal) is sent to the communications terminal.

[0019] In this case, the elapsed time, which is one element of the one-time password, varies randomly each time authentication is performed, thereby ensuring that the one-time password is random and is disposable after only one use.

[0020] Note that between the server and the communications terminal, the start of timing and the measurement of the elapsed time are not performed at the same time due to the time required for data transmission between the server and the communications terminal and for internal processing of the data in each of the server and the communications terminal. However, the time required for data transmission and internal processing is on the order of several tens of milliseconds, which is only a tiny amount compared to the length of the elapsed time being measured (approximately 30 seconds). Therefore, by setting the time unit for timing to a value significantly longer than tens of milliseconds, for example to one second, the elapsed time measured by the server and the elapsed time measured by the communications terminal can be guaranteed to be identical.

[0021] Thus, according to the present invention, there is no need to provide a token for generating a one-time password, nor is there a need to send a one-time password generated by the server to the user via email, SMS, etc., so that personal authentication can be performed at low cost and more safely. Furthermore, since not only a one-time password but also the user's manual operation (action) of the communication terminal is used, the security of personal authentication is improved. [Brief description of the drawings]

[0022] [Figure 1] FIG. 1 is a sequence diagram showing a process flow of an identity authentication method according to one embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0023] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, the configuration of the present invention will be described based on preferred embodiments with reference to the accompanying drawings. FIG. 1 is a sequence diagram showing the process flow of an identity authentication method according to one embodiment of the present invention.

[0024] The identity authentication method according to the present invention involves connecting a communication terminal and a server via a communication network, and when communication is performed between the communication terminal and the server, authenticating the identity of the user of the communication terminal on the server side. Referring to FIG. 1, according to the present invention, first, a combination of the user's ID and password and a terminal ID for identifying the communication terminal owned by the user is registered in advance on the server (step S1 in FIG. 1).

[0025] The communication terminals include, for example, personal computers, smartphones, and tablets. A terminal ID is an identification number assigned to a communication terminal to identify the communication terminal. For example, in a Windows PC, it is the serial number of the OS (Operating System), and in a smartphone or tablet, it is the IMEI (International Mobile Equipment Identity).

[0026] According to the present invention, next, the communication terminal transmits a login request including an ID and a password to the server (step S2 in FIG. 1).

[0027] On the other hand, on the server side, when a login request is received, if the ID and password included in the login request match a previously registered ID and password pair, a first authentication signal is sent to the communication terminal (first stage authentication is successful) and timekeeping using the server's built-in clock (system clock) begins; if they do not match, a non-authentication signal is sent to the communication terminal and the logon request is discarded (step S3 in Figure 1).

[0028] Then, when the communication terminal receives the first authentication signal from the server, it starts timing using its built-in clock (system clock) and prompts the user to take an action through the communication terminal (step S4 in FIG. 1).

[0029] The action is performed for the purpose of verifying that the user is human and excluding computer programs known as "bots," and may involve, for example, displaying a different alphanumeric string based on random numbers on the display of a communication terminal and having the user input the alphanumeric string into the communication terminal. In this case, the action is completed when the string input by the user matches the string displayed in the image. Alternatively, the action may involve, for example, displaying on the display of a communication terminal an image of a photo (picture) with a different part missing each time based on a random number, and a set of corresponding pieces, and having the user accurately fit the pieces into the photo (picture), in which case the action is completed when the photo (picture) is completed.

[0030] Furthermore, according to the present invention, when an action is completed within a predetermined limit on the communication terminal side, the communication terminal's built-in clock measures the elapsed time from the start of timing in step S4 and ends the timing, but if the limit is exceeded before the action is completed, when the number of actions reaches the limit, the communication terminal's built-in clock measures the elapsed time from the start of timing in step S4 and ends the timing (step S5 in Figure 1).

[0031] It is preferable to set the limit as low as possible, for example to 1, to prevent bots from attempting the action repeatedly in a short period of time.

[0032] Then, according to the present invention, at the point in time when the action is completed, the communications terminal generates a one-time password in accordance with predetermined rules based on the ID, password, terminal ID, and the elapsed time measured in step S5 (step S6 in FIG. 1), calculates a hash value from the one-time password using a hash function, and sends an authentication request including the hash value to the server (step S7 in FIG. 1).

[0033] The rules for generating a one-time password may be, for example, combining the numeric values ​​of the ID, password, terminal ID, and elapsed time in a specific order, or may be combining these elements with a specific string of characters (a combination of one or more alphanumeric characters and symbols). It is preferable to use SHA256 or SHA512 as the hash function. In this embodiment, SHA256 is used.

[0034] According to the present invention, next, on the server side, when an authentication request is received, the time elapsed since the start of timing in step S3 is measured, and a one-time password is generated based on the elapsed time, the ID and password received in step S3, and the corresponding registered terminal ID according to the same rules used in step S6, and a reference hash value of the one-time password is calculated using the same hash function used in step S7 (step S8 in FIG. 1).

[0035] Furthermore, on the server side, the hash value included in the authentication request is compared with the reference hash value, and if the two match, it is determined that the user is a real user and a second authentication signal is sent to the communication terminal (successful second stage authentication). However, if the two do not match, it is determined that the user is a fake user and a non-authentication signal is sent to the communication terminal (step S9 in Figure 1).

[0036] In step S9, if the action in step S3 is not completed within the limited number of times, the elapsed time measured on the communications terminal and the elapsed time measured on the server are clearly different (the elapsed time measured on the communications terminal is always shorter), so the hash value and the reference hash value do not match, and the user is determined to be a fake user (the second stage authentication fails).

[0037] Furthermore, this embodiment further includes a step of transmitting a non-authentication signal to the communication terminal when the time elapsed from the start of the clocking in step S3 exceeds a predetermined authentication implementation time on the server side.

[0038] According to the present invention, the ID and password of the user of the communications terminal and the terminal ID of the communications terminal are registered in advance on the server, and the time elapsed from the communications terminal's login request to the server and the first-stage authentication success at the server (transmission of a first authentication signal) to the communications terminal's authentication request to the server is measured separately at each of the server and the communications terminal, a one-time password is generated based on the ID, password, terminal ID and elapsed time at each of the server and the communications terminal, a hash value of the one-time password is calculated, and the hash value calculated by the communications terminal is sent to the server, the server compares the two hash values, and if the two match, it is determined that the user is the true user and a signal of second-stage authentication success (second authentication signal) is sent to the communications terminal.

[0039] In this case, the elapsed time varies randomly each time authentication is performed, ensuring that the one-time password is random and disposable after only one use.

[0040] Note that between the server and the communications terminal, the start of timing and the measurement of the elapsed time do not occur at the same time due to the time required for data transmission between the server and the communications terminal and for internal processing of the data in each of the server and the communications terminal. However, the time required for data transmission and internal processing is on the order of several tens of milliseconds, which is only a very small amount of time compared to the length of the elapsed time being measured (approximately 30 seconds). Therefore, by setting the time unit for timing to a value significantly longer than tens of milliseconds, for example to one second, the elapsed time measured by the server and the elapsed time measured by the communication terminal can be guaranteed to be identical.

[0041] Thus, according to the present invention, there is no need to provide a token for generating a one-time password, nor is there a need to send a one-time password generated by the server to the user via email, SMS, etc., thereby enabling low-cost and more secure identity authentication. Furthermore, since not only a one-time password but also the user's manual operation (action) of the communication terminal is used, the security of personal authentication is improved.

Claims

1. A method for connecting a communication terminal and a server via a communication network, and performing identity authentication of a user of the communication terminal on the server side when communication is performed between the communication terminal and the server, comprising: (1) registering in advance in the server a combination of an ID and password of the user and a terminal ID for identifying the communication terminal; (2) transmitting a login request including an ID and a password to the server on the communication terminal side; (3) on the server side, when the login request is received, if the ID and password included in the login request match the registered ID and password pair, transmitting a first authentication signal to the communication terminal and starting timekeeping by the server's built-in clock, but discarding the login request if they do not match; (4) when the communication terminal receives the first authentication signal, starting time measurement by a built-in clock of the communication terminal and having the user take an action through the communication terminal; (5) on the communication terminal side, when the action is completed within a predetermined limited number of times, a built-in clock of the communication terminal measures the elapsed time from the start of the timing of step (4) and ends the timing, but if the limited number of times is exceeded before the action is completed, when the number of times of the action reaches the limited number, a built-in clock of the communication terminal measures the elapsed time from the start of the timing of step (4) and ends the timing; (6) generating a one-time password on the communication terminal side, when the action is completed, based on the ID, the password, the terminal ID, and the elapsed time measured in step (5), in accordance with a predetermined rule; (7) calculating a hash value of the one-time password using a hash function in the communication terminal, and transmitting an authentication request including the hash value to the server; (8) on the server side, when receiving the authentication request, measuring the elapsed time from the start of the timekeeping in step (3), ending the timekeeping, generating a character string according to the rule based on the elapsed time, the ID and password received in step (3), and the corresponding terminal ID registered in advance, and calculating a reference hash value of the character string using the hash function; (9) A method characterized in that it includes a step of: on the server side, comparing the hash value included in the authentication request with the reference hash value, and if the two match, determining that the user is a true user and sending a second authentication signal to the communication terminal, but if the two do not match, determining that the user is a fake user and sending a non-authentication signal to the communication terminal.

2. The method according to claim 1, further comprising a step of transmitting an unauthenticated signal to the communication terminal and not connecting to the communication terminal when the elapsed time from the start of the time measurement in step (3) exceeds a predetermined authentication implementation time on the server side.

3. 2. The method according to claim 1, wherein the action comprises displaying a different alphanumeric string on the display of the communication terminal each time based on a random number, and having the user input the alphanumeric string into the communication terminal, and the action is completed when the string input by the user matches the string displayed in the image.

Citation Information

Patent Citations

  • Authentication method and authentication device

    JP2008262549A

  • Authentication method and authentication system

    JP2009540458A

  • Personal identification system, personal identification method, information processing terminal, and program

    JP6898536B1