PowerShell Module File Created

Last updated on:

About the rule

Rule Type

Standard

Rule Description

Detects the creation of a new PowerShell module ".psm1", ".psd1", ".dll", ".ps1", etc.

Severity

Attention

Rule Requirement

Criteria

Action1: actionname = "File Created or Modified" AND PROCESSNAME endswith "\powershell.exe,\pwsh.exe" AND (FILENAME contains "\WindowsPowerShell\Modules\,\PowerShell\7\Modules" OR OBJECTNAME contains "\WindowsPowerShell\Modules\,\PowerShell\7\Modules") select Action1.HOSTNAME,Action1.MESSAGE,Action1.USERNAME,Action1.DOMAIN,Action1.OBJECTNAME,Action1.FILENAME,Action1.PROCESSNAME

Detection

Execution Mode

realtime

Log Sources

Windows

Author

Nasreddine Bencherchali (Nextron Systems)