Zum Inhalt springen

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_STOP

Detects STOP ransomware

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

Was diese Regel erkennt

Detects STOP ransomware

Zugehörige Malware-Familie: Stop.

Ziele: Windows-PE.

Sie definiert 13 Muster (12 Text, 0 Hex, 1 Regex).

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

malware-win-stop.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_STOP : FILE
{
	meta:
		description = "Detects STOP ransomware"
		author = "ditekSHen"
		id = "e928d917-a9d9-5830-938a-59b62608e84c"
		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#L3286-L3309"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "61f7e7c1139c56088b2f58b78ae132ffcfef0f931c15b67ea775b0d5e51d189d"
		score = 75
		quality = 73
		tags = "FILE"
		snort2_sid = "920113"
		snort3_sid = "920111"
		clamav_sig = "MALWARE.Win.Ransomware.STOP"

	strings:
		$x1 = "C:\\SystemID\\PersonalID.txt" fullword wide
		$x2 = "/deny *S-1-1-0:(OI)(CI)(DE,DC)" wide
		$x3 = "e:\\doc\\my work (c++)\\_git\\encryption\\" ascii wide nocase
		$s1 = "\" --AutoStart" fullword ascii wide
		$s2 = "--ForNetRes" fullword wide
		$s3 = "--Admin" fullword wide
		$s4 = "%username%" fullword wide
		$s5 = "?pid=" fullword wide
		$s6 = /&first=(true|false)/ fullword wide
		$s7 = "delself.bat" ascii
		$mutex1 = "{1D6FC66E-D1F3-422C-8A53-C0BBCF3D900D}" fullword ascii
		$mutex2 = "{FBB4BCC6-05C7-4ADD-B67B-A98A697323C1}" fullword ascii
		$mutex3 = "{36A698B9-D67C-4E07-BE82-0EC5B14B4DF5}" fullword ascii

	condition:
		uint16( 0 ) == 0x5a4d and ( ( 2 of ( $x* ) and 1 of ( $mutex* ) ) or ( all of ( $x* ) ) or ( 6 of ( $s* ) and ( 1 of ( $x* ) or 1 of ( $mutex* ) ) ) or ( 9 of them ) )
}

Strings (13 Muster)

BezeichnerTypWertModifikatoren
$x1Text"C:\\SystemID\\PersonalID.txt"fullword wide
$x2Text"/deny *S-1-1-0:(OI)(CI)(DE,DC)"wide
$x3Text"e:\\doc\\my work (c++)\\_git\\encryption\\"ascii wide nocase
$s1Text"\" --AutoStart"fullword ascii wide
$s2Text"--ForNetRes"fullword wide
$s3Text"--Admin"fullword wide
$s4Text"%username%"fullword wide
$s5Text"?pid="fullword wide
$s6Regex/&first=(true|false)/fullword wide
$s7Text"delself.bat"ascii
$mutex1Text"{1D6FC66E-D1F3-422C-8A53-C0BBCF3D900D}"fullword ascii
$mutex2Text"{FBB4BCC6-05C7-4ADD-B67B-A98A697323C1}"fullword ascii
$mutex3Text"{36A698B9-D67C-4E07-BE82-0EC5B14B4DF5}"fullword ascii

Bedingung

uint16( 0 ) == 0x5a4d and ( ( 2 of ( $x* ) and 1 of ( $mutex* ) ) or ( all of ( $x* ) ) or ( 6 of ( $s* ) and ( 1 of ( $x* ) or 1 of ( $mutex* ) ) ) or ( 9 of them ) )

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Alle Muster aus ( $x* ) müssen treffen.
  • Mindestens 2 Muster aus ( $x* ) müssen treffen.
  • Mindestens 1 Muster aus ( $mutex* ) müssen treffen.
  • Mindestens 6 Muster aus ( $s* ) müssen treffen.
  • Mindestens 1 Muster aus ( $x* ) müssen treffen.
  • Mindestens 9 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: e928d917-a9d9-5830-938a-59b62608e84c

Metadaten

snort2_sid920113
snort3_sid920111
clamav_sigMALWARE.Win.Ransomware.STOP

Tags:FILE