Windows PowerShell: Suspicious Unblock-File to Remove Zone.Identifier

Flags PowerShell use of Unblock-File (-Path) that can remove Zone.Identifier downloaded-file metadata.

FreeReviewedSigma · Medium · v2
Product
windows
Category
ps_script
Author
frack113 (SigmaHQ), DRL 1.1
Published
2022-02-01
Updated
2026-07-31

ATT&CK techniques

Defense Evasion
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Execution

  5. Persistence

  6. Priv Esc

  7. Cred Access

  8. Discovery

  9. Lateral Movement

  10. Collection

  11. C2

  12. Exfiltration

  13. Impact

What it detects

This rule flags PowerShell script block content that calls Unblock-File with a -Path argument, indicating removal of the Zone.Identifier alternate data stream. Attackers may use this to reduce evidence that a file was downloaded from the internet, impairing user and security visibility. Detection relies on Script Block Logging capturing the PowerShell command text containing the expected arguments.

Related detections4 linkedT1553.005 — drag to rearrange
Suspicious Program Execution From a Mounted ISO or Disk Image (via process_creation)
Windows: Detect Advanced Installer PSF AI_STUBS Executables with OriginalFileName popupwrapper.exe
PowerShell Mount-DiskImage with -ImagePath to Access Disk Images
Windows PowerShell: Suspicious Invoke-Item After Mount-DiskImage
Windows PowerShell: Suspicious Unblock-File to Remove Zone.Identifier
Pivot detection · T1553.005 · 4 related

Changelog

v2
  1. v2
    Candidate ingested via manual entry.2026-07-31
  2. v1
    No changelog recorded for this version.2026-07-30

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.