Zum Inhalt springen

YARA · SEKOIA.IO Community

SEKOIA_Malware_Swordldr

Detects Swordldr. Maybe chunk_1 is too restrictive

MalwareSEKOIA.IO CommunityDetection Rule License 1.1Kompiliert mit YARA-X
Autor
Sekoia.io
Datum
2024-09-25
Geändert
2024-12-19
Score / Qualität
75 / 80

Was diese Regel erkennt

Detects Swordldr. Maybe chunk_1 is too restrictive

Ziele: Windows-PE.

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

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

malware-swordldr.yarDetection Rule License 1.1
rule SEKOIA_Malware_Swordldr : FILE
{
	meta:
		description = "Detects Swordldr. Maybe chunk_1 is too restrictive"
		author = "Sekoia.io"
		id = "4068c007-50f4-4913-a352-4a40dd4e452b"
		date = "2024-09-25"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/malware_swordldr.yar#L1-L29"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		hash = "d0cc758082e303275cbb8cd6b2048eff"
		hash = "7aa57da44718cd88f7d37b33a5d3ad74"
		logic_hash = "9e408181b9122925c0ff9efdaed688e659596b58b9108c0f280d9bc1624d73cb"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$ = { CC CC CC CC B0 01 C3 CC CC CC CC }
		$ = { CC CC CC CC B0 02 C3 CC CC CC CC }
		$ = { CC CC CC CC B0 03 C3 CC CC CC CC }
		$ = { CC CC CC CC B0 04 C3 CC CC CC CC }
		$ = { CC CC CC CC B0 05 C3 CC CC CC CC }
		$ = { CC CC CC CC B0 06 C3 CC CC CC CC }
		$ = { CC CC CC CC B0 07 C3 CC CC CC CC }
		$ = { CC CC CC CC B0 08 C3 CC CC CC CC }
		$ = { CC CC CC CC B0 09 C3 CC CC CC CC }
		$chunk_1 = {
        48 63 44 24 40 44 8B 44 86 04 48 63 44 24 40 45 23 ?? 45 03 C0 8B 54 86 04 48 63 44 24 40 41 2B D0 41 03 ?? 89 54 86 04
        }

	condition:
		uint16be( 0 ) == 0x4d5a and 4 of them and #chunk_1 > 5
}

Strings (10 Muster)

BezeichnerTypWertModifikatoren
$Hex{ CC CC CC CC B0 01 C3 CC CC CC CC }
$Hex{ CC CC CC CC B0 02 C3 CC CC CC CC }
$Hex{ CC CC CC CC B0 03 C3 CC CC CC CC }
$Hex{ CC CC CC CC B0 04 C3 CC CC CC CC }
$Hex{ CC CC CC CC B0 05 C3 CC CC CC CC }
$Hex{ CC CC CC CC B0 06 C3 CC CC CC CC }
$Hex{ CC CC CC CC B0 07 C3 CC CC CC CC }
$Hex{ CC CC CC CC B0 08 C3 CC CC CC CC }
$Hex{ CC CC CC CC B0 09 C3 CC CC CC CC }
$chunk_1Hex{ 48 63 44 24 40 44 8B 44 86 04 48 63 44 24 40 45 23 ?? 45 03 C0 8B 54 86 04 48 63 44 24 40 41 2B D0 41 03 ?? 89 54 86 04 }

Bedingung

uint16be( 0 ) == 0x4d5a and 4 of them and #chunk_1 > 5

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Mindestens 4 Muster aus der Regel müssen treffen.
  • Muster $chunk_1 muss > 5-mal vorkommen.

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

Proben-Hashes

Hashes der Proben, die der Autor in den Metadaten der Regel nennt (in Ihrer Threat-Intelligence-Plattform nachschlagen).

  • d0cc758082e303275cbb8cd6b2048eff
  • 7aa57da44718cd88f7d37b33a5d3ad74

Lizenz & Namensnennung

Autor: Sekoia.io

Quell-Repository: SEKOIA.IO Community @ a438a5901a

Lizenz: Detection Rule License 1.1 (Repository-Lizenz)

Originalregel

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

Regel-ID: 4068c007-50f4-4913-a352-4a40dd4e452b

Metadaten

version1.0
classificationTLP:CLEAR

Tags:FILE