Sigma rule: Suspicious Greedy Compression Using Rar.EXE

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-defa8c52231f, updated 2024-01-02T00:00:00.000Z.

Rule

Title
Suspicious Greedy Compression Using Rar.EXE
Status
test
Level
high
Author
X__Junior (Nextron Systems), Florian Roth (Nextron Systems)
Date
2022-12-15
Modified
2024-01-02
File
rules/windows/process_creation/proc_creation_win_rar_susp_greedy_compression.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects RAR usage that creates an archive from a suspicious folder, either a system folder or one of the folders often used by attackers for staging purposes

Log source

product
windows
category
process_creation

Detection

# Example : rar.exe a -m5 -r -y -ta20210204000000 -hp1qazxcde32ws -v2560k Asia1Dpt-PC-c.rar c:\\*.doc c:\\*.docx c:\\*.xls c:\\*.xlsx c:\\*.pdf c:\\*.ppt c:\\*.pptx c:\\*.jpg c:\\*.txt >nul
selection_opt_1:
    - Image|endswith: '\rar.exe'
    - Description: 'Command line RAR'
selection_opt_2:
    CommandLine|contains:
        - '.exe a '
        - ' a -m'
selection_cli_flags:
    CommandLine|contains|all:
        - ' -hp' # password
        - ' -r ' # recursive
selection_cli_folders:
    CommandLine|contains:
        - ' ?:\\\*.'
        - ' ?:\\\\\*.'
        - ' ?:\$Recycle.bin\'
        - ' ?:\PerfLogs\'
        - ' ?:\Temp'
        - ' ?:\Users\Public\'
        - ' ?:\Windows\'
        - ' %public%'
condition: 1 of selection_opt_* and all of selection_cli_*

False positives (as the rule lists them)

  • Unknown

Tags

  • attack.execution
  • attack.t1059

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_rar_susp_greedy_compression.yml

Sources and licences

  • SigmaHQ

    "Suspicious Greedy Compression Using Rar.EXE" by X__Junior (Nextron Systems), Florian Roth (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_rar_susp_greedy_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: Suspicious Greedy Compression Using Rar.EXE",
entity page, dataset version ref-defa8c52231f, updated 2024-01-02T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/afe52666-401e-4a02-b4ff-5d128990b8cb (accessed 2026-11-03).
Underlying source: SigmaHQ rule afe52666-401e-4a02-b4ff-5d128990b8cb, 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.