YARA · CAPE Sandbox (CAPEv2)
CAPE_Kpot
Kpot Stealer
- Author
- kevoreilly
- Date
- 2020-10-19
- Score / Quality
- 75 / 70
What this rule detects
Kpot Stealer
Targets: Windows PE.
It defines 3 patterns (3 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
kpot.yarGNU General Public License v3.0
rule CAPE_Kpot : FILE
{
meta:
= "Kpot Stealer"
= "kevoreilly"
= "724fd6ac-e734-5952-b459-01cbaffdb89d"
= "2020-10-19"
= "2020-10-19"
= "https://github.com/kevoreilly/CAPEv2"
= "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/data/yara/CAPE/Kpot.yar#L1-L13"
= "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/LICENSE"
= "75abaab9a10e8ac8808425c389238285ab9bd9cb76f0cd03cc1e35b3ea0a1b0f"
= 75
= 70
= "FILE"
= "Kpot Payload"
strings:
$format = "%s | %s | %s | %s | %s | %s | %s | %d | %s"
$username = "username:s:"
$os = "OS: %S x%d"
condition:
uint16( 0 ) == 0x5A4D and 2 of them
}
Strings (3 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $format | text | "%s | %s | %s | %s | %s | %s | %s | %d | %s" | |
| $username | text | "username:s:" | |
| $os | text | "OS: %S x%d" |
Condition
uint16( 0 ) == 0x5A4D and 2 of themIn plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- At least 2 patterns in the rule 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: kevoreilly
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: 724fd6ac-e734-5952-b459-01cbaffdb89d
Metadata
| cape_type | Kpot Payload |
|---|
Tags:FILE
Related rules
- MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2026-07-31
- MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2024-02-26
- MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2024-01-05
- MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2024-01-05
- MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2024-01-05
- MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2024-03-07
- MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2024-03-07
- MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2024-10-04