YARA · ditekSHen detection
DITEKSHEN_MALWARE_Linux_Gobrat
Detects GobRAT
- Autor
- ditekSHen
- Fecha
- 2020-11-06
- Modificada
- 2024-11-01
- Puntuación / Calidad
- 75 / 75
Qué detecta esta regla
Detects GobRAT
Familia de malware asociada: Gobrat.
Define 11 patrones (11 de texto, 0 hex, 0 regex).
Resumen generado a partir de los metadatos y la condición de la regla.
Código de la regla
malware-linux-gobrat.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Linux_Gobrat : FILE
{
meta:
= "Detects GobRAT"
= "ditekSHen"
= "0561fa99-24ee-5e02-ba54-17a1dd81daa4"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L10044-L10062"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "070687c909b066e38f72b6421b77670e87476d7e1eb1ed8d41d027836629eb71"
= 75
= 75
= "FILE"
strings:
$x1 = "BotList" ascii
$x2 = "BotCount" ascii
$x3 = "/etc/services/zone/bot.log" ascii
$x4 = "aaa.com/bbb/me" ascii
$s1 = "encoding/gob." ascii
$s2 = ".GetMacAddress" ascii
$s3 = ".IpString2Uint32" ascii
$s4 = ".RegisterLogFile" ascii
$s5 = ".UniqueAppendString" ascii
$s6 = ".NewDaemon" ascii
$s7 = ".SimpleCommand" ascii
condition:
uint16( 0 ) == 0x457f and ( 3 of ( $x* ) or ( 2 of ( $x* ) and 3 of ( $s* ) ) or ( 1 of ( $x* ) and 5 of ( $s* ) ) or all of ( $s* ) )
}
Cadenas (11 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $x1 | texto | "BotList" | ascii |
| $x2 | texto | "BotCount" | ascii |
| $x3 | texto | "/etc/services/zone/bot.log" | ascii |
| $x4 | texto | "aaa.com/bbb/me" | ascii |
| $s1 | texto | "encoding/gob." | ascii |
| $s2 | texto | ".GetMacAddress" | ascii |
| $s3 | texto | ".IpString2Uint32" | ascii |
| $s4 | texto | ".RegisterLogFile" | ascii |
| $s5 | texto | ".UniqueAppendString" | ascii |
| $s6 | texto | ".NewDaemon" | ascii |
| $s7 | texto | ".SimpleCommand" | ascii |
Condición
uint16( 0 ) == 0x457f and ( 3 of ( $x* ) or ( 2 of ( $x* ) and 3 of ( $s* ) ) or ( 1 of ( $x* ) and 5 of ( $s* ) ) or all of ( $s* ) )En palabras sencillas (Heurística)
- Deben coincidir todos los patrones de ( $s* ).
- Deben coincidir al menos 3 patrones de ( $x* ).
- Deben coincidir al menos 2 patrones de ( $x* ).
- Deben coincidir al menos 3 patrones de ( $s* ).
- Deben coincidir al menos 1 patrones de ( $x* ).
- Deben coincidir al menos 5 patrones de ( $s* ).
Prueba esta regla en tu navegador
Arrastra un archivo para escanearlo con esta regla usando YARA-X compilado a WebAssembly. No se sube nada.
Arrastra un archivo aquí o haz clic para elegirSe escanea en local con YARA-X. Archivos de hasta 200 MB.
Referencias
Licencia y atribución
Autor: ditekSHen
Repositorio de origen: ditekSHen detection @ e76c93dcde
Licencia: BSD 2-Clause License (licencia del repositorio)
Aviso de copyright: Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).
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: 0561fa99-24ee-5e02-ba54-17a1dd81daa4
Etiquetas:FILE
Reglas relacionadas
- MalwareSEKOIA.IO Community· Sekoia.io· 2023-06-09
- APT / actorSEKOIA.IO Community· Sekoia.io· 2024-09-10
- 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