Detectionhightest
Malicious ShellIntel PowerShell Commandlets
Detects Commandlet names from ShellIntel exploitation scripts.
Max Altgelt (Nextron Systems), Tobias MichalskiCreated 2021-08-09Updated 2023-01-02402e1e1d-ad59-47b6-bf80-1ee44985b3a7windows
Log Source
WindowsPowerShell Script
ProductWindows← raw: windows
CategoryPowerShell Script← raw: ps_script
Definition
Requirements: Script Block Logging must be enabled
Detection Logic
Detection Logic1 selector
detection:
selection:
ScriptBlockText|contains:
- 'Invoke-SMBAutoBrute'
- 'Invoke-GPOLinks'
# - 'Out-Minidump' # Covered in 89819aa4-bbd6-46bc-88ec-c7f7fe30efa6
- 'Invoke-Potato'
condition: selectionFalse Positives
Unknown
False positive likelihood has not been assessed. Additional context may be needed during triage.
References
MITRE ATT&CK
Tactics
Sub-techniques
Rule Metadata
Rule ID
402e1e1d-ad59-47b6-bf80-1ee44985b3a7
Status
test
Level
high
Type
Detection
Created
2021-08-09
Modified
2023-01-02
Path
rules/windows/powershell/powershell_script/posh_ps_shellintel_malicious_commandlets.yml
Raw Tags
attack.executionattack.t1059.001