YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Flagpro
Detects Flagpro
- Auteur
- ditekSHen
- Date
- 2020-11-06
- Modifiée
- 2024-11-01
- Score / Qualité
- 75 / 75
Ce que détecte cette règle
Detects Flagpro
Famille de malware associée : Flagpro.
Cibles : PE Windows.
Elle définit 10 motifs (8 texte, 0 hex, 2 regex).
Résumé généré à partir des métadonnées et de la condition de la règle.
Source de la règle
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* ) )
}
Chaînes (10 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $s1 | texte | "download...." | fullword ascii |
| $s2 | texte | "~MYTEMP" | fullword wide |
| $s3 | texte | ".?AVCV20_LoaderApp@@" | fullword ascii |
| $s4 | texte | ".?AVCV20_LoaderDlg@@" | fullword ascii |
| $s5 | texte | "ExecYes" | fullword ascii |
| $s6 | regex | /<BODY ID=CV\d+_LoaderDlg BGCOLOR=/ | ascii |
| $n1 | texte | "://139.162.87.180" | wide |
| $n2 | texte | "://172.104.109.217" | wide |
| $n3 | texte | "://org.misecure.com/index.html" | wide |
| $b1 | regex | /(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* ) )En clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- Au moins 4 motifs de ( $s* ) doivent être trouvés.
- Au moins 1 motifs de ( $n* ) doivent être trouvés.
- Au moins 2 motifs de ( $s* ) doivent être trouvés.
- Au moins 1 motifs de ( $b* ) doivent être trouvés.
Tester cette règle dans votre navigateur
Déposez un fichier pour le scanner avec cette règle grâce à YARA-X compilé en WebAssembly. Rien n’est envoyé.
Déposez un fichier ici ou cliquez pour choisirScanné localement avec YARA-X. Fichiers jusqu’à 200 Mo.
Références
Licence et attribution
Auteur : ditekSHen
Dépôt source : ditekSHen detection @ e76c93dcde
Licence : BSD 2-Clause License (licence du dépôt)
Mention de copyright : Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).
Reprise via YARA Forge 20260927, qui préfixe les noms de règles par la source et ajoute des champs meta normalisés.
Identifiant de règle: da1bf899-feb5-5ed0-956e-c20bc3565a6e
Tags:FILE
Règles liées
- 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