Skip to content

YARA · BlackBerry Research & Intelligence (via Open-Source-YARA-rules)

BLACKBERRY_Eternityransom

Detects Eternity Ransomware

MalwareBlackBerry Research & Intelligence (via Open-Source-YARA-rules)Apache License 2.0Compiles with YARA-X
Author
BlackBerry Threat Research Team
Date
2022-05-22
Modified
2022-07-07
Score / Quality
75 / 85

What this rule detects

Detects Eternity Ransomware

Targets: Windows PE.

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

Summary generated from the rule's metadata and condition.

Rule source

eternityransom.yarApache License 2.0
rule BLACKBERRY_Eternityransom : FILE
{
	meta:
		description = "Detects Eternity Ransomware"
		author = "BlackBerry Threat Research Team"
		id = "2a00bca6-2245-5330-9ad7-522f7bab42f4"
		date = "2022-05-22"
		modified = "2022-07-07"
		reference = "https://blogs.blackberry.com/en/2022/06/threat-spotlight-eternity-project-maas-goes-on-and-on"
		source_url = "https://github.com/mikesxrs/Open-Source-YARA-rules/blob/ec0056f767db98bf6d5fd63877ad51fb54d350e9/Blackberry/EternityRansom.yar#L4-L28"
		license_url = "N/A"
		logic_hash = "9c4eabc8441b0bb80e582f4227f85b3e000e3fc6b1da237d9ce55df9716fb571"
		score = 75
		quality = 85
		tags = "FILE"
		license = "This Yara rule is provided under the Apache License 2.0 (https://www.apache.org/licenses/LICENSE-2.0) and open to any user or organization, as long as you use it under this license and ensure originator credit in any derivative to The BlackBerry Research & Intelligence Team"

	strings:
		$s1 = "The harddisks of your computer have been encrypted with an Military grade encryption algorithm."
		$s2 = "by Eternity group"
		$s3 = "Eternity"
		$s4 = "decryption_password"
		$s5 = "Povlsomware"

	condition:
		( uint16( 0 ) == 0x5a4d and all of ( $s* ) )
}

Strings (5 patterns)

IdentifierTypeValueModifiers
$s1text"The harddisks of your computer have been encrypted with an Military grade encryption algorithm."
$s2text"by Eternity group"
$s3text"Eternity"
$s4text"decryption_password"
$s5text"Povlsomware"

Condition

( uint16( 0 ) == 0x5a4d and all of ( $s* ) )

In plain words (Heuristic)

  • The file must start with “MZ” — a Windows executable (PE).
  • All patterns in ( $s* ) 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: BlackBerry Threat Research Team

Source repository: BlackBerry Research & Intelligence (via Open-Source-YARA-rules) @ ec0056f767

Licence: Apache License 2.0 (stated in the rule's own meta)

“This Yara rule is provided under the Apache License 2.0 (https://www.apache.org/licenses/LICENSE-2.0) and open to any user or organization, as long as you use it under this license and ensure originator credit in any derivative to The BlackBerry Research & Intelligence Team”

Original rule

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

Rule id: 2a00bca6-2245-5330-9ad7-522f7bab42f4

Tags:FILE