YARA · SEKOIA.IO Community
SEKOIA_Manjusaka_Samples
Detects Manjusaka via protobuf struture names (Windows / Linux / implants / C2)
- Autor
- Sekoia.io
- Fecha
- 2022-08-04
- Modificada
- 2024-12-19
- Puntuación / Calidad
- 75 / 78
Qué detecta esta regla
Detects Manjusaka via protobuf struture names (Windows / Linux / implants / C2)
Familia de malware asociada: Manjusaka.
Objetivos: PE de Windows, ELF de Linux.
Define 26 patrones (26 de texto, 0 hex, 0 regex).
YARA-X dice: warning[duplicate_pattern_value]: duplicate pattern value
Resumen generado a partir de los metadatos y la condición de la regla.
Código de la regla
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
}
Cadenas (26 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $ | texto | ".protos.AgentStatusR" | ascii wide |
| $ | texto | ".protos.AgentsR" | ascii wide |
| $ | texto | ".protos.FileActionR" | ascii wide |
| $ | texto | ".protos.FileEntryR" | ascii wide |
| $ | texto | ".protos.HttpFileActionR" | ascii wide |
| $ | texto | ".protos.HttpFileEntryR" | ascii wide |
| $ | texto | ".protos.PassResultR" | ascii wide |
| $ | texto | ".protos.PortResultR" | ascii wide |
| $ | texto | ".protos.PortResultR" | ascii wide |
| $ | texto | ".protos.PortResultR" | ascii wide |
| $ | texto | ".protos.ConfigH" | ascii wide |
| $ | texto | ".protos.AgentUpdateH" | ascii wide |
| $ | texto | ".protos.PluginExecH" | ascii wide |
| $ | texto | ".protos.PluginLoadH" | ascii wide |
| $ | texto | ".protos.ReqCwdH" | ascii wide |
| $ | texto | ".protos.ReqCmdH" | ascii wide |
| $ | texto | ".protos.ReqListFileH" | ascii wide |
| $ | texto | ".protos.ReqCatFileH" | ascii wide |
| $ | texto | ".protos.ReqNetStatH" | ascii wide |
| $ | texto | ".protos.ReqTaskListH" | ascii wide |
| $ | texto | ".protos.ReqScreenH" | ascii wide |
| $ | texto | ".protos.FileEventH" | ascii wide |
| $ | texto | ".protos.HttpFileEventH" | ascii wide |
| $ | texto | ".protos.PassGetEventH" | ascii wide |
| $ | texto | ".protos.FileGetEventH" | ascii wide |
| $ | texto | ".protos.AgentEventR" | ascii wide |
Condición
( uint32be( 0 ) == 0x7f454c46 or uint16be( 0 ) == 0x4d5a ) and 15 of themEn palabras sencillas (Heurística)
- El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
- El archivo debe empezar por la cabecera ELF: un ejecutable de Linux/Unix.
- Deben coincidir al menos 15 patrones de la regla.
Prueba esta regla en tu navegador
Arrastra un archivo para escanearlo con esta regla usando YARA-X compilado a WebAssembly. No se sube nada.
Referencias
Licencia y atribución
Autor: Sekoia.io
Repositorio de origen: SEKOIA.IO Community @ a438a5901a
Licencia: Detection Rule License 1.1 (licencia del repositorio)
Obtenida a través de YARA Forge 20260927, que añade a los nombres el prefijo de la fuente y campos meta normalizados.
Id de la regla: 7aa8edb3-2e67-4632-af68-5b65c9aefe39
Metadatos
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Etiquetas:FILE
Reglas relacionadas
- 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