Zum Inhalt springen

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Nermer

Detects Nermer ransomware

MalwareNermerditekSHen 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 Nermer ransomware

Zugehörige Malware-Familie: Nermer.

Ziele: Windows-PE.

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

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

malware-win-nermer.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Nermer : FILE
{
	meta:
		description = "Detects Nermer ransomware"
		author = "ditekSHen"
		id = "fce4f178-8e98-53b0-ae09-2ce876ad524e"
		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#L6036-L6062"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "e885b1b908b256ee07f5cb144d63f5ad65e5bf746b70efe168b0ac742a246ab3"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$x1 = "gPROTECT_INFO.TXT" fullword wide
		$x2 = ".nermer" fullword wide
		$s1 = "db_journal" fullword wide
		$s2 = "quicken2015backup" fullword wide
		$s3 = "mysql" fullword wide
		$s4 = "sas7bdat" fullword wide
		$s5 = "httpd.exe" fullword wide
		$s6 = "Intuit.QuickBooks.FCS" fullword wide
		$s7 = "convimage" fullword wide
		$s8 = ".?AV?$_Binder@U_Unforced@std@@P8shares_t@" ascii
		$s9 = "BgIAAACkAABSU0ExAAgAAAEAAQCt" ascii
		$m1 = "YOUR FILES WERE ENCRYPTED" ascii
		$m2 = "MARKED BY EXTENSION .nermer" ascii
		$m3 = "send us your id: >> {id} <<" ascii
		$m4 = "email us: >> {email} <<" ascii
		$c1 = "/repeater.php" ascii
		$c2 = "HTTPClient/0.1" fullword ascii
		$c3 = "94.156.35.227" ascii
		$c4 = "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36" fullword ascii

	condition:
		uint16( 0 ) == 0x5a4d and ( all of ( $m* ) or all of ( $c* ) or all of ( $s* ) or ( 4 of ( $s* ) and ( 1 of ( $x* ) or 1 of ( $m* ) or 2 of ( $c* ) ) ) or 14 of them )
}

Strings (19 Muster)

BezeichnerTypWertModifikatoren
$x1Text"gPROTECT_INFO.TXT"fullword wide
$x2Text".nermer"fullword wide
$s1Text"db_journal"fullword wide
$s2Text"quicken2015backup"fullword wide
$s3Text"mysql"fullword wide
$s4Text"sas7bdat"fullword wide
$s5Text"httpd.exe"fullword wide
$s6Text"Intuit.QuickBooks.FCS"fullword wide
$s7Text"convimage"fullword wide
$s8Text".?AV?$_Binder@U_Unforced@std@@P8shares_t@"ascii
$s9Text"BgIAAACkAABSU0ExAAgAAAEAAQCt"ascii
$m1Text"YOUR FILES WERE ENCRYPTED"ascii
$m2Text"MARKED BY EXTENSION .nermer"ascii
$m3Text"send us your id: >> {id} <<"ascii
$m4Text"email us: >> {email} <<"ascii
$c1Text"/repeater.php"ascii
$c2Text"HTTPClient/0.1"fullword ascii
$c3Text"94.156.35.227"ascii
$c4Text"Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36"fullword ascii

Bedingung

uint16( 0 ) == 0x5a4d and ( all of ( $m* ) or all of ( $c* ) or all of ( $s* ) or ( 4 of ( $s* ) and ( 1 of ( $x* ) or 1 of ( $m* ) or 2 of ( $c* ) ) ) or 14 of them )

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Alle Muster aus ( $m* ) müssen treffen.
  • Alle Muster aus ( $c* ) müssen treffen.
  • Alle Muster aus ( $s* ) müssen treffen.
  • Mindestens 4 Muster aus ( $s* ) müssen treffen.
  • Mindestens 1 Muster aus ( $x* ) müssen treffen.
  • Mindestens 1 Muster aus ( $m* ) müssen treffen.
  • Mindestens 2 Muster aus ( $c* ) müssen treffen.
  • Mindestens 14 Muster aus der Regel 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: fce4f178-8e98-53b0-ae09-2ce876ad524e

Tags:FILE