YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Akira
Detects Akira Ransomware Windows
- Autor
- ditekSHen
- Fecha
- 2020-11-06
- Modificada
- 2024-11-01
- Puntuación / Calidad
- 75 / 75
Qué detecta esta regla
Detects Akira Ransomware Windows
Familia de malware asociada: Akira.
Objetivos: PE de Windows.
Define 16 patrones (14 de texto, 1 hex, 1 regex).
Resumen generado a partir de los metadatos y la condición de la regla.
Código de la regla
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* ) )
}
Cadenas (16 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $x1 | texto | "https://akira" | ascii |
| $x2 | texto | ":\\akira\\" | ascii |
| $x3 | texto | ".akira" | ascii |
| $x4 | texto | "akira_readme.txt" | ascii |
| $x5 | texto | "\\akira\\asio\\include\\asio\\impl\\co_spawn.hpp" | ascii |
| $s1 | texto | "Get-WmiObject Win32_Shadowcopy | Remove-WmiObject" | ascii |
| $s2 | texto | "Win32_ProcessStartup" | fullword wide |
| $s3 | regex | /Failed\sto\smake\s(part|full|spot)\sencrypt/ | ascii wide |
| $s4 | texto | "--encryption_" | ascii |
| $s5 | texto | "--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 | texto | " PUBLIC KEY-----" | ascii |
| $s8 | texto | ".onion" | ascii |
| $s9 | texto | "/Esxi_Build_Esxi6/./" | ascii nocase |
| $s10 | texto | "No path to encrypt" | ascii |
| $s11 | texto | "-fork" | fullword ascii |
Condición
uint16( 0 ) == 0x5a4d and ( 3 of ( $x* ) or ( 1 of ( $x* ) and 4 of ( $s* ) ) or 6 of ( $s* ) )En palabras sencillas (Heurística)
- El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
- Deben coincidir al menos 3 patrones de ( $x* ).
- Deben coincidir al menos 1 patrones de ( $x* ).
- Deben coincidir al menos 4 patrones de ( $s* ).
- Deben coincidir al menos 6 patrones de ( $s* ).
Prueba esta regla en tu navegador
Arrastra un archivo para escanearlo con esta regla usando YARA-X compilado a WebAssembly. No se sube nada.
Referencias
Licencia y atribución
Autor: ditekSHen
Repositorio de origen: ditekSHen detection @ e76c93dcde
Licencia: BSD 2-Clause License (licencia del repositorio)
Aviso de copyright: Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).
Obtenida a través de YARA Forge 20260927, que añade a los nombres el prefijo de la fuente y campos meta normalizados.
Id de la regla: 350ecf81-7926-5cd2-b0c8-2dd748775e74
Etiquetas:FILE
Reglas relacionadas
- 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