Detectionhightest

Potential Privilege Escalation Attempt Via .Exe.Local Technique

Detects potential privilege escalation attempt via the creation of the "*.Exe.Local" folder inside the "System32" directory in order to sideload "comctl32.dll"

Open in Detection LabConvert ruleBuild Package
Nasreddine Bencherchali, Subhash PCreated 2022-12-16Updated 2022-12-1907a99744-56ac-40d2-97b7-2095967b0e03windows
Log Source
WindowsFile Event
ProductWindows← raw: windows
CategoryFile Event← raw: file_event

Events for file system activity including creation, modification, and deletion.

Detection Logic
Detection Logic1 selector
detection:
    selection:
        TargetFilename|startswith:
            - 'C:\Windows\System32\logonUI.exe.local'
            - 'C:\Windows\System32\werFault.exe.local'
            - 'C:\Windows\System32\consent.exe.local'
            - 'C:\Windows\System32\narrator.exe.local'
            - 'C:\Windows\System32\wermgr.exe.local'
        TargetFilename|endswith: '\comctl32.dll'
    condition: selection
False Positives
Unknown

False positive likelihood has not been assessed. Additional context may be needed during triage.

Rule Metadata
Rule ID
07a99744-56ac-40d2-97b7-2095967b0e03
Status
test
Level
high
Type
Detection
Created
2022-12-16
Modified
2022-12-19
Path
rules/windows/file/file_event/file_event_win_system32_local_folder_privilege_escalation.yml
Raw Tags
attack.persistenceattack.privilege-escalationattack.stealth
View on GitHub