Zum Inhalt springen

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Smokeloader

Detects SmokeLoader variants

MalwareSmokeloaderditekSHen 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 SmokeLoader variants

Zugehörige Malware-Familie: Smokeloader.

Ziele: Windows-PE.

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

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

malware-win-smokeloader.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Smokeloader : FILE
{
	meta:
		description = "Detects SmokeLoader variants"
		author = "ditekSHen"
		id = "e8f28f89-3a79-5d78-8c0a-bad16a57df84"
		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#L6516-L6539"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "65c56ed11a3cb4e4bcf8fd2a6be097545cb96e84ba4c4202969d1d163a2a36ed"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$x1 = "G2A/CLP/05/RYS" fullword wide
		$x2 = "0N1Y/53R10U5/BU51N355" fullword wide
		$x3 = "CH4PG3PB-6HT2VI9C-O2NL2NO5-QP1BW0EG" fullword wide
		$s1 = "Azure-Update-Task" fullword wide
		$s2 = "C:\\Windows\\System32\\schtasks.exe" fullword wide
		$s3 = "/C /create /F /sc minute /mo 1 /tn \"" fullword wide
		$s4 = "\\Microsoft\\Network" fullword wide
		$s5 = "\\Microsoft\\TelemetryServices" fullword wide
		$s6 = "\" /tr \"" fullword wide
		$e1 = "\\sqlcmd.exe" fullword wide
		$e2 = "\\sihost.exe" fullword wide
		$e3 = "\\fodhelper.exe" fullword wide

	condition:
		uint16( 0 ) == 0x5a4d and ( ( 1 of ( $x* ) and 4 of ( $s* ) ) or ( 5 of ( $s* ) and 1 of ( $e* ) ) )
}

Strings (12 Muster)

BezeichnerTypWertModifikatoren
$x1Text"G2A/CLP/05/RYS"fullword wide
$x2Text"0N1Y/53R10U5/BU51N355"fullword wide
$x3Text"CH4PG3PB-6HT2VI9C-O2NL2NO5-QP1BW0EG"fullword wide
$s1Text"Azure-Update-Task"fullword wide
$s2Text"C:\\Windows\\System32\\schtasks.exe"fullword wide
$s3Text"/C /create /F /sc minute /mo 1 /tn \""fullword wide
$s4Text"\\Microsoft\\Network"fullword wide
$s5Text"\\Microsoft\\TelemetryServices"fullword wide
$s6Text"\" /tr \""fullword wide
$e1Text"\\sqlcmd.exe"fullword wide
$e2Text"\\sihost.exe"fullword wide
$e3Text"\\fodhelper.exe"fullword wide

Bedingung

uint16( 0 ) == 0x5a4d and ( ( 1 of ( $x* ) and 4 of ( $s* ) ) or ( 5 of ( $s* ) and 1 of ( $e* ) ) )

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Mindestens 1 Muster aus ( $x* ) müssen treffen.
  • Mindestens 4 Muster aus ( $s* ) müssen treffen.
  • Mindestens 5 Muster aus ( $s* ) müssen treffen.
  • Mindestens 1 Muster aus ( $e* ) 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: e8f28f89-3a79-5d78-8c0a-bad16a57df84

Tags:FILE