YARA · SEKOIA.IO Community
SEKOIA_Malware_Tinyshell_Strings
Detects TinyShell based on strings
- Autor
- Sekoia.io
- Fecha
- 2024-09-04
- Modificada
- 2024-12-19
- Puntuación / Calidad
- 75 / 80
Qué detecta esta regla
Detects TinyShell based on strings
Define 6 patrones (6 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
rule SEKOIA_Malware_Tinyshell_Strings : FILE
{
meta:
= "Detects TinyShell based on strings"
= "Sekoia.io"
= "51fe9986-cb33-4802-bb8d-fe3d4cdfdcc8"
= "2024-09-04"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/malware_tinyshell_strings.yar#L1-L24"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "fffc89ebbe6ea37072077996e27f86dd"
= "59a97d4fbd3a54e991dc7e1f0451acf5"
= "d7ee59eab7f703bfaf1002a39b05c7b9"
= "3f2dfe47d4563919d889132b2759fd9c"
= "18d10e7e6f0ba8a9ea7fa8446a930f84ce5eb2f3a022ce3dc62bc3f8fd5699e1"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$ = "_tsh_get_file"
$ = "_tsh_put_file"
$ = "_tsh_runshell"
$ = "Authentication failed."
$ = "pel_send_msg"
$ = "exec bash --login"
condition:
3 of them and filesize < 150KB
}
Cadenas (6 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $ | texto | "_tsh_get_file" | |
| $ | texto | "_tsh_put_file" | |
| $ | texto | "_tsh_runshell" | |
| $ | texto | "Authentication failed." | |
| $ | texto | "pel_send_msg" | |
| $ | texto | "exec bash --login" |
Condición
3 of them and filesize < 150KBEn palabras sencillas (Heurística)
- El archivo debe ocupar menos de 150KB (un límite barato que descarta archivos grandes).
- Deben coincidir al menos 3 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
Hashes de muestras
Hashes de las muestras que el autor lista en los metadatos de la regla (búscalos en tu plataforma de threat intelligence).
- fffc89ebbe6ea37072077996e27f86dd
- 59a97d4fbd3a54e991dc7e1f0451acf5
- d7ee59eab7f703bfaf1002a39b05c7b9
- 3f2dfe47d4563919d889132b2759fd9c
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: 51fe9986-cb33-4802-bb8d-fe3d4cdfdcc8
Metadatos
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Etiquetas:FILE
Reglas relacionadas
- 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