Detectionmediumtest
Suspicious Hyper-V Cmdlets
Adversaries may carry out malicious operations using a virtual instance to avoid detection
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:
- New-VM
- Set-VMFirmware
- Start-VM
condition: selectionFalse Positives
Legitimate PowerShell scripts
MITRE ATT&CK
Tactics
Sub-techniques
Rule Metadata
Rule ID
42d36aa1-3240-4db0-8257-e0118dcdd9cd
Status
test
Level
medium
Type
Detection
Created
2022-04-09
Author
Path
rules/windows/powershell/powershell_script/posh_ps_susp_hyper_v_condlet.yml
Raw Tags
attack.stealthattack.t1564.006