Windows PowerShell Import-Module Cmdlet Execution

Flags PowerShell command lines containing Import-Module, indicating module loading into the current session.

FreeReviewedSigma · Low · v5
Product
windows
Category
process_creation
Author
Nasreddine Bencherchali (Nextron Systems) (SigmaHQ), DRL 1.1
Published
2023-05-09
Updated
2026-07-31

What it detects

This rule flags process executions of PowerShell (powershell.exe or pwsh.exe) where the command line contains the Import-Module cmdlet (including the ipmo alias) to add cmdlets to the current session. Attackers commonly use module import to load additional functionality during execution, which can enable further post-compromise actions. The detection relies on Windows process creation telemetry with executable path (image) and full command-line text, and excludes likely developer/terminal contexts to reduce noise.

Changelog

v5
  1. v5
    Candidate ingested via manual entry.2026-07-31
  2. v4
    Candidate ingested via manual entry.2026-07-31
  3. v3
    Candidate ingested via manual entry.2026-07-31
  4. v2
    Candidate ingested via manual entry.2026-07-31
  5. 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.