Detectionmediumtest

Compress Data and Lock With Password for Exfiltration With 7-ZIP

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

Convert In Phoenix Studio

Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.

Launch
François HubautCreated Tue Jul 27Updated Mon Mar 139fbf5927-5261-4284-a71d-f681029ea574windows
Log Source
WindowsProcess Creation
ProductWindows← raw: windows
CategoryProcess Creation← raw: process_creation

Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.

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

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

Rule Metadata
Rule ID
9fbf5927-5261-4284-a71d-f681029ea574
Status
test
Level
medium
Type
Detection
Created
Tue Jul 27
Modified
Mon Mar 13
Path
rules/windows/process_creation/proc_creation_win_7zip_password_compression.yml
Raw Tags
attack.collectionattack.t1560.001
View on GitHub