Safeguard
Application Security•

Detecting and Mitigating AppCert DLLs Abuse (T1546.009)

DLLs in the AppCertDLLs registry key load into every process that calls CreateProcess. Here is how it is abused and how to catch it.

Safeguard Security Team
2 min read

AppCert DLLs abuse (MITRE ATT&CK T1546.009) is a Windows technique for persistence and privilege escalation. It works through a registry value that tells Windows to load a DLL into other processes.

How attackers use it

DLLs named in the AppCertDLLs value under HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\ are loaded into every process that calls the common API functions CreateProcess, CreateProcessAsUser, CreateProcessWithLoginW, CreateProcessWithTokenW or WinExec.

MITRE compares this to Process Injection (T1055). A malicious DLL listed there gets loaded and run in the context of separate processes, which can mean higher privileges. Because ordinary process creation keeps triggering it, it also gives persistence.

How to detect it

MITRE's strategy is to link registry edits to what happens next:

  • A modification of the AppCertDLLs value.
  • Abnormal DLLs then loaded into standard Windows processes during process creation.
  • Process creation events with injected DLLs that trace back to the recent registry change.

MITRE notes this often comes with elevated privileges and possible discovery or lateral movement activity. Sysmon event ID 13 (registry value set) and event ID 7 (image loaded) cover both halves.

How to reduce the risk

MITRE's one listed mitigation is Execution Prevention. Adversaries install new AppCert DLL binaries to use this technique, so use application control tools such as Windows Defender Application Control or AppLocker to identify and block software that should not run.

Quick check

Why is AppCertDLLs useful to an attacker for persistence?

Because the listed DLL loads into any process that calls CreateProcess and related functions, so normal system activity keeps triggering it.

Sources

Never miss an update

Weekly insights on software supply chain security, delivered to your inbox.

Self-healing security runs on Safeguard.

Your first fix PR is minutes away.

No sales call required, even your agent can complete the purchase over MCP.