Aller au contenu

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Linux_Ransomexx

Detects RansomEXX ransomware

MalwareRansomexxditekSHen 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 RansomEXX ransomware

Famille de malware associée : Ransomexx.

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

malware-linux-ransomexx.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Linux_Ransomexx : FILE
{
	meta:
		description = "Detects RansomEXX ransomware"
		author = "ditekshen"
		id = "b449afc7-9055-55ed-a876-316d1aea8fee"
		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#L3834-L3858"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "c233ccc3e741cb2c53f182c48093e41595a82a3f4e5bdb1dc0204f1f57b96c2a"
		score = 75
		quality = 75
		tags = "FILE"
		clamav_sig = "MALWARE.Linux.Ransomware.RansomEXX"

	strings:
		$c1 = "crtstuff.c" fullword ascii
		$c2 = "cryptor.c" fullword ascii
		$c3 = "ransomware.c" fullword ascii
		$c4 = "logic.c" fullword ascii
		$c5 = "enum_files.c" fullword ascii
		$c6 = "readme.c" fullword ascii
		$c7 = "ctr_drbg.c" fullword ascii
		$s1 = "regenerate_pre_data" fullword ascii
		$s2 = "g_RansomHeader" fullword ascii
		$s3 = "CryptOneBlock" fullword ascii
		$s4 = "RansomLogic" fullword ascii
		$s5 = "CryptOneFile" fullword ascii
		$s6 = "encrypt_worker" fullword ascii
		$s7 = "list_dir" fullword ascii
		$s8 = "ctr_drbg_update_internal" fullword ascii

	condition:
		uint16( 0 ) == 0x457f and ( 5 of ( $c* ) or 6 of ( $s* ) or ( 3 of ( $c* ) and 3 of ( $s* ) ) )
}

Chaînes (15 motifs)

IdentifiantTypeValeurModificateurs
$c1texte"crtstuff.c"fullword ascii
$c2texte"cryptor.c"fullword ascii
$c3texte"ransomware.c"fullword ascii
$c4texte"logic.c"fullword ascii
$c5texte"enum_files.c"fullword ascii
$c6texte"readme.c"fullword ascii
$c7texte"ctr_drbg.c"fullword ascii
$s1texte"regenerate_pre_data"fullword ascii
$s2texte"g_RansomHeader"fullword ascii
$s3texte"CryptOneBlock"fullword ascii
$s4texte"RansomLogic"fullword ascii
$s5texte"CryptOneFile"fullword ascii
$s6texte"encrypt_worker"fullword ascii
$s7texte"list_dir"fullword ascii
$s8texte"ctr_drbg_update_internal"fullword ascii

Condition

uint16( 0 ) == 0x457f and ( 5 of ( $c* ) or 6 of ( $s* ) or ( 3 of ( $c* ) and 3 of ( $s* ) ) )

En clair (Heuristique)

  • Au moins 5 motifs de ( $c* ) doivent être trouvés.
  • Au moins 6 motifs de ( $s* ) doivent être trouvés.
  • Au moins 3 motifs de ( $c* ) 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: b449afc7-9055-55ed-a876-316d1aea8fee

Métadonnées

clamav_sigMALWARE.Linux.Ransomware.RansomEXX

Tags:FILE

Plus de règles Ransomexx