Skip to content

YARA · SEKOIA.IO Community

SEKOIA_Infostealer_Win_Blackguard_Mar23

Finds BlackGuard samples based on specific strings (March 2023, version 5)

GenericSEKOIA.IO CommunityDetection Rule License 1.1Compiles with YARA-X
Author
Sekoia.io
Date
2023-03-27
Modified
2024-12-19
Score / Quality
75 / 80

What this rule detects

Finds BlackGuard samples based on specific strings (March 2023, version 5)

Targets: Windows PE.

It defines 10 patterns (10 text, 0 hex, 0 regex).

Summary generated from the rule's metadata and condition.

Rule source

infostealer-win-blackguard-mar23.yarDetection Rule License 1.1
rule SEKOIA_Infostealer_Win_Blackguard_Mar23 : FILE
{
	meta:
		description = "Finds BlackGuard samples based on specific strings (March 2023, version 5)"
		author = "Sekoia.io"
		id = "65804d31-2a0c-4b22-a8d9-8cbe1497f155"
		date = "2023-03-27"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/infostealer_win_blackguard_mar23.yar#L1-L24"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "63d77808036478da0c8d38a6d3581ccd2d4e46ae16ec9e817f09f8b633b01843"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$str01 = "==================  5.0 ==============" wide
		$str02 = "/concerts/disk.php" wide
		$str03 = "/concerts/memory.php" wide
		$str04 = "/loader_v2.txt" wide
		$str05 = "io.solarwallet.app\\Local Storage\\leveldb" wide
		$str06 = "costura.dotnetzip.dll.compressed" ascii wide
		$str07 = "set_Laskakakaska" ascii
		$str08 = "get_Yliana" ascii
		$str09 = "set_Illeona" ascii
		$str10 = "set_Gyttettfd" ascii

	condition:
		uint16( 0 ) == 0x5A4D and 4 of them
}

Strings (10 patterns)

IdentifierTypeValueModifiers
$str01text"================== 5.0 =============="wide
$str02text"/concerts/disk.php"wide
$str03text"/concerts/memory.php"wide
$str04text"/loader_v2.txt"wide
$str05text"io.solarwallet.app\\Local Storage\\leveldb"wide
$str06text"costura.dotnetzip.dll.compressed"ascii wide
$str07text"set_Laskakakaska"ascii
$str08text"get_Yliana"ascii
$str09text"set_Illeona"ascii
$str10text"set_Gyttettfd"ascii

Condition

uint16( 0 ) == 0x5A4D and 4 of them

In plain words (Heuristic)

  • The file must start with “MZ” — a Windows executable (PE).
  • At least 4 patterns in the rule must match.

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: Sekoia.io

Source repository: SEKOIA.IO Community @ a438a5901a

Licence: Detection Rule License 1.1 (repository licence)

Original rule

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

Rule id: 65804d31-2a0c-4b22-a8d9-8cbe1497f155

Metadata

version1.0
classificationTLP:CLEAR

Tags:FILE