YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_S05Kitty
Sector05 Kitty RAT payload
- Author
- ditekSHen
- Date
- 2020-11-06
- Modified
- 2024-11-01
- Score / Quality
- 75 / 75
What this rule detects
Sector05 Kitty RAT payload
Associated malware family: S05Kitty.
Targets: Windows PE.
It defines 14 patterns (14 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
malware-win-s05kitty.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_S05Kitty : FILE
{
meta:
= "Sector05 Kitty RAT payload"
= "ditekSHen"
= "3261f6b6-21e7-5195-98db-9607ba530572"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L1024-L1045"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "df2930694671c9ca16f2afeb799704647c9acf32be118706c342347ffe8ceb36"
= 75
= 75
= "FILE"
strings:
$s1 = "Execute Comand" ascii
$s2 = "InjectExplorer" ascii
$s3 = "targetProcess = %s" fullword ascii
$s4 = "Process attach (%s)" fullword ascii
$s5 = "process name: %s" fullword ascii
$s6 = "cmd /c %s >%s" fullword ascii
$s7 = "CmdDown: %s, failed" fullword ascii
$s8 = "http://%s%s/%s" fullword ascii
$s9 = "tmp.LOG" fullword ascii
$x1 = "zerodll.dll" fullword ascii
$x2 = "OneDll.dll" fullword ascii
$x3 = "kkd.bat" fullword ascii
$x4 = "%s\\regsvr32.exe /s \"%s\"" fullword ascii
$x5 = "\\Microsoft\\Windows\\Start Menu\\Programs\\Startup\\fontchk.jse" fullword ascii
condition:
uint16( 0 ) == 0x5a4d and ( 8 of ( $s* ) or all of ( $x* ) )
}
Strings (14 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | text | "Execute Comand" | ascii |
| $s2 | text | "InjectExplorer" | ascii |
| $s3 | text | "targetProcess = %s" | fullword ascii |
| $s4 | text | "Process attach (%s)" | fullword ascii |
| $s5 | text | "process name: %s" | fullword ascii |
| $s6 | text | "cmd /c %s >%s" | fullword ascii |
| $s7 | text | "CmdDown: %s, failed" | fullword ascii |
| $s8 | text | "http://%s%s/%s" | fullword ascii |
| $s9 | text | "tmp.LOG" | fullword ascii |
| $x1 | text | "zerodll.dll" | fullword ascii |
| $x2 | text | "OneDll.dll" | fullword ascii |
| $x3 | text | "kkd.bat" | fullword ascii |
| $x4 | text | "%s\\regsvr32.exe /s \"%s\"" | fullword ascii |
| $x5 | text | "\\Microsoft\\Windows\\Start Menu\\Programs\\Startup\\fontchk.jse" | fullword ascii |
Condition
uint16( 0 ) == 0x5a4d and ( 8 of ( $s* ) or all of ( $x* ) )In plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- All patterns in ( $x* ) must match.
- At least 8 patterns in ( $s* ) 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: 3261f6b6-21e7-5195-98db-9607ba530572
Tags:FILE
Related rules
- MalwareditekSHen detection· ditekSHen· 2034-02-17
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06