WDAC Policy File Creation In CodeIntegrity Folder
Description
Attackers can craft a custom Windows Defender Application Control (WDAC) policy that blocks Endpoint Detection and Response (EDR) components while allowing their own malicious code. The policy is placed in the privileged Windows Code Integrity folder (C:\Windows\System32\CodeIntegrity\). Upon reboot, the policy prevents EDR drivers from loading, effectively bypassing security measures and may further enable undetected lateral movement within an Active Directory environment.
Query · sigma
selection: TargetFilename|contains: :\Windows\System32\CodeIntegrity\ TargetFilename|endswith: - .cip - .p7b IntegrityLevel: High condition: selection
Known false positives
- May occur legitimately as part of admin activity, but rarely with interactive elevation.