Zum Inhalt springen

YARA · SEKOIA.IO Community

SEKOIA_Infostealer_Win_Acridrain_Mar23

Finds AcridRain samples

MalwareAcridrainSEKOIA.IO CommunityDetection Rule License 1.1Kompiliert mit YARA-X
Autor
Sekoia.io
Datum
2023-03-21
Geändert
2024-12-19
Score / Qualität
75 / 78

Was diese Regel erkennt

Finds AcridRain samples

Zugehörige Malware-Familie: Acridrain.

Ziele: Windows-PE.

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

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

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* )
}

Strings (24 Muster)

BezeichnerTypWertModifikatoren
$str01Text"\",\"r\":"ascii
$str02Text"\",\"s\":\""ascii
$str03Text"\",\"p\":\""ascii
$str04Text"\",\"a\":\""ascii
$str05Text",\"c\":"ascii
$str06Text",\"g\" :"ascii
$str07Text"v7166637466625297979 t2537736810932639330 ath5ee645e0 altpriv cvcv=2 cexpw=1 smf=0"ascii
$str08Text"Content-Type: multipart/form-data; boundary=----974767299852498929531610575"ascii
$str09Text"\\Roaming\\Bitwarden\\data\\bitwarden.sqlite3"ascii
$ste01Text"\\Roaming\\Exodus\\exodus.wallet"ascii
$ste02Text"\\Roaming\\Electron Cash\\wallets"ascii
$ste03Text"\\Roaming\\com.liberty.jaxx\\IndexedDB\\file__0.indexeddb.leveldb"ascii
$ste04Text"\\Local Extension Settings\\"ascii
$ste05Text"cnmamaachppnkjgnildpdmkaakejnhae"ascii
$ste06Text"ffnbelfdoeiohenkjibnmadjiehjhajb"ascii
$ste07Text"\\formhistory.sqlite"ascii
$ste08Text"\\logins.json"ascii
$ste09Text"encrypted_key"ascii
$ste10Text"\\Login Data"ascii
$enc01Text"bX5cVw8FKyAKZVxXXUAdSTUXCXdCV0FoOxoSF0ZEUEZS"ascii
$enc02Text"bX5cVw8FKywUaVVbRlkyPAQAFCB1U0dV"ascii
$enc03Text"bX5cVw8FKzQvUBFhRkYINSIWA3IRdlJADw=="ascii
$enc04Text"bX5cVw8FKzYWdUVcWl8iCBU5NXBERl1dBTUiFgNyEXZSQA8="ascii
$enc05Text"bWBcVQMAGQI6UEJbGGgeGxgDD2xUQW9QCw8WEAp0"ascii

Bedingung

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

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Mindestens 5 Muster aus ( $str* ) müssen treffen.
  • Mindestens 7 Muster aus ( $ste* ) müssen treffen.
  • Mindestens 1 Muster aus ( $enc* ) 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: 049b502a-0fb6-4fa9-a1ce-f01a40269bdb

Metadaten

version1.0
classificationTLP:CLEAR

Tags:FILE

Weitere Acridrain-Regeln