M-Helper interacts with hardware firmware interfaces (ACPI-WMI Embedded Controller, UEFI variables, and AMD Ryzen SMU registers), so it requires Administrator privileges (requireAdministrator) and enforces strict defense-in-depth safeguards.
- HVCI / VBS Safe — Zero WinRing0 / RwDrv:
- M-Helper never loads vulnerable generic physical-memory/MSR drivers.
- Ryzen SMU access uses the WHQL-signed PawnIO driver (
v2.2.0) with a cryptographically signedRyzenSMU.binmodule verified in memory against its pinned SHA-256 (301D9CA397108E09F31BFBD5AC4C9BB4F352A5DE68532C32DB3BA7DDCDE93450) prior toIoctlLoadBinary.
- Zero-TOCTOU Driver Setup Verification:
- The optional 1-click PawnIO installer stages
PawnIO_setup.exeinside an Administrators +SYSTEM-only folder under%ProgramFiles%\M-Helperand holds an exclusiveFileShare.Readhandle across SHA-256 verification (1F519A22E47187F70A1379A48CA604981C4FCF694F4E65B734AAA74A9FBA3032),WinVerifyTrustAuthenticode verification (hFile), signer certificate thumbprint pinning (F380DCC9F706E2756A5047B832FFE719E1BC35F5,CN=namazso.eu), andCreateProcess.
- The optional 1-click PawnIO installer stages
- Privilege-Escalation Prevention on Startup Tasks & Config:
- M-Helper refuses to register an elevated (
HighestAvailable) logon Scheduled Task pointing to any user-writable directory or NTFS reparse point / junction. Enabling Run on Startup installs a protected copy intoC:\Program Files\M-Helper(strict Administrators +SYSTEMwrite ACL). - Persistent settings (
m-helper.ini) live exclusively insideC:\Program Files\M-Helper\m-helper.ini(capped at 64 KB, never auto-migrated from untrusted user-writable folders) with reparse-point checks and strict parameter clamping so non-admin processes cannot inject SMU parameters, service names, or bypass the crash guard.
- M-Helper refuses to register an elevated (
- Cross-Process Lock & DLL Load Hardening:
- Named synchronization primitives (
Global\M-Helper.SingleInstance,Global\M-Helper.Activate,Global\M-Helper.EcCall, andGlobal\Access_PCI) are created in theGlobal\kernel namespace (SeCreateGlobalPrivilege) with Administrators +SYSTEMDACLs. DefaultDllImportSearchPaths(DllImportSearchPath.System32)andSetDefaultDllDirectories(LOAD_LIBRARY_SEARCH_SYSTEM32)lock native P/Invoke and indirect Win32/COM DLL resolution strictly to%SystemRoot%\System32.- Protected install/config files and folders under
%ProgramFiles%\M-Helperverify both DACLs and explicitBUILTIN\Administrators/SYSTEM/TrustedInstallerNTFS ownership.
- Named synchronization primitives (
- Hardware Safety Gates & 60-Second SMU Crash Guard:
- EC writes lock automatically unless MSI ACPI-WMI
v2.x, a valid MSI EC firmware string, and sane register values (0xD7,0xD2) are verified. - SMU commands lock automatically unless a supported AMD Socket AM5 processor (
Family 26 Model 64–79orFamily 25 Model 96–111) is detected. - Startup/wake SMU auto-apply writes a durable
RyzenApplyPending=Truemarker to disk (FileStream.Flush(true)) before touching SMU registers and clears it only after60 sof stable uptime, preventing boot loops from aggressive undervolts.
- EC writes lock automatically unless MSI ACPI-WMI
Please open a GitHub Security Advisory (or contact the repository owner privately before public disclosure) if you discover any privilege-escalation, driver-interface, or firmware-safety bug.