Zum Inhalt springen

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Akira

Detects Akira Ransomware Windows

MalwareAkiraditekSHen detectionBSD 2-Clause LicenseKompiliert mit YARA-X
Autor
ditekSHen
Datum
2020-11-06
Geändert
2024-11-01
Score / Qualität
75 / 75

Was diese Regel erkennt

Detects Akira Ransomware Windows

Zugehörige Malware-Familie: Akira.

Ziele: Windows-PE.

Sie definiert 16 Muster (14 Text, 1 Hex, 1 Regex).

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

malware-win-akira.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Akira : FILE
{
	meta:
		description = "Detects Akira Ransomware Windows"
		author = "ditekSHen"
		id = "350ecf81-7926-5cd2-b0c8-2dd748775e74"
		date = "2020-11-06"
		modified = "2024-11-01"
		reference = "https://github.com/ditekshen/detection"
		source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L10220-L10243"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "73dd0a1b21be8ff7362536f6b6255cd19510632782effd67a56d7656bebf04ff"
		score = 75
		quality = 75
		tags = "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* ) )
}

Strings (16 Muster)

BezeichnerTypWertModifikatoren
$x1Text"https://akira"ascii
$x2Text":\\akira\\"ascii
$x3Text".akira"ascii
$x4Text"akira_readme.txt"ascii
$x5Text"\\akira\\asio\\include\\asio\\impl\\co_spawn.hpp"ascii
$s1Text"Get-WmiObject Win32_Shadowcopy | Remove-WmiObject"ascii
$s2Text"Win32_ProcessStartup"fullword wide
$s3Regex/Failed\sto\smake\s(part|full|spot)\sencrypt/ascii wide
$s4Text"--encryption_"ascii
$s5Text"--share_file"ascii
$s6Hex{ 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 }
$s7Text" PUBLIC KEY-----"ascii
$s8Text".onion"ascii
$s9Text"/Esxi_Build_Esxi6/./"ascii nocase
$s10Text"No path to encrypt"ascii
$s11Text"-fork"fullword ascii

Bedingung

uint16( 0 ) == 0x5a4d and ( 3 of ( $x* ) or ( 1 of ( $x* ) and 4 of ( $s* ) ) or 6 of ( $s* ) )

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Mindestens 3 Muster aus ( $x* ) müssen treffen.
  • Mindestens 1 Muster aus ( $x* ) müssen treffen.
  • Mindestens 4 Muster aus ( $s* ) müssen treffen.
  • Mindestens 6 Muster aus ( $s* ) müssen treffen.

Diese Regel im Browser testen

Legen Sie eine Datei ab, um sie mit dieser Regel und YARA-X als WebAssembly zu scannen. Nichts wird hochgeladen.

Datei hier ablegen oder klicken zum AuswählenLokal mit YARA-X gescannt. Dateien bis 200 MB.

Im Editor öffnen

Referenzen

Lizenz & Namensnennung

Autor: ditekSHen

Quell-Repository: ditekSHen detection @ e76c93dcde

Lizenz: BSD 2-Clause License (Repository-Lizenz)

Copyright-Hinweis: Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).

Originalregel

Gespiegelt über YARA Forge 20260927, das Regelnamen mit der Quelle präfixiert und normalisierte Meta-Felder ergänzt.

Regel-ID: 350ecf81-7926-5cd2-b0c8-2dd748775e74

Tags:FILE

Weitere Akira-Regeln