crime_ransomware_windows_GPGQwerty

YARA-2025-0752 Critical general Active

Detect GPGQwerty ransomware

crime_ransomware_windows_GPGQwerty.yar Valid Syntax
rule crime_ransomware_windows_GPGQwerty: crime_ransomware_windows_GPGQwerty

{

meta:

author = "McAfee Labs"

description = "Detect GPGQwerty ransomware"

reference = "https://securingtomorrow.mcafee.com/mcafee-labs/ransomware-takes-open-source-path-encrypts-gnu-privacy-guard/"

strings:

$a = "gpg.exe –recipient qwerty  -o"

$b = "%s%s.%d.qwerty"

$c = "del /Q /F /S %s$recycle.bin"

$d = "cryz1@protonmail.com"

condition:

all of them

}

Rule Metadata

author
McAfee Labs
description
Detect GPGQwerty ransomware
reference
https://securingtomorrow.mcafee.com/mcafee-labs/ransomware-takes-open-source-path-encrypts-gnu-privacy-guard/

Tags

crime_ransomware_windows_GPGQwerty

String Definitions

{"name":"$a","value":"\"gpg.exe \u2013recipient qwerty -o\""}
{"name":"$b","value":"\"%s%s.%d.qwerty\""}
{"name":"$c","value":"\"del \/Q \/F \/S %s"}
{"name":"$d","value":"\"cryz1@protonmail.com\""}

Threat Analysis

This YARA rule is designed to detect general threats.

Severity Level: Critical

The rule uses pattern matching to identify specific byte sequences, strings, or behavioral patterns associated with malicious activity.

Detection Capabilities

  • File-based detection for executables and documents
  • Memory scanning for running processes
  • Network traffic analysis support

Command Line Usage

# Scan a single file
yara crime_ransomware_windows_GPGQwerty.yar /path/to/suspicious/file

# Scan a directory recursively
yara -r crime_ransomware_windows_GPGQwerty.yar /path/to/directory/

# Scan with metadata output
yara -m crime_ransomware_windows_GPGQwerty.yar target_file

# Scan process memory (Linux)
yara crime_ransomware_windows_GPGQwerty.yar /proc/[pid]/exe

Integration Examples

Python (yara-python)

import yara
rules = yara.compile(filepath='crime_ransomware_windows_GPGQwerty.yar')
matches = rules.match('/path/to/file')

ClamAV Integration

clamscan --yara-rules=crime_ransomware_windows_GPGQwerty.yar /path/to/scan

Rule Information

YARA ID
YARA-2025-0752
Created
August 19, 2025
Last Updated
August 19, 2025
Last Imported
Never

Threat Intelligence

Risk Level Critical
Category general
Detection Confidence Analysis Pending
False Positive Rate Not Available
Last Seen in Wild No Data

Export Options