Zum Inhalt springen

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Crimsonrat

Detects CrimsonRAT

MalwareCrimsonratditekSHen 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 CrimsonRAT

Zugehörige Malware-Familie: Crimsonrat.

Ziele: Windows-PE.

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

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

malware-win-crimsonrat.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Crimsonrat : FILE
{
	meta:
		description = "Detects CrimsonRAT"
		author = "ditekSHen"
		id = "54c9bbb2-9fa6-5c1f-9272-13255357ddbf"
		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#L6896-L6920"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "a40cf09dbaafb2e7b9130af1b40e46b4c38fed6185b16435ad4c118f9e6d56c7"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$s1 = "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run|" fullword wide
		$s2 = "system volume information|" fullword wide
		$s3 = "program files (x86)|" fullword wide
		$s4 = "program files|" fullword wide
		$s5 = "<SAVE_AUTO<|" fullword wide
		$s6 = "add_up_files" fullword ascii
		$s7 = "see_folders" ascii
		$s8 = "see_files" ascii
		$s9 = "see_scren" ascii
		$s10 = "see_recording" ascii
		$s11 = "see_responce" ascii
		$s12 = "pull_data" ascii
		$s13 = "do_process" ascii
		$s14 = "do_updated" ascii
		$s15 = "IPSConfig" fullword ascii
		$s16 = "#Runing|ver#" wide
		$s17 = "|fileslog=" wide

	condition:
		uint16( 0 ) == 0x5a4d and 6 of them
}

Strings (17 Muster)

BezeichnerTypWertModifikatoren
$s1Text"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run|"fullword wide
$s2Text"system volume information|"fullword wide
$s3Text"program files (x86)|"fullword wide
$s4Text"program files|"fullword wide
$s5Text"<SAVE_AUTO<|"fullword wide
$s6Text"add_up_files"fullword ascii
$s7Text"see_folders"ascii
$s8Text"see_files"ascii
$s9Text"see_scren"ascii
$s10Text"see_recording"ascii
$s11Text"see_responce"ascii
$s12Text"pull_data"ascii
$s13Text"do_process"ascii
$s14Text"do_updated"ascii
$s15Text"IPSConfig"fullword ascii
$s16Text"#Runing|ver#"wide
$s17Text"|fileslog="wide

Bedingung

uint16( 0 ) == 0x5a4d and 6 of them

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Mindestens 6 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: 54c9bbb2-9fa6-5c1f-9272-13255357ddbf

Tags:FILE