Saltar al contenido

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

BLACKBERRY_Eternityworm

Detects Eternity Worm

GenéricaBlackBerry Research & Intelligence (via Open-Source-YARA-rules)Apache License 2.0Compila con YARA-X
Autor
BlackBerry Threat Research Team
Fecha
2022-05-22
Modificada
2022-07-07
Puntuación / Calidad
75 / 85

Qué detecta esta regla

Detects Eternity Worm

Objetivos: PE de Windows.

Define 6 patrones (6 de texto, 0 hex, 0 regex). Módulos YARA usados: pe.

Resumen generado a partir de los metadatos y la condición de la regla.

Código de la regla

Incluye los imports necesarios para compilarla por sí sola.

eternityworm.yarApache License 2.0
import "pe"

rule BLACKBERRY_Eternityworm : FILE
{
	meta:
		description = "Detects Eternity Worm"
		author = "BlackBerry Threat Research Team"
		id = "46860918-2c6e-528e-807c-ef6cf6c4f89b"
		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/EternityWorm.yar#L4-L31"
		license_url = "N/A"
		logic_hash = "6d944eddc1cc5acbeab1a8c85f16380b22467a069f91e7e8dd0b682d98e71976"
		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 = "Eternity 2022" wide
		$s2 = "Eternity" wide
		$s3 = "Anal Worm" wide
		$s4 = "Made in Heaven" wide
		$s5 = "Van Darkholme" wide
		$s6 = "EternityWorm.exe" wide

	condition:
		( uint16( 0 ) == 0x5a4d and pe.imphash ( ) == "f34d5f2d4577ed6d9ceec516c1f5a744" and all of ( $s* ) )
}

Cadenas (6 patrones)

IdentificadorTipoValorModificadores
$s1texto"Eternity 2022"wide
$s2texto"Eternity"wide
$s3texto"Anal Worm"wide
$s4texto"Made in Heaven"wide
$s5texto"Van Darkholme"wide
$s6texto"EternityWorm.exe"wide

Condición

( uint16( 0 ) == 0x5a4d and pe.imphash ( ) == "f34d5f2d4577ed6d9ceec516c1f5a744" and all of ( $s* ) )

En palabras sencillas (Heurística)

  • El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
  • Deben coincidir todos los patrones de ( $s* ).
  • Usa el módulo pe.
  • Comprueba el hash de importaciones PE (imphash).

Prueba esta regla en tu navegador

Arrastra un archivo para escanearlo con esta regla usando YARA-X compilado a WebAssembly. No se sube nada.

Arrastra un archivo aquí o haz clic para elegirSe escanea en local con YARA-X. Archivos de hasta 200 MB.

Abrir en el editor

Referencias

Licencia y atribución

Autor: BlackBerry Threat Research Team

Repositorio de origen: BlackBerry Research & Intelligence (via Open-Source-YARA-rules) @ ec0056f767

Licencia: Apache License 2.0 (indicada en los metadatos de la regla)

“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”

Regla original

Obtenida a través de YARA Forge 20260927, que añade a los nombres el prefijo de la fuente y campos meta normalizados.

Id de la regla: 46860918-2c6e-528e-807c-ef6cf6c4f89b

Etiquetas:FILE

  • 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
  • GenéricaBlackBerry Research & Intelligence (via Open-Source-YARA-rules)· BlackBerry Threat Research Team· 2022-04-13
  • GenéricaBlackBerry 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· 2022-05-22
  • MalwareBlackBerry Research & Intelligence (via Open-Source-YARA-rules)· BlackBerry Threat Research Team· 2022-05-22
  • GenéricaBlackBerry Research & Intelligence (via Open-Source-YARA-rules)· BlackBerry Threat Research Team· 2022-06-03