sigma_ransomware

YARA-2018-3769 Critical general Active
No description available for this rule
sigma_ransomware.yar Valid Syntax

rule sigma_ransomware {

  meta:
    author = "J from THL <j@techhelplist.com>"
    date = "20180509"
    reference1 = "https://www.virustotal.com/#/file/705ad78bf5503e6022f08da4c347afb47d4e740cfe6c39c08550c740c3be96ba"
    reference2 = "https://www.virustotal.com/#/file/bb3533440c27a115878ae541aba3bda02d441f3ea1864b868862255aabb0c8ff"
    version = 1
    maltype = "Ransomware"
    filetype = "memory"

  strings:
    $a = ".php?"
    $b = "uid="
    $c = "&uname="
    $d = "&os="
    $e = "&pcname="
    $f = "&total="
    $g = "&country="
    $h = "&network="
    $i = "&subid="

  condition:
    all of them
}

Rule Metadata

author
J from THL <j@techhelplist.com>
date
20180509
reference1
https://www.virustotal.com/#/file/705ad78bf5503e6022f08da4c347afb47d4e740cfe6c39c08550c740c3be96ba
reference2
https://www.virustotal.com/#/file/bb3533440c27a115878ae541aba3bda02d441f3ea1864b868862255aabb0c8ff
maltype
Ransomware
filetype
memory

String Definitions

{"name":"$a","value":"\".php?\""}
{"name":"$b","value":"\"uid=\""}
{"name":"$c","value":"\"&uname=\""}
{"name":"$d","value":"\"&os=\""}
{"name":"$e","value":"\"&pcname=\""}
{"name":"$f","value":"\"&total=\""}
{"name":"$g","value":"\"&country=\""}
{"name":"$h","value":"\"&network=\""}
{"name":"$i","value":"\"&subid=\""}

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 sigma_ransomware.yar /path/to/suspicious/file

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

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

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

Integration Examples

Python (yara-python)

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

ClamAV Integration

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

Rule Information

YARA ID
YARA-2018-3769
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