Saltar al contenido

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

BLACKBERRY_Mal_Infostealer_EXE_Jupyter_Cert_36Ff

Detects Jupter executables by certificate OOO Sistema (36ff)

MalwareBlackBerry Research & Intelligence (via Open-Source-YARA-rules)Apache License 2.0Compila con YARA-X (con avisos)
Autor
BlackBerry Research & Intelligence Team
Fecha
2021-10-14
Modificada
2022-07-06
Puntuación / Calidad
75 / 85

Qué detecta esta regla

Detects Jupter executables by certificate OOO Sistema (36ff)

Objetivos: PE de Windows.

No tiene patrones: decide solo la condición (módulos, propiedades del archivo u otras reglas). Módulos YARA usados: pe.

YARA-X dice: warning[deprecated_field]: field `number_of_signatures` is deprecated

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.

mal-infostealer-exe-jupyter-cert-36ff.yarApache License 2.0
import "pe"

rule BLACKBERRY_Mal_Infostealer_EXE_Jupyter_Cert_36Ff : FILE
{
	meta:
		description = "Detects Jupter executables by certificate OOO Sistema (36ff)"
		author = "BlackBerry Research & Intelligence Team"
		id = "5671b149-4eb6-5b13-92de-01b71a001802"
		date = "2021-10-14"
		modified = "2022-07-06"
		reference = "https://blogs.blackberry.com/en/2022/01/threat-thursday-jupyter-infostealer-is-a-master-of-disguise"
		source_url = "https://github.com/mikesxrs/Open-Source-YARA-rules/blob/ec0056f767db98bf6d5fd63877ad51fb54d350e9/Blackberry/Mal_Infostealer_EXE_Jupyter_Cert_36ff.yar#L3-L18"
		license_url = "N/A"
		logic_hash = "8f543c592f23257bda8902229a9a8a735bb593254b279a1786fc85734cd56905"
		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"

	condition:
		uint16( 0 ) == 0x5a4d and for any i in ( 0 .. pe.number_of_signatures ) : ( pe.signatures [ i ] . issuer contains "Certum Extended Validation Code Signing CA SHA2" and pe.signatures [ i ] . serial == "36:ff:67:4e:b3:05:e9:9c:35:56:5f:a3:01:d5:c4:b0" )
}

Condición

uint16( 0 ) == 0x5a4d and for any i in ( 0 .. pe.number_of_signatures ) : ( pe.signatures [ i ] . issuer contains "Certum Extended Validation Code Signing CA SHA2" and pe.signatures [ i ] . serial == "36:ff:67:4e:b3:05:e9:9c:35:56:5f:a3:01:d5:c4:b0" )

En palabras sencillas (Heurística)

  • El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
  • Un bucle for comprueba una propiedad sobre varias coincidencias o elementos.
  • Usa el módulo pe.
  • Comprueba la firma Authenticode.

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 Research & Intelligence 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: 5671b149-4eb6-5b13-92de-01b71a001802

Etiquetas:FILE