Portable Gpg.EXE Execution

Last updated on:

About the rule

Rule Type

Standard

Rule Description

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

Severity

Trouble

Rule Requirement

Criteria

Action1: actionname = "Process started" AND (PROCESSNAME endswith "\gpg.exe,\gpg2.exe" OR ORIGINALFILENAME = "gpg.exe" OR MESSAGE = "GnuPG’s OpenPGP tool") AND PROCESSNAME notcontains ":\Program Files (x86)\GNU\GnuPG\bin\,:\Program Files (x86)\GnuPG VS-Desktop\,:\Program Files (x86)\GnuPG\bin\,:\Program Files (x86)\Gpg4win\bin" select Action1.HOSTNAME,Action1.MESSAGE,Action1.COMMANDLINE,Action1.FILE_NAME,Action1.PROCESSNAME,Action1.USERNAME,Action1.PARENTPROCESSNAME

Detection

Execution Mode

realtime

Log Sources

Windows

Author

frack113, Nasreddine Bencherchali (Nextron Systems)