YARA · ditekSHen detection
DITEKSHEN_MALWARE_Linux_Hellokitty
Detects Linux version of HelloKitty ransomware
- 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:
= "Detects Linux version of HelloKitty ransomware"
= "ditekSHen"
= "bb228937-8cd8-5fb8-aaed-3bd539ae96f2"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L7722-L7746"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "bcb1188d616b29fa535e757a37476435a3061d27e143339413f6829876701868"
= 75
= 73
= "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)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | text | "exec_pipe:%s" | ascii |
| $s2 | text | "Error InitAPI !!!" | fullword ascii |
| $s3 | text | "No Files Found !!!" | fullword ascii |
| $s4 | text | "Error open log File:%s" | fullword ascii |
| $s5 | text | "%ld - Files Found " | fullword ascii |
| $s6 | text | "Total VM run on host:" | fullword ascii |
| $s7 | text | "error:%d open:%s" | fullword ascii |
| $s8 | text | "work.log" | fullword ascii |
| $s9 | text | "esxcli vm process kill" | ascii |
| $s10 | text | "readdir64" | fullword ascii |
| $s11 | text | "%s_%d.block" | fullword ascii |
| $s12 | text | "EVP_EncryptFinal_ex" | fullword ascii |
| $s13 | text | ".README_TO_RESTORE" | fullword ascii |
| $m1 | text | "COMPROMISED AND YOUR SENSITIVE PRIVATE INFORMATION WAS STOLEN" | ascii nocase |
| $m2 | text | "damage them without special software" | ascii nocase |
| $m3 | text | "leaking or being sold" | ascii nocase |
| $m4 | text | "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.
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).
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
Related rules
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- MalwareTrellix Advanced Research Center· Christiaan @ ATR· 2021-07-19
- ARKBIRD_SOLG_RAN_ELF_Hellokitty_Aug_2021_1Metadata onlyMalwareArkbird SOLG (DailyIOC)· Arkbird_SOLG· 2021-08-14
- APT / threat actorSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-05-01
- APT / threat actorSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-05-01
- MalwareditekSHen detection· ditekSHen· 2034-02-17
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06