Zum Inhalt springen

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Leivion

Detects Leivion

MalwareLeivionditekSHen 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 Leivion

Zugehörige Malware-Familie: Leivion.

Ziele: Windows-PE.

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

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

malware-win-leivion.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Leivion : FILE
{
	meta:
		description = "Detects Leivion"
		author = "ditekSHen"
		id = "77800add-8fff-5657-9ed6-a23517bce0b1"
		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#L5660-L5673"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "a0cda23df4301b66feedad7c04b4d051c07474ccaa07c05598dd0b47bb6fc7e6"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$s1 = "/var/lib/veil/go/src/runtime/mem_windows.go" fullword ascii
		$s2 = "/var/lib/veil/go/src/internal/singleflight/singleflight.go" fullword ascii
		$s3 = "/var/lib/veil/go/src/net/http/sniff.go" fullword ascii
		$s4 = "/var/lib/veil/go/src/net/sendfile_windows.go" fullword ascii
		$s5 = "/var/lib/veil/go/src/os/exec_" ascii
		$s6 = "/var/lib/veil/go/src/runtime/mgcsweep.go" fullword ascii

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

Strings (6 Muster)

BezeichnerTypWertModifikatoren
$s1Text"/var/lib/veil/go/src/runtime/mem_windows.go"fullword ascii
$s2Text"/var/lib/veil/go/src/internal/singleflight/singleflight.go"fullword ascii
$s3Text"/var/lib/veil/go/src/net/http/sniff.go"fullword ascii
$s4Text"/var/lib/veil/go/src/net/sendfile_windows.go"fullword ascii
$s5Text"/var/lib/veil/go/src/os/exec_"ascii
$s6Text"/var/lib/veil/go/src/runtime/mgcsweep.go"fullword ascii

Bedingung

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

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Mindestens 4 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: 77800add-8fff-5657-9ed6-a23517bce0b1

Tags:FILE