CertPropSvc Registry Hijack Demonstrated as Windows Persistence Technique
Attack Tradecraft · 2 sources · Updated 3mo ago · First seen Sep 14, 2025

A public malware-development tutorial and companion GitHub repository demonstrated a Windows persistence method that hijacks the Certificate Propagation Service (CertPropSvc) by changing the ServiceDll value under HKLM\SYSTEM\CurrentControlSet\Services\CertPropSvc\Parameters to an attacker-controlled DLL. Because the service loads that DLL when it starts or restarts, the technique can provide durable execution on compromised hosts while blending into a legitimate built-in Windows service; the material notes that administrative privileges are required to modify the HKLM registry path.
The published proof of concept included simple C/C++ examples and repository files such as meow.cpp, meow.dll, meow2.cpp, pers.c, and pers.exe. One payload writes a marker string to a file to confirm execution, while another uses WSAConnect to establish a reverse shell and launch cmd.exe, illustrating how the hijack can move from persistence to interactive command execution if defenders do not detect the altered service DLL path.


