YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_MAL_Wshrat_Dotnet_Packer_Feb21
Yara Rule for WSH rat .NET packer of February 2021
- Auteur
- Yoroi Malware ZLab
- Date
- 2021-03-09
- Modifiée
- 2023-12-05
- Score / Qualité
- 75 / 85
Ce que détecte cette règle
Yara Rule for WSH rat .NET packer of February 2021
Famille de malware associée : WSHRAT.
Cibles : PE Windows.
Elle définit 6 motifs (0 texte, 6 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
rule SIGNATURE_BASE_MAL_Wshrat_Dotnet_Packer_Feb21 : FILE
{
meta:
= "Yara Rule for WSH rat .NET packer of February 2021 "
= "Yoroi Malware ZLab"
= "62e043fc-7d13-5b91-9fdd-e71d91194da2"
= "2021-03-09"
= "2023-12-05"
= "https://yoroi.company/research/threatening-within-budget-how-wsh-rat-is-abused-by-cyber-crooks/"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/crime_wsh_rat.yar#L1-L17"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "18159b140c314a00111fb9453e60d19c11633628a4fe2ad8299b839165b39424"
= 75
= 85
= "FILE"
strings:
$a1 = { BE DD 60 8C 34 49 9A 54 D2 40 }
$a2 = { 1D D7 24 22 47 A6 B1 A5 }
$a3 = { 13 30 03 00 07 00 00 00 01 }
$a4 = { 11 02 03 7D 78 00 00 04 2A }
$a5 = { A8 8A F4 C8 61 2B CA 07 }
$a6 = { 15 AE 5E AB 5A 20 FE B5 56 B4 61 2B BB 06 2A}
condition:
uint16( 0 ) == 0x5A4D and 3 of them
}
Chaînes (6 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $a1 | hex | { BE DD 60 8C 34 49 9A 54 D2 40 } | |
| $a2 | hex | { 1D D7 24 22 47 A6 B1 A5 } | |
| $a3 | hex | { 13 30 03 00 07 00 00 00 01 } | |
| $a4 | hex | { 11 02 03 7D 78 00 00 04 2A } | |
| $a5 | hex | { A8 8A F4 C8 61 2B CA 07 } | |
| $a6 | hex | { 15 AE 5E AB 5A 20 FE B5 56 B4 61 2B BB 06 2A} |
Condition
uint16( 0 ) == 0x5A4D and 3 of themEn clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- Au moins 3 motifs de la règle 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é.
Licence et attribution
Auteur : Yoroi Malware ZLab
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: 62e043fc-7d13-5b91-9fdd-e71d91194da2
Tags:FILE
Règles liées
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- SECUINFRA_DROPPER_WSHRAT_Stage_1Métadonnées seulesMalwareSecuInfra Falcon Team· SECUINFRA Falcon Team· 2022-11-02
- SECUINFRA_OBFUS_Javascript_Wscript_Hex_Strings_UsageMétadonnées seulesMalwareSecuInfra Falcon Team· SECUINFRA Falcon Team· 2022-12-02