Saltar al contenido

YARA · SEKOIA.IO Community

SEKOIA_Malware_Tinyshell_Strings

Detects TinyShell based on strings

MalwareSEKOIA.IO CommunityDetection Rule License 1.1Compila con YARA-X
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

malware-tinyshell-strings.yarDetection Rule License 1.1
rule SEKOIA_Malware_Tinyshell_Strings : FILE
{
	meta:
		description = "Detects TinyShell based on strings"
		author = "Sekoia.io"
		id = "51fe9986-cb33-4802-bb8d-fe3d4cdfdcc8"
		date = "2024-09-04"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/malware_tinyshell_strings.yar#L1-L24"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		hash = "fffc89ebbe6ea37072077996e27f86dd"
		hash = "59a97d4fbd3a54e991dc7e1f0451acf5"
		hash = "d7ee59eab7f703bfaf1002a39b05c7b9"
		hash = "3f2dfe47d4563919d889132b2759fd9c"
		logic_hash = "18d10e7e6f0ba8a9ea7fa8446a930f84ce5eb2f3a022ce3dc62bc3f8fd5699e1"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "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)

IdentificadorTipoValorModificadores
$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 < 150KB

En 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.

Arrastra un archivo aquí o haz clic para elegirSe escanea en local con YARA-X. Archivos de hasta 200 MB.

Abrir en el editor

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)

Regla original

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

version1.0
classificationTLP:CLEAR

Etiquetas:FILE