Skip to content
WETNav

Community detections

gpg2.exe

5 community detection rules look for suspicious gpg2.exe command lines, most often for Data Encrypted for Impact (T1486). WETNav has no switch-by-switch reference for it yet, so the explainer reads its arguments generically and checks them against these rules.

Rules by level

2 high3 medium

Worst caseHigh
Explain a gpg2.exe command line

What defenders look for

  • High
    File Encryption/Decryption Via Gpg4win From Suspicious Locations

    Detects usage of Gpg4win to encrypt/decrypt files located in potentially suspicious locations.

    by Nasreddine Bencherchali (Nextron Systems), X__Junior (Nextron Systems)

  • High
    Renamed Gpg.EXE Execution

    Detects the execution of a renamed "gpg.exe". Often used by ransomware and loaders to decrypt/encrypt data.

    T1486by Nasreddine Bencherchali (Nextron Systems), frack113

  • Medium
    File Decryption Using Gpg4win

    Detects usage of Gpg4win to decrypt files

    by Nasreddine Bencherchali (Nextron Systems)

  • Medium
    File Encryption Using Gpg4win

    Detects usage of Gpg4win to encrypt files

    by Nasreddine Bencherchali (Nextron Systems)

  • Medium
    Portable Gpg.EXE Execution

    Detects the execution of "gpg.exe" from uncommon location. Often used by ransomware and loaders to decrypt/encrypt data.

    T1486by frack113, Nasreddine Bencherchali (Nextron Systems)

Rules from SigmaHQ (rules/windows/process_creation), Detection Rule License (DRL) 1.1. Each rule links to its source and credits its authors.

Questions

Is gpg2.exe malicious?
Not by itself. These rules flag specific ways of running it: 5 rules, 2 rated high or critical. File Encryption/Decryption Via Gpg4win From Suspicious Locations; Renamed Gpg.EXE Execution; File Decryption Using Gpg4win. Judge a run by its command line, its parent process, the account and the host.
What does gpg2.exe have to do with ATT&CK?
The rules for it map to Data Encrypted for Impact (T1486).
How do I check a gpg2.exe command line?
Paste it into the WETNav command explainer. It reads every argument, pulls out indicators and evaluates all 1,192 Sigma process creation rules in your browser, including these.