Skip to content

Instantly share code, notes, and snippets.

@tmk
Created June 24, 2021 10:54
Show Gist options
  • Save tmk/79068a4fcc922e8877691d5518513914 to your computer and use it in GitHub Desktop.
Save tmk/79068a4fcc922e8877691d5518513914 to your computer and use it in GitHub Desktop.
USB Descriptor - Ducky One 2 Mini 1.0.9
=========================== USB Port8 ===========================
Connection Status : 0x01 (Device is connected)
Port Chain : 1-8
Properties : 0x01
IsUserConnectable : yes
PortIsDebugCapable : no
PortHasMultiCompanions : no
PortConnectorIsTypeC : no
ConnectionIndex : 0x08 (Port 8)
CompanionIndex : 0
CompanionHubSymLnk : USB#ROOT_HUB30#5&201a262c&0&0#{f18a0e88-c30c-11d0-8815-00a0c906bed8}
CompanionPortNumber : 0x04 (Port 4)
-> CompanionPortChain : 1-4
========================== Summary =========================
Vendor ID : 0x3233 (DuckyChannel International Co., Ltd.)
Product ID : 0x6301
USB Version : 1.10
Port maximum Speed : High-Speed (Companion Port 1-4 supports SuperSpeed)
Device maximum Speed : Full-Speed
Device Connection Speed : Full-Speed
Self powered : no
Demanded Current : 100 mA
Used Endpoints : 5
======================== USB Device ========================
+++++++++++++++++ Device Information ++++++++++++++++++
Device Description : USB Composite Device
Device Path : \\?\USB#VID_3233&PID_6301#DK-V1.09-201006#{a5dcbf10-6530-11d2-901f-00c04fb951ed} (GUID_DEVINTERFACE_USB_DEVICE)
Kernel Name : \Device\USBPDO-6
Device ID : USB\VID_3233&PID_6301\DK-V1.09-201006
Hardware IDs : USB\VID_3233&PID_6301&REV_0000 USB\VID_3233&PID_6301
Driver KeyName : {36fc9e60-c465-11cf-8056-444553540000}\0019 (GUID_DEVCLASS_USB)
Driver : \SystemRoot\System32\drivers\usbccgp.sys (Version: 10.0.19041.488 Date: 2020-11-19)
Driver Inf : C:\Windows\inf\usb.inf
Legacy BusType : PNPBus
Class : USB
Class GUID : {36fc9e60-c465-11cf-8056-444553540000} (GUID_DEVCLASS_USB)
Service : usbccgp
Enumerator : USB
Location Info : Port_#0008.Hub_#0001
Location IDs : PCIROOT(0)#PCI(0102)#PCI(0000)#USBROOT(0)#USB(8), ACPI(_SB_)#ACPI(PCI0)#ACPI(GPP1)#ACPI(PTXH)#ACPI(RHUB)#ACPI(POT8)
Container ID : {0d3bfc14-6628-5012-a868-4a5816cfb38e}
Manufacturer Info : (Standard USB Host Controller)
Capabilities : 0x94 (Removable, UniqueID, SurpriseRemovalOK)
Status : 0x0180600A (DN_DRIVER_LOADED, DN_STARTED, DN_DISABLEABLE, DN_REMOVABLE, DN_NT_ENUMERATOR, DN_NT_DRIVER)
Problem Code : 0
Address : 8
HcDisableSelectiveSuspend: 0
EnableSelectiveSuspend : 0
SelectiveSuspendEnabled : 0
EnhancedPowerMgmtEnabled : 0
IdleInWorkingState : 0
WakeFromSleepState : 0
Power State : D0 (supported: D0, D3, wake from D0)
Child Device 1 : USB Input Device
Device ID : USB\VID_3233&PID_6301&MI_00\8&1A045E3C&0&0000
Class : HIDClass
Driver KeyName : {745a17a0-74d3-11d0-b6fe-00a0c90f57da}\0037 (GUID_DEVCLASS_HIDCLASS)
Service : HidUsb
Location : 0002.0000.0000.007.002.000.000.000.000
LocationPaths : PCIROOT(0)#PCI(0102)#PCI(0000)#USBROOT(0)#USB(7)#USB(2)#USBMI(0) PCIROOT(0)#PCI(0102)#PCI(0000)#USBROOT(0)#USB(7)#USB(2)#USB(2) ACPI(_SB_)#ACPI(PCI0)#ACPI(GPP1)#ACPI(PTXH)#ACPI(RHUB)#ACPI(PO7_)#USB(2)#USBMI(0) ACPI(_SB_)#ACPI(PCI0)#ACPI(GPP1)#ACPI(PTXH)#ACPI(RHUB)#ACPI(PO7_)#USB(2)#USB(2)
Child Device 1 : HID Keyboard Device
Device Path 1 : \\?\HID#VID_3233&PID_6301&MI_00#9&1abdffd6&0&0000#{884b96c3-56ef-11d1-bc8c-00a0c91405dd} (GUID_DEVINTERFACE_KEYBOARD)
Device Path 2 : \\?\HID#VID_3233&PID_6301&MI_00#9&1abdffd6&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}\kbd (GUID_DEVINTERFACE_HID)
Device Path 3 : \\?\HID#VID_3233&PID_6301&MI_00#9&1abdffd6&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}\kbd (GUID_DEVINTERFACE_HID)
Device Path 4 : \\?\HID#VID_3233&PID_6301&MI_00#9&1abdffd6&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}\kbd (GUID_DEVINTERFACE_HID)
Device Path 5 : \\?\HID#VID_3233&PID_6301&MI_00#9&1abdffd6&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}\kbd (GUID_DEVINTERFACE_HID)
Kernel Name : \Device\0000009f
Device ID : HID\VID_3233&PID_6301&MI_00\9&1ABDFFD6&0&0000
Class : Keyboard
Driver KeyName : {4d36e96b-e325-11ce-bfc1-08002be10318}\0006 (GUID_DEVCLASS_KEYBOARD)
Service : kbdhid
Child Device 2 : USB Input Device
Device ID : USB\VID_3233&PID_6301&MI_01\8&1A045E3C&0&0001
Class : HIDClass
Driver KeyName : {745a17a0-74d3-11d0-b6fe-00a0c90f57da}\0043 (GUID_DEVCLASS_HIDCLASS)
Service : HidUsb
Location : 0002.0000.0000.007.002.000.000.000.000
LocationPaths : PCIROOT(0)#PCI(0102)#PCI(0000)#USBROOT(0)#USB(7)#USB(2)#USBMI(1) ACPI(_SB_)#ACPI(PCI0)#ACPI(GPP1)#ACPI(PTXH)#ACPI(RHUB)#ACPI(PO7_)#USB(2)#USBMI(1)
Child Device 1 : HID-compliant mouse
Device Path 1 : \\?\HID#VID_3233&PID_6301&MI_01#9&2fa7391&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030} (GUID_DEVINTERFACE_HID)
Device Path 2 : \\?\HID#VID_3233&PID_6301&MI_01#9&2fa7391&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd} (GUID_DEVINTERFACE_MOUSE)
Kernel Name : \Device\000000a0
Device ID : HID\VID_3233&PID_6301&MI_01\9&2FA7391&0&0000
Class : Mouse
Driver KeyName : {4d36e96f-e325-11ce-bfc1-08002be10318}\0001 (GUID_DEVCLASS_MOUSE)
Service : mouhid
Child Device 3 : USB Input Device
Device ID : USB\VID_3233&PID_6301&MI_02\8&1A045E3C&0&0002
Class : HIDClass
Driver KeyName : {745a17a0-74d3-11d0-b6fe-00a0c90f57da}\0044 (GUID_DEVCLASS_HIDCLASS)
Service : HidUsb
Location : 0002.0000.0000.007.002.000.000.000.000
LocationPaths : PCIROOT(0)#PCI(0102)#PCI(0000)#USBROOT(0)#USB(7)#USB(2)#USBMI(2) ACPI(_SB_)#ACPI(PCI0)#ACPI(GPP1)#ACPI(PTXH)#ACPI(RHUB)#ACPI(PO7_)#USB(2)#USBMI(2)
Child Device 1 : HID Keyboard Device
Device Path 1 : \\?\HID#VID_3233&PID_6301&MI_02#9&26d1b153&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}\kbd (GUID_DEVINTERFACE_HID)
Device Path 2 : \\?\HID#VID_3233&PID_6301&MI_02#9&26d1b153&0&0000#{884b96c3-56ef-11d1-bc8c-00a0c91405dd} (GUID_DEVINTERFACE_KEYBOARD)
Device Path 3 : \\?\HID#VID_3233&PID_6301&MI_02#9&26d1b153&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}\kbd (GUID_DEVINTERFACE_HID)
Device Path 4 : \\?\HID#VID_3233&PID_6301&MI_02#9&26d1b153&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}\kbd (GUID_DEVINTERFACE_HID)
Device Path 5 : \\?\HID#VID_3233&PID_6301&MI_02#9&26d1b153&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}\kbd (GUID_DEVINTERFACE_HID)
Kernel Name : \Device\000000a1
Device ID : HID\VID_3233&PID_6301&MI_02\9&26D1B153&0&0000
Class : Keyboard
Driver KeyName : {4d36e96b-e325-11ce-bfc1-08002be10318}\0010 (GUID_DEVCLASS_KEYBOARD)
Service : kbdhid
Child Device 4 : USB Input Device
Device ID : USB\VID_3233&PID_6301&MI_03\8&1A045E3C&0&0003
Class : HIDClass
Driver KeyName : {745a17a0-74d3-11d0-b6fe-00a0c90f57da}\0055 (GUID_DEVCLASS_HIDCLASS)
Service : HidUsb
Location : 0002.0000.0000.007.002.000.000.000.000
LocationPaths : PCIROOT(0)#PCI(0102)#PCI(0000)#USBROOT(0)#USB(7)#USB(2)#USBMI(3) ACPI(_SB_)#ACPI(PCI0)#ACPI(GPP1)#ACPI(PTXH)#ACPI(RHUB)#ACPI(PO7_)#USB(2)#USBMI(3)
Child Device 1 : HID-compliant consumer control device
Device Path : \\?\HID#VID_3233&PID_6301&MI_03#9&286b2d6&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030} (GUID_DEVINTERFACE_HID)
Kernel Name : \Device\000000a2
Device ID : HID\VID_3233&PID_6301&MI_03\9&286B2D6&0&0000
Class : HIDClass
Driver KeyName : {745a17a0-74d3-11d0-b6fe-00a0c90f57da}\0056 (GUID_DEVCLASS_HIDCLASS)
+++++++++++++++++ Registry USB Flags +++++++++++++++++
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\usbflags\323363010000
NewInterfaceUsage : REG_DWORD 00000000 (0)
---------------- Connection Information ---------------
Connection Index : 0x08 (Port 8)
Connection Status : 0x01 (DeviceConnected)
Current Config Value : 0x01 (Configuration 1)
Device Address : 0x0C (12)
Is Hub : 0x00 (no)
Device Bus Speed : 0x01 (Full-Speed)
Number Of Open Pipes : 0x04 (4 pipes to data endpoints)
Pipe[0] : EndpointID=1 Direction=IN ScheduleOffset=0 Type=Interrupt
Pipe[1] : EndpointID=2 Direction=IN ScheduleOffset=0 Type=Interrupt
Pipe[2] : EndpointID=3 Direction=IN ScheduleOffset=0 Type=Interrupt
Pipe[3] : EndpointID=4 Direction=IN ScheduleOffset=0 Type=Interrupt
Data (HexDump) : 08 00 00 00 12 01 10 01 00 00 00 08 33 32 01 63 ............32.c
00 00 01 02 03 01 01 01 00 0C 00 04 00 00 00 01 ................
00 00 00 07 05 81 03 08 00 01 00 00 00 00 07 05 ................
82 03 04 00 01 00 00 00 00 07 05 83 03 40 00 01 .............@..
00 00 00 00 07 05 84 03 04 00 01 00 00 00 00 ...............
--------------- Connection Information V2 -------------
Connection Index : 0x08 (8)
Length : 0x10 (16 bytes)
SupportedUsbProtocols : 0x03
Usb110 : 1 (yes, port supports USB 1.1)
Usb200 : 1 (yes, port supports USB 2.0)
Usb300 : 0 (no, port not supports USB 3.0) -> but Companion Port 1-4 does
ReservedMBZ : 0x00
Flags : 0x00
DevIsOpAtSsOrHigher : 0 (Device is not operating at SuperSpeed or higher)
DevIsSsCapOrHigher : 0 (Device is not SuperSpeed capable or higher)
DevIsOpAtSsPlusOrHigher : 0 (Device is not operating at SuperSpeedPlus or higher)
DevIsSsPlusCapOrHigher : 0 (Device is not SuperSpeedPlus capable or higher)
ReservedMBZ : 0x00
Data (HexDump) : 08 00 00 00 10 00 00 00 03 00 00 00 00 00 00 00 ................
---------------------- Device Descriptor ----------------------
bLength : 0x12 (18 bytes)
bDescriptorType : 0x01 (Device Descriptor)
bcdUSB : 0x110 (USB Version 1.10)
bDeviceClass : 0x00 (defined by the interface descriptors)
bDeviceSubClass : 0x00
bDeviceProtocol : 0x00
bMaxPacketSize0 : 0x08 (8 bytes)
idVendor : 0x3233 (DuckyChannel International Co., Ltd.)
idProduct : 0x6301
bcdDevice : 0x0000
iManufacturer : 0x01 (String Descriptor 1)
Language 0x0409 : "Ducky"
iProduct : 0x02 (String Descriptor 2)
Language 0x0409 : "Ducky One2 Mini RGB"
iSerialNumber : 0x03 (String Descriptor 3)
Language 0x0409 : "DK-V1.09-201006"
bNumConfigurations : 0x01 (1 Configuration)
Data (HexDump) : 12 01 10 01 00 00 00 08 33 32 01 63 00 00 01 02 ........32.c....
03 01 ..
------------------ Configuration Descriptor -------------------
bLength : 0x09 (9 bytes)
bDescriptorType : 0x02 (Configuration Descriptor)
wTotalLength : 0x006D (109 bytes)
bNumInterfaces : 0x04 (4 Interfaces)
bConfigurationValue : 0x01 (Configuration 1)
iConfiguration : 0x00 (No String Descriptor)
bmAttributes : 0x80
D7: Reserved, set 1 : 0x01
D6: Self Powered : 0x00 (no)
D5: Remote Wakeup : 0x00 (no)
D4..0: Reserved, set 0 : 0x00
MaxPower : 0x32 (100 mA)
Data (HexDump) : 09 02 6D 00 04 01 00 80 32 09 04 00 00 01 03 00 ..m.....2.......
01 00 09 21 10 01 00 01 22 40 00 07 05 81 03 08 ...!...."@......
00 01 09 04 01 00 01 03 00 02 00 09 21 10 01 00 ............!...
01 22 34 00 07 05 82 03 04 00 01 09 04 02 00 01 ."4.............
03 00 01 00 09 21 10 01 00 01 22 2D 00 07 05 83 .....!...."-....
03 40 00 01 09 04 03 00 01 03 00 00 00 09 21 10 .@............!.
01 00 01 22 39 00 07 05 84 03 04 00 01 ..."9........
---------------- Interface Descriptor -----------------
bLength : 0x09 (9 bytes)
bDescriptorType : 0x04 (Interface Descriptor)
bInterfaceNumber : 0x00
bAlternateSetting : 0x00
bNumEndpoints : 0x01 (1 Endpoint)
bInterfaceClass : 0x03 (HID - Human Interface Device)
bInterfaceSubClass : 0x00 (None)
bInterfaceProtocol : 0x01 (Keyboard)
iInterface : 0x00 (No String Descriptor)
Data (HexDump) : 09 04 00 00 01 03 00 01 00 .........
------------------- HID Descriptor --------------------
bLength : 0x09 (9 bytes)
bDescriptorType : 0x21 (HID Descriptor)
bcdHID : 0x0110 (HID Version 1.10)
bCountryCode : 0x00 (00 = not localized)
bNumDescriptors : 0x01
Data (HexDump) : 09 21 10 01 00 01 22 40 00 .!...."@.
Descriptor 1:
bDescriptorType : 0x22 (Class=Report)
wDescriptorLength : 0x0040 (64 bytes)
Error reading descriptor : ERROR_INVALID_PARAMETER (due to a obscure limitation of the Win32 USB API, see UsbTreeView.txt)
----------------- Endpoint Descriptor -----------------
bLength : 0x07 (7 bytes)
bDescriptorType : 0x05 (Endpoint Descriptor)
bEndpointAddress : 0x81 (Direction=IN EndpointID=1)
bmAttributes : 0x03 (TransferType=Interrupt)
wMaxPacketSize : 0x0008 (8 bytes)
bInterval : 0x01 (1 ms)
Data (HexDump) : 07 05 81 03 08 00 01 .......
---------------- Interface Descriptor -----------------
bLength : 0x09 (9 bytes)
bDescriptorType : 0x04 (Interface Descriptor)
bInterfaceNumber : 0x01
bAlternateSetting : 0x00
bNumEndpoints : 0x01 (1 Endpoint)
bInterfaceClass : 0x03 (HID - Human Interface Device)
bInterfaceSubClass : 0x00 (None)
bInterfaceProtocol : 0x02 (Mouse)
iInterface : 0x00 (No String Descriptor)
Data (HexDump) : 09 04 01 00 01 03 00 02 00 .........
------------------- HID Descriptor --------------------
bLength : 0x09 (9 bytes)
bDescriptorType : 0x21 (HID Descriptor)
bcdHID : 0x0110 (HID Version 1.10)
bCountryCode : 0x00 (00 = not localized)
bNumDescriptors : 0x01
Data (HexDump) : 09 21 10 01 00 01 22 34 00 .!...."4.
Descriptor 1:
bDescriptorType : 0x22 (Class=Report)
wDescriptorLength : 0x0034 (52 bytes)
Error reading descriptor : ERROR_INVALID_PARAMETER (due to a obscure limitation of the Win32 USB API, see UsbTreeView.txt)
----------------- Endpoint Descriptor -----------------
bLength : 0x07 (7 bytes)
bDescriptorType : 0x05 (Endpoint Descriptor)
bEndpointAddress : 0x82 (Direction=IN EndpointID=2)
bmAttributes : 0x03 (TransferType=Interrupt)
wMaxPacketSize : 0x0004 (4 bytes)
bInterval : 0x01 (1 ms)
Data (HexDump) : 07 05 82 03 04 00 01 .......
---------------- Interface Descriptor -----------------
bLength : 0x09 (9 bytes)
bDescriptorType : 0x04 (Interface Descriptor)
bInterfaceNumber : 0x02
bAlternateSetting : 0x00
bNumEndpoints : 0x01 (1 Endpoint)
bInterfaceClass : 0x03 (HID - Human Interface Device)
bInterfaceSubClass : 0x00 (None)
bInterfaceProtocol : 0x01 (Keyboard)
iInterface : 0x00 (No String Descriptor)
Data (HexDump) : 09 04 02 00 01 03 00 01 00 .........
------------------- HID Descriptor --------------------
bLength : 0x09 (9 bytes)
bDescriptorType : 0x21 (HID Descriptor)
bcdHID : 0x0110 (HID Version 1.10)
bCountryCode : 0x00 (00 = not localized)
bNumDescriptors : 0x01
Data (HexDump) : 09 21 10 01 00 01 22 2D 00 .!...."-.
Descriptor 1:
bDescriptorType : 0x22 (Class=Report)
wDescriptorLength : 0x002D (45 bytes)
Error reading descriptor : ERROR_INVALID_PARAMETER (due to a obscure limitation of the Win32 USB API, see UsbTreeView.txt)
----------------- Endpoint Descriptor -----------------
bLength : 0x07 (7 bytes)
bDescriptorType : 0x05 (Endpoint Descriptor)
bEndpointAddress : 0x83 (Direction=IN EndpointID=3)
bmAttributes : 0x03 (TransferType=Interrupt)
wMaxPacketSize : 0x0040 (64 bytes)
bInterval : 0x01 (1 ms)
Data (HexDump) : 07 05 83 03 40 00 01 ....@..
---------------- Interface Descriptor -----------------
bLength : 0x09 (9 bytes)
bDescriptorType : 0x04 (Interface Descriptor)
bInterfaceNumber : 0x03
bAlternateSetting : 0x00
bNumEndpoints : 0x01 (1 Endpoint)
bInterfaceClass : 0x03 (HID - Human Interface Device)
bInterfaceSubClass : 0x00 (None)
bInterfaceProtocol : 0x00 (None)
iInterface : 0x00 (No String Descriptor)
Data (HexDump) : 09 04 03 00 01 03 00 00 00 .........
------------------- HID Descriptor --------------------
bLength : 0x09 (9 bytes)
bDescriptorType : 0x21 (HID Descriptor)
bcdHID : 0x0110 (HID Version 1.10)
bCountryCode : 0x00 (00 = not localized)
bNumDescriptors : 0x01
Data (HexDump) : 09 21 10 01 00 01 22 39 00 .!...."9.
Descriptor 1:
bDescriptorType : 0x22 (Class=Report)
wDescriptorLength : 0x0039 (57 bytes)
Error reading descriptor : ERROR_INVALID_PARAMETER (due to a obscure limitation of the Win32 USB API, see UsbTreeView.txt)
----------------- Endpoint Descriptor -----------------
bLength : 0x07 (7 bytes)
bDescriptorType : 0x05 (Endpoint Descriptor)
bEndpointAddress : 0x84 (Direction=IN EndpointID=4)
bmAttributes : 0x03 (TransferType=Interrupt)
wMaxPacketSize : 0x0004 (4 bytes)
bInterval : 0x01 (1 ms)
Data (HexDump) : 07 05 84 03 04 00 01 .......
-------------------- String Descriptors -------------------
------ String Descriptor 0 ------
bLength : 0x04 (4 bytes)
bDescriptorType : 0x03 (String Descriptor)
Language ID[0] : 0x0409 (English - United States)
Data (HexDump) : 04 03 09 04 ....
------ String Descriptor 1 ------
bLength : 0x0C (12 bytes)
bDescriptorType : 0x03 (String Descriptor)
Language 0x0409 : "Ducky"
Data (HexDump) : 0C 03 44 00 75 00 63 00 6B 00 79 00 ..D.u.c.k.y.
------ String Descriptor 2 ------
bLength : 0x28 (40 bytes)
bDescriptorType : 0x03 (String Descriptor)
Language 0x0409 : "Ducky One2 Mini RGB"
Data (HexDump) : 28 03 44 00 75 00 63 00 6B 00 79 00 20 00 4F 00 (.D.u.c.k.y. .O.
6E 00 65 00 32 00 20 00 4D 00 69 00 6E 00 69 00 n.e.2. .M.i.n.i.
20 00 52 00 47 00 42 00 .R.G.B.
------ String Descriptor 3 ------
bLength : 0x20 (32 bytes)
bDescriptorType : 0x03 (String Descriptor)
Language 0x0409 : "DK-V1.09-201006"
Data (HexDump) : 20 03 44 00 4B 00 2D 00 56 00 31 00 2E 00 30 00 .D.K.-.V.1...0.
39 00 2D 00 32 00 30 00 31 00 30 00 30 00 36 00 9.-.2.0.1.0.0.6.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment