Skip to content

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.0Compiles with YARA-X
Author
BlackBerry Threat Research Team
Date
2021-11-09
Modified
2022-07-06
Score / Quality
75 / 85

What this rule detects

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

Targets: Windows PE, .NET assembly.

It defines 8 patterns (5 text, 3 hex, 0 regex). YARA modules used: pe, dotnet.

Summary generated from the rule's metadata and condition.

Rule source

Includes the imports needed to compile it on its own.

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* )
}

Strings (8 patterns)

IdentifierTypeValueModifiers
$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 }
$e4text"FromBase64String"
$e5text"get_UTF8"
$e6text"WebResponse"
$e7text"GetResponse"
$e8text"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* )

In plain words (Heuristic)

  • All patterns in ( $e* ) must match.
  • Uses the pe module.
  • Uses the dotnet module.
  • Checks imported functions or libraries.

Test this rule in your browser

Drop a file to scan it with this rule using YARA-X compiled to WebAssembly. Nothing is uploaded.

Drop a file here or click to chooseScanned locally with YARA-X. Files up to 200 MB.

Open in editor

References

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”

Original rule

Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.

Rule id: 318b0327-b4b0-57a6-8a24-51320b1026ec