Skip to content

YARA · SEKOIA.IO Community

SEKOIA_Apt_Lazarus_Pondrat

Detects PondRAT via mangled command names

APT / threat actorPondratSEKOIA.IO CommunityDetection Rule License 1.1Compiles with YARA-X
Author
Sekoia.io
Date
2024-09-23
Modified
2024-12-19
Score / Quality
75 / 80

What this rule detects

Detects PondRAT via mangled command names

Associated malware family: Pondrat.

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

Summary generated from the rule's metadata and condition.

Rule source

apt-lazarus-pondrat.yarDetection Rule License 1.1
rule SEKOIA_Apt_Lazarus_Pondrat : FILE
{
	meta:
		description = "Detects PondRAT via mangled command names"
		author = "Sekoia.io"
		id = "a957c158-a79a-4d7a-8473-b6960cf02d9b"
		date = "2024-09-23"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_lazarus_pondrat.yar#L1-L24"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		hash = "b62c912de846e743effdf7e5654a7605"
		hash = "61d7b2c7814971e5323ec67b3a3d7f45"
		hash = "ce35c935dcc9d55b2c79945bac77dc8e"
		hash = "f50c83a4147b86cdb20cc1fbae458865"
		hash = "05957d98a75c04597649295dc846682d"
		hash = "33c9a47debdb07824c6c51e13740bdfe"
		logic_hash = "49c5f635e3873a145479bb164838043921d012eef7dc8ad6373c43c8cf1f14e0"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$cmd_PondRAT1 = "_Z7MsgDownP11_TRANS_INFO" ascii
		$cmd_PondRAT2 = "_Z5MsgUpP11_TRANS_INFO" ascii
		$cmd_PondRAT3 = "_Z6MsgRunP11_TRANS_INFO" ascii
		$cmd_PondRAT4 = "_Z6MsgCmdP11_TRANS_INFO" ascii

	condition:
		3 of them and filesize < 4MB
}

Strings (4 patterns)

IdentifierTypeValueModifiers
$cmd_PondRAT1text"_Z7MsgDownP11_TRANS_INFO"ascii
$cmd_PondRAT2text"_Z5MsgUpP11_TRANS_INFO"ascii
$cmd_PondRAT3text"_Z6MsgRunP11_TRANS_INFO"ascii
$cmd_PondRAT4text"_Z6MsgCmdP11_TRANS_INFO"ascii

Condition

3 of them and filesize < 4MB

In plain words (Heuristic)

  • The file must be smaller than 4MB (a cheap guard that skips large files).
  • At least 3 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

Sample hashes

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

  • b62c912de846e743effdf7e5654a7605
  • 61d7b2c7814971e5323ec67b3a3d7f45
  • ce35c935dcc9d55b2c79945bac77dc8e
  • f50c83a4147b86cdb20cc1fbae458865
  • 05957d98a75c04597649295dc846682d
  • 33c9a47debdb07824c6c51e13740bdfe

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: a957c158-a79a-4d7a-8473-b6960cf02d9b

Metadata

version1.0
classificationTLP:CLEAR

Tags:FILE