Aller au contenu

YARA · Trellix Advanced Research Center

TRELLIX_ARC_Ransom_Linux_Hellokitty_0721

rule to detect Linux variant of the Hello Kitty Ransomware

MalwareHelloKittyTrellix Advanced Research CenterApache License 2.0Compile avec YARA-X
Auteur
Christiaan @ ATR
Date
2021-07-19
Score / Qualité
75 / 70

Ce que détecte cette règle

rule to detect Linux variant of the Hello Kitty Ransomware

Famille de malware associée : HelloKitty.

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

ransom-linux-hellokitty-0721.yarApache License 2.0
rule TRELLIX_ARC_Ransom_Linux_Hellokitty_0721 : RANSOMWARE FILE
{
	meta:
		description = "rule to detect Linux variant of the Hello Kitty Ransomware"
		author = "Christiaan @ ATR"
		id = "097b02e7-93d8-5d4f-9964-7b660b3cd7b9"
		date = "2021-07-19"
		modified = "2021-07-19"
		reference = "https://github.com/advanced-threat-research/Yara-Rules/"
		source_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/ransomware/RANSOM_Linux_HelloKitty0721.yar#L1-L28"
		license_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE"
		hash = "ca607e431062ee49a21d69d722750e5edbd8ffabcb54fa92b231814101756041"
		hash = "556e5cb5e4e77678110961c8d9260a726a363e00bf8d278e5302cb4bfccc3eed"
		logic_hash = "77a3809df4c7c591a855aaecd702af62935952937bb81661aa7f68e64dcf4fb4"
		score = 75
		quality = 70
		tags = "RANSOMWARE, FILE"
		Rule_Version = "v1"
		malware_type = "ransomware"
		malware_family = "Ransom:Linux/HelloKitty"

	strings:
		$v1 = "esxcli vm process kill -t=force -w=%d" fullword ascii
		$v2 = "esxcli vm process kill -t=hard -w=%d" fullword ascii
		$v3 = "esxcli vm process kill -t=soft -w=%d" fullword ascii
		$v4 = "error encrypt: %s rename back:%s" fullword ascii
		$v5 = "esxcli vm process list" fullword ascii
		$v6 = "Total VM run on host:" fullword ascii
		$v7 = "error lock_exclusively:%s owner pid:%d" fullword ascii
		$v8 = "Error open %s in try_lock_exclusively" fullword ascii
		$v9 = "Mode:%d  Verbose:%d Daemon:%d AESNI:%d RDRAND:%d " fullword ascii
		$v10 = "pthread_cond_signal() error" fullword ascii
		$v11 = "ChaCha20 for x86_64, CRYPTOGAMS by <appro@openssl.org>" fullword ascii

	condition:
		( uint16( 0 ) == 0x457f and filesize < 200KB and ( 8 of them ) ) or ( all of them )
}

Chaînes (11 motifs)

IdentifiantTypeValeurModificateurs
$v1texte"esxcli vm process kill -t=force -w=%d"fullword ascii
$v2texte"esxcli vm process kill -t=hard -w=%d"fullword ascii
$v3texte"esxcli vm process kill -t=soft -w=%d"fullword ascii
$v4texte"error encrypt: %s rename back:%s"fullword ascii
$v5texte"esxcli vm process list"fullword ascii
$v6texte"Total VM run on host:"fullword ascii
$v7texte"error lock_exclusively:%s owner pid:%d"fullword ascii
$v8texte"Error open %s in try_lock_exclusively"fullword ascii
$v9texte"Mode:%d Verbose:%d Daemon:%d AESNI:%d RDRAND:%d "fullword ascii
$v10texte"pthread_cond_signal() error"fullword ascii
$v11texte"ChaCha20 for x86_64, CRYPTOGAMS by <appro@openssl.org>"fullword ascii

Condition

( uint16( 0 ) == 0x457f and filesize < 200KB and ( 8 of them ) ) or ( all of them )

En clair (Heuristique)

  • Le fichier doit faire moins de 200KB (garde-fou peu coûteux qui écarte les gros fichiers).
  • Tous les motifs de la règle doivent être trouvés.
  • Au moins 8 motifs de la règle 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

Hashes d’échantillons

Hashes des échantillons listés par l’auteur dans les métadonnées de la règle (à rechercher dans votre plateforme de threat intelligence).

  • ca607e431062ee49a21d69d722750e5edbd8ffabcb54fa92b231814101756041
  • 556e5cb5e4e77678110961c8d9260a726a363e00bf8d278e5302cb4bfccc3eed

Licence et attribution

Auteur : Christiaan @ ATR

Dépôt source : Trellix Advanced Research Center @ 1919562a59

Licence : Apache License 2.0 (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: 097b02e7-93d8-5d4f-9964-7b660b3cd7b9

Métadonnées

Rule_Versionv1
malware_typeransomware
malware_familyRansom:Linux/HelloKitty

Tags:RANSOMWAREFILE

Plus de règles HelloKitty