Skip to content

What is USB HID

There are plenty of USB connectors. USB-A might still be the most common one, but it is being replaced by USB type C. For using USB version 3.2 and newer, a USB-C connector is required. Another notable difference is that USB-C supports USB Power Delivery (USB-PD), which allows for higher power transfer over USB (typically for quick charging).

Available connectors by USB standard Source: “Connector type quick reference”, Wikipedia (CC BY-SA 4.0).

Every device falls into one of the USB devices classes defined in the USB standard. This allows the computer (USB host) to differentiate and communicate with each type of device accordingly.

Table of USB device classes source: “Device classes”, Wikipedia (CC BY-SA 4.0).

Human Interface Device (HID) is one of many USB device classes. It is primarily used for keyboards, mice, and game controllers. Human interface devices are tools we use to interact with the computer. Without them, we wouldn’t have any way of using the computer! This is why USB HIDs are such an essential part of the USB standard. Almost every USB host supports them plug and play.

We will focus on USB HID for attacks in this course