RANSOMWARE_RAA

YARA-2016-0196 Critical general Active

Identifes samples containing JS dropper similar to RAA ransomware.

RANSOMWARE_RAA.yar Valid Syntax
rule RANSOMWARE_RAA {

	meta:
		description = "Identifes samples containing JS dropper similar to RAA ransomware."
		author = "nshadov"
		reference = "https://malwr.com/analysis/YmE4MDNlMzk2MjY3NDdlYWE1NzFiOTNlYzVhZTlkM2Y/"
		date = "2016-06-15"
		hash = "535494aa6ce3ccef7346b548da5061a9"
		far = "unknown"
		frr = "unknown"
		
	strings:
		$sp0 = "CryptoJS.AES.decrypt" fullword ascii
		$sp1 = "RAA-SEP" fullword ascii
		$sb0 = "ActiveXObject(\"Scriptlet.TypeLib\")" fullword ascii
		$sb1 = "ActiveXObject(\"Scripting.FileSystemObject\")" fullword ascii
		$sb2 = "WScript.CreateObject(\"WScript.Shell\");" fullword ascii
		
	condition:
		filesize > 10KB and filesize < 800KB and ( (all of ($sp*)) or ( (all of ($sb*)) and 1 of ($sp*) ) )
		
	}

Rule Metadata

description
Identifes samples containing JS dropper similar to RAA ransomware.
author
nshadov
reference
https://malwr.com/analysis/YmE4MDNlMzk2MjY3NDdlYWE1NzFiOTNlYzVhZTlkM2Y/
date
2016-06-15
hash
535494aa6ce3ccef7346b548da5061a9
far
unknown
frr
unknown

String Definitions

{"name":"$sp0","value":"\"CryptoJS.AES.decrypt\" fullword ascii"}
{"name":"$sp1","value":"\"RAA-SEP\" fullword ascii"}
{"name":"$sb0","value":"\"ActiveXObject(\\\"Scriptlet.TypeLib\\\")\" fullword ascii"}
{"name":"$sb1","value":"\"ActiveXObject(\\\"Scripting.FileSystemObject\\\")\" fullword ascii"}
{"name":"$sb2","value":"\"WScript.CreateObject(\\\"WScript.Shell\\\");\" fullword ascii"}

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

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

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

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

Integration Examples

Python (yara-python)

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

ClamAV Integration

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

Rule Information

YARA ID
YARA-2016-0196
Author
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