Is It Possible For USB Keyboard To Send Strokes To Remote Server? (2019)
Is this even possible? USB Keyboard sending strokes to remote server
I bought a new $80 keyboard from a big manufacturer but I wonder if it is safe to plugin to my linux box. My main concern is a keylogger of some sort that will send my keystrokes somewhere to a remote server. This keyboard is mechanical and can be programmed to an extent by configuring the key illuminating configuration. 

​

I looked into auditd so that I can log any socket related or connect related syscalls which is fine for user-space application but I can't figure out if it is even possible to audit via auditd if a kernel module attempt to connect to a remote server.

Is there any practical attack vector by plugging in a legitimate keyboard that uses the HID. Can the keyboard somehow inject or insert a code or module that would send packets to a remote connection? Or is the keyboard purely using HID and as long as driver is non-malicious I am good to go?

Sorry, I am still a linux newbie.
