Aller au contenu

YARA · SEKOIA.IO Community

SEKOIA_Loader_Amadey_Stealer_Plugin

Finds Amadey's stealer plugin based on characteristic strings

MalwareAmadeySEKOIA.IO CommunityDetection Rule License 1.1Compile avec YARA-X
Auteur
Sekoia.io
Date
2023-05-16
Modifiée
2024-12-19
Score / Qualité
75 / 80

Ce que détecte cette règle

Finds Amadey's stealer plugin based on characteristic strings

Famille de malware associée : Amadey.

Cibles : PE Windows.

Elle définit 13 motifs (13 texte, 0 hex, 0 regex).

Résumé généré à partir des métadonnées et de la condition de la règle.

Source de la règle

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
}

Chaînes (13 motifs)

IdentifiantTypeValeurModificateurs
$str01texte"STEALERDLL.dll"ascii
$str02texte"?wal=1"fullword ascii
$str03texte"Content-Disposition: form-data; name=\"data\"; filename=\""ascii
$str04texte"tar.exe -cf \""ascii
$str05texte"SELECT origin_url, username_value, password_value FROM logins"ascii
$str06texte"\\Google\\Chrome\\User Data\\Default\\Login Data"ascii
$str07texte"\\SputnikLab\\Sputnik\\User Data\\Default\\Login Data"ascii
$str08texte"\\Mozilla\\Firefox\\Profiles\\"ascii
$str09texte"\"hostname\":\"([^\"]+)\""ascii
$str10texte"\"encryptedUsername\":\"([^\"]+)\""ascii
$str11texte"\"encryptedPassword\":\"([^\"]+)\""ascii
$str12texte"&cred="fullword ascii
$str13texte"D:\\Mktmp\\Amadey\\StealerDLL\\x64\\Release\\STEALERDLL.pdb"ascii

Condition

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

En clair (Heuristique)

  • Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
  • Au moins 7 motifs de la règle doivent être trouvés.

Tester cette règle dans votre navigateur

Déposez un fichier pour le scanner avec cette règle grâce à YARA-X compilé en WebAssembly. Rien n’est envoyé.

Déposez un fichier ici ou cliquez pour choisirScanné localement avec YARA-X. Fichiers jusqu’à 200 Mo.

Ouvrir dans l’éditeur

Références

Licence et attribution

Auteur : Sekoia.io

Dépôt source : SEKOIA.IO Community @ a438a5901a

Licence : Detection Rule License 1.1 (licence du dépôt)

Règle d’origine

Reprise via YARA Forge 20260927, qui préfixe les noms de règles par la source et ajoute des champs meta normalisés.

Identifiant de règle: 50154e39-98b3-40e5-8986-18bbb7b15647

Métadonnées

version1.0
classificationTLP:CLEAR

Tags:FILE

Plus de règles Amadey