YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Akira
Detects Akira Ransomware Windows
- Auteur
- ditekSHen
- Date
- 2020-11-06
- Modifiée
- 2024-11-01
- Score / Qualité
- 75 / 75
Ce que détecte cette règle
Detects Akira Ransomware Windows
Famille de malware associée : Akira.
Cibles : PE Windows.
Elle définit 16 motifs (14 texte, 1 hex, 1 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 DITEKSHEN_MALWARE_Win_Akira : FILE
{
meta:
= "Detects Akira Ransomware Windows"
= "ditekSHen"
= "350ecf81-7926-5cd2-b0c8-2dd748775e74"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L10220-L10243"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "73dd0a1b21be8ff7362536f6b6255cd19510632782effd67a56d7656bebf04ff"
= 75
= 75
= "FILE"
strings:
$x1 = "https://akira" ascii
$x2 = ":\\akira\\" ascii
$x3 = ".akira" ascii
$x4 = "akira_readme.txt" ascii
$x5 = "\\akira\\asio\\include\\asio\\impl\\co_spawn.hpp" ascii
$s1 = "Get-WmiObject Win32_Shadowcopy | Remove-WmiObject" ascii
$s2 = "Win32_ProcessStartup" fullword wide
$s3 = /Failed\sto\smake\s(part|full|spot)\sencrypt/ ascii wide
$s4 = "--encryption_" ascii
$s5 = "--share_file" ascii
$s6 = { 24 00 52 00 45 00 43 00 59 00 43 00 4C 00 45 00 2E 00 42 00 49 00 4E 00 00 00 00 00 6? 6? 6? 00 (24|57) 00 (52|69) 00 }
$s7 = " PUBLIC KEY-----" ascii
$s8 = ".onion" ascii
$s9 = "/Esxi_Build_Esxi6/./" ascii nocase
$s10 = "No path to encrypt" ascii
$s11 = "-fork" fullword ascii
condition:
uint16( 0 ) == 0x5a4d and ( 3 of ( $x* ) or ( 1 of ( $x* ) and 4 of ( $s* ) ) or 6 of ( $s* ) )
}
Chaînes (16 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $x1 | texte | "https://akira" | ascii |
| $x2 | texte | ":\\akira\\" | ascii |
| $x3 | texte | ".akira" | ascii |
| $x4 | texte | "akira_readme.txt" | ascii |
| $x5 | texte | "\\akira\\asio\\include\\asio\\impl\\co_spawn.hpp" | ascii |
| $s1 | texte | "Get-WmiObject Win32_Shadowcopy | Remove-WmiObject" | ascii |
| $s2 | texte | "Win32_ProcessStartup" | fullword wide |
| $s3 | regex | /Failed\sto\smake\s(part|full|spot)\sencrypt/ | ascii wide |
| $s4 | texte | "--encryption_" | ascii |
| $s5 | texte | "--share_file" | ascii |
| $s6 | hex | { 24 00 52 00 45 00 43 00 59 00 43 00 4C 00 45 00 2E 00 42 00 49 00 4E 00 00 00 00 00 6? 6? 6? 00 (24|57) 00 (52|69) 00 } | |
| $s7 | texte | " PUBLIC KEY-----" | ascii |
| $s8 | texte | ".onion" | ascii |
| $s9 | texte | "/Esxi_Build_Esxi6/./" | ascii nocase |
| $s10 | texte | "No path to encrypt" | ascii |
| $s11 | texte | "-fork" | fullword ascii |
Condition
uint16( 0 ) == 0x5a4d and ( 3 of ( $x* ) or ( 1 of ( $x* ) and 4 of ( $s* ) ) or 6 of ( $s* ) )En clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- Au moins 3 motifs de ( $x* ) doivent être trouvés.
- Au moins 1 motifs de ( $x* ) doivent être trouvés.
- Au moins 4 motifs de ( $s* ) doivent être trouvés.
- Au moins 6 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é.
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: 350ecf81-7926-5cd2-b0c8-2dd748775e74
Tags:FILE
Règles liées
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareSignature Base (Florian Roth / Nextron)· 0x0d4y-Icaro Cesar· 2025-04-11
- MalwareSignature Base (Florian Roth / Nextron)· 0x0d4y-Icaro Cesar· 2025-04-11
- 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