Skip to content

YARA · Embee Research

EMBEERESEARCH_Win_Solarmarker_Stage2_Bytecodes_Dec_2023

Patterns observed in Solarmarker stage2 dll

MalwareSolarmarkerEmbee ResearchDetection Rule License 1.1Compiles with YARA-X
Author
Matthew @ Embee_Research
Date
2023-12-28
Score / Quality
75 / 75

What this rule detects

Patterns observed in Solarmarker stage2 dll

Associated malware family: Solarmarker.

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

Summary generated from the rule's metadata and condition.

Rule source

win-solarmarker-stage2-bytecodes-dec-2023.yarDetection Rule License 1.1
rule EMBEERESEARCH_Win_Solarmarker_Stage2_Bytecodes_Dec_2023
{
	meta:
		description = "Patterns observed in Solarmarker stage2 dll"
		author = "Matthew @ Embee_Research"
		id = "9aba6cdf-1491-579d-b4a7-fe229272015d"
		date = "2023-12-28"
		modified = "2023-12-28"
		reference = "https://github.com/embee-research/Yara-detection-rules/"
		source_url = "https://github.com/embee-research/Yara-detection-rules//blob/ac56d6f6fd2a30c8cb6e5c0455d6519210a8b0f4/Rules/win_solarmarker_stage2_bytecodes_dec_2023.yar#L1-L20"
		license_url = "N/A"
		hash = "4a3b60496a793ee96a51fecf8690ef8312429a6b54d32f2a4424395c47b47fc8"
		hash = "e0b2457491a8c2d50710aa343ad1957a76f83ceaf680165ffa0e287fe18abbd6"
		logic_hash = "8e50e5942f0029ffda1d9750f8cc8e004a2512e50b6a14c1619ae0b83477a944"
		score = 75
		quality = 75
		tags = ""

	strings:
		$s1 = {6F ?? ?? 00 0A 1F 20 2E ?? 02 7B ?? ?? 00 04 02 7B ?? ?? 00 04 6F ?? ?? 00 0A 1F 09 2E ?? 02 7B ?? ?? 00 04 02 7B ?? ?? 00 04 6F ?? ?? 00 0A 1F 0A 2E ?? 02 7B ?? ?? 00 04 02 7B ?? ?? 00 04 6F ?? ?? 00 0A 1F 0D 2E ?? 02 7B ?? ?? 00 04 02 7B ?? ?? 00 04 6F ?? ?? 00 0A 1F 0A }

	condition:
		$s1
}

Strings (1 patterns)

IdentifierTypeValueModifiers
$s1hex{6F ?? ?? 00 0A 1F 20 2E ?? 02 7B ?? ?? 00 04 02 7B ?? ?? 00 04 6F ?? ?? 00 0A 1F 09 2E ?? 02 7B ?? ?? 00 04 02 7B ?? ?? 00 04 6F ?? ?? 00 0A 1F 0A 2E ?? 02 7B …

Condition

$s1

In plain words (Heuristic)

  • Pattern $s1 must be present.

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

Sample hashes

Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).

  • 4a3b60496a793ee96a51fecf8690ef8312429a6b54d32f2a4424395c47b47fc8
  • e0b2457491a8c2d50710aa343ad1957a76f83ceaf680165ffa0e287fe18abbd6

Licence & attribution

Author: Matthew @ Embee_Research

Source repository: Embee Research @ ac56d6f6fd

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: 9aba6cdf-1491-579d-b4a7-fe229272015d

More Solarmarker rules