Zum Inhalt springen

YARA · SEKOIA.IO Community

SEKOIA_Loader_Latrodectus_Dll

Finds Latrodectus samples based on the specific strings

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

Was diese Regel erkennt

Finds Latrodectus samples based on the specific strings

Zugehörige Malware-Familie: Latrodectus.

Ziele: Windows-PE.

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

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

loader-latrodectus-dll.yarDetection Rule License 1.1
rule SEKOIA_Loader_Latrodectus_Dll : FILE
{
	meta:
		description = "Finds Latrodectus samples based on the specific strings"
		author = "Sekoia.io"
		id = "c60676ad-31cb-4f4d-9073-757a0ad7d23d"
		date = "2023-12-08"
		modified = "2024-12-19"
		reference = "https://twitter.com/Myrtus0x0/status/1732997981866209550"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/loader_latrodectus_dll.yar#L1-L35"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "57aae1944eded14537cdc1c17b21cfc503687a416551b782fc76f8c7858e936e"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$str01 = "c:\\temp\\debug.pdb" fullword ascii
		$str02 = "Bottmp64.dll" fullword ascii
		$str03 = "scab" fullword ascii
		$str04 = "&wmic=" fullword ascii
		$str05 = "&ipconfig=" fullword ascii
		$str06 = "&systeminfo=" fullword ascii
		$str07 = "&domain_trusts=" fullword ascii
		$str08 = "&domain_trusts_all=" fullword ascii
		$str09 = "&net_view_all_domain=" fullword ascii
		$str10 = "&net_view_all=" fullword ascii
		$str11 = "&net_group=" fullword ascii
		$str12 = "&net_config_ws=" fullword ascii
		$str13 = "&net_wmic_av=" fullword ascii
		$str14 = "&whoami_group=" fullword ascii
		$str15 = "\"subproc\": [" fullword ascii
		$str16 = "&proclist=[" fullword ascii
		$str17 = "&desklinks=[" fullword ascii
		$str18 = "Update_%x" fullword wide
		$str19 = "Custom_update" fullword wide
		$str20 = "\\update_data.dat" fullword wide

	condition:
		uint16( 0 ) == 0x5A4D and 10 of them
}

Strings (20 Muster)

BezeichnerTypWertModifikatoren
$str01Text"c:\\temp\\debug.pdb"fullword ascii
$str02Text"Bottmp64.dll"fullword ascii
$str03Text"scab"fullword ascii
$str04Text"&wmic="fullword ascii
$str05Text"&ipconfig="fullword ascii
$str06Text"&systeminfo="fullword ascii
$str07Text"&domain_trusts="fullword ascii
$str08Text"&domain_trusts_all="fullword ascii
$str09Text"&net_view_all_domain="fullword ascii
$str10Text"&net_view_all="fullword ascii
$str11Text"&net_group="fullword ascii
$str12Text"&net_config_ws="fullword ascii
$str13Text"&net_wmic_av="fullword ascii
$str14Text"&whoami_group="fullword ascii
$str15Text"\"subproc\": ["fullword ascii
$str16Text"&proclist=["fullword ascii
$str17Text"&desklinks=["fullword ascii
$str18Text"Update_%x"fullword wide
$str19Text"Custom_update"fullword wide
$str20Text"\\update_data.dat"fullword wide

Bedingung

uint16( 0 ) == 0x5A4D and 10 of them

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Mindestens 10 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: 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: c60676ad-31cb-4f4d-9073-757a0ad7d23d

Metadaten

version1.0
classificationTLP:CLEAR

Tags:FILE

Weitere Latrodectus-Regeln