YARA · SEKOIA.IO Community
SEKOIA_Manjusaka_Samples
Detects Manjusaka via protobuf struture names (Windows / Linux / implants / C2)
- Autor
- Sekoia.io
- Datum
- 2022-08-04
- Geändert
- 2024-12-19
- Score / Qualität
- 75 / 78
Was diese Regel erkennt
Detects Manjusaka via protobuf struture names (Windows / Linux / implants / C2)
Zugehörige Malware-Familie: Manjusaka.
Ziele: Windows-PE, Linux-ELF.
Sie definiert 26 Muster (26 Text, 0 Hex, 0 Regex).
YARA-X meldet: warning[duplicate_pattern_value]: duplicate pattern value
Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.
Regelquelltext
rule SEKOIA_Manjusaka_Samples : FILE
{
meta:
= "Detects Manjusaka via protobuf struture names (Windows / Linux / implants / C2)"
= "Sekoia.io"
= "7aa8edb3-2e67-4632-af68-5b65c9aefe39"
= "2022-08-04"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/manjusaka_samples.yar#L1-L41"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "58dcc406c87a8ec66c0904c4cf518cb38bca1aa9058196ce5d496f6269258200"
= 75
= 78
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$ = ".protos.AgentStatusR" ascii wide
$ = ".protos.AgentsR" ascii wide
$ = ".protos.FileActionR" ascii wide
$ = ".protos.FileEntryR" ascii wide
$ = ".protos.HttpFileActionR" ascii wide
$ = ".protos.HttpFileEntryR" ascii wide
$ = ".protos.PassResultR" ascii wide
$ = ".protos.PortResultR" ascii wide
$ = ".protos.PortResultR" ascii wide
$ = ".protos.PortResultR" ascii wide
$ = ".protos.ConfigH" ascii wide
$ = ".protos.AgentUpdateH" ascii wide
$ = ".protos.PluginExecH" ascii wide
$ = ".protos.PluginLoadH" ascii wide
$ = ".protos.ReqCwdH" ascii wide
$ = ".protos.ReqCmdH" ascii wide
$ = ".protos.ReqListFileH" ascii wide
$ = ".protos.ReqCatFileH" ascii wide
$ = ".protos.ReqNetStatH" ascii wide
$ = ".protos.ReqTaskListH" ascii wide
$ = ".protos.ReqScreenH" ascii wide
$ = ".protos.FileEventH" ascii wide
$ = ".protos.HttpFileEventH" ascii wide
$ = ".protos.PassGetEventH" ascii wide
$ = ".protos.FileGetEventH" ascii wide
$ = ".protos.AgentEventR" ascii wide
condition:
( uint32be( 0 ) == 0x7f454c46 or uint16be( 0 ) == 0x4d5a ) and 15 of them
}
Strings (26 Muster)
| Bezeichner | Typ | Wert | Modifikatoren |
|---|---|---|---|
| $ | Text | ".protos.AgentStatusR" | ascii wide |
| $ | Text | ".protos.AgentsR" | ascii wide |
| $ | Text | ".protos.FileActionR" | ascii wide |
| $ | Text | ".protos.FileEntryR" | ascii wide |
| $ | Text | ".protos.HttpFileActionR" | ascii wide |
| $ | Text | ".protos.HttpFileEntryR" | ascii wide |
| $ | Text | ".protos.PassResultR" | ascii wide |
| $ | Text | ".protos.PortResultR" | ascii wide |
| $ | Text | ".protos.PortResultR" | ascii wide |
| $ | Text | ".protos.PortResultR" | ascii wide |
| $ | Text | ".protos.ConfigH" | ascii wide |
| $ | Text | ".protos.AgentUpdateH" | ascii wide |
| $ | Text | ".protos.PluginExecH" | ascii wide |
| $ | Text | ".protos.PluginLoadH" | ascii wide |
| $ | Text | ".protos.ReqCwdH" | ascii wide |
| $ | Text | ".protos.ReqCmdH" | ascii wide |
| $ | Text | ".protos.ReqListFileH" | ascii wide |
| $ | Text | ".protos.ReqCatFileH" | ascii wide |
| $ | Text | ".protos.ReqNetStatH" | ascii wide |
| $ | Text | ".protos.ReqTaskListH" | ascii wide |
| $ | Text | ".protos.ReqScreenH" | ascii wide |
| $ | Text | ".protos.FileEventH" | ascii wide |
| $ | Text | ".protos.HttpFileEventH" | ascii wide |
| $ | Text | ".protos.PassGetEventH" | ascii wide |
| $ | Text | ".protos.FileGetEventH" | ascii wide |
| $ | Text | ".protos.AgentEventR" | ascii wide |
Bedingung
( uint32be( 0 ) == 0x7f454c46 or uint16be( 0 ) == 0x4d5a ) and 15 of themIn Worten (Heuristik)
- Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
- Die Datei muss mit dem ELF-Header beginnen — eine Linux/Unix-Programmdatei.
- Mindestens 15 Muster aus der Regel 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.
Referenzen
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: 7aa8edb3-2e67-4632-af68-5b65c9aefe39
Metadaten
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Verwandte Regeln
- MalwareAvast / Gen Digital IOC· Gen Threat Labs· 2022-08-19
- MalwareAvast / Gen Digital IOC· Gen Threat Labs· 2022-08-19
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- MalwareAvast / Gen Digital IOC· Gen Threat Labs· 2022-08-19
- 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