Zum Inhalt springen

YARA · CAPE Sandbox (CAPEv2)

CAPE_Prynt

Detects Prynt infostealer

MalwareCAPE Sandbox (CAPEv2)GNU General Public License v3.0Kompiliert mit YARA-X
Autor
ditekSHen
Datum
2024-10-09
Geändert
2025-02-03
Score / Qualität
75 / 70

Was diese Regel erkennt

Detects Prynt infostealer

Ziele: Windows-PE.

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

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

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

Strings (14 Muster)

BezeichnerTypWertModifikatoren
$c1Regex/Prynt(\s)?Stealer/ascii wide
$x2Text"@FlatLineStealer"ascii wide
$x3Text"@CashOutGangTalk"ascii wide
$m1Text".Passwords.Targets."ascii
$m2Text".Modules.Keylogger"ascii
$m3Text".Modules.Clipper"ascii
$m4Text".Modules.Implant"ascii
$s1Text"--- Clipper"wide
$s2Text"Downloading file: \"{file}\""wide
$s3Text"/bot{0}/getUpdates?offset={1}"wide
$s4Text"send command to bot!"wide
$s5Text" *Keylogger "fullword wide
$s6Text"*Stealer"wide
$s7Text"Bot connected"wide

Bedingung

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

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Mindestens 1 Muster aus ( $c* ) müssen treffen.
  • Mindestens 1 Muster aus ( $x* ) müssen treffen.
  • Mindestens 2 Muster aus ( $m* ) müssen treffen.
  • Mindestens 3 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: CAPE Sandbox (CAPEv2) @ 6b15e76f28

Lizenz: GNU General Public License v3.0 (Repository-Lizenz)

Copyright-Hinweis: Cuckoo Sandbox is copyrighted by the Cuckoo Foundation.

Originalregel

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

Regel-ID: 844fd100-b04e-5ff0-9fab-d45f48b55bcc

Metadaten

cape_typePrynt Payload

Tags:FILE