About this question
Are 'keyloggers' impossible to detect due to the fact that there are no 'real' keystrokes to log? Is this kind of attack simply not possible on touchscreens? I read about two types of keyloggers - Software Keyloggers
Software keyloggers are applications that must be installed on the computer to work. This is the most common type of keyloggers that hackers spread on the Internet. Software keyloggers install on the computer when the user downloads an infected application. Once installed, it monitors the paths of the operating system that the keys you press on the keyboard have to go through. That’s how software keyloggers track and record keystrokes. Then it transmits the information to the hacker via a remote server.
Hardware keyloggers work the same way as software keyloggers. Their only difference is hardware keyloggers must be attached to a computer to record keystrokes. To retrieve the information, the hacker needs to download it from the storage device. Retrieving data while hardware keylogger is at work is not possible. The workaround is to make the device accessible via WIFI to obtain data. Some examples of hardware keyloggers are acoustic keylogger and keyboard keylogger.