Zum Inhalt springen

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Tofsee

Detects Tofsee

MalwareTofseeditekSHen 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 Tofsee

Zugehörige Malware-Familie: Tofsee.

Ziele: Windows-PE.

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

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

malware-win-tofsee.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Tofsee : FILE
{
	meta:
		description = "Detects Tofsee"
		author = "ditekSHen"
		id = "86371c0b-72f9-56c0-9f34-f14d2a069c91"
		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#L8933-L8949"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "9ef06643173c70c5b06b19200cb5b5efa7db7eb3516b67621f0b1975f1c80781"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$s1 = "n%systemroot%\\system32\\cmd.exe" fullword wide
		$s2 = "loader_id" fullword ascii
		$s3 = "start_srv" fullword ascii
		$s4 = "lid_file_upd" fullword ascii
		$s5 = "localcfg" fullword ascii
		$s6 = "Incorrect respons" fullword ascii
		$s7 = "mx connect error" fullword ascii
		$s8 = "Error sending command (sent = %d/%d)" fullword ascii
		$s9 = "%s, %u %s %u %.2u:%.2u:%.2u %s%.2u%.2u" fullword ascii

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

Strings (9 Muster)

BezeichnerTypWertModifikatoren
$s1Text"n%systemroot%\\system32\\cmd.exe"fullword wide
$s2Text"loader_id"fullword ascii
$s3Text"start_srv"fullword ascii
$s4Text"lid_file_upd"fullword ascii
$s5Text"localcfg"fullword ascii
$s6Text"Incorrect respons"fullword ascii
$s7Text"mx connect error"fullword ascii
$s8Text"Error sending command (sent = %d/%d)"fullword ascii
$s9Text"%s, %u %s %u %.2u:%.2u:%.2u %s%.2u%.2u"fullword ascii

Bedingung

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

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Mindestens 5 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: 86371c0b-72f9-56c0-9f34-f14d2a069c91

Tags:FILE