keystroke logging is making a record of each key that is pressed. keystroke logging can be used to measure employee activity. hackers can also use keystroke logging to get private information, such as passwords. this can be done by putting a piece of hardware in the keyboard or on the cable, or by installing malware in the computer. a wireless keyboard makes it especially easy for the hacker to detect the wireless signals.