Analysis of kbdhid.sys: clean verdict, risk score 20/100. 0 YARA matches. SHA256 4ddde0af2816a530. Kernel imports, IOCTL codes, MITRE ATT&CK, and code-signing details.
DriverShield analyzed the Windows kernel driver kbdhid.sys and assigned a verdict of Clean with a composite risk score of 20/100, indicating no notable risk signals (0-29 band).
| Verdict | Clean (20/100) |
| YARA matches | 0 |
| File size | 46592 bytes |
| Analyzed | 2026-03-22 |
| SHA256 | 4ddde0af2816a5302511e99fd26f77517ea5c2c6d9be76d70199a33bf3ee9fe3 |
| SHA1 | c2c7f02632740f8707a0fd3752c1028c58264b09 |
| MD5 | dd56d35e1708207b5006b491afbd47d7 |
Version resource data embedded in the kbdhid.sys PE header, as extracted by the analysis engine.
| File description | HID Keyboard Filter Driver |
|---|---|
| Product | Microsoft® Windows® Operating System |
| Company | Microsoft Corporation |
| Original filename | kbdhid.sys |
| Internal name | kbdhid.sys |
| File version | 10.0.19041.1 (WinBuild.160101.0800) |
| Copyright | © Microsoft Corporation. All rights reserved. |
Each component is scored 0-100 and then weighted into the composite. See the analysis methodology for the exact formula.
| Component | Sub-score |
|---|---|
| Multi-engine consensus | 0 / 100 |
| YARA signature matches | 0 / 100 |
| Dangerous kernel imports | 63 / 100 |
| IOCTL dispatch surface | 45 / 100 |
| Known-vulnerable corpus | 0 / 100 |
| Code-signing state | 50 / 100 |
| Packing and entropy | 0 / 100 |
| Dynamic behaviour | 0 / 100 |
| CVE cross-reference | 0 / 100 |
Kernel-mode APIs resolved from the Import Address Table of kbdhid.sys, ranked by exploitation relevance.
| API | Risk | Why it matters |
|---|---|---|
| MmGetSystemRoutineAddress | high | Potentially dangerous - could be used for privilege escalation or security bypass |
| KeBugCheckEx | medium | Moderate risk - system modification capability |
| KeWaitForSingleObject | low | Standard kernel API - generally benign |
| IoBuildDeviceIoControlRequest | low | Standard kernel API - generally benign |
| RtlInitUnicodeString | low | Standard kernel API - generally benign |
| KeSetEvent | low | Standard kernel API - generally benign |
| ExAllocatePoolWithTag | low | Standard kernel API - generally benign |
| ZwOpenKey | low | Standard kernel API - generally benign |
| KeInitializeEvent | low | Standard kernel API - generally benign |
| ZwClose | low | Standard kernel API - generally benign |
| ZwQueryValueKey | low | Standard kernel API - generally benign |
| IofCompleteRequest | low | Standard kernel API - generally benign |
| IoDeleteDevice | low | Standard kernel API - generally benign |
| IoCreateDevice | low | Standard kernel API - generally benign |
| KeDelayExecutionThread | low | Standard kernel API - generally benign |
| DbgPrint | low | Standard kernel API - generally benign |
Control codes reachable through the driver dispatch routine. Codes tied to published exploit code are flagged, since they are the primary Bring Your Own Vulnerable Driver (BYOVD) entry points.
| Code | Severity | Transfer | Description |
|---|---|---|---|
| 0x00808E8B | high | METHOD_NEITHER | FILE_DEVICE_CUSTOM Function #930 |
| 0x0080838B | high | METHOD_NEITHER | FILE_DEVICE_CUSTOM Function #226 |
| 0x00808B8B | high | METHOD_NEITHER | FILE_DEVICE_CUSTOM Function #738 |
| 0x0080BF83 | high | METHOD_NEITHER | FILE_DEVICE_CUSTOM Function #4064 |
| 0x0022011B | high | METHOD_NEITHER | FILE_DEVICE_UNKNOWN Function #70 |
| 0x002200F0 | medium | METHOD_BUFFERED | FILE_DEVICE_UNKNOWN Function #60 |
| 0x0080B8D2 | medium | METHOD_OUT_DIRECT | FILE_DEVICE_CUSTOM Function #3636 |
| 0x00805315 | medium | METHOD_IN_DIRECT | FILE_DEVICE_CUSTOM Function #1221 |
| 0x0022B941 | medium | METHOD_IN_DIRECT | FILE_DEVICE_UNKNOWN Function #3664 |
| 0x0080BF89 | medium | METHOD_IN_DIRECT | FILE_DEVICE_CUSTOM Function #4066 |
| 0x0022AF0D | medium | METHOD_IN_DIRECT | FILE_DEVICE_UNKNOWN Function #3011 |
| 0x00223F35 | medium | METHOD_IN_DIRECT | FILE_DEVICE_UNKNOWN Function #4045 |
| 0x0022270D | medium | METHOD_IN_DIRECT | FILE_DEVICE_UNKNOWN Function #2499 |
| 0x0080001E | medium | METHOD_OUT_DIRECT | FILE_DEVICE_CUSTOM Function #7 |
| 0x00340394 | medium | METHOD_BUFFERED | FILE_DEVICE_DISK Function #229 |
Section layout and Shannon entropy. High entropy in a code section is a packing or encryption indicator.
| Section | Virtual size | Raw size | Entropy | Flags |
|---|---|---|---|---|
| .text | 0x58E9 | 0x5A00 | 6.12 | CODE, EXEC, READ |
| .rdata | 0x0DD8 | 0x0E00 | 4.96 | IDATA, READ |
| .data | 0x01C0 | 0x0200 | 0.66 | IDATA, READ, WRITE |
| .pdata | 0x03D8 | 0x0400 | 4.23 | IDATA, READ |
| .idata | 0x0CD6 | 0x0E00 | 4.34 | IDATA, READ |
| PAGE | 0x1A44 | 0x1C00 | 5.94 | CODE, EXEC, READ |
| INIT | 0x0832 | 0x0A00 | 5.44 | CODE, EXEC, READ, DISCARD |
| GFIDS | 0x0070 | 0x0200 | 1.02 | IDATA, READ, DISCARD |
| .rsrc | 0x06B8 | 0x0800 | 2.96 | IDATA, READ, DISCARD |
| .reloc | 0x055C | 0x0600 | 5.22 | IDATA, READ, DISCARD |
| Control Flow Guard | Enabled |
|---|---|
| ASLR | Enabled |
| DEP | Enabled |
| Integrity check | Not enforced |
| Mitigation score | 80 / 100 |
Techniques this driver could enable if loaded by an adversary.
| ID | Technique | Tactic |
|---|---|---|
| T1211 | Exploitation for Defense Evasion | Defense Evasion |
| T1543.003 | Windows Service | Persistence |
| T1553.002 | Subvert Trust Controls: Code Signing | Defense Evasion |
| T1553.006 | Code Signing Policy Modification | Defense Evasion |
| T1569.002 | System Services: Service Execution | Execution |
| T1652 | Device Driver Discovery | Discovery |
Engine angr, status no_findings, 0 paths explored at a maximum depth of 0. Vulnerability classes reached: 0. Exploitable paths: 0.
Based on DriverShield static and dynamic analysis, kbdhid.sys is assessed as clean, with no notable risk signals. Its composite risk score is 20/100 (verdict: clean). Always validate findings independently before acting.
kbdhid.sys has a DriverShield composite risk score of 20/100, placing it in the clean verdict band. SHA256: 4ddde0af2816a5302511e99fd26f77517ea5c2c6d9be76d70199a33bf3ee9fe3.
kbdhid.sys is a Windows kernel-mode driver (.sys) analyzed by DriverShield for vulnerabilities, BYOVD abuse potential, and malware indicators.
Related: What an IOCTL dispatch code is · BYOVD research index · full driver database · CVE library · code signing atlas