Keylogger

A software or hardware tool that records keystrokes made on a keyboard. It is often used by cyber attackers to steal passwords and other sensitive information.