YARA · CAPE Sandbox (CAPEv2)
CAPE_Mykings
No description has been set in the source file - CAPE
- Autor
- YungBinary
- Datum
- 2025-10-24
- Geändert
- 2025-10-26
- Score / Qualität
- 75 / 70
Was diese Regel erkennt
No description has been set in the source file - CAPE
Ziele: Windows-PE.
Sie definiert 13 Muster (10 Text, 3 Hex, 0 Regex).
Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.
Regelquelltext
rule CAPE_Mykings : FILE
{
meta:
= "No description has been set in the source file - CAPE"
= "YungBinary"
= "c9d7b061-b76c-595c-a362-6c89c96093d9"
= "2025-10-24"
= "2025-10-26"
= "https://x.com/YungBinary/status/1981108948498333900"
= "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/data/yara/CAPE/MyKings.yar#L1-L23"
= "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/LICENSE"
= "82647dd23c0247faa045893ec1cf111da2a30528a1b737b59ce1b71172a64473"
= 75
= 70
= "FILE"
= "MyKings Payload"
strings:
$s1 = "login.php?uid=0" wide
$s2 = "download.txt?rnd=" wide
$s3 = "AcceptOK" ascii
$s4 = "winsta0\\default" wide
$s5 = "base64_ip.txt" wide
$s6 = { 70 00 6F 00 77 00 65 00 72 00 74 00 6F 00 6F 00 6C 00 00 00 6B 00 61 00 73 00 70 00 65 00 72 00 73 00 6B 00 79 }
$s7 = { 53 00 61 00 66 00 65 00 00 00 00 00 45 00 73 00 65 00 74 }
$s8 = { 4E 00 6F 00 64 00 33 00 32 00 00 00 4D 00 61 00 6C 00 77 00 61 00 72 00 65 }
$s9 = "Custom C++ HTTP Client/1.0" wide
$s10 = "/ru \"SYSTEM\" /f" ascii
$s11 = "cmd.exe /C timeout /t 1 & del " wide
$s12 = "/login.aspx?uid=0" wide
$s13 = "cmd-230812.ru" base64
condition:
uint16( 0 ) == 0x5a4d and ( 3 of ( $s* ) )
}
Strings (13 Muster)
| Bezeichner | Typ | Wert | Modifikatoren |
|---|---|---|---|
| $s1 | Text | "login.php?uid=0" | wide |
| $s2 | Text | "download.txt?rnd=" | wide |
| $s3 | Text | "AcceptOK" | ascii |
| $s4 | Text | "winsta0\\default" | wide |
| $s5 | Text | "base64_ip.txt" | wide |
| $s6 | Hex | { 70 00 6F 00 77 00 65 00 72 00 74 00 6F 00 6F 00 6C 00 00 00 6B 00 61 00 73 00 70 00 65 00 72 00 73 00 6B 00 79 } | |
| $s7 | Hex | { 53 00 61 00 66 00 65 00 00 00 00 00 45 00 73 00 65 00 74 } | |
| $s8 | Hex | { 4E 00 6F 00 64 00 33 00 32 00 00 00 4D 00 61 00 6C 00 77 00 61 00 72 00 65 } | |
| $s9 | Text | "Custom C++ HTTP Client/1.0" | wide |
| $s10 | Text | "/ru \"SYSTEM\" /f" | ascii |
| $s11 | Text | "cmd.exe /C timeout /t 1 & del " | wide |
| $s12 | Text | "/login.aspx?uid=0" | wide |
| $s13 | Text | "cmd-230812.ru" | base64 |
Bedingung
uint16( 0 ) == 0x5a4d and ( 3 of ( $s* ) )In Worten (Heuristik)
- Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
- Mindestens 3 Muster aus ( $s* ) müssen treffen.
Diese Regel im Browser testen
Legen Sie eine Datei ab, um sie mit dieser Regel und YARA-X als WebAssembly zu scannen. Nichts wird hochgeladen.
Lizenz & Namensnennung
Autor: YungBinary
Quell-Repository: CAPE Sandbox (CAPEv2) @ 6b15e76f28
Lizenz: GNU General Public License v3.0 (Repository-Lizenz)
Copyright-Hinweis: Cuckoo Sandbox is copyrighted by the Cuckoo Foundation.
Gespiegelt über YARA Forge 20260927, das Regelnamen mit der Quelle präfixiert und normalisierte Meta-Felder ergänzt.
Regel-ID: c9d7b061-b76c-595c-a362-6c89c96093d9
Metadaten
| cape_type | MyKings Payload |
|---|
Tags:FILE
Verwandte Regeln
- MalwareCAPE Sandbox (CAPEv2)· YungBinary· 2025-09-04
- MalwareCAPE Sandbox (CAPEv2)· YungBinary· 2024-10-25
- GenerischCAPE Sandbox (CAPEv2)· YungBinary· 2026-04-11
- MalwareCAPE Sandbox (CAPEv2)· YungBinary· 2025-10-17