Zum Inhalt springen

YARA · SEKOIA.IO Community

SEKOIA_Infostealer_Win_Stealc_Str_Oct24

Finds Stealc standalone samples (or dumps) based on the strings

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

Was diese Regel erkennt

Finds Stealc standalone samples (or dumps) based on the strings

Zugehörige Malware-Familie: Stealc.

Ziele: Windows-PE.

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

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

infostealer-win-stealc-str-oct24.yarDetection Rule License 1.1
rule SEKOIA_Infostealer_Win_Stealc_Str_Oct24 : FILE
{
	meta:
		description = "Finds Stealc standalone samples (or dumps) based on the strings"
		author = "Sekoia.io"
		id = "7448fafe-206c-4f9c-b5a3-cbabec12a45b"
		date = "2024-10-20"
		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_stealc_str_oct24.yar#L1-L27"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "4f7fece81c3fe1e56b57aed4030b48331b53443a200799046fe84c895b591a71"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$str01 = "-nop -c \"iex(New-Object Net.WebClient).DownloadString(" ascii
		$str02 = "Azure\\.IdentityService" ascii
		$str03 = "steam_tokens.txt" ascii
		$str04 = "\"encrypted_key\":\"" ascii
		$str05 = "prefs.js" ascii
		$str06 = "browser: FileZilla" ascii
		$str07 = "profile: null" ascii
		$str08 = "url:" ascii
		$str09 = "login:" ascii
		$str10 = "password:" ascii
		$str11 = "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe" ascii
		$str12 = "ChromeFuckNewCookies" ascii
		$str13 = "/c timeout /t 10 & del /f /q \"" ascii

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

Strings (13 Muster)

BezeichnerTypWertModifikatoren
$str01Text"-nop -c \"iex(New-Object Net.WebClient).DownloadString("ascii
$str02Text"Azure\\.IdentityService"ascii
$str03Text"steam_tokens.txt"ascii
$str04Text"\"encrypted_key\":\""ascii
$str05Text"prefs.js"ascii
$str06Text"browser: FileZilla"ascii
$str07Text"profile: null"ascii
$str08Text"url:"ascii
$str09Text"login:"ascii
$str10Text"password:"ascii
$str11Text"C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe"ascii
$str12Text"ChromeFuckNewCookies"ascii
$str13Text"/c timeout /t 10 & del /f /q \""ascii

Bedingung

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

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Mindestens 9 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: 7448fafe-206c-4f9c-b5a3-cbabec12a45b

Metadaten

version1.0
classificationTLP:CLEAR

Tags:FILE

Weitere Stealc-Regeln