unpacked_shiva_ransomware
YARA-2025-0714
Critical
general
Active
Rule to detect an unpacked sample of Shiva ransopmw
unpacked_shiva_ransomware.yar
Valid Syntax
rule unpacked_shiva_ransomware {
meta:
description = "Rule to detect an unpacked sample of Shiva ransopmw"
author = "Marc Rivero | @seifreed"
reference = "https://twitter.com/malwrhunterteam/status/1037424962569732096"
strings:
$s1 = "c:\\Users\\sys\\Desktop\\v 0.5\\Shiva\\Shiva\\obj\\Debug\\shiva.pdb" fullword ascii
$s2 = "This email will be as confirmation you are ready to pay for decryption key." fullword wide
$s3 = "Your important files are now encrypted due to a security problem with your PC!" fullword wide
$s4 = "write.php?info=" fullword wide
$s5 = " * Do not try to decrypt your data using third party software, it may cause permanent data loss." fullword wide
$s6 = " * Do not rename encrypted files." fullword wide
$s7 = ".compositiontemplate" fullword wide
$s8 = "You have to pay for decryption in Bitcoins. The price depends on how fast you write to us." fullword wide
$s9 = "\\READ_IT.txt" fullword wide
$s10 = ".lastlogin" fullword wide
$s11 = ".logonxp" fullword wide
$s12 = " * Decryption of your files with the help of third parties may cause increased price" fullword wide
$s13 = "After payment we will send you the decryption tool that will decrypt all your files." fullword wide
condition:
( uint16(0) == 0x5a4d and filesize < 800KB ) and all of them
}
Rule Metadata
description
Rule to detect an unpacked sample of Shiva ransopmw
author
Marc Rivero | @seifreed
reference
https://twitter.com/malwrhunterteam/status/1037424962569732096
String Definitions
{"name":"$s1","value":"\"c:\\\\Users\\\\sys\\\\Desktop\\\\v 0.5\\\\Shiva\\\\Shiva\\\\obj\\\\Debug\\\\shiva.pdb\" fullword ascii"}
{"name":"$s2","value":"\"This email will be as confirmation you are ready to pay for decryption key.\" fullword wide"}
{"name":"$s3","value":"\"Your important files are now encrypted due to a security problem with your PC!\" fullword wide"}
{"name":"$s4","value":"\"write.php?info=\" fullword wide"}
{"name":"$s5","value":"\" * Do not try to decrypt your data using third party software, it may cause permanent data loss.\" fullword wide"}
{"name":"$s6","value":"\" * Do not rename encrypted files.\" fullword wide"}
{"name":"$s7","value":"\".compositiontemplate\" fullword wide"}
{"name":"$s8","value":"\"You have to pay for decryption in Bitcoins. The price depends on how fast you write to us.\" fullword wide"}
{"name":"$s9","value":"\"\\\\READ_IT.txt\" fullword wide"}
{"name":"$s10","value":"\".lastlogin\" fullword wide"}
{"name":"$s11","value":"\".logonxp\" fullword wide"}
{"name":"$s12","value":"\" * Decryption of your files with the help of third parties may cause increased price\" fullword wide"}
{"name":"$s13","value":"\"After payment we will send you the decryption tool that will decrypt all your files.\" fullword wide"}
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 unpacked_shiva_ransomware.yar /path/to/suspicious/file # Scan a directory recursively yara -r unpacked_shiva_ransomware.yar /path/to/directory/ # Scan with metadata output yara -m unpacked_shiva_ransomware.yar target_file # Scan process memory (Linux) yara unpacked_shiva_ransomware.yar /proc/[pid]/exe
Integration Examples
Python (yara-python)
import yara
rules = yara.compile(filepath='unpacked_shiva_ransomware.yar')
matches = rules.match('/path/to/file')
ClamAV Integration
clamscan --yara-rules=unpacked_shiva_ransomware.yar /path/to/scan
Rule Information
YARA ID
YARA-2025-0714
Author
Repository
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
Related Rules
Export Options
Similar Rules in general
YARA-2023-0001
CRI
Detect_Mimic_Ransomware
Detect_Mimic_Ransomware
YARA-2023-0002
MED
SystemBC_malware
Detect_SystemBC
YARA-2023-0003
MED
detect_catB
detect_CatB_ransomware
YARA-2022-0001
MED
detect_Typhon_Stealer
detect_Typhon_Stealer
YARA-2023-0004
MED
Nosu_stealer
Detect_Nosu_stealer
YARA-2022-0002
MED
detect_Lumma_stealer
detect_Lumma_stealer
YARA-2022-0003
MED
detect_StrelaStealer
detect_StrelaStealer
YARA-2022-0004
MED
detect_silence_Downloader
detect_silence_Downloader