Aller au contenu

YARA · SEKOIA.IO Community

SEKOIA_Apt_Muddywater_Rotrot_Strings

Detects RotRot backdoor based on strings

APT / acteurSEKOIA.IO CommunityDetection Rule License 1.1Compile avec YARA-X
Auteur
Sekoia.io
Date
2024-06-10
Modifiée
2024-12-19
Score / Qualité
75 / 80

Ce que détecte cette règle

Detects RotRot backdoor based on strings

Cibles : PE Windows.

Elle définit 18 motifs (18 texte, 0 hex, 0 regex).

Résumé généré à partir des métadonnées et de la condition de la règle.

Source de la règle

apt-muddywater-rotrot-strings.yarDetection Rule License 1.1
rule SEKOIA_Apt_Muddywater_Rotrot_Strings : FILE
{
	meta:
		description = "Detects RotRot backdoor based on strings"
		author = "Sekoia.io"
		id = "f7bc195a-0e60-4495-b78a-78f101543700"
		date = "2024-06-10"
		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_rotrot_strings.yar#L1-L36"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "425168003d0f14d791e7f46bf47c18652a1f6b66b9329155d2bca72cf0d8126b"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$s1 = "qsphsbnebub"
		$s2 = "rtqitcofcvc"
		$s3 = "surjudpgdwd"
		$s4 = "tvskveqhexe"
		$s5 = "uwtlwfrifyf"
		$s6 = "vxumxgsjgzg"
		$t1 = "MpbeMjcsbs"
		$t2 = "NqcfNkdtct"
		$t3 = "OrdgOleudu"
		$t4 = "PsehPmfvev"
		$t5 = "QtfiQngwfw"
		$t6 = "RugjRohxgx"
		$u1 = "UfsnjobufKpcPckfdu"
		$u2 = "VgtokpcvgLqdQdlgev"
		$u3 = "WhuplqdwhMreRemhfw"
		$u4 = "XivqmrexiNsfSfnigx"
		$u5 = "YjwrnsfyjOtgTgojhy"
		$u6 = "ZkxsotgzkPuhUhpkiz"

	condition:
		uint16be( 0 ) == 0x4d5a and filesize > 100KB and filesize < 300KB and any of ( $s* ) and any of ( $t* ) and any of ( $u* )
}

Chaînes (18 motifs)

IdentifiantTypeValeurModificateurs
$s1texte"qsphsbnebub"
$s2texte"rtqitcofcvc"
$s3texte"surjudpgdwd"
$s4texte"tvskveqhexe"
$s5texte"uwtlwfrifyf"
$s6texte"vxumxgsjgzg"
$t1texte"MpbeMjcsbs"
$t2texte"NqcfNkdtct"
$t3texte"OrdgOleudu"
$t4texte"PsehPmfvev"
$t5texte"QtfiQngwfw"
$t6texte"RugjRohxgx"
$u1texte"UfsnjobufKpcPckfdu"
$u2texte"VgtokpcvgLqdQdlgev"
$u3texte"WhuplqdwhMreRemhfw"
$u4texte"XivqmrexiNsfSfnigx"
$u5texte"YjwrnsfyjOtgTgojhy"
$u6texte"ZkxsotgzkPuhUhpkiz"

Condition

uint16be( 0 ) == 0x4d5a and filesize > 100KB and filesize < 300KB and any of ( $s* ) and any of ( $t* ) and any of ( $u* )

En clair (Heuristique)

  • Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
  • Le fichier doit faire moins de 300KB (garde-fou peu coûteux qui écarte les gros fichiers).
  • Le fichier doit faire plus de 100KB.
  • Au moins un motif de ( $s* ) doit être trouvé.
  • Au moins un motif de ( $t* ) doit être trouvé.
  • Au moins un motif de ( $u* ) doit être trouvé.

Tester cette règle dans votre navigateur

Déposez un fichier pour le scanner avec cette règle grâce à YARA-X compilé en WebAssembly. Rien n’est envoyé.

Déposez un fichier ici ou cliquez pour choisirScanné localement avec YARA-X. Fichiers jusqu’à 200 Mo.

Ouvrir dans l’éditeur

Références

Licence et attribution

Auteur : Sekoia.io

Dépôt source : SEKOIA.IO Community @ a438a5901a

Licence : Detection Rule License 1.1 (licence du dépôt)

Règle d’origine

Reprise via YARA Forge 20260927, qui préfixe les noms de règles par la source et ajoute des champs meta normalisés.

Identifiant de règle: f7bc195a-0e60-4495-b78a-78f101543700

Métadonnées

version1.0
classificationTLP:CLEAR

Tags:FILE