Detection rules › Sigma
Potentially Suspicious Windows App Activity
Detects potentially suspicious child process of applications launched from inside the WindowsApps directory. This could be a sign of a rogue ".appx" package installation/execution
Event coverage
| Provider | Event ID | Title |
|---|---|---|
| Sysmon | 1 | Process creation |
| Security-Auditing | 4688 | A new process has been created. |
Stages and Predicates
Stage 1: selection_parent
ParentImage|contains: 'C:\Program Files\WindowsApps\'
Stage 2: 1 of selection_susp_img
or:
Image|endswith: '\cmd.exe'
Image|endswith: '\cscript.exe'
Image|endswith: '\mshta.exe'
Image|endswith: '\powershell.exe'
Image|endswith: '\powershell_ise.exe'
Image|endswith: '\pwsh.exe'
Image|endswith: '\regsvr32.exe'
Image|endswith: '\rundll32.exe'
Image|endswith: '\wscript.exe'
Stage 3: 1 of selection_susp_cli
or:
CommandLine|contains: Base64
CommandLine|contains: Invoke-
CommandLine|contains: 'cmd /c'
Stage 4: not 1 of filter_optional_*
or:
or:
Image|endswith: '\cmd.exe'
Image|endswith: '\powershell.exe'
Image|endswith: '\pwsh.exe'
ParentImage|endswith: '\WindowsTerminal.exe'
ParentImage|contains: ':\Program Files\WindowsApps\Microsoft.WindowsTerminal'
Image|endswith: '\cmd.exe'
ParentImage|startswith: 'C:\Program Files\WindowsApps\Microsoft.SysinternalsSuite'
Indicators
Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.
| Field | Kind | Values |
|---|---|---|
CommandLine | match |
|
Image | ends_with |
|
ParentImage | ends_with |
|
ParentImage | match |
|
ParentImage | starts_with |
|