← All Tools

USB Hygiene Helper

Paste the USB device list of a computer and see which devices need a closer look.

100% client-side. The list stays in this page and is never sent to any server. Reloading the page clears it.

1. Get the device list

Run one of these on the computer you want to check, then paste the output below or load the file.

Linux (both commands, paste the whole output)

lsusb; lsusb -t

lsusb -t lists each device's interfaces (keyboard, storage…); without it the input + storage check cannot run.

Windows PowerShell (saves usb-devices.csv, load it with the button below)

Get-PnpDevice -PresentOnly | Where-Object { $_.InstanceId -match '^(USB|HID|USBSTOR)\\' } | Select-Object Status, Class, FriendlyName, InstanceId | Export-Csv -Path usb-devices.csv -NoTypeInformation

-PresentOnly keeps only devices attached now. The plain table view of Get-PnpDevice cuts long instance IDs with "...", which hides the vendor ID.

Windows Command Prompt (Windows 10 version 1903 or later, English output)

pnputil /enum-devices /connected

2. Paste and check

Accepted: lsusb, lsusb -t, Get-PnpDevice (CSV export or table), pnputil /enum-devices, or a CSV with VID and PID columns. Up to 5 MB.

What the flags mean

Vendor and product IDs prove nothing on their own. Windows builds a device's ID (USB\VID_xxxx&PID_xxxx) from the idVendor and idProduct fields that the device itself reports in its device descriptor, so a device can claim any vendor. A known vendor name is not a clean bill of health, and an unknown one is not proof of an attack.

What to do with a flagged device

  • Find the physical device and confirm with its owner that it is expected.
  • Restrict which devices can be installed: MITRE ATT&CK mitigation M1034 "Limit Hardware Installation" (block unknown devices and accessories by endpoint configuration). On Windows this is done with the device installation policies described in Microsoft's "Manage Device Installation with Group Policy".

Sources

Free security tools provided as-is for educational and professional use. No warranty provided.