A Keylogger is a malicious piece of software that records a users input activity (usually from a keyboard) and reports it back to an attacker. This is one method of stealing a users credentials. The program is usually installed from a downloaded file or can also be a USB drive.