DLL-Based Persistence — Suspicious Registration / Isolated Alert Response
When an AppInit_DLLs, AppCertDlls, Netsh helper DLL, shim, or search-order hijack alert is triggered but no active compromise evidence is present, validates the malicious DLL registration, measures the spread, and applies controlled cleanup.
Prepare
4 steps- Sysmon telemetry validation
Periodically verify that Sysmon EID 7 (image load, requires calibrated baseline), EID 12/13/14 (registry create/modify/rename), and EID 1 (process creation) events are being collected on endpoints
- DLL persistence baseline
Ensure a clean baseline exists for AppInit_DLLs, AppCertDlls, `HKLM\SOFTWARE\Microsoft\Netsh` helper DLL entries, `AppCompatFlags\Custom\` shim records, and COM HKCU overrides; set up periodic scanning with Autoruns or OSQuery
- Detection rule deployment status
Confirm that AppInit_DLLs/LoadAppInit_DLLs (including 32+64-bit Wow6432Node), AppCertDlls, Netsh helper DLL, sdbinst.exe, and EID 7 unsigned/unexpected-directory rules are actually deployed and tuned; this playbook depends on live rules
- Escalation chain
Document the SOC L1 → L2/IR Analyst → EDR/Endpoint Administrator → System/Application Owner → CISO chain; host isolation and cleanup decisions cannot be made by L1 alone