YARA · deadbits yara-rules
DEADBITS_Dacls_Trojan_Windows
No description has been set in the source file - DeadBits
- Autor
- Adam Swanda
- Fecha
- 2020-01-07
- Puntuación / Calidad
- 75 / 80
Qué detecta esta regla
No description has been set in the source file - DeadBits
Objetivos: PE de Windows.
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
dacls-trojan-windows.yarThe Unlicense
rule DEADBITS_Dacls_Trojan_Windows : FILE
{
meta:
= "No description has been set in the source file - DeadBits"
= "Adam Swanda"
= "424b2c0d-2373-5a72-9a97-52b4bfc5cdcf"
= "2020-01-07"
= "2020-01-07"
= "https://github.com/deadbits/yara-rules"
= "https://github.com/deadbits/yara-rules//blob/d002f7ecee23e09142a3ac3e79c84f71dda3f001/rules/Dacls_Windows.yara#L1-L30"
= "N/A"
= "b77df7e3be9c264d6a63d40dbf49c41e9dd55b4e570c063b5710b849c36cc166"
= 75
= 80
= "FILE"
= "Adam M. Swanda"
strings:
$fext00 = ".exe" ascii wide
$fext01 = ".cmd" ascii wide
$fext02 = ".bat" ascii wide
$fext03 = ".com" ascii wide
$str00 = "Software\\mthjk" ascii wide
$str01 = "WindowsNT.dll" ascii fullword
$str02 = "GET %s HTTP/1.1" ascii fullword
$str03 = "content-length:" ascii fullword
$str04 = "Connection: keep-alive" ascii fullword
$cls00 = "c_2910.cls" ascii fullword
$cls01 = "k_3872.cls" ascii fullword
condition:
( uint16( 0 ) == 0x5a4d ) and ( ( all of ( $cls* ) ) or ( all of ( $fext* ) and all of ( $str* ) ) )
}
Cadenas (11 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $fext00 | texto | ".exe" | ascii wide |
| $fext01 | texto | ".cmd" | ascii wide |
| $fext02 | texto | ".bat" | ascii wide |
| $fext03 | texto | ".com" | ascii wide |
| $str00 | texto | "Software\\mthjk" | ascii wide |
| $str01 | texto | "WindowsNT.dll" | ascii fullword |
| $str02 | texto | "GET %s HTTP/1.1" | ascii fullword |
| $str03 | texto | "content-length:" | ascii fullword |
| $str04 | texto | "Connection: keep-alive" | ascii fullword |
| $cls00 | texto | "c_2910.cls" | ascii fullword |
| $cls01 | texto | "k_3872.cls" | ascii fullword |
Condición
( uint16( 0 ) == 0x5a4d ) and ( ( all of ( $cls* ) ) or ( all of ( $fext* ) and all of ( $str* ) ) )En palabras sencillas (Heurística)
- El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
- Deben coincidir todos los patrones de ( $cls* ).
- Deben coincidir todos los patrones de ( $fext* ).
- Deben coincidir todos los patrones de ( $str* ).
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: Adam Swanda
Repositorio de origen: deadbits yara-rules @ d002f7ecee
Licencia: The Unlicense (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: 424b2c0d-2373-5a72-9a97-52b4bfc5cdcf
Etiquetas:FILE
Reglas relacionadas
- Malwaredeadbits yara-rules· Adam Swanda· 2020-01-07