YARA · CAPE Sandbox (CAPEv2)
CAPE_Socks5Systemz
Socks5Systemz Payload
- Author
- kevoreilly
- Date
- 2024-05-22
- Modified
- 2025-05-23
- Score / Quality
- 75 / 70
What this rule detects
Socks5Systemz Payload
Associated malware family: Socks5 Systemz.
Targets: Windows PE.
It defines 8 patterns (0 text, 8 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
socks5systemz.yarGNU General Public License v3.0
rule CAPE_Socks5Systemz : FILE
{
meta:
= "Socks5Systemz Payload"
= "kevoreilly"
= "ef14953a-2b48-54f4-8d15-c07c7459103e"
= "2024-05-22"
= "2025-05-23"
= "https://github.com/kevoreilly/CAPEv2"
= "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/data/yara/CAPE/Socks5Systemz.yar#L1-L19"
= "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/LICENSE"
= "7e324bacd1ea57585435b6a5a4c93bda63ca146c100f2361a1c5530b87668299"
= 75
= 70
= "FILE"
= "Socks5Systemz Payload"
= "9b997d0de3fe83091726919a0dc653e22f8f8b20b1bb7d0b8485652e88396f29"
strings:
$chunk1 = {0F B6 84 8A [4] E9 [3] (00|FF)}
$chunk2 = {0F B6 04 8D [4] E9 [3] (00|FF)}
$chunk3 = {66 0F 6F 05 [4] E9 [3] (00|FF)}
$chunk4 = {F0 0F B1 95 [4] E9 [3] (00|FF)}
$chunk5 = {83 FA 04 E9 [3] (00|FF)}
$chunk6 = {8A 04 8D [4] E9 [3] (00|FF)}
$chunk7 = {83 C4 04 83 C4 04 E9}
$chunk8 = {83 C2 04 87 14 24 5C E9}
condition:
uint16( 0 ) == 0x5A4D and 5 of them
}
Strings (8 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $chunk1 | hex | {0F B6 84 8A [4] E9 [3] (00|FF)} | |
| $chunk2 | hex | {0F B6 04 8D [4] E9 [3] (00|FF)} | |
| $chunk3 | hex | {66 0F 6F 05 [4] E9 [3] (00|FF)} | |
| $chunk4 | hex | {F0 0F B1 95 [4] E9 [3] (00|FF)} | |
| $chunk5 | hex | {83 FA 04 E9 [3] (00|FF)} | |
| $chunk6 | hex | {8A 04 8D [4] E9 [3] (00|FF)} | |
| $chunk7 | hex | {83 C4 04 83 C4 04 E9} | |
| $chunk8 | hex | {83 C2 04 87 14 24 5C E9} |
Condition
uint16( 0 ) == 0x5A4D and 5 of themIn plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- At least 5 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: ef14953a-2b48-54f4-8d15-c07c7459103e
Metadata
| cape_type | Socks5Systemz Payload |
|---|---|
| packed | 9b997d0de3fe83091726919a0dc653e22f8f8b20b1bb7d0b8485652e88396f29 |
Tags:FILE
Related rules
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- 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