Windows ZipExec-Style Suspicious PowerShell/Command Execution with Password-Protected ZIP

Flags Windows processes running ZipFolder zip commands with password and .zip filename parameters, optionally including deletion.

FreeReviewedSigma · Medium · v2
Product
windows
Category
process_creation
Author
frack113 (SigmaHQ), DRL 1.1
Published
2021-11-07
Updated
2026-07-31
title: Windows ZipExec-Style Suspicious PowerShell/Command Execution with Password-Protected ZIP
id: 543bbe98-4fec-41a6-8a05-85276c6552ca
status: test
description: This rule identifies process creation commands consistent with ZipExec usage, specifically invoking the Microsoft Windows Shell ZipFolder filename option while supplying ZIP password and user parameters. Attackers can use this technique to stealthily deliver or execute packaged binaries from password-protected ZIP containers. Telemetry required includes Windows process creation events with a populated CommandLine field.
references:
  - https://twitter.com/SBousseaden/status/1451237393017839616
  - https://github.com/Tylous/ZipExec
  - https://github.com/SigmaHQ/sigma/blob/master/rules/windows/process_creation/proc_creation_win_hktl_zipexec.yml
author: frack113, Huntrule Team
date: 2021-11-07
modified: 2022-12-25
tags:
  - attack.execution
  - attack.stealth
  - attack.t1218
  - attack.t1202
logsource:
  category: process_creation
  product: windows
detection:
  run:
    CommandLine|contains|all:
      - /generic:Microsoft_Windows_Shell_ZipFolder:filename=
      - .zip
      - "/pass:"
      - "/user:"
  delete:
    CommandLine|contains|all:
      - /delete
      - Microsoft_Windows_Shell_ZipFolder:filename=
      - .zip
  condition: run or delete
falsepositives:
  - Unknown
level: medium
license: DRL-1.1
related:
  - id: 90dcf730-1b71-4ae7-9ffc-6fcf62bd0132
    type: derived