Saltar al contenido

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

BLACKBERRY_Boratrat

Detects BoratRAT.exe

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

Qué detecta esta regla

Detects BoratRAT.exe

Objetivos: PE de Windows.

Define 10 patrones (10 de texto, 0 hex, 0 regex).

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

Código de la regla

boratrat.yarApache License 2.0
rule BLACKBERRY_Boratrat : FILE
{
	meta:
		description = "Detects BoratRAT.exe"
		author = "BlackBerry Threat Research Team"
		id = "d3c73c3b-885a-5fc2-a1bd-a05cadf1512f"
		date = "2022-04-13"
		modified = "2022-07-07"
		reference = "https://blogs.blackberry.com/en/2022/04/threat-thursday-boratrat"
		source_url = "https://github.com/mikesxrs/Open-Source-YARA-rules/blob/ec0056f767db98bf6d5fd63877ad51fb54d350e9/Blackberry/BoratRAT.yar#L1-L41"
		license_url = "N/A"
		logic_hash = "3141300495288a96b48cfea491683042d172143295135ff82c058200c8d5108d"
		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 = "enigma1"
		$s2 = "enigma2"
		$s3 = "Server.Forms.FormFileManager.resources"
		$s4 = "Server.Forms.FormFileSearcher.resources"
		$s5 = "Server.Forms.FormKeylogger.resources"
		$s6 = "Server.Forms.FormNetstat.resources"
		$s7 = "Server.Forms.FormFun.resources"
		$s8 = "Server.Forms.FormWebcam.resources"
		$s9 = "BoratRat"
		$s10 = "Keylogger.exe"

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

Cadenas (10 patrones)

IdentificadorTipoValorModificadores
$s1texto"enigma1"
$s2texto"enigma2"
$s3texto"Server.Forms.FormFileManager.resources"
$s4texto"Server.Forms.FormFileSearcher.resources"
$s5texto"Server.Forms.FormKeylogger.resources"
$s6texto"Server.Forms.FormNetstat.resources"
$s7texto"Server.Forms.FormFun.resources"
$s8texto"Server.Forms.FormWebcam.resources"
$s9texto"BoratRat"
$s10texto"Keylogger.exe"

Condición

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

En palabras sencillas (Heurística)

  • El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
  • Deben coincidir todos los patrones de la regla.

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: d3c73c3b-885a-5fc2-a1bd-a05cadf1512f

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