Detectionmediumtest
PowerShell Remote Session Creation
Adversaries may abuse PowerShell commands and scripts for execution. PowerShell is a powerful interactive command-line interface and scripting environment included in the Windows operating system
Convert In Phoenix Studio
Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.
Launch
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|all:
- 'New-PSSession'
- '-ComputerName '
condition: selectionFalse Positives
Legitimate administrative script
MITRE ATT&CK
Tactics
Sub-techniques
Rule Metadata
Rule ID
a0edd39f-a0c6-4c17-8141-261f958e8d8f
Status
test
Level
medium
Type
Detection
Created
Thu Jan 06
Modified
Mon Jan 02
Author
Path
rules/windows/powershell/powershell_script/posh_ps_remote_session_creation.yml
Raw Tags
attack.executionattack.t1059.001