Keystroke logging

program that records the keys struck on a keyboard

A keylogger is a piece of software or computer hardware which records keystrokes on a computer.[1] Its most common use is in spyware to obtain passwords and credit card details. The government sometimes uses keyloggers to break encryption and to spy on wrong-doers.

References

change
  1. EN What is a keylogger? The working principles, main features and use cases, keylogger.org