Skip to content

YARA · SEKOIA.IO Community

SEKOIA_Ransomware_Win_Scransom

Finds ScRansom samples based on specific strings

MalwareSEKOIA.IO CommunityDetection Rule License 1.1Compiles with YARA-X
Author
Sekoia.io
Date
2023-08-24
Modified
2024-12-19
Score / Quality
75 / 80

What this rule detects

Finds ScRansom samples based on specific strings

Targets: Windows PE.

It defines 17 patterns (17 text, 0 hex, 0 regex).

Summary generated from the rule's metadata and condition.

Rule source

ransomware-win-scransom.yarDetection Rule License 1.1
rule SEKOIA_Ransomware_Win_Scransom : FILE
{
	meta:
		description = "Finds ScRansom samples based on specific strings"
		author = "Sekoia.io"
		id = "ea799295-1332-49c6-9816-035b91fc9b4f"
		date = "2023-08-24"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/ransomware_win_scransom.yar#L1-L31"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "3b8034bc5e0919d6c05dd2f2079c40836f241f2db02c1baf70ecb530db90847f"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$str01 = "TIMATOMAFULL" wide
		$str02 = ".Encrypted" wide
		$str03 = ".Encrypting" wide
		$str04 = "File Name :" wide
		$str05 = "File size :" wide
		$str06 = "TIMATOMA#" wide
		$str07 = "Already Encrypted" wide
		$str08 = "HOW TO RECOVERY FILES.TXT" wide
		$str09 = "%d folder(s) searched and %d file(s) found - %.3f second(s)" wide
		$str10 = "Search cancelled -" wide
		$str11 = "note.txt" wide
		$str12 = "Cannot sort the list while a search is in progress." wide
		$str13 = "Cancelling search, please wait..." wide
		$str14 = "Error showing process list" wide
		$str15 = "[System Process]" wide
		$str16 = "taskkill /f /im" wide
		$str17 = "kill.bat" wide

	condition:
		uint16( 0 ) == 0x5a4d and 15 of them
}

Strings (17 patterns)

IdentifierTypeValueModifiers
$str01text"TIMATOMAFULL"wide
$str02text".Encrypted"wide
$str03text".Encrypting"wide
$str04text"File Name :"wide
$str05text"File size :"wide
$str06text"TIMATOMA#"wide
$str07text"Already Encrypted"wide
$str08text"HOW TO RECOVERY FILES.TXT"wide
$str09text"%d folder(s) searched and %d file(s) found - %.3f second(s)"wide
$str10text"Search cancelled -"wide
$str11text"note.txt"wide
$str12text"Cannot sort the list while a search is in progress."wide
$str13text"Cancelling search, please wait..."wide
$str14text"Error showing process list"wide
$str15text"[System Process]"wide
$str16text"taskkill /f /im"wide
$str17text"kill.bat"wide

Condition

uint16( 0 ) == 0x5a4d and 15 of them

In plain words (Heuristic)

  • The file must start with “MZ” — a Windows executable (PE).
  • At least 15 patterns in the rule must match.

Test this rule in your browser

Drop a file to scan it with this rule using YARA-X compiled to WebAssembly. Nothing is uploaded.

Drop a file here or click to chooseScanned locally with YARA-X. Files up to 200 MB.

Open in editor

References

Licence & attribution

Author: Sekoia.io

Source repository: SEKOIA.IO Community @ a438a5901a

Licence: Detection Rule License 1.1 (repository licence)

Original rule

Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.

Rule id: ea799295-1332-49c6-9816-035b91fc9b4f

Metadata

version1.0
classificationTLP:CLEAR

Tags:FILE