Zum Inhalt springen

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Fonix

Detects Fonix ransomware

MalwareFonixditekSHen 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 Fonix ransomware

Zugehörige Malware-Familie: Fonix.

Ziele: Windows-PE.

Sie definiert 14 Muster (14 Text, 0 Hex, 0 Regex).

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

malware-win-fonix.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Fonix : FILE
{
	meta:
		description = "Detects Fonix ransomware"
		author = "ditekSHen"
		id = "d67cce49-5f4f-59f6-b2a9-9c4dd1c6c0f6"
		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#L3459-L3481"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "159b8946f7772c76271de821eb12897689bf73d96fc6a1d7c4a65cdc50b877c7"
		score = 75
		quality = 75
		tags = "FILE"
		clamav_sig = "MALWARE.Win.Ransomware.Fonix"

	strings:
		$s1 = "dontcryptanyway" fullword wide
		$s2 = "Cpriv.key" ascii wide
		$s3 = "Cpub.key" ascii wide
		$s4 = "NetShareEnum() failed!Error: % ld" fullword wide
		$s5 = "<div class='title'> Attention!</div><ul><li><u><b>DO NOT</b> pay" wide
		$s6 = "Encryption Completed !!!" fullword wide
		$s7 = "kill process" fullword ascii
		$s8 = "Copy SystemID C:\\ProgramData\\SystemID" ascii
		$id1 = "].FONIX" fullword wide
		$id2 = "xinofconfig.txt" fullword ascii wide
		$id3 = "XINOF4MUTEX" wide
		$id4 = ":\\Fonix\\cryptoPP\\" ascii
		$id5 = "schtasks /CREATE /SC ONLOGON /TN fonix" ascii
		$id6 = "Ransomware\\Fonix" ascii

	condition:
		uint16( 0 ) == 0x5a4d and ( 6 of ( $s* ) or 3 of ( $id* ) or ( 1 of ( $id* ) and 3 of ( $s* ) ) )
}

Strings (14 Muster)

BezeichnerTypWertModifikatoren
$s1Text"dontcryptanyway"fullword wide
$s2Text"Cpriv.key"ascii wide
$s3Text"Cpub.key"ascii wide
$s4Text"NetShareEnum() failed!Error: % ld"fullword wide
$s5Text"<div class='title'> Attention!</div><ul><li><u><b>DO NOT</b> pay"wide
$s6Text"Encryption Completed !!!"fullword wide
$s7Text"kill process"fullword ascii
$s8Text"Copy SystemID C:\\ProgramData\\SystemID"ascii
$id1Text"].FONIX"fullword wide
$id2Text"xinofconfig.txt"fullword ascii wide
$id3Text"XINOF4MUTEX"wide
$id4Text":\\Fonix\\cryptoPP\\"ascii
$id5Text"schtasks /CREATE /SC ONLOGON /TN fonix"ascii
$id6Text"Ransomware\\Fonix"ascii

Bedingung

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

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Mindestens 6 Muster aus ( $s* ) müssen treffen.
  • Mindestens 3 Muster aus ( $id* ) müssen treffen.
  • Mindestens 1 Muster aus ( $id* ) müssen treffen.
  • Mindestens 3 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: d67cce49-5f4f-59f6-b2a9-9c4dd1c6c0f6

Metadaten

clamav_sigMALWARE.Win.Ransomware.Fonix

Tags:FILE

Weitere Fonix-Regeln