Saltar al contenido

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

BLACKBERRY_Mal_Infostealer_Win32_Jupyter_Download_And_Execute_Module

Detects Jupter download and execute module. Research has shown it downloading SolarDelphi / JupyterStealer.

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

Qué detecta esta regla

Detects Jupter download and execute module. Research has shown it downloading SolarDelphi / JupyterStealer.

Objetivos: PE de Windows, Ensamblado .NET.

Define 8 patrones (5 de texto, 3 hex, 0 regex). Módulos YARA usados: pe, dotnet.

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-win32-jupyter-download-and-execute-module.yarApache License 2.0
import "pe"
import "dotnet"

rule BLACKBERRY_Mal_Infostealer_Win32_Jupyter_Download_And_Execute_Module
{
	meta:
		description = "Detects Jupter download and execute module. Research has shown it downloading SolarDelphi / JupyterStealer."
		author = "BlackBerry Threat Research Team"
		id = "318b0327-b4b0-57a6-8a24-51320b1026ec"
		date = "2021-11-09"
		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_Win32_Jupyter_Download_and_Execute_Module.yar#L4-L30"
		license_url = "N/A"
		logic_hash = "7491eeb06e88512711688a1baf6967e6b6bf80ad4937c16fd49059903cac35df"
		score = 75
		quality = 85
		tags = ""
		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:
		$e1 = { 68 00 74 00 74 00 70 00 3A 00 2F 00 2F 00 }
		$e2 = { 47 00 45 00 54 00 00 3D 63 00 3A 00 5C 00 77 00 69 00 6E 00 64 00 6F 00 77 00 73 00 5C 00 73 00 79 00 73 00 74 00 65 00 6D 00 33 00 32 00 5C 00 77 00 69 00 6E 00 76 00 65 00 72 00 2E 00 65 00 78 00 65 }
		$e3 = { 00 2F 00 67 00 65 00 74 00 2F 00 }
		$e4 = "FromBase64String"
		$e5 = "get_UTF8"
		$e6 = "WebResponse"
		$e7 = "GetResponse"
		$e8 = "Invoke"

	condition:
		pe.imports( "mscoree.dll" , "_CorDllMain" ) and dotnet.version == "v4.0.30319" and dotnet.assembly.version.major == 0 and dotnet.assembly.version.minor == 0 and all of ( $e* )
}

Cadenas (8 patrones)

IdentificadorTipoValorModificadores
$e1hex{ 68 00 74 00 74 00 70 00 3A 00 2F 00 2F 00 }
$e2hex{ 47 00 45 00 54 00 00 3D 63 00 3A 00 5C 00 77 00 69 00 6E 00 64 00 6F 00 77 00 73 00 5C 00 73 00 79 00 73 00 74 00 65 00 6D 00 33 00 32 00 5C 00 77 00 69 00 6E …
$e3hex{ 00 2F 00 67 00 65 00 74 00 2F 00 }
$e4texto"FromBase64String"
$e5texto"get_UTF8"
$e6texto"WebResponse"
$e7texto"GetResponse"
$e8texto"Invoke"

Condición

pe.imports( "mscoree.dll" , "_CorDllMain" ) and dotnet.version == "v4.0.30319" and dotnet.assembly.version.major == 0 and dotnet.assembly.version.minor == 0 and all of ( $e* )

En palabras sencillas (Heurística)

  • Deben coincidir todos los patrones de ( $e* ).
  • Usa el módulo pe.
  • Usa el módulo dotnet.
  • Comprueba funciones o bibliotecas importadas.

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: 318b0327-b4b0-57a6-8a24-51320b1026ec