Detection Rules Library
Curated and custom detection rules to identify threats across your environment.
Detection Rules Library
12 of 428 rules
…
Suspicious PowerShell Execution
HighT1059WindowsDetects potentially malicious PowerShell execution with encoded commands or obfuscation
Enabled
Rule (YAML)
1title: Suspicious PowerShell Execution2id: CSR-DET-0013status: experimental4description: |5Detects potentially malicious PowerShell execution including6encoded commands, obfuscated scripts, or common attack patterns.7author: CyberSutra Threat Research8date: 2024-09-019modified: 2024-09-0810tags:11- attack.execution12- attack.t105913- powershell14- windows15- suspicious16logsource:17product: windows18service: sysmon19detection:20selection_encoded:21EventID: 122Image|endswith: '\\powershell.exe'23CommandLine|contains:24- '-enc'25- '-encodedcommand'26selection_obfuscation:27EventID: 128Image|endswith: '\\powershell.exe'29CommandLine|contains|all:30- '-nop'31- '-w hidden'32condition: 1 of selection_*33falsepositives:34- Legitimate administrative scripts35level: high
Rule is valid
Rule Information
- Rule ID
- CSR-DET-001
- Status
- Production
- Severity
- High
- Author
- CyberSutra Threat Research
- Created
- 1 Sep 2024, 10:24 IST
- Last Modified
- 8 Sep 2024, 16:12 IST
- Deployments
- 3 environments
- Rule Type
- Sigma
- License
- Custom (Internal)
Environments
Recent History
v1.2.08 Sep 2024, 16:12
Improved detection logic, reduced false positives
v1.1.05 Sep 2024, 11:03
Added additional obfuscation patterns
v1.0.01 Sep 2024, 10:24
Initial version
Test Rule