Zum Inhalt springen

YARA · deadbits yara-rules

DEADBITS_Dacls_Trojan_Windows

No description has been set in the source file - DeadBits

Malwaredeadbits yara-rulesThe UnlicenseKompiliert mit YARA-X
Autor
Adam Swanda
Datum
2020-01-07
Score / Qualität
75 / 80

Was diese Regel erkennt

No description has been set in the source file - DeadBits

Ziele: Windows-PE.

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

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

dacls-trojan-windows.yarThe Unlicense
rule DEADBITS_Dacls_Trojan_Windows : FILE
{
	meta:
		description = "No description has been set in the source file - DeadBits"
		author = "Adam Swanda"
		id = "424b2c0d-2373-5a72-9a97-52b4bfc5cdcf"
		date = "2020-01-07"
		modified = "2020-01-07"
		reference = "https://github.com/deadbits/yara-rules"
		source_url = "https://github.com/deadbits/yara-rules//blob/d002f7ecee23e09142a3ac3e79c84f71dda3f001/rules/Dacls_Windows.yara#L1-L30"
		license_url = "N/A"
		logic_hash = "b77df7e3be9c264d6a63d40dbf49c41e9dd55b4e570c063b5710b849c36cc166"
		score = 75
		quality = 80
		tags = "FILE"
		Author = "Adam M. Swanda"

	strings:
		$fext00 = ".exe" ascii wide
		$fext01 = ".cmd" ascii wide
		$fext02 = ".bat" ascii wide
		$fext03 = ".com" ascii wide
		$str00 = "Software\\mthjk" ascii wide
		$str01 = "WindowsNT.dll" ascii fullword
		$str02 = "GET %s HTTP/1.1" ascii fullword
		$str03 = "content-length:" ascii fullword
		$str04 = "Connection: keep-alive" ascii fullword
		$cls00 = "c_2910.cls" ascii fullword
		$cls01 = "k_3872.cls" ascii fullword

	condition:
		( uint16( 0 ) == 0x5a4d ) and ( ( all of ( $cls* ) ) or ( all of ( $fext* ) and all of ( $str* ) ) )
}

Strings (11 Muster)

BezeichnerTypWertModifikatoren
$fext00Text".exe"ascii wide
$fext01Text".cmd"ascii wide
$fext02Text".bat"ascii wide
$fext03Text".com"ascii wide
$str00Text"Software\\mthjk"ascii wide
$str01Text"WindowsNT.dll"ascii fullword
$str02Text"GET %s HTTP/1.1"ascii fullword
$str03Text"content-length:"ascii fullword
$str04Text"Connection: keep-alive"ascii fullword
$cls00Text"c_2910.cls"ascii fullword
$cls01Text"k_3872.cls"ascii fullword

Bedingung

( uint16( 0 ) == 0x5a4d ) and ( ( all of ( $cls* ) ) or ( all of ( $fext* ) and all of ( $str* ) ) )

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Alle Muster aus ( $cls* ) müssen treffen.
  • Alle Muster aus ( $fext* ) müssen treffen.
  • Alle Muster aus ( $str* ) 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: Adam Swanda

Quell-Repository: deadbits yara-rules @ d002f7ecee

Lizenz: The Unlicense (Repository-Lizenz)

Originalregel

Gespiegelt über YARA Forge 20260927, das Regelnamen mit der Quelle präfixiert und normalisierte Meta-Felder ergänzt.

Regel-ID: 424b2c0d-2373-5a72-9a97-52b4bfc5cdcf

Tags:FILE