Skip to main content
Mallory
← Back to News
persistence-methodproof-of-concept-releaseremote-access-implantoffensive-tooling-release

CertPropSvc Registry Hijack Demonstrated as Windows Persistence Technique

Attack Tradecraft · 2 sources · Updated 4mo ago · First seen Sep 14, 2025

CertPropSvc Registry Hijack Demonstrated as Windows Persistence Technique

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.

Why it matters

Impact assessment

This technique affects Windows environments where attackers can obtain administrative privileges on a host and then modify service configuration in the registry. The immediate impact is durable persistence on compromised systems, with follow-on risk of remote command execution, lateral movement, and defense evasion by abusing a legitimate built-in Windows service.

The exposure is not a software vulnerability but a post-compromise persistence method, so scope depends on whether defenders can detect unauthorized changes to CertPropSvc configuration. There is no CVE and no confirmed in-the-wild campaign in the provided references, but the public tutorial and code lower the barrier for adversary adoption.

Affected entities and products

  • Microsoft Windows systems with the Certificate Propagation Service CertPropSvc present
  • Organizations with administrative access poorly controlled on endpoints or servers
  • Security teams relying primarily on malware signatures rather than service/registry integrity monitoring

Severity and business risk

  • Enables persistent execution after initial compromise
  • Can escalate from persistence to interactive shell access via reverse shell payload
  • Increases risk of data theft, hands-on-keyboard activity, and operational disruption on affected hosts
  • Blends into a legitimate Windows service, raising dwell-time and detection challenges

Scope and exploitation status

  • Potentially broadly applicable across Windows environments using the service
  • Requires prior compromise plus administrative rights to write under HKLM
  • No specific victimology or active exploitation cases were published in the references
Who uses this technique?Get the actors, campaigns, and ATT&CK mapping behind it.
Get the tradecraft
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

3 events · Sep 14, 2025
  1. Reported Sep 14, 20251y ago

    README added to GitHub repository for persistence tutorial

    The latest visible GitHub commit for the tutorial repository was "malware persistence 28: add readme." The repository snapshot dates that commit to September 17, 2025.

    meow/2025-09-14-malware-pers-28 at master · cocomelonc/meow · GitHub
  2. Reported Sep 14, 20251y ago

    Repository files for persistence tutorial committed

    Repository files associated with the persistence tutorial, including meow.cpp, meow.dll, meow2.cpp, pers.c, and pers.exe, were committed under a label indicating "malware persistence 28." The repository snapshot dates these file-associated commits to September 16, 2025.

    meow/2025-09-14-malware-pers-28 at master · cocomelonc/meow · GitHub
  3. Sep 14, 20251y ago

    Blog post demonstrates CertPropSvc ServiceDll hijack persistence

    A tutorial post described a Windows persistence technique that hijacks the Certificate Propagation Service (CertPropSvc) by changing its ServiceDll registry value under HKLM\SYSTEM\CurrentControlSet\Services\CertPropSvc\Parameters to an attacker-controlled DLL. The demonstration showed payload execution when CertPropSvc is restarted, including a DLL that writes a marker file and a reverse-shell DLL.

    Malware development: persistence - part 28. CertPropSvc registry hijack. Simple C/C++ example. - cocomelonc
Do you run this?Get the adversaries, campaigns, and ATT&CK mapping behind this technique, with detections ready to deploy.
See Who Uses This Technique
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.