Aller au contenu

YARA · SEKOIA.IO Community

SEKOIA_Infostealer_Win_Acridrain_Mar23

Finds AcridRain samples

MalwareAcridrainSEKOIA.IO CommunityDetection Rule License 1.1Compile avec YARA-X
Auteur
Sekoia.io
Date
2023-03-21
Modifiée
2024-12-19
Score / Qualité
75 / 78

Ce que détecte cette règle

Finds AcridRain samples

Famille de malware associée : Acridrain.

Cibles : PE Windows.

Elle définit 24 motifs (24 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

infostealer-win-acridrain-mar23.yarDetection Rule License 1.1
rule SEKOIA_Infostealer_Win_Acridrain_Mar23 : FILE
{
	meta:
		description = "Finds AcridRain samples"
		author = "Sekoia.io"
		id = "049b502a-0fb6-4fa9-a1ce-f01a40269bdb"
		date = "2023-03-21"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/infostealer_win_acridrain_mar23.yar#L1-L40"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "7fa1822acc6264a3a58fffef3fc572f8818d99037b20d5abb8bfb41f025949d4"
		score = 75
		quality = 78
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$str01 = "\",\"r\":" ascii
		$str02 = "\",\"s\":\"" ascii
		$str03 = "\",\"p\":\"" ascii
		$str04 = "\",\"a\":\"" ascii
		$str05 = ",\"c\":" ascii
		$str06 = ",\"g\" :" ascii
		$str07 = "v7166637466625297979 t2537736810932639330 ath5ee645e0 altpriv cvcv=2 cexpw=1 smf=0" ascii
		$str08 = "Content-Type: multipart/form-data; boundary=----974767299852498929531610575" ascii
		$str09 = "\\Roaming\\Bitwarden\\data\\bitwarden.sqlite3" ascii
		$ste01 = "\\Roaming\\Exodus\\exodus.wallet" ascii
		$ste02 = "\\Roaming\\Electron Cash\\wallets" ascii
		$ste03 = "\\Roaming\\com.liberty.jaxx\\IndexedDB\\file__0.indexeddb.leveldb" ascii
		$ste04 = "\\Local Extension Settings\\" ascii
		$ste05 = "cnmamaachppnkjgnildpdmkaakejnhae" ascii
		$ste06 = "ffnbelfdoeiohenkjibnmadjiehjhajb" ascii
		$ste07 = "\\formhistory.sqlite" ascii
		$ste08 = "\\logins.json" ascii
		$ste09 = "encrypted_key" ascii
		$ste10 = "\\Login Data" ascii
		$enc01 = "bX5cVw8FKyAKZVxXXUAdSTUXCXdCV0FoOxoSF0ZEUEZS" ascii
		$enc02 = "bX5cVw8FKywUaVVbRlkyPAQAFCB1U0dV" ascii
		$enc03 = "bX5cVw8FKzQvUBFhRkYINSIWA3IRdlJADw==" ascii
		$enc04 = "bX5cVw8FKzYWdUVcWl8iCBU5NXBERl1dBTUiFgNyEXZSQA8=" ascii
		$enc05 = "bWBcVQMAGQI6UEJbGGgeGxgDD2xUQW9QCw8WEAp0" ascii

	condition:
		uint16( 0 ) == 0x5A4D and 5 of ( $str* ) and 7 of ( $ste* ) and 1 of ( $enc* )
}

Chaînes (24 motifs)

IdentifiantTypeValeurModificateurs
$str01texte"\",\"r\":"ascii
$str02texte"\",\"s\":\""ascii
$str03texte"\",\"p\":\""ascii
$str04texte"\",\"a\":\""ascii
$str05texte",\"c\":"ascii
$str06texte",\"g\" :"ascii
$str07texte"v7166637466625297979 t2537736810932639330 ath5ee645e0 altpriv cvcv=2 cexpw=1 smf=0"ascii
$str08texte"Content-Type: multipart/form-data; boundary=----974767299852498929531610575"ascii
$str09texte"\\Roaming\\Bitwarden\\data\\bitwarden.sqlite3"ascii
$ste01texte"\\Roaming\\Exodus\\exodus.wallet"ascii
$ste02texte"\\Roaming\\Electron Cash\\wallets"ascii
$ste03texte"\\Roaming\\com.liberty.jaxx\\IndexedDB\\file__0.indexeddb.leveldb"ascii
$ste04texte"\\Local Extension Settings\\"ascii
$ste05texte"cnmamaachppnkjgnildpdmkaakejnhae"ascii
$ste06texte"ffnbelfdoeiohenkjibnmadjiehjhajb"ascii
$ste07texte"\\formhistory.sqlite"ascii
$ste08texte"\\logins.json"ascii
$ste09texte"encrypted_key"ascii
$ste10texte"\\Login Data"ascii
$enc01texte"bX5cVw8FKyAKZVxXXUAdSTUXCXdCV0FoOxoSF0ZEUEZS"ascii
$enc02texte"bX5cVw8FKywUaVVbRlkyPAQAFCB1U0dV"ascii
$enc03texte"bX5cVw8FKzQvUBFhRkYINSIWA3IRdlJADw=="ascii
$enc04texte"bX5cVw8FKzYWdUVcWl8iCBU5NXBERl1dBTUiFgNyEXZSQA8="ascii
$enc05texte"bWBcVQMAGQI6UEJbGGgeGxgDD2xUQW9QCw8WEAp0"ascii

Condition

uint16( 0 ) == 0x5A4D and 5 of ( $str* ) and 7 of ( $ste* ) and 1 of ( $enc* )

En clair (Heuristique)

  • Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
  • Au moins 5 motifs de ( $str* ) doivent être trouvés.
  • Au moins 7 motifs de ( $ste* ) doivent être trouvés.
  • Au moins 1 motifs de ( $enc* ) 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: 049b502a-0fb6-4fa9-a1ce-f01a40269bdb

Métadonnées

version1.0
classificationTLP:CLEAR

Tags:FILE

Plus de règles Acridrain