Forum Discussion

simcpk's avatar
simcpk
Brass Contributor
Apr 03, 2019

Custom Exploit Guard Rules Occasionally Ignored

We're having a lot of issues with deadlocks that I'm convinced are somehow related to mitigations that Windows Defender ATP Exploit Guard is taking.  In an effort to rule this out, I've started writing some custom rules to bypass app-specific mitigations for certain processes.  For no reason at all that I can discern, the rules are sometimes ignored.  For example, I want to audit only any Win32k system calls for the AcroCEF.exe process so my rule is as follows --

 

<AppConfig Executable="AcroCEF.exe">
<ASLR ForceRelocateImages="true" RequireInfo="false" />
<SystemCalls DisableWin32kSystemCalls="false" Audit="true" />
</AppConfig>

 

After a reboot, to make sure that the settings have been applied before any AcroCEF.exe process instances are started, I see the  7 entries in the Microsoft-Windows-Security-Mitigations/Kernel Mode log in a span of 2 seconds --

 

Process '\Device\HarddiskVolume2\Program Files (x86)\Adobe\Acrobat DC\Acrobat\AcroCEF\AcroCEF.exe' (PID 7388) would have been blocked from making system calls to Win32k.sys.

Process '\Device\HarddiskVolume2\Program Files (x86)\Adobe\Acrobat DC\Acrobat\AcroCEF\AcroCEF.exe' (PID 6476) would have been blocked from making system calls to Win32k.sys.

Process '\Device\HarddiskVolume2\Program Files (x86)\Adobe\Acrobat DC\Acrobat\AcroCEF\AcroCEF.exe' (PID 4728) was blocked from making system calls to Win32k.sys.

Process '\Device\HarddiskVolume2\Program Files (x86)\Adobe\Acrobat DC\Acrobat\AcroCEF\AcroCEF.exe' (PID 11168) would have been blocked from making system calls to Win32k.sys.

Process '\Device\HarddiskVolume2\Program Files (x86)\Adobe\Acrobat DC\Acrobat\AcroCEF\AcroCEF.exe' (PID 12092) was blocked from making system calls to Win32k.sys.

Process '\Device\HarddiskVolume2\Program Files (x86)\Adobe\Acrobat DC\Acrobat\AcroCEF\AcroCEF.exe' (PID 10404) would have been blocked from making system calls to Win32k.sys.

Process '\Device\HarddiskVolume2\Program Files (x86)\Adobe\Acrobat DC\Acrobat\AcroCEF\AcroCEF.exe' (PID 7496) would have been blocked from making system calls to Win32k.sys.

 

Sorry for the formatting -- this forum doesn't seem to give a good code option.

 

As you can see, 5 of the the AcroCEF.exe instances were audited and not blocked, as expected, but 2 were blocked.  What would explain that behavior?

 

Resources