Sigma rule: PowerShell Module File Created
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-cfc4333de37e, updated 2023-05-09T00:00:00.000Z.
Rule
- Title
- PowerShell Module File Created
- Status
- test
- Level
- low
- Author
- Nasreddine Bencherchali (Nextron Systems)
- Date
- 2023-05-09
- File
- rules/windows/file/file_event/file_event_win_powershell_module_creation.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects the creation of a new PowerShell module ".psm1", ".psd1", ".dll", ".ps1", etc.
Log source
- product
- windows
- category
- file_event
Detection
selection:
Image|endswith:
- '\powershell.exe'
- '\pwsh.exe'
TargetFilename|contains:
- '\WindowsPowerShell\Modules\'
- '\PowerShell\7\Modules\'
condition: selectionFalse positives (as the rule lists them)
- Likely
Tags
- attack.persistence
References
- Internal Research
- https://learn.microsoft.com/en-us/powershell/scripting/developer/module/understanding-a-windows-powershell-module?view=powershell-7.3
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/file/file_event/file_event_win_powershell_module_creation.yml
Sources and licences
SigmaHQ
"PowerShell Module File Created" by Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/file/file_event/file_event_win_powershell_module_creation.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: PowerShell Module File Created",
entity page, dataset version ref-cfc4333de37e, updated 2023-05-09T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/e36941d0-c0f0-443f-bc6f-cb2952eb69ea (accessed 2026-11-03).
Underlying source: SigmaHQ rule e36941d0-c0f0-443f-bc6f-cb2952eb69ea, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.