YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Fonix
Detects Fonix ransomware
- Auteur
- ditekSHen
- Date
- 2020-11-06
- Modifiée
- 2024-11-01
- Score / Qualité
- 75 / 75
Ce que détecte cette règle
Detects Fonix ransomware
Famille de malware associée : Fonix.
Cibles : PE Windows.
Elle définit 14 motifs (14 texte, 0 hex, 0 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-fonix.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Fonix : FILE
{
meta:
= "Detects Fonix ransomware"
= "ditekSHen"
= "d67cce49-5f4f-59f6-b2a9-9c4dd1c6c0f6"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L3459-L3481"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "159b8946f7772c76271de821eb12897689bf73d96fc6a1d7c4a65cdc50b877c7"
= 75
= 75
= "FILE"
= "MALWARE.Win.Ransomware.Fonix"
strings:
$s1 = "dontcryptanyway" fullword wide
$s2 = "Cpriv.key" ascii wide
$s3 = "Cpub.key" ascii wide
$s4 = "NetShareEnum() failed!Error: % ld" fullword wide
$s5 = "<div class='title'> Attention!</div><ul><li><u><b>DO NOT</b> pay" wide
$s6 = "Encryption Completed !!!" fullword wide
$s7 = "kill process" fullword ascii
$s8 = "Copy SystemID C:\\ProgramData\\SystemID" ascii
$id1 = "].FONIX" fullword wide
$id2 = "xinofconfig.txt" fullword ascii wide
$id3 = "XINOF4MUTEX" wide
$id4 = ":\\Fonix\\cryptoPP\\" ascii
$id5 = "schtasks /CREATE /SC ONLOGON /TN fonix" ascii
$id6 = "Ransomware\\Fonix" ascii
condition:
uint16( 0 ) == 0x5a4d and ( 6 of ( $s* ) or 3 of ( $id* ) or ( 1 of ( $id* ) and 3 of ( $s* ) ) )
}
Chaînes (14 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $s1 | texte | "dontcryptanyway" | fullword wide |
| $s2 | texte | "Cpriv.key" | ascii wide |
| $s3 | texte | "Cpub.key" | ascii wide |
| $s4 | texte | "NetShareEnum() failed!Error: % ld" | fullword wide |
| $s5 | texte | "<div class='title'> Attention!</div><ul><li><u><b>DO NOT</b> pay" | wide |
| $s6 | texte | "Encryption Completed !!!" | fullword wide |
| $s7 | texte | "kill process" | fullword ascii |
| $s8 | texte | "Copy SystemID C:\\ProgramData\\SystemID" | ascii |
| $id1 | texte | "].FONIX" | fullword wide |
| $id2 | texte | "xinofconfig.txt" | fullword ascii wide |
| $id3 | texte | "XINOF4MUTEX" | wide |
| $id4 | texte | ":\\Fonix\\cryptoPP\\" | ascii |
| $id5 | texte | "schtasks /CREATE /SC ONLOGON /TN fonix" | ascii |
| $id6 | texte | "Ransomware\\Fonix" | ascii |
Condition
uint16( 0 ) == 0x5a4d and ( 6 of ( $s* ) or 3 of ( $id* ) or ( 1 of ( $id* ) and 3 of ( $s* ) ) )En clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- Au moins 6 motifs de ( $s* ) doivent être trouvés.
- Au moins 3 motifs de ( $id* ) doivent être trouvés.
- Au moins 1 motifs de ( $id* ) doivent être trouvés.
- Au moins 3 motifs de ( $s* ) 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: d67cce49-5f4f-59f6-b2a9-9c4dd1c6c0f6
Métadonnées
| clamav_sig | MALWARE.Win.Ransomware.Fonix |
|---|
Tags:FILE
Règles liées
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- MalwareSEKOIA.IO Community· Sekoia.io· 2021-10-07
- 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