Aller au contenu

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Slothfulmedia

SlothfulMedia backdoor payload

MalwareSlothfulmediaditekSHen detectionBSD 2-Clause LicenseCompile avec YARA-X
Auteur
ditekSHen
Date
2020-11-06
Modifiée
2024-11-01
Score / Qualité
75 / 73

Ce que détecte cette règle

SlothfulMedia backdoor payload

Famille de malware associée : Slothfulmedia.

Cibles : PE Windows.

Elle définit 17 motifs (13 texte, 0 hex, 4 regex).

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

Source de la règle

malware-win-slothfulmedia.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Slothfulmedia : FILE
{
	meta:
		description = "SlothfulMedia backdoor payload"
		author = "ditekSHen"
		id = "e94b6d67-137c-5cfb-9c59-fbeb6cd85f0a"
		date = "2020-11-06"
		modified = "2024-11-01"
		reference = "https://github.com/ditekshen/detection"
		source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L1539-L1565"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "6f742e8d9d555b44daaa09835f599c99e16cd39bb106c8f43fbbca7093de462e"
		score = 75
		quality = 73
		tags = "FILE"

	strings:
		$x1 = /ExtKeylogger(Start|Stop)/ fullword ascii
		$x2 = /ExtService(Add|Delete|Start|Stop)/ fullword ascii
		$x3 = /ExtRegKey(Add|Del)/ fullword ascii
		$x4 = /ExtRegItem(Add|Del)/ fullword ascii
		$x5 = "ExtUnload" fullword ascii
		$s1 = "Local Security Process" fullword wide
		$s2 = "Global%s%d" fullword wide
		$s3 = "%s%s_%d.dat" fullword wide
		$s4 = "\\AppIni" fullword wide
		$s5 = "%s.tmp" fullword wide
		$s6 = "\\SetupUi" fullword wide
		$s7 = "%s|%s|%s|%s" fullword wide
		$s8 = "\\ExtInfo" fullword wide
		$cnc1 = "/v?m=" fullword ascii
		$cnc2 = "%s&i=%d" fullword ascii
		$cnc3 = "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.75" fullword ascii
		$cnc4 = "Content-Length: %d" fullword ascii

	condition:
		uint16( 0 ) == 0x5a4d and ( 3 of ( $x* ) or 7 of ( $s* ) or all of ( $cnc* ) or ( 1 of ( $x* ) and 4 of ( $s* ) ) )
}

Chaînes (17 motifs)

IdentifiantTypeValeurModificateurs
$x1regex/ExtKeylogger(Start|Stop)/fullword ascii
$x2regex/ExtService(Add|Delete|Start|Stop)/fullword ascii
$x3regex/ExtRegKey(Add|Del)/fullword ascii
$x4regex/ExtRegItem(Add|Del)/fullword ascii
$x5texte"ExtUnload"fullword ascii
$s1texte"Local Security Process"fullword wide
$s2texte"Global%s%d"fullword wide
$s3texte"%s%s_%d.dat"fullword wide
$s4texte"\\AppIni"fullword wide
$s5texte"%s.tmp"fullword wide
$s6texte"\\SetupUi"fullword wide
$s7texte"%s|%s|%s|%s"fullword wide
$s8texte"\\ExtInfo"fullword wide
$cnc1texte"/v?m="fullword ascii
$cnc2texte"%s&i=%d"fullword ascii
$cnc3texte"Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.75"fullword ascii
$cnc4texte"Content-Length: %d"fullword ascii

Condition

uint16( 0 ) == 0x5a4d and ( 3 of ( $x* ) or 7 of ( $s* ) or all of ( $cnc* ) or ( 1 of ( $x* ) and 4 of ( $s* ) ) )

En clair (Heuristique)

  • Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
  • Tous les motifs de ( $cnc* ) doivent être trouvés.
  • Au moins 3 motifs de ( $x* ) doivent être trouvés.
  • Au moins 7 motifs de ( $s* ) doivent être trouvés.
  • Au moins 1 motifs de ( $x* ) doivent être trouvés.
  • Au moins 4 motifs de ( $s* ) doivent être trouvés.

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 : ditekSHen

Dépôt source : ditekSHen detection @ e76c93dcde

Licence : BSD 2-Clause License (licence du dépôt)

Mention de copyright : Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).

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: e94b6d67-137c-5cfb-9c59-fbeb6cd85f0a

Tags:FILE

Plus de règles Slothfulmedia