arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2606.07732cs.SE
收藏

Windows IOCTL 普查:驱动程序控制码界面的语料规模、多架构数据库

The Windows IOCTL Census: A Corpus-Scale, Multi-Architecture Database of the Driver Control-Code Surface

Michael J. Bommarito

AI总结:

通过确定性、架构无关的静态分析,构建了27,087个签名Windows驱动程序的IOCTL控制码分发表数据库,覆盖x86和x64,并利用LLM对可达处理程序进行排序。

摘要:

Windows 驱动程序通过 I/O 控制 (IOCTL) 代码暴露其内核,而缓冲区上未检查的长度会将无特权的调用转化为内核写入。研究社区拥有针对该界面的强大扫描器和已知恶意驱动程序的精选列表,但没有界面本身的地图。我们构建了这张地图。Windows IOCTL 普查是一个可查询的数据库,包含 27,087 个已签名 Windows 驱动程序的控制码分发表,通过一次确定性、架构无关的遍历(无需符号执行)恢复。读取提升的中间表示而非运行符号引擎,使其能够恢复整个语料库中 80% 的驱动程序的 x86 和 x64 分发表面,包括现有扫描器在 32 位上中止的部分。在 64 位通道上,它增加了处理程序可达性、污点和调用图。LLM 对可达处理程序进行排序以进行分流。我们将普查结果作为包含数千万行的公共数据集发布:27,087 个二进制文件、310 万个解码控制码、818 万个函数和 1595 万个调用边。

英文摘要:

A Windows driver exposes its kernel through I/O control (IOCTL) codes, and a single unchecked length on the buffer behind one turns an unprivileged call into a kernel write. The research community has strong scanners for this surface and a curated list of known-bad drivers, but no map of the surface itself. We build that map. The Windows IOCTL Census is a queryable database of the control-code dispatch surface of 27,087 signed Windows drivers, recovered by one deterministic, architecture-neutral pass with no symbolic execution. Reading a lifted intermediate representation instead of running a symbolic engine lets it recover a dispatch surface for 80% of the corpus across x86 and x64, including the 32-bit half existing scanners abort on. On the 64-bit lane it adds handler reachability, taint, and the call graph. An LLM ranks the reachable handlers for triage. We release the census as a public dataset of tens of millions of rows: 27,087 binaries, 3.1M decoded control codes, 8.18M functions, and 15.95M call edges.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑