Zum Inhalt springen

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Risepro

Detects RisePro infostealer

MalwareRiseproditekSHen detectionBSD 2-Clause LicenseKompiliert mit YARA-X
Autor
ditekShen
Datum
2020-11-06
Geändert
2024-11-01
Score / Qualität
75 / 71

Was diese Regel erkennt

Detects RisePro infostealer

Zugehörige Malware-Familie: Risepro.

Ziele: Windows-PE.

Sie definiert 10 Muster (5 Text, 2 Hex, 3 Regex).

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

malware-win-risepro.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Risepro : FILE
{
	meta:
		description = "Detects RisePro infostealer"
		author = "ditekShen"
		id = "77bc8791-cbe8-53b5-86f4-bc918454a6a6"
		date = "2020-11-06"
		modified = "2024-11-01"
		reference = "https://github.com/ditekshen/detection"
		source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L11239-L11269"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "f6f1832f316df51ca108a3c75034bd53c3823cd3d9b16da120e12e252dbf90ff"
		score = 75
		quality = 71
		tags = "FILE"

	strings:
		$x1 = "t.me/riseprosupport" ascii wide nocase
		$s1 = "failed readpacket" fullword wide
		$s2 = "faield sendpacket" fullword wide
		$s3 = "PersistWal" fullword wide
		$s4 = /CRED_ENUMERATE_(ALL|SESSION)_CREDENTIALS/ fullword ascii
		$s5 = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36" fullword wide
		$s6 = { 4c 00 6f 00 67 00 69 00 6e 00 20 00 44 00 61 00 
                74 00 61 [10] 57 00 65 00 62 00 20 00 44 00 61 00
                74 00 61 [2] 48 00 69 00 73 00 74 00 6f 00 72 00
                79 [21] 43 00 6f 00 6f 00 6b 00 69 00 65 00 73 }
		$s7 = { 61 00 70 00 70 00 6c 00 69 00 63 00 61 00 74 00
                69 00 6f 00 6e 00 2f 00 78 00 2d 00 77 00 77 00
                77 00 2d 00 66 00 6f 00 72 00 6d 00 2d 00 75 00
                72 00 6c 00 65 00 6e 00 63 00 6f 00 64 00 65 00
                64 00 3b 00 20 00 63 00 68 00 61 00 72 00 73 00
                65 00 74 00 3d 00 75 00 74 00 66 00 2d 00 38 00
                42 61 00 70 00 70 00 6c 00 69 00 63 00 61 00 74
                00 69 00 6f 00 6e 00 2f 00 6a 00 73 00 6f 00 6e
                00 2c 00 20 00 74 00 65 00 78 00 74 00 2f 00 70
                00 6c 00 61 00 69 00 6e 00 2c 00 20 00 2a 00 2f
                00 2a }
		$s8 = /_(SET|GET)_(GRABBER|LOADER)/ wide
		$s9 = /catch (save )?(windows cred|screen|pluginscrypto|historyCC|autofill|cookies|passwords|passwords sql|autofills sql|dwnlhistory sql|discordToken|quantum|isDropped)/ fullword wide

	condition:
		uint16( 0 ) == 0x5a4d and ( 1 of ( $x* ) or 6 of ( $s* ) )
}

Strings (10 Muster)

BezeichnerTypWertModifikatoren
$x1Text"t.me/riseprosupport"ascii wide nocase
$s1Text"failed readpacket"fullword wide
$s2Text"faield sendpacket"fullword wide
$s3Text"PersistWal"fullword wide
$s4Regex/CRED_ENUMERATE_(ALL|SESSION)_CREDENTIALS/fullword ascii
$s5Text"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36"fullword wide
$s6Hex{ 4c 00 6f 00 67 00 69 00 6e 00 20 00 44 00 61 00 74 00 61 [10] 57 00 65 00 62 00 20 00 44 00 61 00 74 00 61 [2] 48 00 69 00 73 …
$s7Hex{ 61 00 70 00 70 00 6c 00 69 00 63 00 61 00 74 00 69 00 6f 00 6e 00 2f 00 78 00 2d 00 77 00 77 00 77 00 2d 00 66 00 6f 00 72 00 …
$s8Regex/_(SET|GET)_(GRABBER|LOADER)/wide
$s9Regex/catch (save )?(windows cred|screen|pluginscrypto|historyCC|autofill|cookies|passwords|passwords sql|autofills sql|dwnlhistory sql|discordToken|quantum|isDroppe …fullword wide

Bedingung

uint16( 0 ) == 0x5a4d and ( 1 of ( $x* ) or 6 of ( $s* ) )

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Mindestens 1 Muster aus ( $x* ) müssen treffen.
  • Mindestens 6 Muster aus ( $s* ) 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: ditekShen

Quell-Repository: ditekSHen detection @ e76c93dcde

Lizenz: BSD 2-Clause License (Repository-Lizenz)

Copyright-Hinweis: Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).

Originalregel

Gespiegelt über YARA Forge 20260927, das Regelnamen mit der Quelle präfixiert und normalisierte Meta-Felder ergänzt.

Regel-ID: 77bc8791-cbe8-53b5-86f4-bc918454a6a6

Tags:FILE

Weitere Risepro-Regeln