Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
DriverSentinel — DriverSentinel 是一款使用 Go 开发的安全工具,通过将 Windows 系统上的驱动程序与 LOLDrivers.io 数据库进行比对,来检测恶意及存在漏洞的驱动程序。 | Kitploit
工具/GitHubGitHub/bi8d0/driversentinel
防御工具漏洞扫描器取证分析恶意软件分析事件响应
GitHubbi8d0/driversentinel

DriverSentinel

DriverSentinel 是一款使用 Go 开发的安全工具,通过将 Windows 系统上的驱动程序与 LOLDrivers.io 数据库进行比对,来检测恶意及存在漏洞的驱动程序。

查看仓库
3643个月前Kitploit 审核通过

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

🛡️ DriverSentinel 🛡️

Windows 易受攻击驱动程序扫描器

Windows Go Version License LOLDrivers

DriverSentinel 是一款使用 Go 开发的安全工具,通过将 Windows 系统上的驱动程序与 LOLDrivers.io 数据库进行比对,检测恶意和易受攻击的驱动程序。

功能特性 • 系统要求 • 安装 • 使用方法 • 工作原理


📋 目录

  • 功能特性
  • 系统要求
  • 安装
  • 使用方法
  • 工作原理
  • 检测示例
  • 从源码构建
  • 检测逻辑
  • 许可证
  • 致谢

✨ 功能特性

  • 🔍 智能扫描:使用 SHA256 哈希和文件名匹配检测易受攻击的驱动程序
  • 🌐 自动更新:自动与 LOLDrivers.io 数据库同步
  • ⚡ 高性能:利用内存索引进行优化扫描,实现快速查找
  • 📊 实时进度:实时可视化显示已扫描的文件
  • 🎯 基于类别的检测:根据威胁类型(恶意 vs. 易受攻击)采用不同的标准
  • 🗂️ 多种扫描模式:
    • 指定路径扫描(递归或非递归)
    • 自动扫描常见 Windows 位置
  • 📝 详细报告:提供检测到的驱动程序的完整信息,包括利用命令
  • 🔒 仅限 .sys 文件:专门过滤 Windows 内核驱动程序

💻 系统要求

  • 操作系统:Windows 10/11(x64)
  • 权限:管理员(扫描系统位置时需要)
  • 空间:可执行文件和数据库约需 10 MB

📥 安装

直接下载(推荐)

  1. 从 Releases 下载最新版本
  2. 解压 .zip 文件
  3. 以管理员权限在终端中运行 driversentinel.exe

从源码安装

root@kitploit:~
git clone https://github.com/bI8d0/DriverSentinel.git
cd DriverSentinel
go run .\build.go

🚀 使用方法

基本语法

root@kitploit:~
driversentinel.exe [options]

选项

选项描述
-common扫描常见的 Windows 驱动程序位置(需要管理员权限)
-path <path>扫描指定目录
-r递归模式(扫描子目录)

示例

1. 扫描常见系统位置(推荐)

root@kitploit:~
driversentinel.exe -common

自动扫描:

  • C:\Windows\System32\drivers
  • C:\Windows\SysWOW64\drivers
  • C:\Windows\System32\DriverStore\FileRepository
  • 以及其他关键位置

2. 扫描指定目录

root@kitploit:~
driversentinel.exe -path C:\MyFolder

3. 递归扫描

root@kitploit:~
driversentinel.exe -path C:\MyFolder -r

4. 扫描整个驱动器(⚠️ 可能需要较长时间)

root@kitploit:~
driversentinel.exe -path C:\ -r

🔬 工作原理

1️⃣ 数据库同步

启动时,DriverSentinel:

  • 使用 ETag 或 SHA256 检查 LOLDrivers.io 数据库
  • 如有可用更新则自动下载
  • 没有网络连接时使用本地副本

2️⃣ 内存索引

构建优化的索引以实现快速搜索:

  • 哈希索引:已知样本的 SHA256
  • 文件名索引:已知样本的 OriginalFilename

3️⃣ 文件扫描

对于找到的每个 .sys 文件:

  1. 比较文件名(快速查找)
  2. 如果匹配,则计算 SHA256
  3. 根据类别应用检测逻辑
  4. 报告发现的匹配项

4️⃣ 结果报告

显示详细信息:

  • 文件路径
  • SHA256 哈希
  • 匹配类型(文件名、哈希或两者)
  • 易受攻击驱动程序的详细信息
  • 已知的利用命令(如适用)

📊 检测示例

程序输出

root@kitploit:~
=== DriverSentinel - Vulnerable Driver Scanner by bI8d0 ===

[repository] Local copy is up to date
[repository] Loaded 1337 drivers
Total drivers loaded: 1337

[scanner] Indices built: 5432 hashes, 5432 filenames
[scanner] Valid extension: .sys
[scanner] Starting scan of: C:\Windows\System32\drivers

[scanner] Scanning (523 files): C:\Windows\System32\drivers\some_driver.sys
⚠ DETECTED: C:\Windows\System32\drivers\vulnerable.sys (Type: both, Category: malicious)

[scanner] Scan completed in 2.34s
[scanner] Files scanned: 523
[scanner] Vulnerabilities found: 1


⚠ ALERT: Found 1 vulnerable driver(s)
================================================================================

[1] VULNERABLE FILE DETECTED
--------------------------------------------------------------------------------
  Path:          C:\Windows\System32\drivers\vulnerable.sys
  SHA256:        abc123def456...
  Match Type:    both
  Driver ID:     vulnerable-driver-id
  Category:      malicious

  Vulnerable Driver Details:
    Original:    vulnerable.sys
    Company:     Malicious Corp
    Product:     Malicious Product
    Version:     1.0.0
    Description: Known vulnerable driver
    HVCI:        False

  Exploitation Commands:
    ─── Command 1 ───
    Use Case:     Privilege Escalation
    Privileges:   Administrator
    OS:           Windows 10/11
    Description:  Known exploit method
    Command:      sc.exe create vuln binPath= ...
    Resources:    https://example.com/advisory

================================================================================

⚡ REMEDIATION GUIDE (Requires Administrator)
================================================================================

Generic commands to remove detected vulnerable drivers:

1. Stop the driver/service (if running):
   sc.exe stop <service_name>

2. Disable the driver/service:
   sc.exe config <service_name> start= disabled

3. Delete the service:
   sc.exe delete <service_name>

4. Backup and delete the file:
   move "C:\Path\To\driver.sys" "C:\Path\To\driver.sys.malz"

5. Or delete directly (use with caution):
   del /F "C:\Path\To\driver.sys"

⚠ WARNING:
   - Removing system drivers may cause system instability or prevent boot.
   - Always create a System Restore Point before taking action.
   - Replace <service_name> with the actual service name (use 'sc.exe query' to find it).
   - Use the full path from the detection results above.

================================================================================

🔨 从源码构建

前置要求

  • Go 1.24+
  • Windows 10/11
  • Git

构建步骤

root@kitploit:~
# Clone the repository
git clone https://github.com/bI8d0/DriverSentinel.git
cd DriverSentinel

# Install dependencies
go mod download

# Build
go run .\build.go

# Run
.\build\driversentinel.exe -common

优化构建

root@kitploit:~
go build -ldflags="-s -w" -o build/driversentinel.exe

🧠 检测逻辑

DriverSentinel 根据驱动程序类别应用不同的标准:

🔴 恶意驱动程序(category: "malicious")

  • 报告条件:文件名 或 哈希匹配(任何匹配都至关重要)
  • 原因:无论是否被重命名,恶意驱动程序都必须被检测出来

🟡 易受攻击的驱动程序(category: "vulnerable driver")

  • 报告条件:文件名 和 哈希均匹配(两者必须同时匹配)
  • 原因:避免合法驱动程序的通用名称造成误报

🟢 其他类别

  • 报告目的:出于安全考虑(针对新类别的预防措施)

匹配类型

匹配类型描述
filename仅文件名匹配
sha256仅哈希匹配(重命名后的文件)
both文件名和哈希均匹配(完全匹配)

待改进领域

  • 并行扫描支持(goroutines)
  • 报告导出(JSON、CSV、HTML)
  • 图形用户界面(GUI)
  • 面向自动化的静默模式
  • SIEM 集成
  • 自动隔离检测到的驱动程序

📄 许可证

本项目采用 MIT 许可证。有关详细信息,请参阅 LICENSE 文件。


🙏 致谢

  • 作者:bI8d0
  • 数据库:LOLDrivers.io - 一个维护易受攻击驱动程序数据库的出色社区项目
  • 社区:特别感谢所有为 LOLDrivers 做出贡献的安全研究人员

使用的技术

  • Go - 编程语言
  • uilive - 实时进度条
  • LOLDrivers API - 易受攻击驱动程序数据库

⚠️ 免责声明

本工具仅用于教育和防御性安全目的。
请勿将其用于恶意或非法活动。
作者不对滥用本工具的行为负责。


用 ❤️ 和 Go 制作

如果您觉得它有用,请考虑给它一个 ⭐!

下载工具