YARA · SEKOIA.IO Community
SEKOIA_Loader_Win_Revil_Loader
Detect the REvil loader using DDL side loading. The detected ressource is a legitimate executable used to load the malicious .dll containing the ransomware
- Auteur
- Sekoia.io
- Date
- 2021-07-19
- Modifiée
- 2024-12-19
- Score / Qualité
- 75 / 80
Ce que détecte cette règle
Detect the REvil loader using DDL side loading. The detected ressource is a legitimate executable used to load the malicious .dll containing the ransomware
Famille de malware associée : Revil.
Cibles : PE Windows.
Elle définit 3 motifs (3 texte, 0 hex, 0 regex). Modules YARA utilisés : pe, hash.
YARA-X indique : warning[deprecated_field]: field `number_of_resources` is deprecated
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"
import "hash"
rule SEKOIA_Loader_Win_Revil_Loader
{
meta:
= "Detect the REvil loader using DDL side loading. The detected ressource is a legitimate executable used to load the malicious .dll containing the ransomware"
= "Sekoia.io"
= "3c293e87-e2d7-475a-9536-8b991961fa11"
= "2021-07-19"
= "2024-12-19"
= "https://www.mcafee.com/blogs/other-blogs/mcafee-labs/revil-ransomware-uses-dll-sideloading"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/loader_win_revil_loader.yar#L4-L34"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "1fe9b489c25bb23b04d9996e8107671edee69bd6f6def2fe7ece38a0fb35f98e"
= "50416e50797cf88a48d086e718c003e2d10c3847b1a251669d6f10f8d3546e03"
= "66490c59cb9630b53fa3fa7125b5c9511afde38edab4459065938c1974229ca8"
= "81d0c71f8b282076cd93fb6bb5bfd3932422d033109e2c92572fc49e4abc2471"
= "aae6e388e774180bc3eb96dad5d5bfefd63d0eb7124d68b6991701936801f1c7"
= "d55f983c994caa160ec63a59f6b4250fe67fb3e8c43a388aec60a4a6978e9f1e"
= "dc6b0e8c1e9c113f0364e1c8370060dee3fcbe25b667ddeca7623a95cd21411f"
= "df2d6ef0450660aaae62c429610b964949812df2da1c57646fc29aa51c3f031e"
= "15680c5e5d801d65e581869ad88d89863c8a51e3f94a3d2f37c02c5fd14df07f"
= 75
= 80
= ""
= "1.0"
= "TLP:CLEAR"
strings:
$crypto = ".\\crypto\\" ascii
$dropped_name1 = "MsMpEng.exe" wide
$dropped_name2 = "mpsvc.dll" ascii
condition:
all of ( $dropped_name* ) and #crypto > 100 and for any i in ( 0 .. pe.number_of_resources -1 ) : ( hash.sha256 ( pe.resources [ i ] . offset , pe.resources [ i ] . length ) == "33bc14d231a4afaa18f06513766d5f69d8b88f1e697cd127d24fb4b72ad44c7a" )
}
Chaînes (3 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $crypto | texte | ".\\crypto\\" | ascii |
| $dropped_name1 | texte | "MsMpEng.exe" | wide |
| $dropped_name2 | texte | "mpsvc.dll" | ascii |
Condition
all of ( $dropped_name* ) and #crypto > 100 and for any i in ( 0 .. pe.number_of_resources -1 ) : ( hash.sha256 ( pe.resources [ i ] . offset , pe.resources [ i ] . length ) == "33bc14d231a4afaa18f06513766d5f69d8b88f1e697cd127d24fb4b72ad44c7a" )En clair (Heuristique)
- Tous les motifs de ( $dropped_name* ) doivent être trouvés.
- Le motif $crypto doit apparaître > 100 fois.
- Une boucle for vérifie une propriété sur plusieurs occurrences ou éléments.
- Utilise le module pe.
- Utilise le module hash.
- Compare un hash du fichier ou d’une partie du fichier.
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é.
Références
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).
- 1fe9b489c25bb23b04d9996e8107671edee69bd6f6def2fe7ece38a0fb35f98e
- 50416e50797cf88a48d086e718c003e2d10c3847b1a251669d6f10f8d3546e03
- 66490c59cb9630b53fa3fa7125b5c9511afde38edab4459065938c1974229ca8
- 81d0c71f8b282076cd93fb6bb5bfd3932422d033109e2c92572fc49e4abc2471
- aae6e388e774180bc3eb96dad5d5bfefd63d0eb7124d68b6991701936801f1c7
- d55f983c994caa160ec63a59f6b4250fe67fb3e8c43a388aec60a4a6978e9f1e
- dc6b0e8c1e9c113f0364e1c8370060dee3fcbe25b667ddeca7623a95cd21411f
- df2d6ef0450660aaae62c429610b964949812df2da1c57646fc29aa51c3f031e
Licence et attribution
Auteur : Sekoia.io
Dépôt source : SEKOIA.IO Community @ a438a5901a
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: 3c293e87-e2d7-475a-9536-8b991961fa11
Métadonnées
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Règles liées
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2020-10-13
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- ARKBIRD_SOLG_RAN_ELF_Revil_Jun_2021_1Métadonnées seulesMalwareArkbird SOLG (DailyIOC)· Arkbird_SOLG· 2021-06-28
- APT / acteurSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-07-02
- APT / acteurSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-07-02
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-16
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-08-23
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-04-22