CVE-2025-7771 | CVSS 8.7 | 本地权限提升
ThrottleStop.sys 暴露了无限制的 IOCTL 接口,可通过 MmMapIoSpace 实现对任意物理内存的访问。这使得攻击者能够通过修补内核内存在 ring-0 上下文中执行任意代码,从而实现本地权限提升。
受影响组件:ThrottleStop.sys (TechPowerUp)
漏洞类型:暴露的 IOCTL 且访问控制不足 (CWE-782)
影响:本地权限提升
驱动程序状态:已数字签名,兼容内核隔离(Core Isolation)
| IOCTL | 功能 |
|---|---|
0x80006498 | 读取物理内存 |
0x8000649C | 写入物理内存 |
\\Device\\ThrottleStop 的句柄DeviceIoControlMmMapIoSpace 映射任意物理内存该实现演示了如何通过以下方式利用 ThrottleStop.sys 漏洞:
CreateFileW 获取驱动程序句柄msbuild throttlestop.sln /p:Configuration=Release /p:Platform=x64
# Create service
sc create ThrottleStop binPath= "C:\path\to\ThrottleStop.sys" type= kernel
# Start service
sc start ThrottleStop
.\usermode\usermode.exe
要求:管理员权限、Visual Studio 2019/2022、ThrottleStop.sys 驱动程序服务
throttlestop/
├── usermode/
│ ├── Entry.cpp # Main application entry point
│ ├── Driver/
│ │ └── Driver.h # MemoryDriver class implementation
│ └── usermode.vcxproj # Visual Studio project file
├── ThrottleStop.sys # Vulnerable driver binary
└── throttlestop.sln # Solution file
MemoryDriver 类:驱动程序通信与内存操作0x80006498(读取)、0x8000649C(写入)数字签名:
安全影响:
\\Device\\ThrottleStop 的访问0x80006498 和 0x8000649C 的 DeviceIoControl 调用读取物理内存 (0x80006498)

写入物理内存 (0x8000649C)

这些截图展示了 ThrottleStop.sys 中允许通过 MmMapIoSpace 无限制访问物理内存的存在漏洞的 IOCTL 处理程序。
本仓库仅用于教育和防御性研究目的。任何未经授权用于入侵系统的行为都是非法且被禁止的。请自行承担风险,仅在受控环境中使用。