# US 2008/0189790 A1 · Method For Preventing Key Logger From Hacking Data Typed on Keyboard Through Autorization of Keyboard Data

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2008/0189790 A1
- Document ID: US20080189790A1
- Status: Published application
- Kind: A1
- Application number: 11/913,898
- Filed: 2006-09-29
- Published: 2008-08-07
- Earliest claimed: 2005-10-12
- Assignees: Ahn Lab, Inc.
- Inventors: Hee An Park
- Web page: https://patentgrep.com/patent/US20080189790A1

## CPC

- G06F 21/56: Computer malware detection or handling, e.g. anti-virus arrangements
- G06F 21/83: input devices, e.g. keyboards, mice or controllers thereof
- G06F 2221/2101: Auditing as a secondary aspect
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method for preventing a key logger from hacking the keyboard data typed on keyboard through authorization of keyboard data according to the present invention comprises the steps of: transmitting a seed and hash counter, which were created according to a ready-to-input signal in an application program to be protected from hacking, to a device driver; creating a first key data on the basis of the seed and hash counter or a keyboard data created by a keyboard interrupt created from outside in the device driver; creating a second key data on the basis of the seed and hash counter when the application program receives the first key data or an keyboard event data equivalent to the keyboard data; comparing the keyboard event data with the second key data; and receiving the keyboard event data as the data typed on keyboard when the keyboard event data is not identical with the second key data according to the result of the comparison of the prior step.

## Claims

### Claim 1

A method for preventing a key logger from hacking the keyboard data typed on keyboard through authorization of keyboard data, which comprises the steps of:
transmitting a seed and hash counter, which were created according to a ready-to-input signal in an application program to be protected from hacking, to a device driver;
creating a first key data on the basis of the seed and hash counter or a keyboard data created by a keyboard interrupt created from outside in the device driver;
creating a second key data on the basis of the seed and hash counter when the application program receives the first key data or an keyboard event data equivalent to the keyboard data;
comparing the keyboard event data with the second key data; and
receiving the keyboard event data as the data typed on keyboard when the keyboard event data is not identical with the second key data according to the result of the comparison of the prior step.

### Claim 2 (depends on 1)

The method as defined in claim 1, wherein the application program transmits the seed and hash counter to the device driver through an encrypted session.

### Claim 3 (depends on 1, 2)

The method as defined in claim 1 or 2, wherein the application program and the device driver store the seed and hash counter in the form of an intermediate seed in a memory.

### Claim 4 (depends on 1)

The method as claimed in claim 1, further comprising:
decreasing the hash counter by one if the hash counter is not 1, when the keyboard event data is identical with the second key data according to the result of the comparison between the keyboard event data and the second key data;
re-creating the first key data and the second key data based on the hash counter decreased by one in the device driver and the application program; and
transmitting the keyboard data including the first key data to the application program.

### Claim 5 (depends on 4)

The method as claimed in claim 4 further comprising:
creating a seed and hash counter if the hash counter is 1 in the application program; and
re-transmitting the created seed and hash counter to the device driver.

### Claim 6 (depends on 1)

The method as defined in claim 1, wherein said step of creating the first key data in the device driver comprises:
creating an one time password on the basis of the seed and hash counter according to an algorism; and
creating the first key data by mapping the one time password on one of the data at keyboard mapping table through modular calculation.

### Claim 7 (depends on 1)

The method as defined in claim 1, wherein said step of creating the second key data in the device driver comprises:
creating an one time password on the basis of the seed and hash counter according to an algorism; and
creating the second key data by mapping the one time password on one of the data at keyboard mapping table through modular calculation.

### Claim 8

A recording medium readable by computer, which is recorded with a program for accomplishing the steps of:
transmitting a seed and hash counter, which were created according to a ready-to-input signal in the application program to be protected from hacking, to a device driver;
creating a first key data on the basis of the seed and hash counter or a keyboard data created by a keyboard interrupt created from outside in the device driver;
creating a second key data on the basis of the seed and hash counter when the application program receives the first key data or an keyboard event data equivalent to the keyboard data;
comparing the keyboard event data with the second key data; and
receiving the keyboard event data as the data typed on keyboard when the keyboard event data is not identical with the second key data according to the result of the comparison of the prior step.

### Claim 9 (depends on 8)

The recording medium as defined in claim 8, wherein the step of creating the first key data at the device driver comprises:
creating an one time password on the basis of the seed and hash counter according to an algorism; and
creating the first key data by mapping the one time password on one of the data at keyboard mapping table through modular calculation.

### Claim 10 (depends on 8)

The recording medium as defined in claim 8, wherein the step of creating the second key data comprises:
creating an one time password on the basis of the seed and hash counter according to an algorism; and
creating the second key data by mapping the one time password on one of the data at keyboard mapping table through modular calculation.

### Claim 11 (depends on 9, 10)

The recording medium as defined in claim 9 or 10, wherein the program is for accomplishing the further steps of:
decreasing the hash counter by one if the hash counter is not 1, when the keyboard event data is identical with the second key data according to the result of the comparison between the keyboard event data and the second key data;
re-creating the first key data and the second key data based on the hash counter decreased by one in the device driver and the application program; and
transmitting the keyboard data including the first key data to the application program.
