Aller au contenu

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Risepro

Detects RisePro infostealer

MalwareRiseproditekSHen detectionBSD 2-Clause LicenseCompile avec YARA-X
Auteur
ditekShen
Date
2020-11-06
Modifiée
2024-11-01
Score / Qualité
75 / 71

Ce que détecte cette règle

Detects RisePro infostealer

Famille de malware associée : Risepro.

Cibles : PE Windows.

Elle définit 10 motifs (5 texte, 2 hex, 3 regex).

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

Source de la règle

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

Chaînes (10 motifs)

IdentifiantTypeValeurModificateurs
$x1texte"t.me/riseprosupport"ascii wide nocase
$s1texte"failed readpacket"fullword wide
$s2texte"faield sendpacket"fullword wide
$s3texte"PersistWal"fullword wide
$s4regex/CRED_ENUMERATE_(ALL|SESSION)_CREDENTIALS/fullword ascii
$s5texte"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

Condition

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

En clair (Heuristique)

  • Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
  • Au moins 1 motifs de ( $x* ) doivent être trouvés.
  • Au moins 6 motifs de ( $s* ) 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 : ditekShen

Dépôt source : ditekSHen detection @ e76c93dcde

Licence : BSD 2-Clause License (licence du dépôt)

Mention de copyright : Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).

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: 77bc8791-cbe8-53b5-86f4-bc918454a6a6

Tags:FILE

Plus de règles Risepro