Driver Code Integrity Attestation Against DSE Bypass
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Malicious attacks can bypass Driver Signature Enforcement (DSE) in Microsoft Windows operating systems by disabling it during runtime, exploiting kernel vulnerabilities or abusing legitimate drivers.
Innovation Solution
Implement a mechanism for real-time attestation of internal OS data structures and driver loading procedures to detect tampering, using a code integrity verification system that includes driver load detect logic, attestation logic, and integrity bypass prevention application to monitor and block unauthorized driver loading.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If Driver Signature Enforcement (DSE) is implemented to require kernel drivers to be digitally signed and validated, then system security and code integrity are improved, but the system becomes vulnerable to runtime bypass attacks that exploit kernel vulnerabilities or abuse legitimate drivers
Solution Approach 1:
The patent implements preliminary action by establishing a baseline state of internal OS data structures before driver loading occurs. The attestation logic captures and stores baseline values of critical data structures, then compares them against current values during runtime to detect any tampering attempts before they can compromise system integrity. This proactive approach prevents bypass attacks by detecting anomalies in advance.
Solution Approach 2:
The patent implements feedback mechanisms through continuous monitoring and comparison of internal OS data structures. The attestation logic repeatedly compares current values against baseline values, creating a feedback loop that detects deviations caused by malicious activities. This real-time feedback enables the system to identify and respond to bypass attempts as they occur, maintaining code integrity despite the presence of vulnerabilities.
2Measurement precision
If real-time attestation of internal OS data structures is implemented to detect tampering, then detection precision is improved, but device complexity increases due to additional monitoring and verification mechanisms
Solution Approach 1:
The patent applies the taking out principle by extracting and isolating specific critical internal OS data structures that are most susceptible to tampering. Rather than monitoring all system data, the attestation logic focuses on a select subset of baseline values that are essential for code integrity verification. This selective approach maintains high detection precision while minimizing the complexity overhead of the verification system.
Solution Approach 2:
The patent implements local quality by applying different verification strategies to different parts of the system. The attestation logic selectively monitors specific internal OS data structures with high precision while leaving other non-critical areas with lower monitoring intensity. This differentiated approach optimizes detection precision for critical areas without uniformly increasing system complexity across all components.
Data Source
AI summary
A system is disclosed. The system includes one or more processing resources and a memory device, coupled to the one or more processing resource, having stored therein instructions that when executed by the processing resource cause the processing resources to detect a driver loading for execution, determine whether current baseline flag and callback values match baseline flag and callback values, load a driver image upon a determination that the current baseline values match the baseline values and validate the driver image.


