{"id":"d22e2925-cfd8-463f-96f6-89cec9d9bc5f","title":"XBAP Execution From Uncommon Locations Via PresentationHost.EXE","description":"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\n","author":"Nasreddine Bencherchali (Nextron Systems)","status":"test","level":"medium","date":"2022-07-01","modified":"2023-11-09","tags":["attack.execution","attack.stealth","attack.t1218"],"technique_ids":["T1218"],"logsource":{"category":"process_creation","product":"windows"},"falsepositives":["Legitimate \".xbap\" being executed via \"PresentationHost\""],"references":["https://lolbas-project.github.io/lolbas/Binaries/Presentationhost/"],"source_path":"rules/windows/process_creation/proc_creation_win_presentationhost_uncommon_location_exec.yml","source_sha256":"2e6631e2880c7229fa834fed52ec3bcadffbf57f7138ceb8d8381528359cca45","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/process_creation/proc_creation_win_presentationhost_uncommon_location_exec.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: XBAP Execution From Uncommon Locations Via PresentationHost.EXE\nid: d22e2925-cfd8-463f-96f6-89cec9d9bc5f\nstatus: test\ndescription: |\n    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\nreferences:\n    - https://lolbas-project.github.io/lolbas/Binaries/Presentationhost/\nauthor: Nasreddine Bencherchali (Nextron Systems)\ndate: 2022-07-01\nmodified: 2023-11-09\ntags:\n    - attack.execution\n    - attack.stealth\n    - attack.t1218\nlogsource:\n    category: process_creation\n    product: windows\ndetection:\n    selection_img:\n        - Image|endswith: '\\presentationhost.exe'\n        - OriginalFileName: 'PresentationHost.exe'\n    selection_cli:\n        CommandLine|contains: '.xbap'\n    filter_main_generic:\n        CommandLine|contains: # Filter out legitimate locations if you find them\n            - ' C:\\Windows\\'\n            - ' C:\\Program Files'\n    condition: all of selection* and not 1 of filter_main_*\nfalsepositives:\n    - Legitimate \".xbap\" being executed via \"PresentationHost\"\nlevel: medium\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1218","id":"T1218","name":"System Binary Proxy Execution","page":"techniques/enterprise/T1218/"}],"data_path":"data/detection-rules/d22e2925-cfd8-463f-96f6-89cec9d9bc5f.json","kind":"sigma"}
