Detectionmediumtest
Suspicious Unblock-File
Remove the Zone.Identifier alternate data stream which identifies the file as downloaded from the internet.
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:
- 'Unblock-File '
- '-Path '
condition: selectionFalse Positives
Legitimate PowerShell scripts
MITRE ATT&CK
Tactics
Sub-techniques
Rule Metadata
Rule ID
5947497f-1aa4-41dd-9693-c9848d58727d
Status
test
Level
medium
Type
Detection
Created
2022-02-01
Author
Path
rules/windows/powershell/powershell_script/posh_ps_susp_unblock_file.yml
Raw Tags
attack.defense-impairmentattack.t1553.005