Keyboard activity analysis
A keyboard activity analysis method creates a unique typing signature for user identification, addressing the limitations of existing surveillance methods by providing reliable, sensor-free monitoring of online exams.
Patent Information
- Application Number
- FR2023002232
- Authority / Receiving Office
- FR · FR
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-10
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2043-03-10
AI Technical Summary
Existing surveillance solutions for monitoring user activity on computer systems, such as webcams and fingerprint sensors, are economically and technically challenging, and they are insufficient for detecting unauthorized assistance during online exams like school or academic settings.
A computer-implemented method for analyzing keyboard activity by determining typing dynamics characteristics, such as key press and release times, to create a unique signature for user identification, which can be compared with online text to detect identity theft.
This method allows for reliable and sensor-free user identification, reducing the need for additional hardware and enabling effective monitoring of online exams by detecting unauthorized assistance.
Smart Images

Figure 00000000_0000
Abstract
Description
Description Title of the invention: Keyboard activity analysis Technical field The present disclosure relates to keyboard activity analysis, and more particularly to a computer-implemented method of analyzing keyboard activity, a computer-implemented method of monitoring keyboard activity, and a computer program and a server computer system for performing these methods. Technical background Today, intelligent systems exist that can monitor the physical world in real time and provide high-value services to users. With the rise and development of technologies, automated intelligent surveillance now makes it possible, particularly from complex information processing and control infrastructures and networks, to improve security and provide ubiquitous detection. For monitoring a user on a computer system, existing monitoring solutions generally use a webcam directed towards the user to monitor them from a video stream. Such monitoring solutions can, for example, be used in virtual classrooms for distance learning, for example to help supervisors ensure the smooth running of an online exam, for example in a school or academic setting. Among the frauds sought are the use of external human assistance (this illicit assistance can be given in different ways) and the use of an unauthorized resource (the learner using a set of resources that are prohibited to them to facilitate the answering of exam questions). Existing surveillance solutions are not sufficient. Indeed, they require sensors for information collection (for example, a camera or a fingerprint sensor) to enable user monitoring, and it is difficult from an economic and usage point of view to impose the use of such sensors. Therefore, there is a need for an improved monitoring solution. Summary To this end, a computer-implemented method is proposed for analyzing a user's keyboard activity. This method is then referred to as the "analysis method." The analysis method comprises obtaining the instants of key pressing and / or releasing while the user is typing a reference text on a client computer system. The reference text comprises one or more words, The analysis method comprises a determination, for each respective word of the reference text, of the value of a typing dynamics characteristic vector for the respective word. The characteristic vector comprises for a typed word one or more metrics each determined from the instants of key pressing and / or key release during typing of the reference text. The analysis method comprises a determination of the value of a signature for the reference text from each determined characteristic vector. The one or more determined metrics may comprise a metric D, equal to the time, for each character i, between the instant of pressure P, of the respective key corresponding to the character : and the instant of release R; of the respective key corresponding to the character :. The one or more determined metrics may comprise a metric D, equal to the time, for each character i, between the instant of pressure P; of the respective key corresponding to the character : and the instant of pressure P;,; of a respective key corresponding to the following character i+ / . The one or more determined metrics may comprise a metric D3 equal to the time, for each character i, between the instant of pressure P; of the respective key corresponding to the character : and the instant of release R;,> of a respective key corresponding to the second following character / +2. The one or more determined metrics may comprise a metric D4 equal to the time, for each character i, between the instant of pressure P; of the respective key corresponding to the character; and the instant of pressure P,,; of a respective key corresponding to the third following character i+3. The one or more determined metrics may comprise a metric Ds equal to the time between the instant of pressing the respective key corresponding to the first character of the respective word and the instant of releasing the respective key corresponding to the last character of the respective word. The reference text may include multiple words. The signature for the reference text may include an average of the feature vectors determined for each of the words in the reference text. Also provided is a computer-implemented method of monitoring keyboard activity on behalf of a user. This method is hereinafter referred to as a "monitoring method." The monitoring method includes providing the value of a determined signature to the user. The monitoring method includes obtaining the instants of key press and / or release while typing online text on a client computer system on behalf of the user. The online text includes one or more words. The monitoring method includes determining, for each respective word of the online text, the value of the typing dynamics characteristic vector for the respective word. The monitoring method comprises determining whether or not the user has been impersonated based on a comparison between one or more values of the characteristic vector determined for the online text and the value of the signature determined for the reference text. Determining whether or not impersonation has occurred may further be based on a comparison between a facial capture while typing online text on the client computer system on behalf of the user and an image of the user from a database. Determining whether spoofing has occurred may include merging the results of comparing the one or more feature vector values determined for the inline text and comparing the facial capture. Determining whether the user has been impersonated may include determining, for each respective word of the online text, a distance between the value of the feature vector of the respective word and the value of the signature determined for the user. Determining whether the user has been impersonated may include determining whether the user has been impersonated from each determined distance. The feature vector and the signature may each be a vector having coordinates for each of the one or more metrics. The distance determined for each respective word of the online text may be equal to a norm of the difference between the value of the feature vector of the respective word and the value of the signature determined for the user. The monitoring method may further comprise, for each respective word of the online text, a comparison of the distance determined for the respective word with a confidence threshold. The monitoring method may further comprise a display of the result of the comparison for each respective word of the online text. Also provided is a computer program comprising program code instructions for executing, when said program is executed on a computer, steps of the analysis method and / or the monitoring method. A server computer system configured to communicate with a client computer system is also provided. The server computer system has a memory on which the computer program is stored. The server computer system is configured to execute the computer program. Brief Description of the Drawings Non-limiting examples will be described with reference to the following figures: [Fig.1] illustrates an example of implementation of the monitoring solution. [Fig.2] illustrates an example of an image quality evaluation algorithm. [Fig.3] illustrates an example of a convolutional neural network architecture for face analysis. [Fig.4] shows an example of distances calculated throughout a video sequence when the learner is who they claim to be. [Fig.5] shows an example of distances calculated during an attempted identity theft fraud. [Fig.6] shows examples of keyboard interactions. [Fig.7] shows different use cases of keyboard analysis. [Fig.8] shows examples of metrics. [Fig.9] shows an example of encryption of the determined signature. [Fig.10] illustrates an example of merging the results of keyboard analysis and face analysis. References [1] Saad, M. À., Bovik, À. C., and Charrier, C. (2012). Blind image quality assessment: A natural scene statistics approach in the DCT domain. IEEE transactions on Image Processing, 21(8), 3339-3352. [2] Omkar M. Parkhi, Andrea Vedaldi and Andrew Zisserman. Deep Face Recognition. In Xianghua Xie, Mark W. Jones, and Gary KL Tam, editors, Proceedings of the British Machine Vision Conference (BMVC), pages 41.1-41.12. BMVA Press, September 2015. [3] Z Chen, K. Wu, Y. Li, M. Wang and W. Li, “SSD-MSN: An Improved Multi-Scale Object Detection Network Based on SSD,” in IEEE Access, vol. 7, pp. 80622-80632, 2019. [4] JIN, Andrew Teoh Beng, LING, David Ngo Chek, et GOH, Alwyn. Biohashing: two factor authentication featuring fingerprint data and tokenised random number. Pattern recognition, 2004, vol. 37, no 11, p. 2245-2255 Description détaillée A computer-implemented method for analyzing a user's keyboard activity is provided. This method is hereinafter referred to as the "analysis method." The analysis method comprises obtaining the instants of key pressing and / or releasing while the user is typing a reference text on a client computer system. The reference text comprises one or more words. The analysis method comprises determining, for each respective word of the reference text, the value of a typing dynamics characteristic vector for the respective word. The characteristic vector comprises, for a typed word, one or more metrics each determined from the instants of key pressing and / or releasing. keystroke while typing the reference text. The analysis method includes determining the value of a signature for the reference text from each determined characteristic vector. The analysis process improves user monitoring. Indeed, the analysis method makes it possible to simply and reliably identify a user. This identification can then be used to monitor a user, for example to confirm their identity and to detect identity theft or not. The value of the determined signature notably allows this identification of the user. Indeed, the determined signature characterizes the user's keystroke from the instants of pressing and / or releasing the key while typing the reference text, and therefore uniquely identifies this user. The analysis method therefore allows a unique, reliable and robust identification of the user. In addition, the identification of the user by the analysis method does not require an additional sensor for collecting information. The analysis method can therefore be implemented simply. Also provided is a computer-implemented method for monitoring keyboard activity on behalf of a user. This method is hereinafter referred to as a "monitoring method." The monitoring method comprises providing the value of a signature to the user. The monitoring method comprises obtaining the instants of key pressing and / or releasing while typing an online text on a client computer system on behalf of the user. The online text comprises one or more words. The monitoring method comprises determining, for each respective word of the online text, the value of the typing dynamics characteristic vector for the respective word.The monitoring method comprises determining whether or not the identity of the user has been usurped based on a comparison between one or more values of the characteristic vector determined for the online text and the value of the signature determined for the reference text. The analysis method and the monitoring method may be linked and together may form a single improved monitoring solution. Indeed, the analysis method allows the determination of a signature uniquely identifying a user and the monitoring method allows determining whether or not this user has been impersonated from the signature determined by the analysis method. The analysis method and the monitoring method are therefore based on the same principles, namely the use of a signature determined from the instants of pressing and / or releasing a key while typing a reference text for the identification of a user. The analysis method and the monitoring method may be included in a monitoring solution, which may comprise, during a first phase, the execution of the analysis method, and during a second phase following the first, the execution of the monitoring method. The monitoring solution may for example be a method for monitoring an exam, and the first phase may correspond to a first phase of forming the signature for authenticating the user for this exam, i.e. determining the value of the signature for the user. The second phase may correspond to a phase of verifying the identity of the user, i.e. comparing to verify that it is always the person who typed the reference text during the first phase who takes the online exam during the second phase. For example, the first phase may take place during a first exam of a school year. In this case, the reference text may be the answer text that the user (i.e., the candidate) types during this first exam. In this case, the second phase may take place during the other exams taken by the candidate (e.g., the other exams of the school year). During these other exams, the proctoring solution may execute the proctoring process to verify the candidate's identity from their signature determined by the analysis process during the first exam of the year. Alternatively, the first phase may take place before one or more exams of the school year. The first phase may be a special session during which the candidate's signature is determined, before the one or more exams are held. In this case, the second phase may take place during the one or more exams, to verify the candidate's identity during these exams with the signature determined during the first phase. Alternatively, an examination may comprise several tests, and the first phase may take place during a first test of the examination in order to determine the signature of the candidate. During the other tests, the second phase may take place, and the proctoring method may be executed in order to verify the identity of the user taking the test (i.e., to verify that the user taking the examination is the user identified during the first test). For example, the inline text may be text that is typed by the user during the test (e.g., while answering questions on the examination), and the proctoring method may verify the identity of the user while typing the inline text (i.e., while answering questions on the examination). The first phase may take place before the execution of the monitoring method. The analysis method may comprise, once the signature has been determined, a recording of this signature (for example on a memory of the server or the client computer system). During the second phase, the provision of the value of the signature may include a reading of the recorded signature. The analysis and monitoring processes reduce the number of proctors in the second phase, or reduce the proctoring "load." The proctoring solution allows individuals' identities to be verified based on how they type. The way people type makes it possible to identify them and recognize identity theft. The proctoring solution allows for automatic proctoring of exams based on how candidates type. When the monitoring method determines the usurpation, the monitoring method may include sending an alert and / or a notification (for example, audible or visual), for example to a proctor, who can then, for example, take a closer look at the candidate in question, to confirm or not the usurpation. During the first phase, the monitoring solution may include determining the value of the signature for a user based on the analysis method. In the second phase, the monitoring solution may include determining whether the user's identity has been impersonated based on the monitoring method and the signature determined for the user during the first phase of forming the signature for authentication. During the second phase, the monitoring process may be repeated. For example, the monitoring process may be repeated for each word of the online text typed, or for each 7 words of the online text typed (n being a positive integer, for example between 2 and 10). Alternatively, the process may be repeated at time intervals that may be regular. For example, the process may be repeated every X seconds (where X is a positive number, for example between 1 and 10 seconds). In examples, the proctoring solution may include repeating the analysis and proctoring processes for each user (e.g., for each student taking the exam). During the exam, the proctoring solution may verify that each user taking the test is the same user who typed the reference text during the first signature formation phase, and thus verify the identity of each user. The proctoring solution may thus monitor multiple users at the same time. The server computer system (hereinafter referred to as the "server") may perform the monitoring method and the analysis method. In this case, for the reference text and for the online text, the client computer system (hereinafter referred to as the "client") on which the text is typed may be configured to send the instants of key pressing and / or release while the text is being typed. For example, the client may record the instants of key pressing and / or release in a file on a memory and then send this file to the server (at the end of the typing or during the keystroke, for example after each keystroke). For the reference text and for the online text, obtaining the times of keypress and / or release may then include reception by the server of the file sent by the client. The server may be in communication with a computer and / or a tablet of one or more monitors. When the monitoring method determines the usurpation, the monitoring method may include sending an alert and / or a notification to the computer and / or the tablet of the one or more monitors. Alternatively, the client on which the reference text is typed may perform the analysis method and the server may perform the monitoring method. In this case, the client on which the reference text is typed may be configured to record the determined signature on a memory and send it to the server. Providing the value of the signature may then include receiving the signature sent by the client. For inline text, the client on which the inline text is typed may record the key press and / or release times in a file on a memory and then send this file to the server. Obtaining the key press and / or release times may then include receiving by the server the file sent by the client. Alternatively, the client on which the online text is typed may perform the monitoring method. In this case, the client on which the reference text is typed or the server may perform the analysis method. The computer system performing the analysis method may then send the signature determined for the user to the client on which the online text is typed. The provision may then include receiving the sent signature. The obtaining may in this case include detecting the instants of key pressing and / or release while typing the online text. Alternatively, one or more steps of the analysis method may be executed by the client on which the reference text is typed, and one or more other steps of the analysis method may be executed by the server. For example, the client may execute the steps of obtaining and determining each characteristic vector, and the analysis method may then comprise sending each determined characteristic vector to the server, which may then execute the determination of the signature value from each determined signature. Alternatively, the server may execute the determination of each characteristic vector, and in this case the analysis method may comprise sending the instants of key pressing and / or release obtained by the client to the server. Similarly, the monitoring process may be performed by the client on which the inline text is typed and by the server. For example, the client on which the inline text is typed may perform the steps of obtaining and determining each vector characteristic. In this case, the monitoring method can then comprise sending each determined characteristic vector to the server, which can then perform the determination of whether or not the spoofing has taken place. The monitoring method can also perform the provisioning step. Alternatively, the server can perform the determination of each characteristic vector, and in this case the monitoring method can comprise sending the instants of key pressing and / or release obtained by the client to the server. The client on which the reference text is typed may be the same as the client on which the online text is typed. For example, the client may be a personal computer of the user (e.g., at the user's home), a tablet, or a computer shared by several people, for example, at a university or a company. Alternatively, the client on which the reference text is typed may be different from the client on which the online text is typed. For example, the online text may be typed on the user's personal computer and the reference text on a shared computer or on another user's personal computer. Conversely, the online text may be typed on a shared computer and the reference text on a shared computer or on another user's personal computer. The user typing the reference text may be the same as the user typing the online text. In this case, the monitoring method may statistically determine the non-spoofing of the user's identity. Indeed, the comparison will statistically indicate that the one or more values of the characteristic vector are close to the determined signature. Alternatively, the user typing the online text may be different from the user typing the reference text. In this case, the monitoring method may statistically determine the non-spoofing of the user's identity. Indeed, the comparison will statistically indicate that the one or more values of the characteristic vector are different from the determined signature. The monitoring method may comprise providing a result of the comparison, for example a number statistically indicating a probability of spoofing or not. The reference text and / or the inline text may be typed on any type of keyboard. For example, the keyboard may be a physical keyboard, such as a keyboard connected to a computer or a keyboard on a laptop. Alternatively, the keyboard may be a virtual keyboard, such as a keyboard displayed on a device with a touchscreen (e.g., a tablet or smartphone). The reference text and / or the inline text may each include one or more words of one or more characters. The reference text and the inline text may be different, The reference text may include a word count of at least 10 or more. For example, the reference text may include between 20 and 40 words. The online text may include a word count of at least 10 or more (for example, between 20 and 40 words). The reference text and the online text may be in an Indo-European language. For example, the reference text and the online text may be in English, French, German, Spanish, Italian and / or Portuguese (or any combination of Indo-European languages). Typing text includes the sequential typing (or keyboard entry) of each word of the text, that is, the sequential typing or entry of each character of each word. Typing each character includes pressing, at a first instant, a keyboard key corresponding to the character and then releasing, at a second instant after the first, the key corresponding to the character. The characters of each word may be typed successively, one after the other. For reference text and / or online text, the times of key pressing and / or release during typing may be the times of key pressing and / or release of each of the characters of the text. For the analysis method or the monitoring method, obtaining the key press and / or release times may comprise a recording of the key press and / or release times. For example, obtaining may comprise a recording of these times in the form of two vectors P=(P, …, P,) and R={R, …, R,) containing all the times of pressure P; and release R; of the characters / = 1, ..., À of the text in question (the reference text or the in-line text). These two vectors may be recorded on a memory. When the text comprises several words, the typing of the text may include, between each word, a keystroke of a particular key (for example, a space key). The instants of pressing and / or releasing this particular key may be ignored, i.e., the determination of the value of the characteristic vector may not take into account the instants of pressing and / or releasing this key. In other words, the vectors P and R may not include the instants of pressing and / or releasing this particular key. Similarly, the typing of any key other than a character key may be ignored. For example, the reference text and / or the inline text may include one or more punctuation marks or numbers, and as with the space key, the typing of these keys may be ignored. The determination of the value of the typing dynamics characteristic vector (hereinafter referred to as the "feature vector") of a word is now discussed. The in- The training given below applies both to the analysis process with each word of the reference text and to the monitoring process with each word of the online text. The feature vector may be a vector having coordinates for each of one or more metrics. The feature vector may include a respective coordinate for each metric. When the feature vector includes only one metric, the feature vector may include only one coordinate. When the feature vector includes multiple metrics, the feature vector may include multiple coordinates (one for each metric). The determination of each value of the characteristic vector may comprise a calculation of the value of each metric from the recorded vector P and / or the recorded vector R. The value of each calculated metric may correspond to a time interval between instants of pressure P; of the recorded vector P and / or instants of release R; of the recorded vector R. The feature vector may comprise one or more of the metrics discussed below. In particular, the feature vector may comprise any combination of these metrics. During the analysis process and during the monitoring process, the determined feature vectors may comprise at least one or more common metrics. For example, the determined feature vectors may comprise the same metrics. In other words, the determination of each value of the feature vector in the analysis process may be performed in the same manner as the determination of each value of the feature vector in the monitoring process.Determining each value of the feature vector may include, for each respective word of the typed text, determining the value of each metric for the respective word (the typed text being the reference text for the analysis method and the online text for the monitoring method). A first metric D; may be an average of the time to strike each character of the word. The time to strike each character a of the word may be equal to the time between the instant of pressure P; of the respective key corresponding to the character a and the instant of release Æ; of the respective key corresponding to the character a. For each word of the text struck, the determination of the metric D, may comprise, for each character i of the word, a calculation of the time to strike the character, then, a calculation of an average of these calculated times. A second metric Dz can be an average of the typing time between two characters of the word. The typing time between each character / and the next character of the word can be equal to the time between the instant of pressing P; of the respective key cor- corresponding to the character ! and the instant of pressure P;+; of the respective key corresponding to the character / + !. For each word of the typed text, the determination of the metric D, can comprise, for each character of the word, a calculation of the typing time between successive characters of the word, then, a calculation of an average of these calculated times. For the last character of the word, the calculation of the typing time can be between this last character of the word and the first character of the following word. A third metric D; may be an average of the time to type three characters of the word. The time to type three characters from the character i may be equal to the time between the instant of pressing P; of the respective key corresponding to the character ! and the instant of releasing R;0 of the respective key corresponding to the character / + 2. For each word of the typed text, the determination of the metric D; may comprise, for each character / of the word, a calculation of the time between the start of typing the character / and the end of the character 2 + 2, then, a calculation of an average of these calculated times. For the penultimate and the last character of the word, the calculation of the typing time may take into account the time until the instant of releasing the first character(s) of the following word. A fourth metric D4 may be an average of the total typing time of three characters of the word. The total typing time of three characters of the word from the character ! may be equal to the time between the instant of pressing P; of the respective key corresponding to the character | and the instant of pressing Pa of the respective key corresponding to the character / + 3. For each word of the typed text, the determination of the metric D; may comprise, for each character / of the word, a calculation of the time between the start of this character i and the start of the character / +3, then, a calculation of an average of these calculated times. For the last three characters of the word, the calculation of the typing time may take into account the time until the instant of pressing the first character(s) of the following word. The one or more metrics may include any other metric determined from the times of key presses and / or releases while typing text. For example, one or more metrics may include a metric that is an average of the total time to type (or between) two successive characters, four successive characters, or any number of successive characters with a positive integer. In examples, the one or more metrics may comprise one or more metrics determined for the respective word directly. For example, the one or more determined metrics may comprise a metric Ds equal to the time to strike the respective word. The time to strike the respective word may be equal to the time between the instant of pressing the respective key corresponding to the first character of the respective word and the instant of releasing the respective key. corresponding to the last character of the respective word. The Ds metric allows to take into account the hesitation time to write a text, which is a unique data linked to the person and their actual way of using their keyboard, which is not the case for passwords. The D; metric therefore improves monitoring. The determined signature may be a vector having coordinates for each of the one or more metrics of the feature vector. The determined signature may include a respective coordinate for each metric. When the feature vector includes only one metric, the determined signature may include only one coordinate. When the feature vector includes several metrics, the determined signature may include several coordinates (one for each metric). The determined signature and the feature vector may include the same number of coordinates, and these coordinates may correspond to the same metrics (i.e., in the same order on each vector). In examples, the reference text may comprise multiple words. In this case, the signature for the reference text may comprise an average of the feature vectors determined for each of the words in the reference text. Determining the value of the signature may comprise calculating, for each metric, an average of the value of the metric over each of the words in the reference text. Alternatively, the reference text may comprise a single word. In this case, the signature for the reference text may be equal to the feature vector determined for that single word. Determining whether the user is being impersonated may include determining whether the user typing the inline text is the user who typed the reference text. In the case where the user is the same, the monitoring method may determine whether the user is not being impersonated, and vice versa when the two users are different. Determining whether spoofing has occurred may be based on a comparison between the feature vector value determined for each word of the inline text and the signature value determined for the reference text. For example, determining whether spoofing has occurred may include determining, for each respective word of the inline text, a distance between the feature vector value of the respective word and the signature value determined for the user. The distance may represent a difference between how the user types the word of the inline text and how the reference text was typed. For example, the distance may be a cosine similarity, a Euclidean distance, a Manhattan distance, or any other measure representing a distance between two vectors.The determination of whether or not the user's identity has been stolen can then be a function of each determined distance, i.e. of these differences calculated for each . word of the text online. The determination of whether or not spoofing has occurred may be performed in real time. For example, after each word typed while typing the online text, the monitoring method may include determining the distance between the value of the characteristic vector determined for the word just typed and the value of the signature. The determination of whether or not spoofing has occurred may then include updating the result based on this newly determined distance. Alternatively, the determination of whether or not spoofing has occurred may be performed at the end of typing the online text. In this case, the determination of whether or not spoofing has occurred may be based on all of the distances determined at the end of typing the online text. In examples, the monitoring method may determine spoofing or not by comparing the calculated distances with a confidence threshold. For example, the monitoring method may include, for each respective word of the inline text, comparing the distance determined for the respective word with the confidence threshold. A distance greater than the threshold may mean that the user typing the word is not the same user who typed the reference text. The monitoring method may determine that spoofing occurs from the calculated distances in various ways. For example, the monitoring method may determine that spoofing occurs when the number of calculated distances that are greater than the threshold is greater than a predetermined number (e.g., a number " with a positive integer). Alternatively, the monitoring method may determine that spoofing occurs when the number of calculated distances that are greater than the threshold is greater on average than the number of calculated distances that are less than the threshold (e.g., after a number " of calculated distances, with " a positive integer). Alternatively, the monitoring method may determine that spoofing occurs when the average of the calculated distances is greater than the threshold. In examples, the distance determined for each respective word of the online text may be equal to a norm of the difference between the value of the feature vector of the respective word and the value of the signature determined for the user. For example, the distance d( Trefr T) between the determined signature Tre / and a feature vector 7' may be calculated with the formula: l 2 2 d(Trefs T) = (Tref1-T1) + ua + (Trefm-Tm) in which T4; and T; correspond to the coordinates of vectors 7 -es and T respectively. In examples, the monitoring method may include a display of the result of the comparison for each respective word of the inline text. For example, the display may include a display of a graph representing all of the determined distances. The graph may include on the abscissa all the words of the online text and on the ordinate the distances calculated for each word. Alternatively or additionally, the display may include a display of an alert, for example when the monitoring method determines that there is usurpation. The display may be displayed on a screen, and may be updated in real time while the online text is being typed. The screen may be watched by a proctor, for example during an online exam. The proctor may then be informed whether or not the user's identity has been usurped. In examples, determining whether spoofing has occurred may further be based on facial analysis. The facial analysis may include comparing a capture of the face while typing the online text on the client computer system on behalf of the user to an image of the user from a database. The determination may include capturing the face (e.g., via a webcam), extracting the image of the user, and comparing the captured face to the image of the user (e.g., using a deep learning algorithm). The image of the user may have been taken while typing the reference text.For example, the analysis method may include capturing the face of the user typing the reference text (e.g., via a webcam) and recording the capture as an image in the database, and the monitoring method may include retrieving that image from the database. The server and clients may be connected to that database to retrieve and record data therefrom. In examples, determining whether spoofing has occurred may include merging the results of comparing the one or more feature vector values determined for the inline text (i.e., keyboard analysis) and comparing the facial capture (i.e., facial analysis). For example, the monitoring method may include simultaneously displaying the results of the keyboard analysis and facial analysis. Alternatively, the monitoring method may include determining a common result based on the results of the keyboard analysis and facial analysis. For example, the monitoring method may determine that spoofing has occurred when, on average, the keyboard analysis and facial analysis indicate that spoofing has occurred, and conversely, that spoofing has not occurred when, on average, the keyboard analysis and facial analysis indicate that spoofing has occurred.For example, the fusion may include a fusion of the scores obtained by the keyboard analysis and by the facial analysis. The monitoring method may include providing a result of the fusion, for example a number statistically indicating a probability of spoofing or not. Examples of implementation of the analysis method and the monitoring method will now be given with reference to Figures 1 to 10. Facial analysis is discussed first. Facial analysis can be used to secure user surveillance. The client on which the reference text is typed and / or the client on which the inline text is typed may include a sensor. Facial analysis may include biometric analysis, for example, gaze analysis, gesture analysis, or skeleton extraction. The client on which the reference text is typed and / or the client on which the online text is typed can each be a biometric system for detecting, extracting, and analyzing data by means of a sensor (keyboard and webcam), which can record the users' model. The analysis of the learner's data can be seen as an attempt to find a relationship between the sensor output data and the actual user model. Among the challenges of computer vision are noise detection, lack of brightness, and information loss. The analysis process and the monitoring process are divided into several stages: data acquisition, preprocessing, recognition, description, and decision. Determining whether someone is spoofed involves confirming or verifying a person's claimed identity. Determining whether someone is spoofed involves determining the person's identity. Facial analysis may include comparing the captured image with multiple facial captures stored in a biometric database to find the identity of an unknown individual. Determining whether someone is spoofed may be based on biometric identifiers for security, such as physiological or behavioral characteristics. Physical characteristics may include features of the human body for identification purposes, such as fingerprint, hand, veins, iris, and face. Behavioral characteristics may allow people to be recognized based on their interactive characteristics.Behavioral features may include typing dynamics, gesture analysis, and signature analysis. [Fig.1] illustrates an example of implementation of the proctoring solution comprising the analysis method and the proctoring method. In this example, the analysis method S20 and the proctoring method S30 are integrated into a remote exam management solution S10 (creation, test execution and / or automatic correction). This solution S10 uses keystroke dynamics as a main basic modality to secure the authentication phase. This solution S10 also includes a face analysis S40 (via a multimodal device) to increase the security level of the application. The solution includes the implementation of security measures and processes for the protection of data by obtaining an encrypted signature in the form of a secure code. The encryption algorithm is used to ensure the confidentiality of data exchanged for storing biometric templates. The analysis method S20 comprises obtaining S21 the instants of key pressing and / or release during typing of the reference text (e.g. with pre-processing), determining S22, for each respective word of the reference text, the value of the typing dynamics characteristic vector for the respective word (feature extraction), and determining S23 the value of the signature. The analysis method S20 then comprises recording S24 the determined signature on the database, for example after encryption of the signature to obtain an encrypted signature. The monitoring method comprises obtaining S31 the instants of key pressing and / or release during typing of the online text (e.g. with pre-processing), determining (S32 and S33), for each respective word of the online text, the value of the typing dynamics characteristic vector for the respective word, providing S34 the value of the signature determined for the user, and determining whether or not the identity of the user has been impersonated based on a comparison S35 between one or more values of the characteristic vector determined for the online text and the value of the signature determined for the reference text. In the event of impersonation, the monitoring method may comprise a display S36 of an alert, for example for an exam supervisor. Face analysis is now discussed in more detail. Face analysis may comprise two steps. The first step may consist of enrolling the user's signature. The second step may consist of checking the degree of similarity between stored templates after applying certain quality requirements. Once the face image is acquired, face analysis may comprise applying a reference-free image quality assessment algorithm to assess the quality of the input data, using a natural scene statistical model, such as the model illustrated in [Fig.2] (reference [1]). In addition, face analysis may comprise adjusting the image intensity values to improve the contrast of the output image.The face analysis may include face detection and cropping to normalize the region of interest, for example by applying an object detector based on an algorithm (such as the Single Shot Multibox Detector algorithm described in reference [3]). The face analysis may include resizing the image by specifying the number of rows and columns to obtain a two-dimensional matrix. Finally, the face analysis may include use of a convolutional neural network architecture (e.g., . example that illustrated in [Fig.3], reference [2]) to extract a signature from the user. With this signature (or "template"), during the execution of the monitoring process, users (e.g. students) can access online courses and exams, for example based on the result of a comparison of this signature with a signature acquired during an initial authentication. The comparison may include a calculation of a distance between the two signatures and a comparison of this distance with a confidence threshold. A performance analysis of the solution is now presented. The solution's performance is analyzed by simulating attacks to access the remote exam session. A signature is compared with other signatures extracted during the connection phase. A reference image obtained on the day of the simulation or provided by the training center or university is compared with several images acquired to gain access and launch an online test. Table 1 below presents the results obtained when the verification is based on a verification of the learner's identity with face templates (translation of the English "FaceCodes") in an uncontrolled environment.The function takes a list of similarity scores between the templates (also called signatures) of the authorized learners and a list of verification scores of the imposters and generates an output containing the false positive rate (FAR) and the false negative rate (FRR) for all threshold values. After running the attack simulations, the verification achieves an error rate (EER) of 12.22% using the native signatures in an uncontrolled environment. Table 1: Performance Evaluation (EER) in percentage. Number of signatures used for uncontrolled ee (template to form the template or the signature of |face) reference (average) 10 12.27% = 12.24% 30 12.99% = 12.28% 50 20.13% = 20.07% 70 20.03% 80 12.22% 90 12.24% [Fig.4] shows the distances (similarity measures with signatures called "BioCodes" later) calculated throughout a video sequence when the learner is who he claims to be. [Fig.5] shows the distances calculated during an attempted identity theft fraud. In an uncontrolled environment, the results show that the obtained EER value varies between 12% and 20%. The number of face templates to be used can be at least 20 to generate the signature (also called "reference template"). Continuous identity verification also allows for the detection of identity theft attempts. [Fig.4] shows the distances (BioCodes similarity measures) calculated throughout a video sequence when the learner is who they claim to be. [Fig.5] shows the distances calculated during a fraudulent identity theft attempt. The results show that during an identity theft attempt, the similarity value is almost equal to 1, which reflects the fact that the two faces (the reference one and the captured one) are very different. In the case where the learner is indeed the person authorized to log in, this value is divided by two to be around 0.5. Face analysis can be based on a face template obtained from an average signature calculated on the first 80 face templates in the video. Keyboard analysis is now discussed in more detail. Keyboard analysis is based on an analysis of keyboard interactions (e.g., the time of flight between two keys), which are collected during the use of a computer by an individual. [Fig. 6] shows such examples of keyboard interactions. This information can, for example, describe the time for which a key was pressed and for which it was released when a person uses his or her keyboard. Keyboard analysis uses this information for individual authentication or profiling (such as recognizing the individual's gender or age category from a password or free text). With multimodal biometrics, the monitoring solution can combine keystroke dynamics with another biometric modality to have a more effective identity verification system against identity theft attempts. [Fig.7] shows different use cases for keyboard analysis. In some examples, keyboard analysis can be based on the same text: all users enter the same text, e.g., the name of a website. The entered text (or reference text) is therefore known when designing the keyboard analysis (also called "Dynamic Keystrokes", DDF). In other examples, keyboard analysis (DDF) can be based on a fixed text: users have a text associated with their account that they must enter to authenticate. This text can be secret (e.g. password), unique (e.g. login). However, such text cannot be known at the design stage of the system. In still other examples, keyboard analysis (DDF) can be based on free text: users can type whatever they want (e.g., a review, an article, a message). The text is usually longer than fixed text, but it is of variable length. In this case, keyboard analysis can include a transformation of this text in order to use distance functions. The monitoring method may include continuous verification throughout the exam session for each learner. When the user writes a sentence or text on the keyboard, the monitoring method may include determining the value of a feature vector for each word. From multiple time sequences, the monitoring method may include extracting a signature (or "template") of the learner comprising multiple metrics. [Fig.8] shows examples of metrics. The metric d, can correspond to the time interval between pressing and releasing a key. The metric d; can correspond to the time interval between two consecutive presses. The metric d' can correspond to the time interval between releasing a key and pressing the next key. The metric ds can correspond to an overall duration of a sequence of characters. The monitoring method may include processing and analyzing words with more than two letters. The monitoring method may include calculating the time intervals between pressing and releasing a key, the time intervals between two consecutive presses, and the overall duration of a character sequence. The monitoring method may also take into account the learner's hesitation time. Hesitation times for writing a text reveal unique data related to the person and their actual keyboard usage, which is not the case for passwords. For each keystroke, the time intervals are recorded and concatenated with the duration to form a feature vector. The analysis method can be implemented according to Algorithm 1 below. Algorithm 1_ Analysis of keyboard activity i Entries 8 das LR, 444) 7 Press key, 8 Rx {fi Ha} © Key release # Exits 5 Ts {7}... Ta}: Biometric template " Process * Count the number of keys pressed 7 and words recorded & FFor:= / Z 0 calculate 2H seen F4 — A, Mg ue Pay — FR pu Dave ann — F2 Ba Par FR 3: The distances {{},…. LM} are calculated for each character 3 end for ti Caicul hesitation time — optional feature: 18 4 MR, — PA, {for example TestWe: A, = M + Pr 34 Generate the characteristic vector T for each mor: 7 - [Argtihi, Augtls}, Da} The analysis method may comprise a recording of the instants of pressure and release times when using the keyboard (P and R). To obtain the biometric template (T), the analysis method may comprise a calculation of the averages of the different metrics (D,, D, D; and D4) calculated for each character of each word, and of the metric related to the learner's hesitation (Ds). For example, for the word Test We, the metric Ds may be calculated from the formula Ds = R.- P7 in which R: corresponds to the instant of release of the key e and P7 to the instant of pressure of the key 7. The metric D; may be calculated for all the words typed which comprise more than two characters. After this, the analysis method may comprise the determination of the user's signature Ter. The monitoring method can be implemented according to Algorithm 2 below. Algorithm 2 Calculation of the similarity score = Signature generation for the learner using an average of x- vectors © T,0x © AueûFi..…. TT} $ The value of x-vectors for T, is obtained after the evaluation study to choose the optimal number of vectors. Calculation of simularities for each month # & For =1, 6 calculate dif Fab JTE Tue gt fix for # Identity verification process sd dtifres Tri 5 Ÿ 8d'dffer Ta, Frot fiexsene ste, = Frpestor 1: represents the verification threshold, generally equal to 0. Generating the identity verification score curve for each user: pit Frasèriss at The monitoring method may comprise a calculation of the distance (e.g. a Euclidean distance) between the value of the characteristic vector T, determined for each word w = 1, …, k of the typed online text and the determined signature Tre / . Then, after this, the monitoring method may comprise a comparison of the result obtained with a confidence threshold. After several comparison operations during the remote examination period, the monitoring method may comprise a creation of a curve of the results obtained to assist the invigilator during the examination by alerting him if there is a case of fraud that requires intervention and verification thereof. The analysis method may include encryption of the determined signature, for example before recording the determined signature. The encryption makes it possible to protect the personal information (the biometric data) of the user. In this case, in the monitoring method, the provision may include decryption of the determined signature. This decryption makes it possible to retrieve the determined signature before encryption. The protection of biometric data is now discussed in more detail. The monitoring solution may include, for authentication, encryption of the signature determined from the unique biometric signature hashing method (translation from English "BioHashing"). [Fig. 9] shows an example of encryption of the determined signature. User verification is a security task whose action consists of limiting access to physical locations or the computer network only to authorized persons. This step can be performed by users using their biometrics. The surveillance solution can combine two or more authentication factors to reap security benefits. An example algorithm for the raw biometric data transformation method (the hashing method) that can be used in the surveillance solution is shown below. This method accepts deviations from the captured data and allows for highly correlated bit strings to be obtained from the signatures. Algorithm 2 Encrypt the learner template mme + Inputs & Pe (fi F5]: Eubarit bioreitrique, % Hz: uxie Secrut & Sœrtie Bu (Bi, Ba}: Binlode 5 Generation with lu rode A, of m pseudo-random vacteürs Hi... Van of length 5 & Orthogmalization of vectors with the Gram-Schmidt algorithm, ? Four ie 1... , mnleule x; m0 T, #5 > &: end for 9 Calottlier RioCodu - ÿ ss au er 1i di æ>r where 7 is the threshold of the rule, generally equal to 6. Cryptography has significant functional advantages over biometrics. It allows for the elimination of false acceptance rates without having a real effect on false rejection rates (as explained in reference [4]). In addition, it is difficult to obtain the user-specific data without having the random data and the user's native signature. The hashing method makes it possible to protect learners' biometric signatures in distance tests. Single-modality biometric systems face a variety of challenges such as noisy data, intra-class variation, non-universality, spoofing attacks, and unacceptable error rates. Combining keyboard and face analysis results overcomes these limitations of single-modality biometric systems. Indeed, such a multimodal biometric system allows integrating evidence presented by multiple sources of information. [Fig.10] illustrates an example of merging the results of keyboard analysis and face analysis. The fusion may comprise one or more of the following different steps. A first step may comprise an S51 fusion at the level of feature extraction (e.g. metrics). A second step may include S52 fusion at the level of matching scores (fusion at the template comparison phase and / or fusion at the level of classifiers to optimize similarity points between intra-class templates). A third step may include S53 fusion at the decision-making level (spoofing or not). The fusion may include only S52 fusion of scores. The monitoring solution may include fusion at different stages and multiple levels to have a multimodal biometric system with integration strategies that can be adopted to consolidate the information. For example, the system (server and / or client) running the monitoring solution may include four modules. The system may include a sensor module that captures information from the physical world and transforms and records this information as biometric data. The system may include a feature extraction module that analyzes the data to extract a set of features to obtain a representation of the event. The system may include a comparison and matching module that uses a classifier to compare the extracted set of features with models in the database to generate similarity scores.The system may include a decision module that uses the match scores to verify an identity or validate a claimed identity. The fusion may include a fusion of facial recognition as well as keystroke dynamics at the level of feature extraction (metrics), at the level of generating similarity scores between the determined signature and each value of the feature vector acquired during the test session and / or at the level of decision-making (spoofing or not). The monitoring method may include an extraction of the characteristics and a comparison of each value of the characteristic vector obtained on the day of the examination with the determined signature recorded on the day of the simulation (a simulation which will take place at least one day before the examination for example). The monitoring method can use multimodal fusion by combining two signatures for each modality (face and keystroke analysis). After feature extraction, the monitoring method can include a concatenation of the two signatures, to form a complex signature. In a second step, the monitoring method can implement fusion at the resemblance score level. Indeed, it is relatively easy to access and combine the values obtained using the different modalities. Fusion at the decision-making level can be carried out by majority voting. Merging the results of keyboard analysis and face analysis can include the different following steps. A first step may include a fusion of attributes (metrics): the dataset from several sensors / sources are merged, for example the average of several face templates or typing dynamics. The fusion can be done by concatenating a series of vectors obtained after converting the raw data. A second step may include a fusion of scores: the scores generated by several classifiers of different modalities are combined, the fusion can be done at the level of the scores from the comparison modules. Fusion at this level is in fact well known in the literature as Multiple Classifier Systems, using hybrid intelligent systems that help overcome the limitations of traditional approaches based on single classifiers.A third step may involve decision fusion: Decision-level fusion may be used for its simplicity. It may involve providing a binary decision in the form (Yes or No) represented by 0 and 1. Fusion may then involve consolidating the final result of multiple outputs via techniques such as majority voting. Results from the monitoring solution are now presented. The data below was collected in an operational context. To obtain biometric data, information is collected from the individual via a built-in camera of a computer ("ThinkPad", registered trademark, S440). The objective is to see the performance of the proctoring solution in real conditions by analyzing its different components from data acquisition to decision-making and to determine the most sensitive stage to the environment of the candidates taking the test, in an environment where learners often do not take into account the instructions that managers request, such as hiding their face involuntarily during an exam conducted remotely, which can be considered an attempt at cheating. The process is enabled throughout the test using a GUI application developed with QT and C++. An application collects data on keystroke dynamics. The application allows for the collection of keystroke time and key release time. A button can be used when a participant enters personal information (password, PIN, etc.) to avoid the collection of sensitive data. In the step called continuous authentication, the monitoring solution must decide whether the user provides the necessary template; the features extracted from the current template are compared to the stored features. More precisely, the performance evaluation is based on the similarity score between the signature of the registered user and the signature that the system saved during the prerequisite phase. In the case of continuous individual verification, the monitoring solution may include the calculation of a signature from several characteristic vectors. To improve the performance of the solution, it is possible to take into account the influence of the number of characteristic vectors (face templates and keyboard activity templates) used to calculate the reference signature on the EER value of the system. Thus, for each person, the average of the first (n) face codes / keyboard code (n varying from 10 to 100 in steps of 10) is calculated and will serve as a reference model. The signature can then be generated from this model thus constructed. The experimental results obtained in the operational context are now presented. Table 2 presents the results obtained when using keystroke analysis and face analysis to continuously authenticate the individual. The number of signatures to be used is at least 40 to generate the optimal reference template since a fusion process based on the set of both signatures is then applied. Fusion at the feature extraction level poses several challenges: inhomogeneous data, diverse distributions, and vectors of different sizes. After transforming the data and implementing normalization techniques, the monitoring solution achieves an error rate of 11%. Table 2 — Performance measure (EER) in percentage of the proposed multimodal system, calculated after merging the scores. Ref Templates | Face Template | Fusion Key Code (Average) (translation of both signatures | e ref Face Template | Key Code (DDF) 0.12% 0.372% 0.18% 0.4% 0.09% 0.392% 0.09% 0.376% 0.12% 0.40% 0.12% 0.407% 0.12% 0.392% Table 3 — Performance measure (EER) in percentage of the proposed multimodal system, calculated after merging the majority vote decisions. Modality Reference template Error rate Face and DDF & |(average) 40 signatures 10.09% (average) The monitoring solution may include applying a majority vote for each signature saved in the database (or summing two scores obtained to verify the identity of the learners). For this, the monitoring solution may include using a resemblance score from facial analysis after applying a deep learning process by obtaining a feature vector of each learner and a similarity score between the feature vectors determined during the keyboard activity. A significant decrease in the EER value obtained at 0.09% compared to the values obtained for the modalities alone (0.38% for DDF and 0.09% for face using decision-level fusion) is observed, which demonstrates the interest of the multimodal approach of the monitoring solution.
Claims
Claims
1. A computer-implemented method of analyzing keyboard activity of a user. reader, the method comprising: obtaining (S21) the instants of pressure and / or re- key release while typing text reference on a client computer system by the user, the reference text comprising one or more words; a determination (S22), for each respective word of the text of reference, of the value of a characteristic vector of typing dynamics for the respective word, the character vector- ristic including for a struck word one or more metrics each determined from the moments of key pressure and / or release while typing reference text; and a determination (S23) of the value of a signature for the reference text from each feature vector determined.
2. A method according to claim |, wherein the one or more determined metrics include: a metric D, equal to time, for each character;, between the moment of pressing P; of the respective key corresponding to the character; and the moment of release R, of the key respective corresponding to the character i, a metric D, equal to time, for each character;, between the instant of pressure P,; of the respective key corresponding to the character ; and the instant of pressure P,,; of a key respective corresponding to the following character / + / , a metric D; equal to time, for each character ;, between the instant of pressure P,; of the respective key corresponding to the character / and the moment of release R,, > of a key respective corresponding to the second character following i+2, and / or a metric D, equal to time, for each character;, between the moment of pressing P, of the respective key corresponding to the character / and the moment of pressing P,,; of a key respective corresponding to the third following character: +3.
3. A method according to claim ! or 2, wherein the one or more determined metrics include a metric Ds equal to time between the moment of pressing the respective key corresponding to the first character of the respective word and the moment of release of the respective key corresponding to the last character of the respective word.
4. A method according to any one of claims 1 to 3, wherein the reference text includes several words, the signature for the text of reference comprising an average of the characteristic vectors de- completed for each of the words in the reference text.
5. Computer-implemented method of monitoring keyboard activity on behalf of a user, the method comprising: a supply (S34) of the value of a specific signature according to any one of claims 1 to 4 for the user; obtaining (S31) the instants of pressure and / or re- key release while typing online text on a client computer system on behalf of the user, the online text comprising one or more words ; a determination (S32, S33), for each respective word of the online text, of the value of the characteristic vector of typing dynamics for the respective word; and a determination whether or not there has been an identity theft the user based on a comparison (S35) between one or several values of the characteristic vector determined for the online text and the value of the signature determined for the reference text.
6. The method of claim 5, wherein determining whether or not the usurpation is furthermore a function of a comparison (S40) between a facial capture while typing online text on the in- system client software for the user's account and an image of the user from a database.
7. The method of claim 6, wherein determining whether or not spoofing involves merging the results of the comparison of one or more values of the characteristic vector determined for the online text and face capture comparison.
8. A method according to any one of claims 5 to 7, wherein the determination of whether or not the user's identity has been impersonated understand : a determination, for each respective word of the text in line, of a distance between the value of the characteristic vector of the respective word and the value of the signature determined for the user; and a determination of whether or not the identity of the user from each determined distance.
9. The method of claim 8, wherein the characteristic vector and the signature are each a vector having coordinates for each of the one or more metrics, the distance determined for each respective word of the text cn line being equal to unc norm of the difference between the value of the characteristic vector of the respective word and the value of the signature determined for the user.
10. A method according to claim 8 or 9, the method further comprising: for each respective word in the online text, a comparison of the distance determined for the respective word with a threshold of trust; and a display of the comparison result for each word respective of the online text.
11. | Computer program comprising code instructions of program for execution, when said program is executed on a computer, steps of the method according to any one of the res- dications 1 to 4 and / or of the method according to any one of the claims- indications 5 to 10.
12. A server computer system configured to communicate with a client computer system, the server computer system having a memory on which the computer program according to claim 11 is recorded, the server computer system being configured to run the computer program.
Citation Information
Patent Citations
Method, device, and program product for keystroke pattern analysis
US20220138457A1
