YARA · CAPE Sandbox (CAPEv2)
CAPE_Pik23
PikaBot Payload February 2023
- Author
- kevoreilly
- Date
- 2023-02-13
- Modified
- 2024-03-13
- Score / Quality
- 75 / 70
What this rule detects
PikaBot Payload February 2023
Associated malware family: Pikabot.
Targets: Windows PE.
It defines 4 patterns (0 text, 4 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule CAPE_Pik23 : FILE
{
meta:
= "PikaBot Payload February 2023"
= "kevoreilly"
= "fc804c63-fc6c-5b26-92b1-aa5d2fbc4917"
= "2023-02-13"
= "2024-03-13"
= "https://github.com/kevoreilly/CAPEv2"
= "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/data/yara/CAPE/PikaBot.yar#L30-L44"
= "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/LICENSE"
= "59f42ecde152f78731e54ea27e761bba748c9309a6ad1c2fd17f0e8b90f8aed1"
= "71a71df2f2a075294941c54eed06cafaaa4d3294e45b3a0098c1cffddd0438bc"
= 75
= 70
= "FILE"
= "PikaBot Payload"
strings:
$rdtsc = {89 55 FC 89 45 F8 0F 31 89 55 F4 89 45 FC 33 C0 B8 05 00 00 00 C1 E8 02 2B C3 3B C1 0F 31 89 55 F0 89 45 F8 8B 44 8D}
$int2d = {B8 00 00 00 00 CD 2D 90 C3 CC CC CC CC CC CC CC}
$subsys = {64 A1 30 00 00 00 8B 40 18 C3}
$rijndael = {EB 0F 0F B6 04 3? FE C? 8A 80 [4] 88 04 3? 0F B6 [3] 7C EA 5? 5? C9 C3}
condition:
uint16( 0 ) == 0x5A4D and 3 of them
}
Strings (4 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $rdtsc | hex | {89 55 FC 89 45 F8 0F 31 89 55 F4 89 45 FC 33 C0 B8 05 00 00 00 C1 E8 02 2B C3 3B C1 0F 31 89 55 F0 89 45 F8 8B 44 8D} | |
| $int2d | hex | {B8 00 00 00 00 CD 2D 90 C3 CC CC CC CC CC CC CC} | |
| $subsys | hex | {64 A1 30 00 00 00 8B 40 18 C3} | |
| $rijndael | hex | {EB 0F 0F B6 04 3? FE C? 8A 80 [4] 88 04 3? 0F B6 [3] 7C EA 5? 5? C9 C3} |
Condition
uint16( 0 ) == 0x5A4D and 3 of themIn plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- At least 3 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.
References
Sample hashes
Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).
- 59f42ecde152f78731e54ea27e761bba748c9309a6ad1c2fd17f0e8b90f8aed1
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: fc804c63-fc6c-5b26-92b1-aa5d2fbc4917
Metadata
| cape_type | PikaBot Payload |
|---|
Tags:FILE
Related rules
- MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2024-03-07
- MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2024-03-07
- MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2023-02-13
- MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2023-02-13
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- MalwareEmbee Research· Matthew @ Embee_Research· 2023-10-03
- RUSSIANPANDA_Pikabot_1Metadata onlyMalwareRussianPanda· RussianPanda· 2024-01-02
- MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2026-07-31