Keyloggers are surveillance tools, which captures every keystroke on a computer. A number of software products will save the captured log to an encrypted log file. KeyLogger hardware is a tiny hardware device that can be attached in between a keyboard and a computer. It keeps a record of all keystrokes typed on the keyboard.