YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_MAL_Compromised_Cert_Ducktail_Stealer_Jun23
Detects binaries signed with compromised certificates used by DuckTail stealer - identified in June 2023
- Autor
- dr4k0nia
- Fecha
- 2023-06-16
- Modificada
- 2023-08-12
- Puntuación / Calidad
- 80 / 85
Qué detecta esta regla
Detects binaries signed with compromised certificates used by DuckTail stealer - identified in June 2023
Familia de malware asociada: Ducktail.
Objetivos: PE de Windows.
Define 18 patrones (3 de texto, 15 hex, 0 regex).
Resumen generado a partir de los metadatos y la condición de la regla.
Código de la regla
rule SIGNATURE_BASE_MAL_Compromised_Cert_Ducktail_Stealer_Jun23 : FILE
{
meta:
= "Detects binaries signed with compromised certificates used by DuckTail stealer - identified in June 2023"
= "dr4k0nia"
= "b491e1b6-42c4-58e9-8efa-19e697804f96"
= "2023-06-16"
= "2023-08-12"
= "Internal Research"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/mal_ducktail_compromised_certs_jun23.yar#L2-L37"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "17c75f2d14af9f00822fc1dba00ccc9ec71fc50962e196d7e6f193f4b2ee0183"
= "b3cfdb442772d07a7f037b0bb093ba315dfd1e79b0e292736c52097355495270"
= "9afe013cae0167993a6a7ccd650eb1221a5ec163110565eb3a49a8b57949d4ee"
= "9b7916700359d662e99003727f5293f5a937254ff265c3bc8bb8763e196daa0e"
= 80
= 85
= "FILE"
strings:
$sx1 = "AZM MARKETING COMPANY LIMITED" ascii fullword
$sx2 = "CONG TY TNHH" ascii
$sx3 = {43 C3 94 4E 47 20 54 59 20 54 4E 48 48 20}
$sx4 = "CONG TY TRACH" ascii
$se1 = {65 78 BE 85 2D 48 E3 3D 4E 48 B8 D4 73 F5 B7 60}
$se2 = {1D 53 38 32 74 2B 58 37 87 C0 A2 53 32 F7 FB 06}
$se3 = {00 BD 7B 85 B2 6A 69 C9 7D 6D 68 CC 95 67 34 C0 6B}
$se4 = {06 5F 5C 57 0B D6 A7 98 92 FB B0 E6 34 61 3A 4D}
$se5 = {41 55 3F 07 13 37 11 7A 99 B4 58 57}
$se6 = {1E AA E4 CE E7 EE 89 FB 20 32 59 27 88 13 D8 53}
$se7 = {56 DC DB 85 D4 89 F9 87 B2 D6 76 72}
$se8 = {2D A4 50 57 C2 74 3C 1A 3C A4 93 7A}
$se9 = {37 AE 95 F5 4C 8E 9B D0 B6 47 68 6A}
$se10 = {3D C8 F5 3B 62 7A 34 07 AC 7E 01 00 13 87 A3 B3}
$se11 = {01 C9 87 5A 5F A8 59 68 6D 34 17 C9}
$se12 = {1B 35 19 E1 CD C2 6B 57 DA EE 06 C9}
$se13 = {79 7D 0B 5E 22 AA 0F C7 A2 97 E6 48}
$se14 = {57 9E 5C 89 B0 85 A7 96 B3 3C F3 19}
condition:
uint16( 0 ) == 0x5a4d and 1 of ( $sx* ) and 1 of ( $se* )
}
Cadenas (18 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $sx1 | texto | "AZM MARKETING COMPANY LIMITED" | ascii fullword |
| $sx2 | texto | "CONG TY TNHH" | ascii |
| $sx3 | hex | {43 C3 94 4E 47 20 54 59 20 54 4E 48 48 20} | |
| $sx4 | texto | "CONG TY TRACH" | ascii |
| $se1 | hex | {65 78 BE 85 2D 48 E3 3D 4E 48 B8 D4 73 F5 B7 60} | |
| $se2 | hex | {1D 53 38 32 74 2B 58 37 87 C0 A2 53 32 F7 FB 06} | |
| $se3 | hex | {00 BD 7B 85 B2 6A 69 C9 7D 6D 68 CC 95 67 34 C0 6B} | |
| $se4 | hex | {06 5F 5C 57 0B D6 A7 98 92 FB B0 E6 34 61 3A 4D} | |
| $se5 | hex | {41 55 3F 07 13 37 11 7A 99 B4 58 57} | |
| $se6 | hex | {1E AA E4 CE E7 EE 89 FB 20 32 59 27 88 13 D8 53} | |
| $se7 | hex | {56 DC DB 85 D4 89 F9 87 B2 D6 76 72} | |
| $se8 | hex | {2D A4 50 57 C2 74 3C 1A 3C A4 93 7A} | |
| $se9 | hex | {37 AE 95 F5 4C 8E 9B D0 B6 47 68 6A} | |
| $se10 | hex | {3D C8 F5 3B 62 7A 34 07 AC 7E 01 00 13 87 A3 B3} | |
| $se11 | hex | {01 C9 87 5A 5F A8 59 68 6D 34 17 C9} | |
| $se12 | hex | {1B 35 19 E1 CD C2 6B 57 DA EE 06 C9} | |
| $se13 | hex | {79 7D 0B 5E 22 AA 0F C7 A2 97 E6 48} | |
| $se14 | hex | {57 9E 5C 89 B0 85 A7 96 B3 3C F3 19} |
Condición
uint16( 0 ) == 0x5a4d and 1 of ( $sx* ) and 1 of ( $se* )En palabras sencillas (Heurística)
- El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
- Deben coincidir al menos 1 patrones de ( $sx* ).
- Deben coincidir al menos 1 patrones de ( $se* ).
Prueba esta regla en tu navegador
Arrastra un archivo para escanearlo con esta regla usando YARA-X compilado a WebAssembly. No se sube nada.
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).
- 17c75f2d14af9f00822fc1dba00ccc9ec71fc50962e196d7e6f193f4b2ee0183
- b3cfdb442772d07a7f037b0bb093ba315dfd1e79b0e292736c52097355495270
- 9afe013cae0167993a6a7ccd650eb1221a5ec163110565eb3a49a8b57949d4ee
Licencia y atribución
Autor: dr4k0nia
Repositorio de origen: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
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: b491e1b6-42c4-58e9-8efa-19e697804f96
Etiquetas:FILE
Reglas relacionadas
- MalwareWithSecure Labs IOCs· WithSecure· 2022-11-17
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- 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
- Sospechoso / huntingSignature Base (Florian Roth / Nextron)· dr4k0nia· 2023-03-26