
DriverSentinel é uma ferramenta de segurança desenvolvida em Go que detecta drivers maliciosos e vulneráveis em sistemas Windows, comparando-os com o banco de dados do LOLDrivers.io.
DriverSentinel é uma ferramenta de segurança desenvolvida em Go que detecta drivers maliciosos e vulneráveis em sistemas Windows, comparando-os com o banco de dados do LOLDrivers.io.
Recursos • Instalação • Uso • Como Funciona
.zipdriversentinel.exe em um terminal com privilégios de administradorgit clone https://github.com/bI8d0/DriverSentinel.git
cd DriverSentinel
go run .\build.go
driversentinel.exe [options]
| Opção | Descrição |
|---|---|
-common | Escaneia locais comuns de drivers do Windows (requer administrador) |
-path <path> | Escaneia um diretório específico |
-r | Modo recursivo (escaneia subdiretórios) |
driversentinel.exe -common
Escaneia automaticamente:
C:\Windows\System32\driversC:\Windows\SysWOW64\driversC:\Windows\System32\DriverStore\FileRepositorydriversentinel.exe -path C:\MyFolder
driversentinel.exe -path C:\MyFolder -r
driversentinel.exe -path C:\ -r
Ao iniciar, o DriverSentinel:
Constrói índices otimizados para busca rápida:
Para cada arquivo .sys encontrado:
Mostra informações detalhadas:
=== 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.
================================================================================
# 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
go build -ldflags="-s -w" -o build/driversentinel.exe
O DriverSentinel aplica critérios diferentes com base na categoria do driver:
category: "malicious")category: "vulnerable driver")| Tipo de Correspondência | Descrição |
|---|---|
filename | Apenas o nome do arquivo corresponde |
sha256 | Apenas o hash corresponde (arquivo renomeado) |
both | Tanto o nome do arquivo quanto o hash correspondem (correspondência perfeita) |
Este projeto é licenciado sob a Licença MIT. Consulte o arquivo LICENSE para obter detalhes.
Esta ferramenta é apenas para fins educacionais e de segurança defensiva.
NÃO a utilize para atividades maliciosas ou ilegais.
O autor não é responsável pelo uso indevido desta ferramenta.
Feito com ❤️ e Go
Se você achar útil, considere dar uma ⭐!