YARA · SEKOIA.IO Community
SEKOIA_Implant_Win_Flagpro
Detect the Flagpro malware used by Blacktech
- Autor
- Sekoia.io
- Fecha
- 2022-04-22
- Modificada
- 2024-12-19
- Puntuación / Calidad
- 75 / 80
Qué detecta esta regla
Detect the Flagpro malware used by Blacktech
Familia de malware asociada: Flagpro.
Objetivos: PE de Windows.
Define 10 patrones (9 de texto, 0 hex, 1 regex).
Resumen generado a partir de los metadatos y la condición de la regla.
Código de la regla
implant-win-flagpro.yarDetection Rule License 1.1
rule SEKOIA_Implant_Win_Flagpro : FILE
{
meta:
= "Detect the Flagpro malware used by Blacktech"
= "Sekoia.io"
= "08dd2de4-b359-424f-af04-7f294d519363"
= "2022-04-22"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/implant_win_flagpro.yar#L1-L26"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "eb1aba9924af474d6d890572a9bf72e0d1aa5dc31dd4cc34648195b0207ab4d6"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$ = "<BODY ID=CV20_LoaderDlg BGCOLOR=LIGHTGREY style=\"font-family:MS Shell Dlg;font-size:8\">" ascii
$ = "<TABLE WIDTH=100% HEIGHT=100%>" ascii
$ = "<TR WIDTH=100% HEIGHT=45%>" ascii
$ = "<TD ALIGN=CENTER VALIGN=BOTTOM>" ascii
$ = "TODO: Place controls here." ascii
$ = "<TD ALIGN=RIGHT VALIGN=BOTTOM>" ascii
$ = "<BUTTON STYLE=\"WIDTH:100\" ID=\"ButtonHelp\">Help</BUTTON> <BUTTON STYLE=\"WIDTH:100\" ID=\"ButtonOK\">OK</BUTTON> <BUTTON STYLE=\"WIDTH:100\" ID=\"ButtonCancel\">Cancel</BUTTON>" ascii
$about_loader = /About V[0-9]+\.[0-9]+_Loader.../ wide
$path = "f:\\dd\\vctools\\vc7libs\\ship\\atlmfc\\include\\" wide
$regitry = "Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\" wide
condition:
uint16( 0 ) == 0x5A4D and all of them
}
Cadenas (10 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $ | texto | "<BODY ID=CV20_LoaderDlg BGCOLOR=LIGHTGREY style=\"font-family:MS Shell Dlg;font-size:8\">" | ascii |
| $ | texto | "<TABLE WIDTH=100% HEIGHT=100%>" | ascii |
| $ | texto | "<TR WIDTH=100% HEIGHT=45%>" | ascii |
| $ | texto | "<TD ALIGN=CENTER VALIGN=BOTTOM>" | ascii |
| $ | texto | "TODO: Place controls here." | ascii |
| $ | texto | "<TD ALIGN=RIGHT VALIGN=BOTTOM>" | ascii |
| $ | texto | "<BUTTON STYLE=\"WIDTH:100\" ID=\"ButtonHelp\">Help</BUTTON> <BUTTON STYLE=\"WIDTH:100\" ID=\"ButtonOK\">OK</BUTTON> <BUTTON STYLE=\"WIDTH:100\" … | ascii |
| $about_loader | regex | /About V[0-9]+\.[0-9]+_Loader.../ | wide |
| $path | texto | "f:\\dd\\vctools\\vc7libs\\ship\\atlmfc\\include\\" | wide |
| $regitry | texto | "Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\" | wide |
Condición
uint16( 0 ) == 0x5A4D and all of themEn palabras sencillas (Heurística)
- El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
- Deben coincidir todos los 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: Sekoia.io
Repositorio de origen: SEKOIA.IO Community @ a438a5901a
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: 08dd2de4-b359-424f-af04-7f294d519363
Metadatos
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Etiquetas:FILE
Reglas relacionadas
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-16
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-08-23
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-04-22
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-23
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-10-20
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-03-20