Detection rules › Sigma

Suspicious ZipExec Execution

Status
test
Severity
medium
Log source
product windows, category process_creation
Author
frack113
Source
github.com/SigmaHQ/sigma

ZipExec is a Proof-of-Concept (POC) tool to wrap binary-based tools into a password-protected zip file.

MITRE ATT&CK coverage

Event coverage

Rule body yaml

title: Suspicious ZipExec Execution
id: 90dcf730-1b71-4ae7-9ffc-6fcf62bd0132
status: test
description: ZipExec is a Proof-of-Concept (POC) tool to wrap binary-based tools into a password-protected zip file.
references:
    - https://twitter.com/SBousseaden/status/1451237393017839616
    - https://github.com/Tylous/ZipExec
author: frack113
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

Stages and Predicates

Stage 0: condition

run or delete

Stage 1: run

run:
    CommandLine|contains|all:
        - '/generic:Microsoft_Windows_Shell_ZipFolder:filename='
        - '.zip'
        - '/pass:'
        - '/user:'

Stage 2: delete

delete:
    CommandLine|contains|all:
        - '/delete'
        - 'Microsoft_Windows_Shell_ZipFolder:filename='
        - '.zip'

Indicators

Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.

FieldKindValues
CommandLinematch
  • .zip corpus 6 (sigma 5, chronicle 1)
  • /delete corpus 8 (sigma 6, splunk 2)
  • /generic:Microsoft_Windows_Shell_ZipFolder:filename=
  • /pass: corpus 2 (sigma 2)
  • /user: corpus 7 (sigma 5, splunk 2)
  • Microsoft_Windows_Shell_ZipFolder:filename=