WO2016049983A1 - User keyboard key-pressing behavior mode modeling and analysis system, and identity recognition method thereof - Google Patents

User keyboard key-pressing behavior mode modeling and analysis system, and identity recognition method thereof Download PDF

Info

Publication number
WO2016049983A1
WO2016049983A1 PCT/CN2014/093944 CN2014093944W WO2016049983A1 WO 2016049983 A1 WO2016049983 A1 WO 2016049983A1 CN 2014093944 W CN2014093944 W CN 2014093944W WO 2016049983 A1 WO2016049983 A1 WO 2016049983A1
Authority
WO
WIPO (PCT)
Prior art keywords
user
data
password
model
button
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2014/093944
Other languages
French (fr)
Chinese (zh)
Inventor
蒋昌俊
陈闳中
闫春钢
丁志军
张晓萌
葛雍龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tongji University
Original Assignee
Tongji University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tongji University filed Critical Tongji University
Publication of WO2016049983A1 publication Critical patent/WO2016049983A1/en
Anticipated expiration legal-status Critical
Priority to AU2017100408A priority Critical patent/AU2017100408A4/en
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/316User authentication by observing the pattern of computer usage, e.g. typical user behaviour

Definitions

  • the invention relates to e-commerce identity authentication.
  • the present invention is directed to the case where a conventional username and password pair is stolen by a criminal.
  • Existing methods and means of authentication cannot prevent criminals from stealing legitimate accounts of others for personal gain.
  • Method principle According to the historical key information of the user entering the password when the account is logged in for a period of time, the data is analyzed and the corresponding hidden Markov probability model is established, and the model data is calculated for the new data to be tested to identify the user identity.
  • the method steps are:
  • Step 1 user data collection
  • JS is used to collect time data of the user's user name and password.
  • the collected data is the timestamp of each character that the user types in the user name and password and the system timestamp of the popup, and the original data is stored in the database.
  • the selected modeling feature is the button delay, which is the time to press the pop-up (which can also be modeled using the interval between each button).
  • the present invention provides an algorithm for eliminating keyboard damping. Eliminate the keyboard damping algorithm:
  • the forward selection algorithm is used to calculate the trusted value of the user, and it is determined whether the trusted value of the user is higher than a set threshold to determine whether it is a legitimate user.
  • a user keyboard key behavior pattern modeling and analysis system is characterized in that it comprises a user data acquisition module, a data cleaning module, a model training module and a user identity authentication module.
  • the user data collection module is responsible for collecting the time interval sequence in which the user inputs his user name and password.
  • JS is used to collect time data of the user's user name and password.
  • the collected data is the timestamp of each character that the user types in the user name and password and the system timestamp of the popup, and the original data is stored in the database.
  • the data cleaning module is responsible for preprocessing the collected data. For a user, its fixed password, the number of data items per record is fixed, and the data items whose data items do not match the specified length are rejected.
  • the model training module is responsible for analyzing and modeling the typing patterns of each user.
  • the selected modeling feature is The button delay is the time the pop-up is pressed (the interval between each button can also be used to model).
  • the user identity authentication module is responsible for performing model calculation on the new data to be tested to identify the identity of the user.
  • the data typed by the user is collected, and according to the model built by the training module, it is determined whether the user is a legitimate user.
  • the invention utilizes the user's input behavior mode without additional hardware support, and records the typing time feature while the user inputs his user name and password.
  • This authentication method is more convenient and feasible in the implementation process.
  • each user's unique typing behavior pattern is mined to identify the user's true identity, and the user's identity authentication is more accurate. Its innovations and benefits are reflected in:
  • Figure 1 User typed a behavioral pattern mining system.
  • Figure 2 converts the password into a category code.
  • Figure 3 is an authentication flow chart.
  • Figure 5 does not require calibration of the keyboard damping factor.
  • the user types the behavior pattern mining system as shown in Figure 1.
  • JS is used to collect the time data of the user's user name and password in the HTML webpage.
  • the collected data is the timestamp of each character that the user types in the user name and password and the system timestamp of the popup.
  • the original data is stored.
  • Into the database Since the user is familiar with the user name and password from the stranger to the familiar process, the typing mode will also change over time. We record the most recent month of typing data as the user's training data.
  • the time of pressing and popping is the system time stamp when the action is completed.
  • Data cleaning module Clean dirty data.
  • Some of the data collected by JS does not conform to the rules, and the data is processed or eliminated.
  • the data For a user, its fixed password, the number of data items per record is fixed, and the data items whose data items do not match the specified length are rejected. It is assumed that greater than 5000ms means that the user blocks the entire password input process due to external factors, and the abnormal value is compensated by linear interpolation.
  • E-commerce websites generally have the phenomenon that multiple people share an account.
  • family groups use one account to use e-commerce websites.
  • each legal member has its own unique typing behavior pattern, and using the typing behavior alone can determine that there is a large false positive rate.
  • Multi-user data is clustered by K-means to eliminate abnormal data and distinguish whether the data source is from different users.
  • K-means clustering is performed on the account. K-means clustering is to use the mean of all data samples in each clustering subset as the central vector of the cluster. The iterative process is used to divide the data set into different categories, so that the criterion function for evaluating clustering performance reaches the most. Excellent, making each cluster generated compact and independent between classes.
  • the invention uses the variance value as a criterion function to cluster the accounts whose variance is greater than the threshold, until the variance is less than a certain threshold, the cluster ends.
  • the selected modeling feature is the button delay, that is, the pop-up time (which can also be modeled by the interval between each button).
  • the interval between the input of a particular character is assumed to be subject to a normal distribution process.
  • the collected training data is used to establish a normal distribution model that each character obeys in its own password input process. Since the parameters in the normal distribution process cannot be accurately obtained, the maximum likelihood estimation method is used to calculate the parameter values of the normal distribution obeyed by each character from the training model. among them, A i is the key interval value of a character in the ith sample; k is the number of training samples.
  • the distinction between illegal and legitimate users is not high, and the selection of authentication models and parameter settings are more stringent; the user characteristics of long passwords or complex passwords are more obvious, in order to reduce the system's
  • the error rejection rate selects an authentication model and parameter settings that are more suitable for long passwords.
  • the user's password characters are divided into four types of records, namely: number (N), uppercase letter (U), lowercase letter (D), special character (S), which converts the user's password into a category code for password complexity. Calculation.
  • N number
  • U uppercase letter
  • D lowercase letter
  • S special character
  • the complexity of the defined password is the sum of the character complexity and the jump complexity.
  • the calculation rules are as follows:
  • the overall complexity of a password is the sum of its character complexity and jump complexity.
  • User identity authentication module collects data typed by the user, and determines whether the user is a legitimate user according to a model built by the training module. For the typing of an unknown user, the forward selection algorithm is used to calculate the trusted value of the user, and it is determined whether the trusted value of the user is higher than a set threshold to determine whether it is a legitimate user.
  • the certification process is shown in Figure 3.
  • the present invention provides an algorithm for eliminating keyboard damping. Eliminate the keyboard damping algorithm:
  • the difference between the current sequence button delay and the model value is calculated, and a set of difference sequences for each button delay is obtained.
  • FIG. 4 A schematic diagram of eliminating the keyboard damping algorithm is shown in FIG. 4 and FIG. 5.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Social Psychology (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

A user keyboard key-pressing behavior mode modeling and analysis system, and identity recognition method thereof. The identity recognition method comprises: conducting data analysis according to a history of key-pressing information of password inputting when a user logs into an account within a period of time and establishing a corresponding hidden Markov probabilistic model, and conducting a model calculation with respect to new data to be measured, in order to identify a user identity. The system consists of a user data acquisition module, a data cleaning module, a model training module, and a user identity authentication module. The present invention utilizes a user input behavior mode without requiring additional hardware support, and records a typing time characteristic while the user inputs a username and password, making the process of implementing an authentication method more simple and feasible. By acquiring a user typing time interval sequence and mining user-specific typing behavior mode, the real identity of a user can be identified, thus improving the accuracy of user identity authentication.

Description

用户键盘按键行为模式建模与分析系统及其身份识别方法User keyboard key behavior pattern modeling and analysis system and its identification method 技术领域Technical field

本发明涉及电子商务身份认证。The invention relates to e-commerce identity authentication.

背景技术Background technique

随着电子商务的发展,其中的不安全因素也暴露无遗,越来越多的安全隐患存在于电商网站之中,给不法分子有了可乘之机。传统的电子商务网站采用用户名和密码对来识别用户,这种认证方法是在建立在只有真实用户才知道其用户名和密码的假设之上,一旦非法用户获知了用户的信息,这种认证方法就不再有效。如何有效的识别用户的真实身份已经成为电子商务发展中引人关注的领域。With the development of e-commerce, the insecurities are also exposed, and more and more security risks exist in the e-commerce website, giving the criminals a chance. Traditional e-commerce websites use user names and password pairs to identify users. This authentication method is based on the assumption that only real users know their user names and passwords. Once an illegal user knows the user's information, the authentication method is used. No longer valid. How to effectively identify the true identity of users has become an area of interest in the development of e-commerce.

发明内容Summary of the invention

每个人都会其个人独特的行为习惯,在键盘输入行为上也是如此,个人的行为习惯也很难被他人所模仿和盗取,在此基础上建立的认证方法比传统的仅仅只是用户名、密码对的方法更加有效。Everyone has their own unique behavioral habits, as well as the keyboard input behavior. Personal behaviors are also difficult to be imitated and stolen by others. The authentication method established on this basis is only the user name and password. The correct method is more effective.

本发明面向的情况是在传统用户名、密码对被不法分子盗取时的情况。现有的认证方法和手段都无法防止不法分子盗用他人合法账户获取个人利益。The present invention is directed to the case where a conventional username and password pair is stolen by a criminal. Existing methods and means of authentication cannot prevent criminals from stealing legitimate accounts of others for personal gain.

为此,为达到这个发明目的,本发明给出的技术方案为:To this end, in order to achieve the object of the invention, the technical solution given by the invention is:

方法原理:根据用户一段时间内账户登录时输入密码的历史按键信息进行数据分析并建立相应的隐马尔可夫概率模型,并对于新的待测数据进行模型计算,以识别用户身份。方法步骤为:Method principle: According to the historical key information of the user entering the password when the account is logged in for a period of time, the data is analyzed and the corresponding hidden Markov probability model is established, and the model data is calculated for the new data to be tested to identify the user identity. The method steps are:

步骤1,用户数据采集Step 1, user data collection

负责采集用户输入其用户名和密码的时间间隔序列。在HTML网页中利用JS采集用户键入用户名和密码的时间数据,采集的数据为用户键入其用户名和密码的每个字符的按下时间戳和弹起的系统时间戳,原始数据存入数据库。Responsible for collecting the time interval sequence in which the user enters their username and password. In the HTML webpage, JS is used to collect time data of the user's user name and password. The collected data is the timestamp of each character that the user types in the user name and password and the system timestamp of the popup, and the original data is stored in the database.

步骤2,数据清洗 Step 2, data cleaning

负责对采集到的数据进行预处理。对于一个用户,其固定密码,每条记录的数据项数目为已定,对于数据项与既定长度不匹配的数据条目进行剔除。Responsible for preprocessing the collected data. For a user, its fixed password, the number of data items per record is fixed, and the data items whose data items do not match the specified length are rejected.

步骤3,模型训练Step 3, Model Training

负责对每个用户的键入模式进行分析和建模。所选建模特征为按键延时即按下弹起时间(也可采用每个按键之间的间隔时间来建模)。Responsible for analyzing and modeling each user's typing patterns. The selected modeling feature is the button delay, which is the time to press the pop-up (which can also be modeled using the interval between each button).

步骤4,用户身份认证Step 4, User Identity Authentication

负责对于新的待测数据进行模型计算,用以识别用户的身份。采集用户键入的数据,根据训练模块构建的模型,判定该用户是否为合法用户。不同键盘的阻尼系数不同,导致用户按下的时间特性在不同的键盘上可能具有差异,本发明提供消除键盘阻尼的算法。消除键盘阻尼算法:Responsible for model calculation of new data to be tested to identify the user's identity. The data typed by the user is collected, and according to the model built by the training module, it is determined whether the user is a legitimate user. Different keyboards have different damping coefficients, which may cause differences in the time characteristics of the user's pressing on different keyboards. The present invention provides an algorithm for eliminating keyboard damping. Eliminate the keyboard damping algorithm:

(41)根据每个按键的按下和弹起时间,计算两者差值,得到每个按键的延时。(41) According to the pressing and popping time of each button, the difference between the two is calculated, and the delay of each button is obtained.

(42)根据隐马尔科夫模型中,每个按键延时的期望,计算当前序列按键延时与模型值的差值,得到一组关于每个按键延时的差值序列。(42) According to the expectation of each button delay in the hidden Markov model, the difference between the current sequence button delay and the model value is calculated, and a set of difference sequences for each button delay is obtained.

(43)计算差值序列的方差和期望。(43) Calculate the variance and expectation of the difference sequence.

(44)当方差小于阈值,则对当前序列按键延时的观测值分别减去差值序列的期望,得到校准后的键盘按键延时。(44) When the variance is less than the threshold, the observation of the current sequence button delay is subtracted from the expectation of the difference sequence, and the calibrated keyboard button delay is obtained.

对于未知用户的键入,利用前向选择算法计算用户的可信值,判断用户可信值是否高于设定的阈值来判断是否为合法用户。For the typing of an unknown user, the forward selection algorithm is used to calculate the trusted value of the user, and it is determined whether the trusted value of the user is higher than a set threshold to determine whether it is a legitimate user.

一种用户键盘按键行为模式建模与分析系统,其特征在于,由用户数据采集模块、数据清洗模块、模型训练模块以及用户身份认证模块组成。A user keyboard key behavior pattern modeling and analysis system is characterized in that it comprises a user data acquisition module, a data cleaning module, a model training module and a user identity authentication module.

用户数据采集模块负责采集用户输入其用户名和密码的时间间隔序列。在HTML网页中利用JS采集用户键入用户名和密码的时间数据,采集的数据为用户键入其用户名和密码的每个字符的按下时间戳和弹起的系统时间戳,原始数据存入数据库。The user data collection module is responsible for collecting the time interval sequence in which the user inputs his user name and password. In the HTML webpage, JS is used to collect time data of the user's user name and password. The collected data is the timestamp of each character that the user types in the user name and password and the system timestamp of the popup, and the original data is stored in the database.

数据清洗模块负责对采集到的数据进行预处理。对于一个用户,其固定密码,每条记录的数据项数目为已定,对于数据项与既定长度不匹配的数据条目进行剔除。The data cleaning module is responsible for preprocessing the collected data. For a user, its fixed password, the number of data items per record is fixed, and the data items whose data items do not match the specified length are rejected.

模型训练模块负责对每个用户的键入模式进行分析和建模。所选建模特征为 按键延时即按下弹起时间(也可采用每个按键之间的间隔时间来建模)。The model training module is responsible for analyzing and modeling the typing patterns of each user. The selected modeling feature is The button delay is the time the pop-up is pressed (the interval between each button can also be used to model).

用户身份认证模块负责对于新的待测数据进行模型计算,用以识别用户的身份。采集用户键入的数据,根据训练模块构建的模型,判定该用户是否为合法用户。The user identity authentication module is responsible for performing model calculation on the new data to be tested to identify the identity of the user. The data typed by the user is collected, and according to the model built by the training module, it is determined whether the user is a legitimate user.

本发明利用用户的输入行为模式不需要额外的硬件支持,在用户输入其用户名和密码的同时记录键入时间特征,此认证方法在实现的过程更加方便可行。通过采集用户的键入的时间间隔序列,挖掘每个用户特有的键入行为模式,以此来识别用户的真实身份,使得用户的身份认证更加准确。其创新点及有益效果体现在:The invention utilizes the user's input behavior mode without additional hardware support, and records the typing time feature while the user inputs his user name and password. This authentication method is more convenient and feasible in the implementation process. By collecting the user's typed time interval sequence, each user's unique typing behavior pattern is mined to identify the user's true identity, and the user's identity authentication is more accurate. Its innovations and benefits are reflected in:

1.消除同一用户在不同键盘上操作,键盘阻尼不同对身份认证结果的影响。1. Eliminate the same user's operation on different keyboards, and the impact of different keyboard damping on identity authentication results.

2.消除同一账户多人使用对于身份认证结果的影响。2. Eliminate the impact of multi-person use of the same account on identity authentication results.

3.对于密码长度以及复杂程度,采用分级建模的方式。3. For the length and complexity of the password, a hierarchical modeling approach is adopted.

4.具有可移植性,配置方便,无需第三方软件支持。4. It is portable, easy to configure, and does not require third-party software support.

附图说明DRAWINGS

图1用户键入行为模式挖掘系统。Figure 1 User typed a behavioral pattern mining system.

图2密码转换成类别码。Figure 2 converts the password into a category code.

图3认证流程图。Figure 3 is an authentication flow chart.

图4需要校准键盘阻尼系数。Figure 4 requires calibration of the keyboard damping factor.

图5不需要校准键盘阻尼系数。Figure 5 does not require calibration of the keyboard damping factor.

具体实施方式detailed description

用户键入行为模式挖掘系统如图1所示。The user types the behavior pattern mining system as shown in Figure 1.

数据采集模块:在HTML网页中利用JS采集用户键入用户名和密码的时间数据,采集的数据为用户键入其用户名和密码的每个字符的按下时间戳和弹起的系统时间戳,原始数据存入数据库。由于用户对于自己的用户名和密码是由陌生到熟悉的过程,其键入的模式也会随着时间的推移而变化,我们记录最近一个月的键入数据作为用户的训练数据进行采集。Data collection module: JS is used to collect the time data of the user's user name and password in the HTML webpage. The collected data is the timestamp of each character that the user types in the user name and password and the system timestamp of the popup. The original data is stored. Into the database. Since the user is familiar with the user name and password from the stranger to the familiar process, the typing mode will also change over time. We record the most recent month of typing data as the user's training data.

数据格式如下表所示: The data format is shown in the following table:

按键序列Key sequence 按下时间Press time 弹起时间Bouncing time 11 19721972 20882088 22 24862486 25572557 33 26662666 27152715 44 27772777 27782778

其中,按下、弹起的时间为动作完成时的系统时间戳。Among them, the time of pressing and popping is the system time stamp when the action is completed.

数据清洗模块:清洗脏数据。Data cleaning module: Clean dirty data.

JS采集的数据有些并不符合规则,对这些数据进行相关的处理或剔除。对于一个用户,其固定密码,每条记录的数据项数目为已定,对于数据项与既定长度不匹配的数据条目进行剔除。假设大于5000ms表示用户由于外部因素阻断了整个密码输入过程,对于该异常值采用线性插值的方法进行补偿。Some of the data collected by JS does not conform to the rules, and the data is processed or eliminated. For a user, its fixed password, the number of data items per record is fixed, and the data items whose data items do not match the specified length are rejected. It is assumed that greater than 5000ms means that the user blocks the entire password input process due to external factors, and the abnormal value is compensated by linear interpolation.

电子商务网站普遍存在多人共用一个账号的现象存在,尤其是家庭群组多使用一个账号使用电商网站。对于多人共用账户,每个合法的成员都有自己独特的键入行为模式,单单使用键入行为来判断会有很大的误判率。通过K-means对多用户数据聚类,剔除异常数据,并以区分数据来源是否来源于不同的用户。E-commerce websites generally have the phenomenon that multiple people share an account. In particular, family groups use one account to use e-commerce websites. For a multi-person shared account, each legal member has its own unique typing behavior pattern, and using the typing behavior alone can determine that there is a large false positive rate. Multi-user data is clustered by K-means to eliminate abnormal data and distinguish whether the data source is from different users.

计算一个账户内所有脏数据处理后的数据项的方差,大于特定的阀值时,对该账户进行K-means聚类。K-means聚类是将各个聚类子集内的所有数据样本的均值作为该聚类的中心向量,采用迭代的过程把数据集划分为不同的类别,使得评价聚类性能的准则函数达到最优,使得生成的每个聚类内紧凑,类间独立。Calculate the variance of the data items processed by all dirty data in an account. When the variance is greater than a specific threshold, K-means clustering is performed on the account. K-means clustering is to use the mean of all data samples in each clustering subset as the central vector of the cluster. The iterative process is used to divide the data set into different categories, so that the criterion function for evaluating clustering performance reaches the most. Excellent, making each cluster generated compact and independent between classes.

K-means算法描述:K-means algorithm description:

1,随机挑选k个点作为初始的中心向量,k为所要聚类的子类数目;1, randomly pick k points as the initial center vector, and k is the number of subclasses to be clustered;

2,将其他样本分配给距离其最近的中心向量,构成不相交的聚类;2, assigning other samples to the nearest central vector to form disjoint clusters;

3,用各个聚类的中心向量作为新的中心;3. Use the center vector of each cluster as the new center;

4,重复步骤2和3,直到算法收敛。4. Repeat steps 2 and 3 until the algorithm converges.

此发明采用方差值作为准则函数,对于方差大于阈值的账户进行聚类,直到方差值小于一定阈值时,聚类结束。The invention uses the variance value as a criterion function to cluster the accounts whose variance is greater than the threshold, until the variance is less than a certain threshold, the cluster ends.

模型训练模块:Model training module:

1.所选建模特征为按键延时即按下弹起时间(也可采用每个按键之间的间隔时间来建模)。 1. The selected modeling feature is the button delay, that is, the pop-up time (which can also be modeled by the interval between each button).

2.对于一个用户,假定其输入一个特定的字符的间隔时间服从于一个正态分布过程。利用采集到的训练数据为用户建立其自身的密码输入过程中每个字符所服从的正态分布模型。由于正态分布过程中的参数无法准确获得,利用最大似然估计的方法从训练模型中计算出每个字符所服从的正态分布的参数值。其中,

Figure PCTCN2014093944-appb-000001
Ai为某个字符在第i个样本中的按键间隔值;k为训练样本数。2. For a user, the interval between the input of a particular character is assumed to be subject to a normal distribution process. The collected training data is used to establish a normal distribution model that each character obeys in its own password input process. Since the parameters in the normal distribution process cannot be accurately obtained, the maximum likelihood estimation method is used to calculate the parameter values of the normal distribution obeyed by each character from the training model. among them,
Figure PCTCN2014093944-appb-000001
A i is the key interval value of a character in the ith sample; k is the number of training samples.

3.对于密码长度,复杂程度分别建模。3. For the length of the password, the complexity is modeled separately.

密码长度和复杂度对于认证的准确度有很大的影响。密码越长越复杂,其用户的键入行为模式就越难以被他人模仿,认证的准确度越高。根据不同的密码长度和复杂度建立不同的认证模型,使得系统认证的准确度得以提高。Password length and complexity have a large impact on the accuracy of the authentication. The longer and more complex the password, the more difficult it is for the user's typing behavior pattern to be imitated by others, and the higher the accuracy of the authentication. Different authentication models are established according to different password lengths and complexity, so that the accuracy of system authentication is improved.

对于短密码或者简单密码,非法与合法用户的键入区分度不高,对于认证模型的选择和参数的设定就更为严格;长密码或者是复杂密码的用户特征更为明显,为了降低系统的错误拒绝率,选择更适用于长密码的认证模型和参数设定。For short passwords or simple passwords, the distinction between illegal and legitimate users is not high, and the selection of authentication models and parameter settings are more stringent; the user characteristics of long passwords or complex passwords are more obvious, in order to reduce the system's The error rejection rate selects an authentication model and parameter settings that are more suitable for long passwords.

将用户的密码字符分为四类记录,分别为:数字(N),大写字母(U),小写字母(D),特殊字符(S),将用户的密码转换为类别码,进行密码复杂度的计算。转换后形式如图2所示。The user's password characters are divided into four types of records, namely: number (N), uppercase letter (U), lowercase letter (D), special character (S), which converts the user's password into a category code for password complexity. Calculation. The converted form is shown in Figure 2.

为计算用户密码的复杂度,定义密码的复杂度为字符复杂度和跳转复杂度之和,计算规则如下:To calculate the complexity of the user's password, the complexity of the defined password is the sum of the character complexity and the jump complexity. The calculation rules are as follows:

①字符复杂度。每个字符的复杂度定义为:N为0,D为1,U为2,S为4;1 character complexity. The complexity of each character is defined as: N is 0, D is 1, U is 2, and S is 4.

②跳转复杂度。为一个字符到下一字符的复杂度,如果下一字符与当前字符的类别码不同,复杂度就加一。2 jump complexity. For the complexity of one character to the next, if the next character is different from the current character's category code, the complexity is increased by one.

密码的总体复杂度为其字符复杂度和跳转复杂度之和。The overall complexity of a password is the sum of its character complexity and jump complexity.

4.通过多次迭代,进行参数优化。4. Parameter optimization through multiple iterations.

用户身份认证模块:采集用户键入的数据,根据训练模块构建的模型,判定该用户是否为合法用户。对于未知用户的键入,利用前向选择算法计算用户的可信值,判断用户可信值是否高于设定的阈值来判断是否为合法用户。认证流程如图3所示。 User identity authentication module: collects data typed by the user, and determines whether the user is a legitimate user according to a model built by the training module. For the typing of an unknown user, the forward selection algorithm is used to calculate the trusted value of the user, and it is determined whether the trusted value of the user is higher than a set threshold to determine whether it is a legitimate user. The certification process is shown in Figure 3.

由于键盘的种类不同,不同键盘的阻尼系数不同,导致用户按下的时间特性在不同的键盘上可能具有差异,本发明提供消除键盘阻尼的算法。消除键盘阻尼算法:Due to the different types of keyboards, the damping coefficients of different keyboards are different, and the time characteristics of the user pressing may be different on different keyboards. The present invention provides an algorithm for eliminating keyboard damping. Eliminate the keyboard damping algorithm:

1,根据每个按键的按下和弹起时间,计算两者差值,得到每个按键的延时。1, according to the press and pop-up time of each button, calculate the difference between the two, get the delay of each button.

2,根据隐马尔科夫模型中,每个按键延时的期望,计算当前序列按键延时与模型值的差值,得到一组关于每个按键延时的差值序列。2. According to the expectation of each button delay in the hidden Markov model, the difference between the current sequence button delay and the model value is calculated, and a set of difference sequences for each button delay is obtained.

3,计算差值序列的方差和期望。3. Calculate the variance and expectation of the difference sequence.

4,当方差小于阈值,则对当前序列按键延时的观测值分别减去差值序列的期望,得到校准后的键盘按键延时。4. When the variance is less than the threshold, the observation of the current sequence button delay is subtracted from the expectation of the difference sequence, and the calibrated keyboard button delay is obtained.

消除键盘阻尼算法的示意图如图4、图5所示。 A schematic diagram of eliminating the keyboard damping algorithm is shown in FIG. 4 and FIG. 5.

Claims (3)

一种用户键盘按键行为模式建模与分析的身份识别方法,其特征在于,根据用户一段时间内账户登录时输入密码的历史按键信息进行数据分析并建立相应的隐马尔可夫概率模型,并对于新的待测数据进行模型计算,以识别用户身份;方法步骤为:An identification method for modeling and analyzing user keyboard key behavior patterns, characterized in that data analysis is performed according to historical key information of a password input by a user during a period of time, and a corresponding hidden Markov probability model is established, and The new data to be tested is modeled to identify the user; the method steps are: 步骤1,用户数据采集Step 1, user data collection 负责采集用户输入其用户名和密码的时间间隔序列,在HTML网页中利用JS采集用户键入用户名和密码的时间数据,采集的数据为用户键入其用户名和密码的每个字符的按下时间戳和弹起的系统时间戳,原始数据存入数据库;Responsible for collecting the time interval sequence in which the user inputs his user name and password, and uses JS to collect time data of the user's user name and password in the HTML webpage, and the collected data is the timestamp and bullet of each character in which the user types the user name and password. The system timestamp, the original data is stored in the database; 步骤2,数据清洗Step 2, data cleaning 对于一个用户,其固定密码,每条记录的数据项数目为已定,对于数据项与既定长度不匹配的数据条目进行剔除;For a user, its fixed password, the number of data items per record is fixed, and the data items whose data items do not match the specified length are eliminated; 步骤3,模型训练Step 3, Model Training 负责对每个用户的键入模式进行分析和建模,所选建模特征为按键延时即按下弹起时间,或者采用每个按键之间的间隔时间来建模;Responsible for analyzing and modeling each user's typing mode. The selected modeling features are the button delay, ie, the pop-up time, or the interval between each button is used to model; 步骤4,用户身份认证Step 4, User Identity Authentication 负责对于新的待测数据进行模型计算;采集用户键入的数据,根据训练模块构建的模型,判定该用户是否为合法用户;当不同键盘的阻尼系数不同,导致用户按下的时间特性在不同的键盘上可能具有差异,消除键盘阻尼算法:Responsible for the model calculation of the new data to be tested; collecting the data typed by the user, and determining whether the user is a legitimate user according to the model built by the training module; when the damping coefficients of different keyboards are different, the time characteristics of the user pressing are different. There may be differences on the keyboard, eliminating the keyboard damping algorithm: (41)根据每个按键的按下和弹起时间,计算两者差值,得到每个按键的延时;(41) Calculate the difference between the two buttons according to the pressing and pop-up time of each button, and obtain the delay of each button; (42)根据隐马尔科夫模型中,每个按键延时的期望,计算当前序列按键延时与模型值的差值,得到一组关于每个按键延时的差值序列;(42) According to the expectation of each button delay in the hidden Markov model, the difference between the current sequence button delay and the model value is calculated, and a set of difference sequences for each button delay is obtained; (43)计算差值序列的方差和期望;(43) calculating the variance and expectation of the difference sequence; (44)当方差小于阈值,则对当前序列按键延时的观测值分别减去差值序列的期望,得到校准后的键盘按键延时。(44) When the variance is less than the threshold, the observation of the current sequence button delay is subtracted from the expectation of the difference sequence, and the calibrated keyboard button delay is obtained. 如权利要求1所述的用户键盘按键行为模式建模与分析的身份识别方法,其特征在于,对于未知用户的键入,利用前向选择算法计算用户的可信值,判断用户可信值是否高于设定的阈值来判断是否为合法用户。 The method for identifying and analyzing a user keyboard key behavior pattern according to claim 1, wherein, for the typing of an unknown user, the forward selection algorithm is used to calculate the trusted value of the user, and whether the trusted value of the user is high is determined. Determine whether it is a legitimate user at the set threshold. 一种用户键盘按键行为模式建模与分析系统,其特征在于,由用户数据采集模块、数据清洗模块、模型训练模块以及用户身份认证模块组成,A user keyboard key behavior mode modeling and analysis system, characterized in that: a user data acquisition module, a data cleaning module, a model training module, and a user identity authentication module, 用户数据采集模块负责采集用户输入其用户名和密码的时间间隔序列;在HTML网页中利用JS采集用户键入用户名和密码的时间数据,采集的数据为用户键入其用户名和密码的每个字符的按下时间戳和弹起的系统时间戳,原始数据存入数据库;The user data collection module is responsible for collecting the time interval sequence in which the user inputs the user name and password; using JS to collect the time data of the user's user name and password in the HTML webpage, and the collected data is the pressing of each character of the user into the user name and password. Timestamp and pop-up system timestamp, the original data is stored in the database; 数据清洗模块负责对采集到的数据进行预处理,对于一个用户,其固定密码,每条记录的数据项数目为已定,对于数据项与既定长度不匹配的数据条目进行剔除;The data cleaning module is responsible for pre-processing the collected data. For a user, the fixed password, the number of data items per record is determined, and the data items whose data items do not match the predetermined length are eliminated; 模型训练模块负责对每个用户的键入模式进行分析和建模,所选建模特征为按键延时即按下弹起时间,或者采用每个按键之间的间隔时间来建模;The model training module is responsible for analyzing and modeling each user's typing mode. The selected modeling features are the button delay, ie, the pop-up time, or the interval between each button is used to model; 用户身份认证模块负责对于新的待测数据进行模型计算,用以识别用户的身份;采集用户键入的数据,根据训练模块构建的模型,判定该用户是否为合法用户。 The user identity authentication module is responsible for performing model calculation on the new data to be tested to identify the identity of the user; collecting data entered by the user, and determining whether the user is a legitimate user according to the model built by the training module.
PCT/CN2014/093944 2014-09-29 2014-12-16 User keyboard key-pressing behavior mode modeling and analysis system, and identity recognition method thereof Ceased WO2016049983A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
AU2017100408A AU2017100408A4 (en) 2014-09-29 2017-04-10 User keyboard key-pressing behavior mode modeling and analysis system, and identity recognition method thereof

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410513121.6A CN104318136A (en) 2014-09-29 2014-09-29 Modeling and analysis system for user keyboard key pressing activity mode and identity identification method thereof
CN201410513121.6 2014-09-29

Related Child Applications (1)

Application Number Title Priority Date Filing Date
AU2017100408A Division AU2017100408A4 (en) 2014-09-29 2017-04-10 User keyboard key-pressing behavior mode modeling and analysis system, and identity recognition method thereof

Publications (1)

Publication Number Publication Date
WO2016049983A1 true WO2016049983A1 (en) 2016-04-07

Family

ID=52373367

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/093944 Ceased WO2016049983A1 (en) 2014-09-29 2014-12-16 User keyboard key-pressing behavior mode modeling and analysis system, and identity recognition method thereof

Country Status (2)

Country Link
CN (1) CN104318136A (en)
WO (1) WO2016049983A1 (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109858212A (en) * 2019-01-21 2019-06-07 深圳市能信安科技股份有限公司 Personal identification method, device and terminal for numerical ciphers soft keyboard
WO2020027773A1 (en) 2018-07-30 2020-02-06 Hewlett-Packard Development Company, L.P. User interface modification
CN111209551A (en) * 2020-01-15 2020-05-29 国网河北省电力有限公司信息通信分公司 A kind of identity authentication method and device
CN111339506A (en) * 2020-02-21 2020-06-26 安徽斯跑特科技有限公司 Customer management platform for sale of trusted operating system
CN111901347A (en) * 2020-07-29 2020-11-06 南方电网科学研究院有限责任公司 Dynamic identity authentication method and device under zero trust
CN112100598A (en) * 2020-09-08 2020-12-18 紫光云(南京)数字技术有限公司 Method and device for identifying login authentication through mouse and keyboard knocking rhythm
CN113726736A (en) * 2021-07-23 2021-11-30 浙江嘉兴数字城市实验室有限公司 Identity authentication method and system based on individual behavior cohesion
WO2022061499A1 (en) * 2020-09-22 2022-03-31 深圳大学 Vibration signal-based identification verification method and system
CN115842631A (en) * 2022-11-04 2023-03-24 金邦达有限公司 Key characteristic-based identity authentication method, computer device and computer readable storage medium
CN117176375A (en) * 2023-03-30 2023-12-05 中通服创立信息科技有限责任公司 User account login security protection method and system
CN118862033A (en) * 2024-07-03 2024-10-29 深圳市鑫云安开发科技有限公司 Information security analysis method and system based on big data
CN119272203A (en) * 2024-12-06 2025-01-07 杭州量算科技有限公司 A processing method for intelligent data analysis based on time series analysis model

Families Citing this family (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105354454A (en) * 2015-10-10 2016-02-24 浪潮软件集团有限公司 Method for establishing user habit account by using JAVASCRIPT language
CN105429937B (en) * 2015-10-22 2018-07-06 同济大学 Identity identifying method and system based on keystroke behavior
CN105279405B (en) * 2015-10-28 2018-06-26 同济大学 Touchscreen user button behavior pattern is built and analysis system and its personal identification method
CN106919816A (en) * 2015-12-24 2017-07-04 北京搜狗科技发展有限公司 A kind of user authen method and device, a kind of device for user authentication
CN105608352B (en) * 2015-12-31 2019-06-25 联想(北京)有限公司 A kind of information processing method and server
CN106039711B (en) * 2016-05-17 2019-05-14 网易(杭州)网络有限公司 A user identity authentication method and device
CN106570362B (en) * 2016-10-25 2020-04-21 福建天泉教育科技有限公司 Password input method and device
CN106911668B (en) * 2017-01-10 2020-07-14 同济大学 Identity authentication method and system based on user behavior model
CN107465814B (en) * 2017-07-17 2019-11-22 长沙学院 A user input recognition method based on mobile phone inertial sensor
CN108090332A (en) * 2017-12-06 2018-05-29 国云科技股份有限公司 A risk control method based on user login behavior analysis
CN108306884B (en) * 2018-01-31 2020-06-16 苏州锦佰安信息技术有限公司 A user identity authentication method and device
CN108400980B (en) * 2018-02-08 2020-06-30 平安科技(深圳)有限公司 User identity authentication method and device, computer equipment and storage medium
CN109359448B (en) * 2018-10-16 2021-05-07 广州伊的家网络科技有限公司 Internet mobile terminal safety office system
CN110210201B (en) * 2019-05-31 2021-05-18 联想(北京)有限公司 User identification method, user identification device and electronic equipment
CN112989295A (en) * 2019-12-16 2021-06-18 北京沃东天骏信息技术有限公司 User identification method and device
CN113496015A (en) * 2020-04-01 2021-10-12 中国移动通信有限公司研究院 Identity authentication method and device and computer readable storage medium
CN111984952A (en) * 2020-09-03 2020-11-24 四川长虹电器股份有限公司 HMM-based user input behavior abnormity identification method
CN112100597A (en) * 2020-09-07 2020-12-18 紫光云(南京)数字技术有限公司 Login authentication method for performing biological characteristic authentication through keyboard knocking rhythm
CN114036476A (en) * 2021-11-08 2022-02-11 北京华云安信息技术有限公司 User login authentication method, device, equipment, storage medium and product
CN114461999A (en) * 2021-12-24 2022-05-10 奇安信科技集团股份有限公司 Input behavior detection method and device, electronic equipment and storage medium
CN116015677A (en) * 2022-12-19 2023-04-25 中通服创发科技有限责任公司 Network security protection method and device based on key dynamics characteristics
CN120611368B (en) * 2025-08-08 2025-10-17 吉林省伊尼艾科技有限公司 User registration and login method based on keyboard tapping

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6401065B1 (en) * 1999-06-17 2002-06-04 International Business Machines Corporation Intelligent keyboard interface with use of human language processing
CN101478401A (en) * 2009-01-21 2009-07-08 东北大学 Authentication method and system based on key stroke characteristic recognition
CN102970289A (en) * 2012-11-09 2013-03-13 同济大学 Identity authentication method based on Web user behavior model

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102780682B (en) * 2011-05-12 2015-02-18 同济大学 Website behavior model modeling method based on HTML (Hyper Text Markup Language)

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6401065B1 (en) * 1999-06-17 2002-06-04 International Business Machines Corporation Intelligent keyboard interface with use of human language processing
CN101478401A (en) * 2009-01-21 2009-07-08 东北大学 Authentication method and system based on key stroke characteristic recognition
CN102970289A (en) * 2012-11-09 2013-03-13 同济大学 Identity authentication method based on Web user behavior model

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3756077A4 (en) * 2018-07-30 2021-09-22 Hewlett-Packard Development Company, L.P. CHANGING A USER INTERFACE
WO2020027773A1 (en) 2018-07-30 2020-02-06 Hewlett-Packard Development Company, L.P. User interface modification
CN109858212A (en) * 2019-01-21 2019-06-07 深圳市能信安科技股份有限公司 Personal identification method, device and terminal for numerical ciphers soft keyboard
CN111209551B (en) * 2020-01-15 2022-10-14 国网河北省电力有限公司信息通信分公司 Identity authentication method and device
CN111209551A (en) * 2020-01-15 2020-05-29 国网河北省电力有限公司信息通信分公司 A kind of identity authentication method and device
CN111339506A (en) * 2020-02-21 2020-06-26 安徽斯跑特科技有限公司 Customer management platform for sale of trusted operating system
CN111901347A (en) * 2020-07-29 2020-11-06 南方电网科学研究院有限责任公司 Dynamic identity authentication method and device under zero trust
CN112100598A (en) * 2020-09-08 2020-12-18 紫光云(南京)数字技术有限公司 Method and device for identifying login authentication through mouse and keyboard knocking rhythm
WO2022061499A1 (en) * 2020-09-22 2022-03-31 深圳大学 Vibration signal-based identification verification method and system
CN113726736A (en) * 2021-07-23 2021-11-30 浙江嘉兴数字城市实验室有限公司 Identity authentication method and system based on individual behavior cohesion
CN115842631A (en) * 2022-11-04 2023-03-24 金邦达有限公司 Key characteristic-based identity authentication method, computer device and computer readable storage medium
CN117176375A (en) * 2023-03-30 2023-12-05 中通服创立信息科技有限责任公司 User account login security protection method and system
CN118862033A (en) * 2024-07-03 2024-10-29 深圳市鑫云安开发科技有限公司 Information security analysis method and system based on big data
CN119272203A (en) * 2024-12-06 2025-01-07 杭州量算科技有限公司 A processing method for intelligent data analysis based on time series analysis model

Also Published As

Publication number Publication date
CN104318136A (en) 2015-01-28

Similar Documents

Publication Publication Date Title
CN104318136A (en) Modeling and analysis system for user keyboard key pressing activity mode and identity identification method thereof
CN105279405B (en) Touchscreen user button behavior pattern is built and analysis system and its personal identification method
US8020005B2 (en) Method and apparatus for multi-model hybrid comparison system
CN103530540B (en) User identity attribute detection method based on man-machine interaction behavior characteristics
US20180012003A1 (en) Pointing device biometrics continuous user authentication
CN101833619A (en) Method for judging identity based on keyboard-mouse crossed certification
CN108809745A (en) A kind of user's anomaly detection method, apparatus and system
CN104408341A (en) Smart phone user identity authentication method based on gyroscope behavior characteristics
Siddiqui et al. Continuous user authentication using mouse dynamics, machine learning, and minecraft
CN110570199B (en) User identity detection method and system based on user input behaviors
CN105389486B (en) A kind of authentication method based on mouse behavior
Megantara et al. Feature importance ranking for increasing performance of intrusion detection system
Sae-Bae et al. Distinguishability of keystroke dynamic template
CN109871676A (en) A three-way identity authentication method and system based on mouse behavior
Al-Obaidi et al. Statistical keystroke dynamics system on mobile devices for experimental data collection and user authentication
CN117992953A (en) Abnormal user behavior identification method based on operation behavior tracking
CN110851808A (en) Identity authentication method and device, electronic equipment and computer readable storage medium
Shimshon et al. Clustering di-graphs for continuously verifying users according to their typing patterns
AU2017100408A4 (en) User keyboard key-pressing behavior mode modeling and analysis system, and identity recognition method thereof
Motwani et al. A multimodal behavioral biometric technique for user identification using mouse and keystroke dynamics
Kek et al. User authentication with keystroke dynamics: Performance evaluation in neural network
Sahu et al. A novel non-linear transformation based multi user identification algorithm for fixed text keystroke behavioral dynamics
Al-Jarrah et al. Finger-drawn signature verification on touch devices using statistical anomaly detectors
Xi et al. Evaluating Learning Algorithms for Keystroke Based User Authentication
Baynath et al. Implementation of a Secure Keystroke Dynamics using Ant colony optimisation

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14903163

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14903163

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 06/10/2017)