Sigma rule: Potential CVE-2022-29072 Exploitation Attempt

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-2d3000adbccd, updated 2024-08-15T00:00:00.000Z.

Rule

Title
Potential CVE-2022-29072 Exploitation Attempt
Status
test
Level
high
Author
frack113, @kostastsale
Date
2022-04-17
Modified
2024-08-15
File
rules-emerging-threats/2022/Exploits/CVE-2022-29072/proc_creation_win_exploit_cve_2022_29072_7zip.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects potential exploitation attempts of CVE-2022-29072, a 7-Zip privilege escalation and command execution vulnerability.
7-Zip version 21.07 and earlier on Windows allows privilege escalation (CVE-2022-29072) and command execution when a file with the .7z extension is dragged to the Help>Contents area. This is caused by misconfiguration of 7z.dll and a heap overflow.
The command runs in a child process under the 7zFM.exe process.

Log source

product
windows
category
process_creation

Detection

selection_parent:
    ParentImage|endswith: '\7zFM.exe'
selection_img:
    - Image|endswith:
          - '\cmd.exe'
          - '\powershell.exe'
          - '\pwsh.exe'
    - OriginalFileName:
          - 'Cmd.Exe'
          - 'PowerShell.EXE'
          - 'pwsh.dll'
filter_main_extensions_and_flags:
    - CommandLine|contains:
          - ' /c '
          - ' /k '
          - ' /r '
    - CommandLine|endswith:
          - '.bat'
          - '.cmd'
          - '.ps1'
filter_main_null:
    CommandLine: null
condition: all of selection_* and not 1 of filter_main_*

False positives (as the rule lists them)

  • Unknown

Tags

  • attack.execution
  • cve.2022-29072
  • detection.emerging-threats

CVEs 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-emerging-threats/2022/Exploits/CVE-2022-29072/proc_creation_win_exploit_cve_2022_29072_7zip.yml

Sources and licences

  • SigmaHQ

    "Potential CVE-2022-29072 Exploitation Attempt" by frack113, @kostastsale (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules-emerging-threats/2022/Exploits/CVE-2022-29072/proc_creation_win_exploit_cve_2022_29072_7zip.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: Potential CVE-2022-29072 Exploitation Attempt",
entity page, dataset version ref-2d3000adbccd, updated 2024-08-15T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/9a4ccd1a-3526-4d99-b980-9f9c5d3a6ee3 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 9a4ccd1a-3526-4d99-b980-9f9c5d3a6ee3, 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.