Saltar al contenido

YARA · SEKOIA.IO Community

SEKOIA_Killfloor_Avkiller_Strings

Kill-Floor strings

GenéricaSEKOIA.IO CommunityDetection Rule License 1.1Compila con YARA-X
Autor
Sekoia.io
Fecha
2024-10-29
Modificada
2024-12-19
Puntuación / Calidad
75 / 80

Qué detecta esta regla

Kill-Floor strings

Objetivos: PE de Windows.

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

killfloor-avkiller-strings.yarDetection Rule License 1.1
rule SEKOIA_Killfloor_Avkiller_Strings : FILE
{
	meta:
		description = "Kill-Floor strings"
		author = "Sekoia.io"
		id = "ae6908c3-27d4-4d2c-af21-a9548dfcd487"
		date = "2024-10-29"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/killfloor_avkiller_strings.yar#L1-L25"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		hash = "9f16176ac20f7855fa960d321e156d69"
		hash = "4b019e9ed2de734e242602abce06f7c1"
		hash = "81ae32d9de8fd21acfc61d62f3292277"
		hash = "7cb2c4560e02c25463ec70e222ad0018"
		logic_hash = "e89d0936612104f98b7f56dca09702f31f07868f239c2d11dd738e015e757b3a"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$ = "sc create aswArPot.sys type=kernel binpath=%s" ascii
		$ = "sc start aswArPot.sys" ascii
		$ = "[*] Enumerating target processes" ascii
		$ = "[*] Entering main loop... " ascii
		$ = "aswArPot.pdb" ascii
		$ = "SeConvertStringSecurityDescriptorToSecurityDescriptor" wide

	condition:
		uint16be( 0 ) == 0x4d5a and filesize < 1MB and filesize > 20KB and 6 of them
}

Cadenas (6 patrones)

IdentificadorTipoValorModificadores
$texto"sc create aswArPot.sys type=kernel binpath=%s"ascii
$texto"sc start aswArPot.sys"ascii
$texto"[*] Enumerating target processes"ascii
$texto"[*] Entering main loop... "ascii
$texto"aswArPot.pdb"ascii
$texto"SeConvertStringSecurityDescriptorToSecurityDescriptor"wide

Condición

uint16be( 0 ) == 0x4d5a and filesize < 1MB and filesize > 20KB and 6 of them

En palabras sencillas (Heurística)

  • El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
  • El archivo debe ocupar menos de 1MB (un límite barato que descarta archivos grandes).
  • El archivo debe ocupar más de 20KB.
  • Deben coincidir al menos 6 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).

  • 9f16176ac20f7855fa960d321e156d69
  • 4b019e9ed2de734e242602abce06f7c1
  • 81ae32d9de8fd21acfc61d62f3292277
  • 7cb2c4560e02c25463ec70e222ad0018

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: ae6908c3-27d4-4d2c-af21-a9548dfcd487

Metadatos

version1.0
classificationTLP:CLEAR

Etiquetas:FILE