Skip to content

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Linux_Hellokitty

Detects Linux version of HelloKitty ransomware

MalwareHelloKittyditekSHen detectionBSD 2-Clause LicenseCompiles with YARA-X
Author
ditekSHen
Date
2020-11-06
Modified
2024-11-01
Score / Quality
75 / 73

What this rule detects

Detects Linux version of HelloKitty ransomware

Associated malware family: HelloKitty.

It defines 17 patterns (17 text, 0 hex, 0 regex).

Summary generated from the rule's metadata and condition.

Rule source

malware-linux-hellokitty.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Linux_Hellokitty : FILE
{
	meta:
		description = "Detects Linux version of HelloKitty ransomware"
		author = "ditekSHen"
		id = "bb228937-8cd8-5fb8-aaed-3bd539ae96f2"
		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#L7722-L7746"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "bcb1188d616b29fa535e757a37476435a3061d27e143339413f6829876701868"
		score = 75
		quality = 73
		tags = "FILE"

	strings:
		$s1 = "exec_pipe:%s" ascii
		$s2 = "Error InitAPI !!!" fullword ascii
		$s3 = "No Files Found !!!" fullword ascii
		$s4 = "Error open log File:%s" fullword ascii
		$s5 = "%ld - Files Found  " fullword ascii
		$s6 = "Total VM run on host:" fullword ascii
		$s7 = "error:%d open:%s" fullword ascii
		$s8 = "work.log" fullword ascii
		$s9 = "esxcli vm process kill" ascii
		$s10 = "readdir64" fullword ascii
		$s11 = "%s_%d.block" fullword ascii
		$s12 = "EVP_EncryptFinal_ex" fullword ascii
		$s13 = ".README_TO_RESTORE" fullword ascii
		$m1 = "COMPROMISED AND YOUR SENSITIVE PRIVATE INFORMATION WAS STOLEN" ascii nocase
		$m2 = "damage them without special software" ascii nocase
		$m3 = "leaking or being sold" ascii nocase
		$m4 = "Data will be Published and/or Sold" ascii nocase

	condition:
		uint16( 0 ) == 0x457f and ( 6 of ( $s* ) or ( 2 of ( $m* ) and 2 of ( $s* ) ) or 8 of them )
}

Strings (17 patterns)

IdentifierTypeValueModifiers
$s1text"exec_pipe:%s"ascii
$s2text"Error InitAPI !!!"fullword ascii
$s3text"No Files Found !!!"fullword ascii
$s4text"Error open log File:%s"fullword ascii
$s5text"%ld - Files Found "fullword ascii
$s6text"Total VM run on host:"fullword ascii
$s7text"error:%d open:%s"fullword ascii
$s8text"work.log"fullword ascii
$s9text"esxcli vm process kill"ascii
$s10text"readdir64"fullword ascii
$s11text"%s_%d.block"fullword ascii
$s12text"EVP_EncryptFinal_ex"fullword ascii
$s13text".README_TO_RESTORE"fullword ascii
$m1text"COMPROMISED AND YOUR SENSITIVE PRIVATE INFORMATION WAS STOLEN"ascii nocase
$m2text"damage them without special software"ascii nocase
$m3text"leaking or being sold"ascii nocase
$m4text"Data will be Published and/or Sold"ascii nocase

Condition

uint16( 0 ) == 0x457f and ( 6 of ( $s* ) or ( 2 of ( $m* ) and 2 of ( $s* ) ) or 8 of them )

In plain words (Heuristic)

  • At least 6 patterns in ( $s* ) must match.
  • At least 2 patterns in ( $m* ) must match.
  • At least 2 patterns in ( $s* ) must match.
  • At least 8 patterns in the rule must match.

Test this rule in your browser

Drop a file to scan it with this rule using YARA-X compiled to WebAssembly. Nothing is uploaded.

Drop a file here or click to chooseScanned locally with YARA-X. Files up to 200 MB.

Open in editor

References

Licence & attribution

Author: ditekSHen

Source repository: ditekSHen detection @ e76c93dcde

Licence: BSD 2-Clause License (repository licence)

Copyright notice: Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).

Original rule

Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.

Rule id: bb228937-8cd8-5fb8-aaed-3bd539ae96f2

Tags:FILE

More HelloKitty rules