YARA · CAPE Sandbox (CAPEv2)
CAPE_Prynt
Detects Prynt infostealer
- Author
- ditekSHen
- Date
- 2024-10-09
- Modified
- 2025-02-03
- Score / Quality
- 75 / 70
What this rule detects
Detects Prynt infostealer
Targets: Windows PE.
It defines 14 patterns (13 text, 0 hex, 1 regex).
Summary generated from the rule's metadata and condition.
Rule source
prynt.yarGNU General Public License v3.0
rule CAPE_Prynt : FILE
{
meta:
= "Detects Prynt infostealer"
= "ditekSHen"
= "844fd100-b04e-5ff0-9fab-d45f48b55bcc"
= "2024-10-09"
= "2025-02-03"
= "https://github.com/kevoreilly/CAPEv2"
= "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/data/yara/CAPE/AsyncRAT.yar#L85-L107"
= "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/LICENSE"
= "84f2b33285ab1d129a62940a02990639cc8f7c92d490d7257e6aed9170d1e34e"
= 75
= 70
= "FILE"
= "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 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $c1 | regex | /Prynt(\s)?Stealer/ | ascii wide |
| $x2 | text | "@FlatLineStealer" | ascii wide |
| $x3 | text | "@CashOutGangTalk" | ascii wide |
| $m1 | text | ".Passwords.Targets." | ascii |
| $m2 | text | ".Modules.Keylogger" | ascii |
| $m3 | text | ".Modules.Clipper" | ascii |
| $m4 | text | ".Modules.Implant" | ascii |
| $s1 | text | "--- Clipper" | wide |
| $s2 | text | "Downloading file: \"{file}\"" | wide |
| $s3 | text | "/bot{0}/getUpdates?offset={1}" | wide |
| $s4 | text | "send command to bot!" | wide |
| $s5 | text | " *Keylogger " | fullword wide |
| $s6 | text | "*Stealer" | wide |
| $s7 | text | "Bot connected" | wide |
Condition
uint16( 0 ) == 0x5a4d and 1 of ( $c* ) and ( 1 of ( $x* ) or 2 of ( $m* ) or 3 of ( $s* ) )In plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- At least 1 patterns in ( $c* ) must match.
- At least 1 patterns in ( $x* ) must match.
- At least 2 patterns in ( $m* ) must match.
- At least 3 patterns in ( $s* ) must match.
Test this rule in your browser
Drop a file to scan it with this rule using YARA-X compiled to WebAssembly. Nothing is uploaded.
Drop a file here or click to chooseScanned locally with YARA-X. Files up to 200 MB.
References
Licence & attribution
Author: ditekSHen
Source repository: CAPE Sandbox (CAPEv2) @ 6b15e76f28
Licence: GNU General Public License v3.0 (repository licence)
Copyright notice: Cuckoo Sandbox is copyrighted by the Cuckoo Foundation.
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: 844fd100-b04e-5ff0-9fab-d45f48b55bcc
Metadata
| cape_type | Prynt Payload |
|---|
Tags:FILE
Related rules
- MalwareCAPE Sandbox (CAPEv2)· ditekSHen· 2024-10-09