USB device management to prevent against BadUSB attacks