YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Ducktail
Detects DuckTail
- Autor
- ditekSHen
- Fecha
- 2020-11-06
- Modificada
- 2024-11-01
- Puntuación / Calidad
- 75 / 75
Qué detecta esta regla
Detects DuckTail
Familia de malware asociada: Ducktail.
Objetivos: PE de Windows.
Define 15 patrones (14 de texto, 1 hex, 0 regex).
Resumen generado a partir de los metadatos y la condición de la regla.
Código de la regla
malware-win-ducktail.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Ducktail : FILE
{
meta:
= "Detects DuckTail"
= "ditekSHen"
= "2d1a8f9e-ed5f-53fa-8ba8-b6d1344f6d39"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L9963-L9991"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "a416212e5f87b33fdc14590c3d6d6ebc2915c2b383adf78d660c9408beb2323f"
= 75
= 75
= "FILE"
strings:
$s1 = "&global_scope_id=" wide
$s2 = "#ResolveMyIpAll" wide
$s3 = "#ApproveInvitesHandler" wide
$s4 = "#ProcessShareCok" wide
$s5 = "#InviteEmpHandler" wide
$s6 = "__activeScenarioIDs=%" wide
$s7 = "&__a=1&fb_dtsg=" wide
$s8 = "adAccountLimit\":(.*?)}" wide
$s9 = "|PUSH|" fullword wide
$s10 = "|SCREEN|" fullword wide
$s11 = "|SCREEC|" fullword wide
$s12 = "_ad_accounts>k__" ascii
$s13 = "get_Pwds" fullword ascii
$s14 = "Telegram.Bot" ascii
$s15 = { 2f 00 7b 00 43 00 59 00 52 00 7d 00 2e 00 74 00
78 00 74 00 00 15 2f 00 7b 00 4c 00 4f 00 47 00
7d 00 2e 00 74 00 78 00 74 00 00 15 2f 00 7b 00
43 00 46 00 47 00 7d 00 2e 00 74 00 78 00 74 00
00 15 2f 00 7b 00 50 00 52 00 53 00 7d 00 2e 00
74 00 78 00 74 00 00 15 2f 00 7b 00 53 00 43 00
52 00 7d 00 2e 00 6a 00 70 00 67 }
condition:
uint16( 0 ) == 0x5a4d and 13 of them
}
Cadenas (15 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $s1 | texto | "&global_scope_id=" | wide |
| $s2 | texto | "#ResolveMyIpAll" | wide |
| $s3 | texto | "#ApproveInvitesHandler" | wide |
| $s4 | texto | "#ProcessShareCok" | wide |
| $s5 | texto | "#InviteEmpHandler" | wide |
| $s6 | texto | "__activeScenarioIDs=%" | wide |
| $s7 | texto | "&__a=1&fb_dtsg=" | wide |
| $s8 | texto | "adAccountLimit\":(.*?)}" | wide |
| $s9 | texto | "|PUSH|" | fullword wide |
| $s10 | texto | "|SCREEN|" | fullword wide |
| $s11 | texto | "|SCREEC|" | fullword wide |
| $s12 | texto | "_ad_accounts>k__" | ascii |
| $s13 | texto | "get_Pwds" | fullword ascii |
| $s14 | texto | "Telegram.Bot" | ascii |
| $s15 | hex | { 2f 00 7b 00 43 00 59 00 52 00 7d 00 2e 00 74 00 78 00 74 00 00 15 2f 00 7b 00 4c 00 4f 00 47 00 7d 00 2e 00 74 00 78 00 74 00 00 … |
Condición
uint16( 0 ) == 0x5a4d and 13 of themEn palabras sencillas (Heurística)
- El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
- Deben coincidir al menos 13 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.
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: 2d1a8f9e-ed5f-53fa-8ba8-b6d1344f6d39
Etiquetas:FILE
Reglas relacionadas
- MalwareSignature Base (Florian Roth / Nextron)· dr4k0nia· 2023-06-16
- MalwareWithSecure Labs IOCs· WithSecure· 2022-11-17
- MalwareWithSecure Labs IOCs· WithSecure· 2022-07-18
- RUSSIANPANDA_Ducktail_MainbotSolo metadatosMalwareRussianPanda· RussianPanda· 2023-12-24
- RUSSIANPANDA_Ducktail_Myrdpservice_BotSolo metadatosMalwareRussianPanda· RussianPanda· 2023-12-24
- RUSSIANPANDA_DucktailSolo metadatosMalwareRussianPanda· RussianPanda· 2023-04-25
- MalwareditekSHen detection· ditekSHen· 2034-02-17
- MalwareditekSHen detection· ditekSHen· 2020-11-06