Aller au contenu

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Torisma

Detects Torisma

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

Ce que détecte cette règle

Detects Torisma

Famille de malware associée : Torisma.

Cibles : PE Windows.

Elle définit 9 motifs (6 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

malware-win-torisma.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Torisma : FILE
{
	meta:
		description = "Detects Torisma"
		author = "ditekSHen"
		id = "e62a0f1c-4404-5da1-9c43-4cb58e735827"
		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#L4339-L4355"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "bd3823f8a91fdfc443e20bcb299a5103b7176a694f0d5328e7986de83f677a31"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$s1 = "ACTION=PREVPAGE&CODE=C%s&RES=%d" fullword ascii
		$s2 = "ACTION=VIEW&PAGE=%s&CODE=%s&CACHE=%s&REQUEST=%d" fullword ascii
		$s3 = "ACTION=NEXTPAGE&CODE=S%s&CACHE=%s&RES=%d" fullword ascii
		$s4 = "Your request has been accepted. ClientID: {" ascii
		$s5 = "Proxy-Connection: Keep-Alive" fullword wide
		$s6 = "Content-Length: %d" fullword wide
		$o0 = { f7 f9 8b c2 89 44 24 34 48 63 44 24 34 48 8b 4c }
		$o1 = { 48 c7 00 ff ff ff ff 48 8b 84 24 90 }
		$o2 = { f3 aa 83 7c 24 30 01 75 34 c7 44 24 20 01 }

	condition:
		uint16( 0 ) == 0x5a4d and 4 of ( $s* ) or ( all of ( $o* ) and 3 of ( $s* ) )
}

Chaînes (9 motifs)

IdentifiantTypeValeurModificateurs
$s1texte"ACTION=PREVPAGE&CODE=C%s&RES=%d"fullword ascii
$s2texte"ACTION=VIEW&PAGE=%s&CODE=%s&CACHE=%s&REQUEST=%d"fullword ascii
$s3texte"ACTION=NEXTPAGE&CODE=S%s&CACHE=%s&RES=%d"fullword ascii
$s4texte"Your request has been accepted. ClientID: {"ascii
$s5texte"Proxy-Connection: Keep-Alive"fullword wide
$s6texte"Content-Length: %d"fullword wide
$o0hex{ f7 f9 8b c2 89 44 24 34 48 63 44 24 34 48 8b 4c }
$o1hex{ 48 c7 00 ff ff ff ff 48 8b 84 24 90 }
$o2hex{ f3 aa 83 7c 24 30 01 75 34 c7 44 24 20 01 }

Condition

uint16( 0 ) == 0x5a4d and 4 of ( $s* ) or ( all of ( $o* ) and 3 of ( $s* ) )

En clair (Heuristique)

  • Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
  • Tous les motifs de ( $o* ) doivent être trouvés.
  • Au moins 4 motifs de ( $s* ) doivent être trouvés.
  • Au moins 3 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: e62a0f1c-4404-5da1-9c43-4cb58e735827

Tags:FILE