Detection rules › Sigma

7Zip Compressing Dump Files

Status
test
Severity
medium
Log source
product windows, category process_creation
Author
Nasreddine Bencherchali (Nextron Systems)
Source
github.com/SigmaHQ/sigma

Detects execution of 7z in order to compress a file with a ".dmp"/".dump" extension, which could be a step in a process of dump file exfiltration.

MITRE ATT&CK coverage

Event coverage

ProviderEventTitle
SysmonEvent ID 1Process creation

Rule body yaml

title: 7Zip Compressing Dump Files
id: ec570e53-4c76-45a9-804d-dc3f355ff7a7
related:
    - id: 1ac14d38-3dfc-4635-92c7-e3fd1c5f5bfc
      type: derived
status: test
description: Detects execution of 7z in order to compress a file with a ".dmp"/".dump" extension, which could be a step in a process of dump file exfiltration.
references:
    - https://thedfirreport.com/2022/09/26/bumblebee-round-two/
author: Nasreddine Bencherchali (Nextron Systems)
date: 2022-09-27
modified: 2026-06-05
tags:
    - attack.collection
    - attack.t1560.001
logsource:
    category: process_creation
    product: windows
detection:
    selection_img:
        - Description|contains: '7-Zip'
        - Image|endswith:
              - '\7z.exe'
              - '\7zr.exe'
              - '\7za.exe'
        - OriginalFileName:
              - '7z.exe'
              - '7za.exe'
              - '7zr.exe'
    selection_extension:
        CommandLine|contains:
            - '.dmp'
            - '.dump'
            - '.hdmp'
    condition: all of selection_*
falsepositives:
    - Legitimate use of 7z with a command line in which ".dmp" or ".dump" appears accidentally
    - Legitimate use of 7z to compress WER ".dmp" files for troubleshooting
level: medium

Stages and Predicates

Stage 0: condition

all of selection_*

Stage 1: selection_img

selection_img:
    - Description|contains: '7-Zip'
    - Image|endswith:
          - '\7z.exe'
          - '\7zr.exe'
          - '\7za.exe'
    - OriginalFileName:
          - '7z.exe'
          - '7za.exe'
          - '7zr.exe'

Stage 2: selection_extension

selection_extension:
    CommandLine|contains:
        - '.dmp'
        - '.dump'
        - '.hdmp'

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
  • .dmp corpus 10 (sigma 8, chronicle 2)
  • .dump corpus 3 (sigma 3)
  • .hdmp corpus 3 (sigma 3)
Descriptionmatch
  • 7-Zip corpus 3 (sigma 3)
Imageends_with
  • \7z.exe corpus 4 (sigma 4)
  • \7za.exe corpus 3 (sigma 3)
  • \7zr.exe corpus 3 (sigma 3)
OriginalFileNameeq
  • 7z.exe corpus 5 (sigma 4, splunk 1)
  • 7za.exe corpus 5 (sigma 4, splunk 1)
  • 7zr.exe corpus 5 (sigma 4, splunk 1)