Detectionmediumtest

File Encryption Using Gpg4win

Detects usage of Gpg4win to encrypt files

Open in Detection LabConvert ruleBuild Package
Nasreddine BencherchaliCreated 2023-08-09550bbb84-ce5d-4e61-84ad-e590f0024dcdwindows
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 Logic2 selectors
detection:
    selection_metadata:
        - Image|endswith:
              - '\gpg.exe'
              - '\gpg2.exe'
        - Description: 'GnuPG’s OpenPGP tool'
    selection_cli:
        CommandLine|contains|all:
            - ' -c '
            - 'passphrase'
    condition: all of selection_*
False Positives
Unknown

False positive likelihood has not been assessed. Additional context may be needed during triage.

MITRE ATT&CK
Rule Metadata
Rule ID
550bbb84-ce5d-4e61-84ad-e590f0024dcd
Status
test
Level
medium
Type
Detection
Created
2023-08-09
Path
rules/windows/process_creation/proc_creation_win_gpg4win_encryption.yml
Raw Tags
attack.execution
View on GitHub