Aller au contenu

YARA · CAPE Sandbox (CAPEv2)

CAPE_Prynt

Detects Prynt infostealer

MalwareCAPE Sandbox (CAPEv2)GNU General Public License v3.0Compile avec YARA-X
Auteur
ditekSHen
Date
2024-10-09
Modifiée
2025-02-03
Score / Qualité
75 / 70

Ce que détecte cette règle

Detects Prynt infostealer

Cibles : PE Windows.

Elle définit 14 motifs (13 texte, 0 hex, 1 regex).

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

Source de la règle

prynt.yarGNU General Public License v3.0
rule CAPE_Prynt : FILE
{
	meta:
		description = "Detects Prynt infostealer"
		author = "ditekSHen"
		id = "844fd100-b04e-5ff0-9fab-d45f48b55bcc"
		date = "2024-10-09"
		modified = "2025-02-03"
		reference = "https://github.com/kevoreilly/CAPEv2"
		source_url = "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/data/yara/CAPE/AsyncRAT.yar#L85-L107"
		license_url = "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/LICENSE"
		logic_hash = "84f2b33285ab1d129a62940a02990639cc8f7c92d490d7257e6aed9170d1e34e"
		score = 75
		quality = 70
		tags = "FILE"
		cape_type = "Prynt Payload"

	strings:
		$c1 = /Prynt(\s)?Stealer/ ascii wide
		$x2 = "@FlatLineStealer" ascii wide
		$x3 = "@CashOutGangTalk" ascii wide
		$m1 = ".Passwords.Targets." ascii
		$m2 = ".Modules.Keylogger" ascii
		$m3 = ".Modules.Clipper" ascii
		$m4 = ".Modules.Implant" ascii
		$s1 = "--- Clipper" wide
		$s2 = "Downloading file: \"{file}\"" wide
		$s3 = "/bot{0}/getUpdates?offset={1}" wide
		$s4 = "send command to bot!" wide
		$s5 = " *Keylogger " fullword wide
		$s6 = "*Stealer" wide
		$s7 = "Bot connected" wide

	condition:
		uint16( 0 ) == 0x5a4d and 1 of ( $c* ) and ( 1 of ( $x* ) or 2 of ( $m* ) or 3 of ( $s* ) )
}

Chaînes (14 motifs)

IdentifiantTypeValeurModificateurs
$c1regex/Prynt(\s)?Stealer/ascii wide
$x2texte"@FlatLineStealer"ascii wide
$x3texte"@CashOutGangTalk"ascii wide
$m1texte".Passwords.Targets."ascii
$m2texte".Modules.Keylogger"ascii
$m3texte".Modules.Clipper"ascii
$m4texte".Modules.Implant"ascii
$s1texte"--- Clipper"wide
$s2texte"Downloading file: \"{file}\""wide
$s3texte"/bot{0}/getUpdates?offset={1}"wide
$s4texte"send command to bot!"wide
$s5texte" *Keylogger "fullword wide
$s6texte"*Stealer"wide
$s7texte"Bot connected"wide

Condition

uint16( 0 ) == 0x5a4d and 1 of ( $c* ) and ( 1 of ( $x* ) or 2 of ( $m* ) or 3 of ( $s* ) )

En clair (Heuristique)

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

Licence : GNU General Public License v3.0 (licence du dépôt)

Mention de copyright : Cuckoo Sandbox is copyrighted by the Cuckoo Foundation.

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: 844fd100-b04e-5ff0-9fab-d45f48b55bcc

Métadonnées

cape_typePrynt Payload

Tags:FILE