YARA · BlackBerry Research & Intelligence (via Open-Source-YARA-rules)
BLACKBERRY_Eternitystealer
Detects Eternity Stealer
- Author
- BlackBerry Threat Research Team
- Date
- 2022-05-22
- Modified
- 2022-07-07
- Score / Quality
- 75 / 85
What this rule detects
Detects Eternity Stealer
Targets: Windows PE.
It defines 9 patterns (9 text, 0 hex, 0 regex). YARA modules used: pe.
Summary generated from the rule's metadata and condition.
Rule source
Includes the imports needed to compile it on its own.
import "pe"
rule BLACKBERRY_Eternitystealer : FILE
{
meta:
= "Detects Eternity Stealer"
= "BlackBerry Threat Research Team"
= "8bccc143-c250-5d52-85cb-b315dc6fb679"
= "2022-05-22"
= "2022-07-07"
= "https://blogs.blackberry.com/en/2022/06/threat-spotlight-eternity-project-maas-goes-on-and-on"
= "https://github.com/mikesxrs/Open-Source-YARA-rules/blob/ec0056f767db98bf6d5fd63877ad51fb54d350e9/Blackberry/EternityStealer.yar#L4-L32"
= "N/A"
= "466030b30c4436c3e3896ca3385ae829696e7f351bba81bc3c0efbc62b86645f"
= 75
= 85
= "FILE"
= "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 = "Corrupting Growtopia.." wide
$s2 = "growtopia1.com" wide
$s3 = "Deleting previous file from startup and copying new one." wide
$s4 = "Debug mode, dont share this stealer anywhere." wide
$s5 = "Sending info to Eternity.." wide
$s6 = "Taking and uploading screenshot.." wide
$s7 = "dcd.exe" wide
$s8 = "https://eterprx.net" wide
$s9 = "https://eternitypr.net" wide
condition:
( uint16( 0 ) == 0x5a4d and pe.imphash ( ) == "f34d5f2d4577ed6d9ceec516c1f5a744" and all of ( $s* ) )
}
Strings (9 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | text | "Corrupting Growtopia.." | wide |
| $s2 | text | "growtopia1.com" | wide |
| $s3 | text | "Deleting previous file from startup and copying new one." | wide |
| $s4 | text | "Debug mode, dont share this stealer anywhere." | wide |
| $s5 | text | "Sending info to Eternity.." | wide |
| $s6 | text | "Taking and uploading screenshot.." | wide |
| $s7 | text | "dcd.exe" | wide |
| $s8 | text | "https://eterprx.net" | wide |
| $s9 | text | "https://eternitypr.net" | wide |
Condition
( uint16( 0 ) == 0x5a4d and pe.imphash ( ) == "f34d5f2d4577ed6d9ceec516c1f5a744" and all of ( $s* ) )In plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- All patterns in ( $s* ) must match.
- Uses the pe module.
- Checks the PE import hash (imphash).
Test this rule in your browser
Drop a file to scan it with this rule using YARA-X compiled to WebAssembly. Nothing is uploaded.
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”
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: 8bccc143-c250-5d52-85cb-b315dc6fb679
Tags:FILE
Related rules
- MalwareBlackBerry Research & Intelligence (via Open-Source-YARA-rules)· BlackBerry Threat Research Team· 2022-04-06
- MalwareBlackBerry Research & Intelligence (via Open-Source-YARA-rules)· BlackBerry Threat Research Team· 2022-06-14
- MalwareBlackBerry Research & Intelligence (via Open-Source-YARA-rules)· BlackBerry Threat Research Team· 2022-06-14
- MalwareBlackBerry Research & Intelligence (via Open-Source-YARA-rules)· BlackBerry Threat Research Team· 2022-05-22
- MalwareBlackBerry Research & Intelligence (via Open-Source-YARA-rules)· BlackBerry Threat Research Team· 2021-10-14
- MalwareBlackBerry Research & Intelligence (via Open-Source-YARA-rules)· BlackBerry Threat Research Team· 2021-11-09
- MalwareBlackBerry Research & Intelligence (via Open-Source-YARA-rules)· BlackBerry Threat Research Team· 2021-11-04
- MalwareBlackBerry Research & Intelligence (via Open-Source-YARA-rules)· BlackBerry Threat Research Team· 2021-11-23