Aller au contenu

YARA · SEKOIA.IO Community

SEKOIA_Apt_Kimsuky_Toddlershark_Obfuscated

Detects obfuscated version of Kimsuky TODDLERSHARK vbs malware

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

Ce que détecte cette règle

Detects obfuscated version of Kimsuky TODDLERSHARK vbs malware

Famille de malware associée : Kimsuky.

Elle définit 4 motifs (1 texte, 3 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-kimsuky-toddlershark-obfuscated.yarDetection Rule License 1.1
rule SEKOIA_Apt_Kimsuky_Toddlershark_Obfuscated : FILE
{
	meta:
		description = "Detects obfuscated version of Kimsuky TODDLERSHARK vbs malware"
		author = "Sekoia.io"
		id = "9ab82466-4f38-4597-b75b-13252e180c70"
		date = "2024-03-06"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_kimsuky_toddlershark_obfuscated.yar#L1-L18"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "5f067ce32e7fee5cf481d82bb98f4ae10bd7187078bc111b08fc58d043954152"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$s1 = { 3a 20 [3-10] 20 3d 20 22 [3-30] 22 3a }
		$s2 = { 45 78 65 63 75 74 65 28  [3-15] 28 22 }
		$s3 = { 50 72 69 76 61 74 65 20 46 75 6e 63 74 69 6f 6e 20 [3-15] 28 42 79 56 61 6c 20 [3-15] 29 3a }
		$s4 = "& Chr(\"&H\" & Mid("

	condition:
		#s4== 1 and #s3 == 1 and #s2 == 1 and #s1 > 20 and filesize < 1MB
}

Chaînes (4 motifs)

IdentifiantTypeValeurModificateurs
$s1hex{ 3a 20 [3-10] 20 3d 20 22 [3-30] 22 3a }
$s2hex{ 45 78 65 63 75 74 65 28 [3-15] 28 22 }
$s3hex{ 50 72 69 76 61 74 65 20 46 75 6e 63 74 69 6f 6e 20 [3-15] 28 42 79 56 61 6c 20 [3-15] 29 3a }
$s4texte"& Chr(\"&H\" & Mid("

Condition

#s4== 1 and #s3 == 1 and #s2 == 1 and #s1 > 20 and filesize < 1MB

En clair (Heuristique)

  • Le fichier doit faire moins de 1MB (garde-fou peu coûteux qui écarte les gros fichiers).
  • Le motif $s4 doit apparaître == 1 fois.
  • Le motif $s3 doit apparaître == 1 fois.
  • Le motif $s2 doit apparaître == 1 fois.
  • Le motif $s1 doit apparaître > 20 fois.

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: 9ab82466-4f38-4597-b75b-13252e180c70

Métadonnées

version1.0
classificationTLP:CLEAR

Tags:FILE

Plus de règles Kimsuky