USB filter for blocking some BadUSB attacks