YARA · SEKOIA.IO Community
SEKOIA_Malware_Valleyrat_Strings_Config
ValleyRAT strings based on HIVE KEYS and config.
- Autor
- Sekoia.io
- Datum
- 2024-08-19
- Geändert
- 2024-12-19
- Score / Qualität
- 75 / 80
Was diese Regel erkennt
ValleyRAT strings based on HIVE KEYS and config.
Ziele: Windows-PE.
Sie definiert 5 Muster (3 Text, 2 Hex, 0 Regex).
Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.
Regelquelltext
rule SEKOIA_Malware_Valleyrat_Strings_Config : FILE
{
meta:
= "ValleyRAT strings based on HIVE KEYS and config. "
= "Sekoia.io"
= "bb186ab7-60cd-487e-8b9c-c2ff8f121454"
= "2024-08-19"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/malware_valleyrat_strings_config.yar#L1-L27"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "b1887a48e59ac7b1b1742854d2a228af"
= "f6c69e83ce61aacacfbc410345008268"
= "63ad42e03aca6ce447fb447e21aeb385"
= "e1d41e5fdfebf8062911ef3c3853b807"
= "e6cafb4136a9438227086a5826eafe10"
= "54ba4bbeacd1521164a40e92262b15f6"
= "89a3d3ca32f9c57e932686f0ed03821350770f82e598948ed86414e231e27a30"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$key1 = "IpDateInfo" ascii fullword
$key2 = "IpDate" ascii fullword
$key3 = "SelfPath" ascii fullword
$config1 = {7c 00 69 00 3a 00 }
$config2 = {7c 00 70 00 3a 00 }
condition:
uint16be( 0 ) == 0x4d5a and 1 of ( $key* ) and $config2 in ( @config1 .. @config1 + 100 ) and filesize > 300KB and filesize < 100MB
}
Strings (5 Muster)
| Bezeichner | Typ | Wert | Modifikatoren |
|---|---|---|---|
| $key1 | Text | "IpDateInfo" | ascii fullword |
| $key2 | Text | "IpDate" | ascii fullword |
| $key3 | Text | "SelfPath" | ascii fullword |
| $config1 | Hex | {7c 00 69 00 3a 00 } | |
| $config2 | Hex | {7c 00 70 00 3a 00 } |
Bedingung
uint16be( 0 ) == 0x4d5a and 1 of ( $key* ) and $config2 in ( @config1 .. @config1 + 100 ) and filesize > 300KB and filesize < 100MBIn Worten (Heuristik)
- Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
- Die Datei muss kleiner als 100MB sein (eine günstige Grenze, die große Dateien ausschließt).
- Die Datei muss größer als 300KB sein.
- Mindestens 1 Muster aus ( $key* ) müssen treffen.
- Muster $config2 muss im Bereich @config1 .. @config1 + 100 liegen.
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.
Referenzen
Proben-Hashes
Hashes der Proben, die der Autor in den Metadaten der Regel nennt (in Ihrer Threat-Intelligence-Plattform nachschlagen).
- b1887a48e59ac7b1b1742854d2a228af
- f6c69e83ce61aacacfbc410345008268
- 63ad42e03aca6ce447fb447e21aeb385
- e1d41e5fdfebf8062911ef3c3853b807
- e6cafb4136a9438227086a5826eafe10
- 54ba4bbeacd1521164a40e92262b15f6
Lizenz & Namensnennung
Autor: Sekoia.io
Quell-Repository: SEKOIA.IO Community @ a438a5901a
Lizenz: Detection Rule License 1.1 (Repository-Lizenz)
Gespiegelt über YARA Forge 20260927, das Regelnamen mit der Quelle präfixiert und normalisierte Meta-Felder ergänzt.
Regel-ID: bb186ab7-60cd-487e-8b9c-c2ff8f121454
Metadaten
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Verwandte Regeln
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-16
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-08-23
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-04-22
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-23
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-10-20
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-03-20
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-03-20
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-03-20