In addiition to the solution options in the other threads
How to prevent BadUSB attacks on Linux desktop? https://security.stackexchange.com/questions/77072/protecting-against-bad-usb-in-ubuntu
i wanted to ask if it is possible in ubuntu somehow to monitor all adapters HID devices USB devices and soon and so forth (i guess maybe using the system protocoll it could be achieved?)
I personally only know the lsusb command that is quite useful but i guess there is for sure a better way to watch out for possible fake devices being added after inserting a possibly infected usb device?