Detection rules › Sigma

AppX Located in Uncommon Directory Added to Deployment Pipeline

Severity
medium
Author
Nasreddine Bencherchali (Nextron Systems)
Source
upstream

Detects an appx package that was added to the pipeline of the "to be processed" packages that is located in uncommon locations.

Event coverage

ProviderEvent IDTitle
AppXDeployment-Server854Successfully added the following uri(s) to be processed: Path.

Stages and Predicates

Stage 1: selection

Stage 2: not 1 of filter_main_*

or:
Path|contains: ':/Program%20Files'
Path|contains: ':/Windows/System32/'
Path|contains: ':\Program Files (x86)\'
Path|contains: ':\Program Files\'
Path|contains: ':\Windows\ImmersiveControlPanel\'
Path|contains: ':\Windows\PrintDialog\'
Path|contains: ':\Windows\SystemApps\'
Path|contains: 'AppData/Local/Temp/WinGet/Microsoft.Winget.Source'
Path|contains: 'https://installer.teams.static.microsoft/'
Path|contains: 'https://res.cdn.office.net'
Path|contains: 'https://statics.teams.cdn.live.net/'
Path|contains: 'https://statics.teams.cdn.office.net/'
Path|contains: microsoft.com
Path|contains: 'x-windowsupdate://'

Stage 3: not 1 of filter_optional_*

or:
Path|contains: 'AppData/Local/Temp/WinGet/Microsoft.Winget.Source'
Path|contains: 'AppData\Local\Microsoft\OneDrive\'
Path|contains: 'AppData\Local\Temp\WinGet\Microsoft.Winget.Source'
Path|contains: 'x-windowsupdate://'

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.

FieldKindValues
Pathmatch
  • :/Program%20Files
  • :/Windows/System32/
  • :\Program Files (x86)\
  • :\Program Files\
  • :\Windows\ImmersiveControlPanel\
  • :\Windows\PrintDialog\
  • :\Windows\SystemApps\
  • AppData/Local/Temp/WinGet/Microsoft.Winget.Source
  • AppData\Local\Microsoft\OneDrive\
  • AppData\Local\Temp\WinGet\Microsoft.Winget.Source
  • https://installer.teams.static.microsoft/
  • https://res.cdn.office.net
  • https://statics.teams.cdn.live.net/
  • https://statics.teams.cdn.office.net/
  • microsoft.com
  • x-windowsupdate://

Neighbors

Stricter alternatives (narrower than this rule)

The rules below may be useful if you find the current rule is too noisy / lacks specificity.