YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Flagpro
Detects Flagpro
- Autor
- ditekSHen
- Fecha
- 2020-11-06
- Modificada
- 2024-11-01
- Puntuación / Calidad
- 75 / 75
Qué detecta esta regla
Detects Flagpro
Familia de malware asociada: Flagpro.
Objetivos: PE de Windows.
Define 10 patrones (8 de texto, 0 hex, 2 regex).
Resumen generado a partir de los metadatos y la condición de la regla.
Código de la regla
malware-win-flagpro.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Flagpro : FILE
{
meta:
= "Detects Flagpro"
= "ditekSHen"
= "da1bf899-feb5-5ed0-956e-c20bc3565a6e"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L9032-L9049"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "c5e5944426b7be690ad62dd0d98a8fc6f8135cab0dbdd8a5aaf1670491eda59d"
= 75
= 75
= "FILE"
strings:
$s1 = "download...." fullword ascii
$s2 = "~MYTEMP" fullword wide
$s3 = ".?AVCV20_LoaderApp@@" fullword ascii
$s4 = ".?AVCV20_LoaderDlg@@" fullword ascii
$s5 = "ExecYes" fullword ascii
$s6 = /<BODY ID=CV\d+_LoaderDlg BGCOLOR=/ ascii
$n1 = "://139.162.87.180" wide
$n2 = "://172.104.109.217" wide
$n3 = "://org.misecure.com/index.html" wide
$b1 = /(get all|click|close|maybe|get_outerHTML|download\d) (finished|pass|ok|windows|failed)!/ fullword ascii
condition:
uint16( 0 ) == 0x5a4d and 4 of ( $s* ) or ( 1 of ( $n* ) and ( 2 of ( $s* ) or 1 of ( $b* ) ) ) or ( 2 of ( $s* ) and 1 of ( $b* ) )
}
Cadenas (10 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $s1 | texto | "download...." | fullword ascii |
| $s2 | texto | "~MYTEMP" | fullword wide |
| $s3 | texto | ".?AVCV20_LoaderApp@@" | fullword ascii |
| $s4 | texto | ".?AVCV20_LoaderDlg@@" | fullword ascii |
| $s5 | texto | "ExecYes" | fullword ascii |
| $s6 | regex | /<BODY ID=CV\d+_LoaderDlg BGCOLOR=/ | ascii |
| $n1 | texto | "://139.162.87.180" | wide |
| $n2 | texto | "://172.104.109.217" | wide |
| $n3 | texto | "://org.misecure.com/index.html" | wide |
| $b1 | regex | /(get all|click|close|maybe|get_outerHTML|download\d) (finished|pass|ok|windows|failed)!/ | fullword ascii |
Condición
uint16( 0 ) == 0x5a4d and 4 of ( $s* ) or ( 1 of ( $n* ) and ( 2 of ( $s* ) or 1 of ( $b* ) ) ) or ( 2 of ( $s* ) and 1 of ( $b* ) )En palabras sencillas (Heurística)
- El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
- Deben coincidir al menos 4 patrones de ( $s* ).
- Deben coincidir al menos 1 patrones de ( $n* ).
- Deben coincidir al menos 2 patrones de ( $s* ).
- Deben coincidir al menos 1 patrones de ( $b* ).
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: da1bf899-feb5-5ed0-956e-c20bc3565a6e
Etiquetas:FILE
Reglas relacionadas
- MalwareSEKOIA.IO Community· Sekoia.io· 2022-04-22
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- MalwareditekSHen detection· ditekSHen· 2034-02-17
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06