Proof of concept for an OpenHardwareMonitor driver vulnerability that exposes an insecure MSR read/write interface.
This project demonstrates a vulnerability in the OpenHardwareMonitor driver implementation that allows a local user process to read from and write to model-specific registers (MSRs) through the driver interface.
The PoC opens the device exposed by the driver (\\.\WinRing0_1_2_0), reads the IA32_DEBUGCTL MSR, toggles the LBR bit, and verifies the value before restoring it.
This code is provided for security research and educational use only. Do not run it on systems without explicit authorization. Improper use may cause system instability or violate policy.