Sigma rule: Compress Data and Lock With Password for Exfiltration With 7-ZIP

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-9e59ac2ac12f, updated 2026-06-05T00:00:00.000Z.

Rule

Title
Compress Data and Lock With Password for Exfiltration With 7-ZIP
Status
test
Level
medium
Author
frack113
Date
2021-07-27
Modified
2026-06-05
File
rules/windows/process_creation/proc_creation_win_7zip_password_compression.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

An adversary may compress or encrypt data that is collected prior to exfiltration using 3rd party utilities

Log source

product
windows
category
process_creation

Detection

selection_img:
    - Description|contains: '7-Zip'
    - Image|endswith:
          - '\7z.exe'
          - '\7zr.exe'
          - '\7za.exe'
    - OriginalFileName:
          - '7z.exe'
          - '7za.exe'
          - '7zr.exe'
selection_password:
    CommandLine|contains: ' -p'
selection_action:
    CommandLine|contains:
        - ' a '
        - ' u '
condition: all of selection_*

False positives (as the rule lists them)

  • Legitimate activity is expected since compressing files with a password is common.

Tags

  • attack.collection
  • attack.t1560.001

MITRE ATT&CK ids this rule names

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_7zip_password_compression.yml

Sources and licences

  • SigmaHQ

    "Compress Data and Lock With Password for Exfiltration With 7-ZIP" by frack113 (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_7zip_password_compression.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Compress Data and Lock With Password for Exfiltration With 7-ZIP",
entity page, dataset version ref-9e59ac2ac12f, updated 2026-06-05T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/9fbf5927-5261-4284-a71d-f681029ea574 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 9fbf5927-5261-4284-a71d-f681029ea574, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.