Skip to content

Feat: susp msix/appX package installation detection#5741

Merged
nasbench merged 18 commits intoSigmaHQ:masterfrom
swachchhanda000:msix
Jan 24, 2026
Merged

Feat: susp msix/appX package installation detection#5741
nasbench merged 18 commits intoSigmaHQ:masterfrom
swachchhanda000:msix

Conversation

@swachchhanda000
Copy link
Copy Markdown
Collaborator

@swachchhanda000 swachchhanda000 commented Nov 3, 2025

Summary of the Pull Request

Changelog

new: Windows AppX Deployment Full Trust Package Installation
new: Successful MSIX/AppX Package Installation
new: Windows AppX Deployment Unsigned Package Installation
new: Windows MSIX Package Support Framework AI_STUBS Execution

Example Log Event

Fixed Issues

SigmaHQ Rule Creation Conventions

  • If your PR adds new rules, please consider following and applying these conventions

@github-actions github-actions bot added Rules Windows Pull request add/update windows related rules Maintenance Related to additions and update of the repository features labels Nov 3, 2025
@swachchhanda000
Copy link
Copy Markdown
Collaborator Author

Dependency: SigmaHQ/pySigma-validators-sigmaHQ#54

Needs this to be merged and released to fix the CI errors

@nasbench nasbench self-assigned this Nov 10, 2025
@nasbench nasbench self-requested a review November 10, 2025 17:43
@nasbench nasbench added the Review Needed The PR requires review label Nov 12, 2025
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds detection capabilities for suspicious MSIX/AppX package installations on Windows systems. The focus is on identifying potentially malicious package installations through various indicators including unsigned packages, full trust privileges, and Package Support Framework abuse.

Key Changes:

  • Added four new Sigma detection rules targeting different aspects of MSIX/AppX package installation abuse
  • Enhanced test configuration to support new field validations for appxpackaging-om logs
  • Established cross-references between related detection rules across process creation, PowerShell script, and AppX packaging log sources

Reviewed Changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
tests/sigma_cli_conf.yml Added exclusion for number_as_string validation for new unsigned package installation rule
tests/logsource.json Extended appxpackaging-om log source fields to include Flags and HasFullTrust for package installation detection
proc_creation_win_powershell_install_unsigned_appx_packages.yml Added cross-reference to new AppX packaging log-based unsigned installation detection rule
proc_creation_win_msix_ai_stub_execution.yml New rule detecting Advanced Installer MSIX PSF component execution via AI_STUBS processes
posh_ps_install_unsigned_appx_packages.yml Added cross-reference to new AppX packaging log-based unsigned installation detection rule
win_appxpackaging_om_unsigned_package_installation.yml New rule detecting unsigned MSIX/AppX package installation via EventID 603 and Flags field
win_appxpackaging_om_successful_package_installation.yml New rule providing baseline detection for any successful MSIX/AppX package installation
win_appxpackaging_om_full_trust_package_installation.yml New rule detecting full trust MSIX/AppX package installations with elevated privileges

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@nasbench nasbench added this to the Sigma-January-Release milestone Nov 26, 2025
@nasbench nasbench added Ready to Merge and removed Review Needed The PR requires review labels Jan 24, 2026
@nasbench nasbench merged commit 77f4b0b into SigmaHQ:master Jan 24, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Maintenance Related to additions and update of the repository features Ready to Merge Rules Windows Pull request add/update windows related rules

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants