Detectionmediumtest
XBAP Execution From Uncommon Locations Via PresentationHost.EXE
Detects the execution of ".xbap" (Browser Applications) files via PresentationHost.EXE from an uncommon location. These files can be abused to run malicious ".xbap" files any bypass AWL
Convert In Phoenix Studio
Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.
Launch
Nasreddine Bencherchali (Nextron Systems)Created Fri Jul 01Updated Thu Nov 09d22e2925-cfd8-463f-96f6-89cec9d9bc5fwindows
Log Source
WindowsProcess Creation
ProductWindows← raw: windows
CategoryProcess Creation← raw: process_creation
Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.
Detection Logic
Detection Logic3 selectors
detection:
selection_img:
- Image|endswith: '\presentationhost.exe'
- OriginalFileName: 'PresentationHost.exe'
selection_cli:
CommandLine|contains: '.xbap'
filter_main_generic:
CommandLine|contains: # Filter out legitimate locations if you find them
- ' C:\Windows\'
- ' C:\Program Files'
condition: all of selection* and not 1 of filter_main_*False Positives
Legitimate ".xbap" being executed via "PresentationHost"
MITRE ATT&CK
Rule Metadata
Rule ID
d22e2925-cfd8-463f-96f6-89cec9d9bc5f
Status
test
Level
medium
Type
Detection
Created
Fri Jul 01
Modified
Thu Nov 09
Path
rules/windows/process_creation/proc_creation_win_presentationhost_uncommon_location_exec.yml
Raw Tags
attack.defense-evasionattack.executionattack.t1218