YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_APT_Turlamosquito_MAL_Oct22_1
Detects Turla Mosquito malware
- Auteur
- Florian Roth (Nextron Systems)
- Date
- 2022-10-25
- Modifiée
- 2023-12-05
- Score / Qualité
- 80 / 85
Ce que détecte cette règle
Detects Turla Mosquito malware
Famille de malware associée : Mosquito.
Cibles : PE Windows.
Elle définit 7 motifs (4 texte, 3 hex, 0 regex). Modules YARA utilisés : pe.
Résumé généré à partir des métadonnées et de la condition de la règle.
Source de la règle
Inclut les imports nécessaires pour la compiler seule.
import "pe"
rule SIGNATURE_BASE_APT_Turlamosquito_MAL_Oct22_1 : FILE
{
meta:
= "Detects Turla Mosquito malware"
= "Florian Roth (Nextron Systems)"
= "f5ad0c0f-81ca-5157-aefb-ead049ada30d"
= "2022-10-25"
= "2023-12-05"
= "https://www.welivesecurity.com/wp-content/uploads/2018/01/ESET_Turla_Mosquito.pdf"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/apt_turla_mosquito.yar#L129-L156"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "6b9e48e3f4873cfb95639d9944fe60e3b056daaa2ea914add14c982e3e11128b"
= "b868b674476418bbdffbe0f3d617d1cce4c2b9dae0eaf3414e538376523e8405"
= "e7fd14ca45818044690ca67f201cc8cfb916ccc941a105927fc4c932c72b425d"
= "fbaca774d6398aac7c171a5d87aa456a1921c1b80449d06f392b088db33ee845"
= 80
= 85
= "FILE"
strings:
$s1 = "Logger32.dll" ascii fullword
$s4 = " executing %u command on drive %martCommand : CWin32ApiErrorExce" wide
$s5 = "Unsupported drive!!!" ascii fullword
$s7 = "D:\\Build_SVN\\PC_MAGICIAN_4." ascii fullword
$op1 = { 40 cc 8b 8b 06 cc 55 00 70 8b 10 10 33 51 04 46 04 64 }
$op2 = { c3 10 e8 50 04 00 cc ff 8d 00 69 8d 75 ff 68 ec 6a 4d }
$op3 = { e8 64 a1 6e 00 64 a1 c2 04 08 75 40 73 1d 8b ff cc 10 89 cc 8b c3 cc af }
condition:
uint16( 0 ) == 0x5a4d and filesize < 2000KB and ( pe.imphash ( ) == "073235ae6dfbb1bf5db68a039a7b7726" or all of them )
}
Chaînes (7 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $s1 | texte | "Logger32.dll" | ascii fullword |
| $s4 | texte | " executing %u command on drive %martCommand : CWin32ApiErrorExce" | wide |
| $s5 | texte | "Unsupported drive!!!" | ascii fullword |
| $s7 | texte | "D:\\Build_SVN\\PC_MAGICIAN_4." | ascii fullword |
| $op1 | hex | { 40 cc 8b 8b 06 cc 55 00 70 8b 10 10 33 51 04 46 04 64 } | |
| $op2 | hex | { c3 10 e8 50 04 00 cc ff 8d 00 69 8d 75 ff 68 ec 6a 4d } | |
| $op3 | hex | { e8 64 a1 6e 00 64 a1 c2 04 08 75 40 73 1d 8b ff cc 10 89 cc 8b c3 cc af } |
Condition
uint16( 0 ) == 0x5a4d and filesize < 2000KB and ( pe.imphash ( ) == "073235ae6dfbb1bf5db68a039a7b7726" or all of them )En clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- Le fichier doit faire moins de 2000KB (garde-fou peu coûteux qui écarte les gros fichiers).
- Tous les motifs de la règle doivent être trouvés.
- Utilise le module pe.
- Vérifie le hash des imports PE (imphash).
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é.
Hashes d’échantillons
Hashes des échantillons listés par l’auteur dans les métadonnées de la règle (à rechercher dans votre plateforme de threat intelligence).
- 6b9e48e3f4873cfb95639d9944fe60e3b056daaa2ea914add14c982e3e11128b
- b868b674476418bbdffbe0f3d617d1cce4c2b9dae0eaf3414e538376523e8405
- e7fd14ca45818044690ca67f201cc8cfb916ccc941a105927fc4c932c72b425d
Licence et attribution
Auteur : Florian Roth (Nextron Systems)
Dépôt source : Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
Licence : Detection Rule License 1.1 (licence du dépôt)
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: f5ad0c0f-81ca-5157-aefb-ead049ada30d
Tags:FILE
Règles liées
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- APT / acteurSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-01-16
- APT / acteurSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-01-16
- APT / acteurSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-02-25
- APT / acteurSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2023-03-31
- APT / acteurSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-01-16
- APT / acteurSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-02-25
- APT / acteurSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-02-24