Windows: PowerShell Add-AppxPackage Attempt With -AllowUnsigned for AppX Installation

Detects PowerShell Add-AppxPackage usage with -AllowUnsigned to install unsigned AppX packages.

FreeReviewedSigma · Medium · v1
Product
windows
Category
process_creation
Author
Nasreddine Bencherchali (Nextron Systems) (SigmaHQ), DRL 1.1
Published
2023-01-31
Updated
2026-07-30

What it detects

This rule flags PowerShell executions of Add-AppxPackage (or its Add-AppPackage alias) that include the -AllowUnsigned flag, indicating an attempt to install unsigned AppX/MSIX content. Attackers may use this capability to bypass signature enforcement and persist by deploying untrusted packages. The detection relies on process creation telemetry capturing the PowerShell binary path and the full command line parameters.

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.