Skip to content

YARA · SEKOIA.IO Community

SEKOIA_Apt_Muddywater_Manifestation_Backdoor_Obfuscated

Detects obfuscated Muddys manifestation JScript backdoor

APT / threat actorSEKOIA.IO CommunityDetection Rule License 1.1Compiles with YARA-X
Author
Sekoia.io
Date
2022-01-13
Modified
2024-12-19
Score / Quality
75 / 80

What this rule detects

Detects obfuscated Muddys manifestation JScript backdoor

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

Summary generated from the rule's metadata and condition.

Rule source

apt-muddywater-manifestation-backdoor-obfuscated.yarDetection Rule License 1.1
rule SEKOIA_Apt_Muddywater_Manifestation_Backdoor_Obfuscated : FILE
{
	meta:
		description = "Detects obfuscated Muddys manifestation JScript backdoor"
		author = "Sekoia.io"
		id = "58df72a1-822c-4b82-904d-1c0124dc7bc1"
		date = "2022-01-13"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_muddywater_manifestation_backdoor_obfuscated.yar#L1-L17"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "8610f0895fafd2bc9a19bbff816754b563565ba6b105cc3d0a32b80bf5ebdc47"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$m = { 76 61 72 20 5f 30 78 [4-6] 3d 5b }
		$w = {57 53 63 72 69 70 74 5b 5f 30 78 [4-6] 28 30 78 [2-3] 29 5d 28 30 78 [2-3] 2a 30 78 [2-3] 29 2c }
		$t = "subkeys(key));}"

	condition:
		$m at 0 and ( $t at ( filesize -16 ) or $w in ( filesize -200 .. filesize ) )
}

Strings (3 patterns)

IdentifierTypeValueModifiers
$mhex{ 76 61 72 20 5f 30 78 [4-6] 3d 5b }
$whex{57 53 63 72 69 70 74 5b 5f 30 78 [4-6] 28 30 78 [2-3] 29 5d 28 30 78 [2-3] 2a 30 78 [2-3] 29 2c }
$ttext"subkeys(key));}"

Condition

$m at 0 and ( $t at ( filesize -16 ) or $w in ( filesize -200 .. filesize ) )

In plain words (Heuristic)

  • Pattern $m must be found at offset 0.
  • Pattern $t must be found at offset (.
  • Pattern $w must be found within the range filesize -200 .. filesize.

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: 58df72a1-822c-4b82-904d-1c0124dc7bc1

Metadata

version1.0
classificationTLP:CLEAR

Tags:FILE