Skip to content

YARA · SEKOIA.IO Community

SEKOIA_Apt_Turla_Kazuar_Variant_2023

New variant of Kazuar observed in 2023

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

What this rule detects

New variant of Kazuar observed in 2023

Associated malware family: Kazuar.

Targets: Windows PE.

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

Summary generated from the rule's metadata and condition.

Rule source

apt-turla-kazuar-variant-2023.yarDetection Rule License 1.1
rule SEKOIA_Apt_Turla_Kazuar_Variant_2023 : FILE
{
	meta:
		description = "New variant of Kazuar observed in 2023"
		author = "Sekoia.io"
		id = "51e9de6a-5d8a-4627-8063-b70f78e78726"
		date = "2023-11-03"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_turla_kazuar_variant_2023.yar#L1-L17"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "98207fef906c922ff09f72b0dea7103c0fb86c5ec4712a23ecba6840b79b0ad5"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$s1 = "Started from file '" ascii wide
		$s2 = "Zombifying user's" ascii wide
		$s3 = "Result #{0:X16} already exists in {1}" ascii wide

	condition:
		uint16( 0 ) == 0x5a4d and 2 of them
}

Strings (3 patterns)

IdentifierTypeValueModifiers
$s1text"Started from file '"ascii wide
$s2text"Zombifying user's"ascii wide
$s3text"Result #{0:X16} already exists in {1}"ascii wide

Condition

uint16( 0 ) == 0x5a4d and 2 of them

In plain words (Heuristic)

  • The file must start with “MZ” — a Windows executable (PE).
  • At least 2 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: 51e9de6a-5d8a-4627-8063-b70f78e78726

Metadata

version1.0
classificationTLP:CLEAR

Tags:FILE

More Kazuar rules