Keystroke logging , often referred to as keylogging or keyboard
capturing , is the action of recording (logging) the keys struck on a
keyboard, typically covertly, so that a person using the keyboard is unaware
that their actions are being monitored. Data can then be retrieved by the
person operating the logging program. A keystroke recorder or
keylogger can be either software or hardware.
While the programs themselves are legal, with many designed to allow employers
to oversee the use of their computers, keyloggers are most often used for
stealing passwords and other confidential information.
Keylogging can also be used to study keystroke dynamics or human-computer
interaction.