Saltar al contenido

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.0Compila con YARA-X
Autor
Christiaan @ ATR
Fecha
2021-07-19
Puntuación / Calidad
75 / 70

Qué detecta esta regla

rule to detect Linux variant of the Hello Kitty Ransomware

Familia de malware asociada: HelloKitty.

Define 11 patrones (11 de texto, 0 hex, 0 regex).

Resumen generado a partir de los metadatos y la condición de la regla.

Código de la regla

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 )
}

Cadenas (11 patrones)

IdentificadorTipoValorModificadores
$v1texto"esxcli vm process kill -t=force -w=%d"fullword ascii
$v2texto"esxcli vm process kill -t=hard -w=%d"fullword ascii
$v3texto"esxcli vm process kill -t=soft -w=%d"fullword ascii
$v4texto"error encrypt: %s rename back:%s"fullword ascii
$v5texto"esxcli vm process list"fullword ascii
$v6texto"Total VM run on host:"fullword ascii
$v7texto"error lock_exclusively:%s owner pid:%d"fullword ascii
$v8texto"Error open %s in try_lock_exclusively"fullword ascii
$v9texto"Mode:%d Verbose:%d Daemon:%d AESNI:%d RDRAND:%d "fullword ascii
$v10texto"pthread_cond_signal() error"fullword ascii
$v11texto"ChaCha20 for x86_64, CRYPTOGAMS by <appro@openssl.org>"fullword ascii

Condición

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

En palabras sencillas (Heurística)

  • El archivo debe ocupar menos de 200KB (un límite barato que descarta archivos grandes).
  • Deben coincidir todos los patrones de la regla.
  • Deben coincidir al menos 8 patrones de la regla.

Prueba esta regla en tu navegador

Arrastra un archivo para escanearlo con esta regla usando YARA-X compilado a WebAssembly. No se sube nada.

Arrastra un archivo aquí o haz clic para elegirSe escanea en local con YARA-X. Archivos de hasta 200 MB.

Abrir en el editor

Referencias

Hashes de muestras

Hashes de las muestras que el autor lista en los metadatos de la regla (búscalos en tu plataforma de threat intelligence).

  • ca607e431062ee49a21d69d722750e5edbd8ffabcb54fa92b231814101756041
  • 556e5cb5e4e77678110961c8d9260a726a363e00bf8d278e5302cb4bfccc3eed

Licencia y atribución

Autor: Christiaan @ ATR

Repositorio de origen: Trellix Advanced Research Center @ 1919562a59

Licencia: Apache License 2.0 (licencia del repositorio)

Regla original

Obtenida a través de YARA Forge 20260927, que añade a los nombres el prefijo de la fuente y campos meta normalizados.

Id de la regla: 097b02e7-93d8-5d4f-9964-7b660b3cd7b9

Metadatos

Rule_Versionv1
malware_typeransomware
malware_familyRansom:Linux/HelloKitty

Etiquetas:RANSOMWAREFILE

Más reglas de HelloKitty