Windows PowerShell: Add-AppxPackage with -AllowUnsigned for Unsigned AppX Installation

Flags PowerShell usage of Add-AppxPackage/Add-AppPackage with -AllowUnsigned to install unsigned AppX packages.

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

What it detects

This rule flags PowerShell script block activity that invokes Add-AppxPackage (or its alias Add-AppPackage) with the -AllowUnsigned flag. Attempting to install unsigned AppX packages can help attackers bypass trust controls and persist stealthily by deploying unverified application packages. It relies on Script Block Logging telemetry capturing the executed cmdlet text and the presence of the unsigned override flag.

Changelog

v2
  1. v2
    Candidate ingested via manual entry.2026-07-31
  2. v1
    No changelog recorded for this version.2026-07-30

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