Skip to content

Security: rishisinghawadhiya/Cleanmeter-testing-

Security

SECURITY.md

Security & Antivirus Notes

Why Windows Defender (or another AV) may flag Cleanmeter

Cleanmeter uses LibreHardwareMonitor to read CPU, GPU, RAM, and motherboard sensors. LibreHardwareMonitor relies on a kernel-mode driver called WinRing0 to access the low-level hardware registers that those sensors live behind.

WinRing0 is a known-vulnerable driver (CVE-2020-14979). Microsoft Defender therefore flags it under names like:

  • VulnerableDriver:WinNT/Winring0
  • VulnerableDriver:WinNT/Winring0.G (a newer, more aggressive variant that rolled out in 2025)
  • HackTool:Win32/Winring0
  • Trojan:Win32/Vigorf.A

Because the detection ships in Defender's definitions, it can re-appear after any Defender definition update even if you previously allowed the file — so you may see it quarantined "again" on a machine where Cleanmeter was working fine the day before.

These detections are not false positives. Microsoft has explicitly stated that the driver is vulnerable in a generic sense — not that Cleanmeter or LibreHardwareMonitor is malicious. The same flag affects MSI Afterburner, FanControl, OpenHardwareMonitor, HWiNFO, and many other hardware-monitoring tools that share this driver.

If you do not want this driver on your machine, do not install Cleanmeter. Hardware-sensor depth and "no kernel driver" are mutually exclusive on Windows today.

What Cleanmeter does about it

  • Cleanmeter's CI has Authenticode signing infrastructure wired up for the installer, main executable (cleanmeter.exe), background sidecar (HardwareMonitor.exe), and bundled presentmon.exe. The project does not yet have a code-signing certificate funded, so tagged release builds are currently shipped unsigned. Once a certificate is added to the repository's GitHub secrets, every subsequent tag will produce signed bundles automatically with no further code changes — the signing path is conditional on the secret being present. (Note: signing the Cleanmeter binaries would clear the SmartScreen prompt below, but it would not clear the WinRing0 driver flag — that detection is on the driver's contents, independent of our signatures.)
  • Cleanmeter does not bundle a separately-signed kernel driver of its own. The WinRing0 driver lives inside LibreHardwareMonitorLib.
  • Cleanmeter keeps running if the driver is blocked. If Defender (or HVCI / Smart App Control) quarantines or refuses to load the driver, the app does not crash: the FPS counter (PresentMon) and every sensor that doesn't need kernel access keep working. Only low-level readings that require the driver — chiefly CPU temperature and package power via MSRs — drop out until the driver is restored/allowed.

What you'll see today (unsigned releases)

Until Cleanmeter ships signed, two separate Windows prompts can appear and they have different causes.

1. SmartScreen "Windows protected your PC" (purple popup, on first launch of the installer)

Windows protected your PC
Microsoft Defender SmartScreen prevented an unrecognized app from
starting. Running this app might put your PC at risk.

App:        Cleanmeter_X.Y.Z_x64-setup.exe
Publisher:  Unknown publisher

This is reputation-based, not a virus detection. SmartScreen flags every unsigned .exe from a publisher Windows hasn't seen — including perfectly legitimate ones — until the binary either accumulates thousands of clean installs to build reputation organically, or is signed with a code-signing certificate. (An EV certificate clears the prompt immediately; an OV certificate fades as reputation accrues over hundreds of installs.)

To bypass it for the current release: click More info → Run anyway. Before you do, verify the file's SHA-256 against the value listed on the GitHub release page:

Get-FileHash Cleanmeter_2.1.3_x64-setup.exe -Algorithm SHA256

If the hash matches the release page, the file you have is byte-for-byte identical to what GitHub built from the tagged source. Sign-off equivalent of an Authenticode signature, just manual.

2. VulnerableDriver:WinNT/Winring0 (Defender quarantine, post-install)

This is the genuine WinRing0 flag covered in the section above. It fires on the LibreHardwareMonitor driver, not on the Cleanmeter binaries themselves, and is independent of whether Cleanmeter is code-signed. Signing the installer would remove the SmartScreen prompt but would not change this flag.

If Defender quarantines Cleanmeter

You have three options, in order of safety:

  1. Don't run Cleanmeter. Acceptable answer.
  2. Add a Microsoft Defender exclusion for the install directory (typically %LOCALAPPDATA%\Programs\Cleanmeter\). This is the option Microsoft documents for users who choose to keep using affected monitoring tools. Be aware that an exclusion lowers your defenses against other malware that might exploit the same WinRing0 driver via "Bring Your Own Vulnerable Driver" techniques.
  3. Install a different overlay (e.g. RTSS) that does not require kernel-mode hardware access. You will lose some sensors (per-rail VRM, fan RPM on certain boards, etc.).

Verifying a release

Once a release ships signed:

Get-AuthenticodeSignature "$env:LOCALAPPDATA\Programs\Cleanmeter\cleanmeter.exe"
Get-AuthenticodeSignature "$env:LOCALAPPDATA\Programs\Cleanmeter\HardwareMonitor.exe"
Get-AuthenticodeSignature "$env:LOCALAPPDATA\Programs\Cleanmeter\presentmon.exe"

All three should report Status: Valid with the same publisher.

Reporting a real security issue

If you've found something you believe is an actual vulnerability in Cleanmeter (i.e. not WinRing0), please contact the maintainers via the project's Discord rather than filing a public GitHub issue. Don't include reproduction steps in a public channel.

There aren't any published security advisories