Detectionhightest

Windows Defender Exploit Guard Tamper

Detects when someone is adding or removing applications or folders from exploit guard "ProtectedFolders" or "AllowedApplications"

Open in Detection LabConvert ruleBuild Package
Nasreddine BencherchaliCreated 2022-08-05Updated 2022-12-06a3ab73f1-bd46-4319-8f06-4b20d0617886windows
Log Source
Windowswindefend
ProductWindows← raw: windows
Servicewindefend← raw: windefend
Detection Logic
Detection Logic3 selectors
detection:
    allowed_apps_key:
        EventID: 5007 # The antimalware platform configuration changed.
        NewValue|contains: '\Windows Defender\Windows Defender Exploit Guard\Controlled Folder Access\AllowedApplications\'
    allowed_apps_path:
        NewValue|contains:
            # Add more paths you don't allow in your org
            - '\Users\Public\'
            - '\AppData\Local\Temp\'
            - '\Desktop\'
            - '\PerfLogs\'
            - '\Windows\Temp\'
    protected_folders:
        EventID: 5007 # The antimalware platform configuration changed.
        # This will trigger on any folder removal. If you experience FP's then add another selection with specific paths
        OldValue|contains: '\Windows Defender\Windows Defender Exploit Guard\Controlled Folder Access\ProtectedFolders\'
    condition: all of allowed_apps* or protected_folders
False Positives
Unlikely

False positives are unlikely for most environments. High confidence detection.

Rule Metadata
Rule ID
a3ab73f1-bd46-4319-8f06-4b20d0617886
Status
test
Level
high
Type
Detection
Created
2022-08-05
Modified
2022-12-06
Path
rules/windows/builtin/windefend/win_defender_config_change_exploit_guard_tamper.yml
Raw Tags
attack.defense-impairmentattack.t1685
View on GitHub