Zum Inhalt springen

YARA · SEKOIA.IO Community

SEKOIA_Loader_Amadey_Stealer_Plugin

Finds Amadey's stealer plugin based on characteristic strings

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

Was diese Regel erkennt

Finds Amadey's stealer plugin based on characteristic strings

Zugehörige Malware-Familie: Amadey.

Ziele: Windows-PE.

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

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

loader-amadey-stealer-plugin.yarDetection Rule License 1.1
rule SEKOIA_Loader_Amadey_Stealer_Plugin : FILE
{
	meta:
		description = "Finds Amadey's stealer plugin based on characteristic strings"
		author = "Sekoia.io"
		id = "50154e39-98b3-40e5-8986-18bbb7b15647"
		date = "2023-05-16"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/loader_amadey_stealer_plugin.yar#L1-L27"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "0410492f9424797b670a14f43ce063458e59d7958e213c07c3d488a40bf370e6"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$str01 = "STEALERDLL.dll" ascii
		$str02 = "?wal=1" fullword ascii
		$str03 = "Content-Disposition: form-data; name=\"data\"; filename=\"" ascii
		$str04 = "tar.exe -cf \"" ascii
		$str05 = "SELECT origin_url, username_value, password_value FROM logins" ascii
		$str06 = "\\Google\\Chrome\\User Data\\Default\\Login Data" ascii
		$str07 = "\\SputnikLab\\Sputnik\\User Data\\Default\\Login Data" ascii
		$str08 = "\\Mozilla\\Firefox\\Profiles\\" ascii
		$str09 = "\"hostname\":\"([^\"]+)\"" ascii
		$str10 = "\"encryptedUsername\":\"([^\"]+)\"" ascii
		$str11 = "\"encryptedPassword\":\"([^\"]+)\"" ascii
		$str12 = "&cred=" fullword ascii
		$str13 = "D:\\Mktmp\\Amadey\\StealerDLL\\x64\\Release\\STEALERDLL.pdb" ascii

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

Strings (13 Muster)

BezeichnerTypWertModifikatoren
$str01Text"STEALERDLL.dll"ascii
$str02Text"?wal=1"fullword ascii
$str03Text"Content-Disposition: form-data; name=\"data\"; filename=\""ascii
$str04Text"tar.exe -cf \""ascii
$str05Text"SELECT origin_url, username_value, password_value FROM logins"ascii
$str06Text"\\Google\\Chrome\\User Data\\Default\\Login Data"ascii
$str07Text"\\SputnikLab\\Sputnik\\User Data\\Default\\Login Data"ascii
$str08Text"\\Mozilla\\Firefox\\Profiles\\"ascii
$str09Text"\"hostname\":\"([^\"]+)\""ascii
$str10Text"\"encryptedUsername\":\"([^\"]+)\""ascii
$str11Text"\"encryptedPassword\":\"([^\"]+)\""ascii
$str12Text"&cred="fullword ascii
$str13Text"D:\\Mktmp\\Amadey\\StealerDLL\\x64\\Release\\STEALERDLL.pdb"ascii

Bedingung

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

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Mindestens 7 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: 50154e39-98b3-40e5-8986-18bbb7b15647

Metadaten

version1.0
classificationTLP:CLEAR

Tags:FILE

Weitere Amadey-Regeln