YARA · CAPE Sandbox (CAPEv2)
CAPE_Oyster
Oyster Payload
- Author
- enzok
- Date
- 2024-03-01
- Modified
- 2024-05-30
- Score / Quality
- 75 / 70
What this rule detects
Oyster Payload
It defines 8 patterns (0 text, 8 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
oyster.yarGNU General Public License v3.0
rule CAPE_Oyster
{
meta:
= "Oyster Payload"
= "enzok"
= "29443d00-e3de-53fd-b617-df470a30e805"
= "2024-03-01"
= "2024-05-30"
= "https://github.com/kevoreilly/CAPEv2"
= "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/data/yara/CAPE/Oyster.yar#L1-L19"
= "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/LICENSE"
= "8bae0fa9f589cd434a689eebd7a1fde949cc09e6a65e1b56bb620998246a1650"
= "23ab1518712dbce8319b87785d7ffc0c2b61de82c2bbf533ebf0aae39ec33540"
= 75
= 70
= ""
= "Oyster Payload"
strings:
$start_exit = {(05 | 00) 00 00 00 2E 96 1E A6}
$content_type = {F6 CE 56 F4 76 F6 96 2E 86 C6 96 36 0E 0E 86 04 5C A6 0E 9E 2A B4 2E 76 A6 2E 76 F6 C2}
$domain = {44 5C 44 76 96 86 B6 F6 26 44 34 44}
$id = {44 5C 44 64 96 44 DE}
$ip_local = {44 5C 44 36 86 C6 F6 36 FA 0E 96 44 34 44}
$table_part_1 = {00 80 40 C0 20 A0 60 E0 10 90 50 D0 30 B0 70 F0 08 88 48 C8 28 A8 68}
$table_part_2 = {97 57 D7 37 B7 77 F7 0F 8F 4F CF 2F AF 6F EF 1F 9F 5F DF 3F BF 7F FF}
$decode = {0F B6 0? 8D ?? FF 8A [2] 0F B6 80 [4] 88 04 ?? 46 0F B6 C? 0F B6 80 [4] 88 4? 01 3B F7}
condition:
4 of them
}
Strings (8 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $start_exit | hex | {(05 | 00) 00 00 00 2E 96 1E A6} | |
| $content_type | hex | {F6 CE 56 F4 76 F6 96 2E 86 C6 96 36 0E 0E 86 04 5C A6 0E 9E 2A B4 2E 76 A6 2E 76 F6 C2} | |
| $domain | hex | {44 5C 44 76 96 86 B6 F6 26 44 34 44} | |
| $id | hex | {44 5C 44 64 96 44 DE} | |
| $ip_local | hex | {44 5C 44 36 86 C6 F6 36 FA 0E 96 44 34 44} | |
| $table_part_1 | hex | {00 80 40 C0 20 A0 60 E0 10 90 50 D0 30 B0 70 F0 08 88 48 C8 28 A8 68} | |
| $table_part_2 | hex | {97 57 D7 37 B7 77 F7 0F 8F 4F CF 2F AF 6F EF 1F 9F 5F DF 3F BF 7F FF} | |
| $decode | hex | {0F B6 0? 8D ?? FF 8A [2] 0F B6 80 [4] 88 04 ?? 46 0F B6 C? 0F B6 80 [4] 88 4? 01 3B F7} |
Condition
4 of themIn plain words (Heuristic)
- At least 4 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
Sample hashes
Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).
- 8bae0fa9f589cd434a689eebd7a1fde949cc09e6a65e1b56bb620998246a1650
Licence & attribution
Author: enzok
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: 29443d00-e3de-53fd-b617-df470a30e805
Metadata
| cape_type | Oyster Payload |
|---|
Related rules
- MalwareCAPE Sandbox (CAPEv2)· enzok· 2025-09-02
- MalwareCAPE Sandbox (CAPEv2)· enzok· 2025-09-02
- MalwareCAPE Sandbox (CAPEv2)· enzok· 2024-01-18
- MalwareCAPE Sandbox (CAPEv2)· enzok· 2024-01-18
- MalwareCAPE Sandbox (CAPEv2)· enzok· 2024-10-29
- MalwareCAPE Sandbox (CAPEv2)· enzok· 2023-11-30
- MalwareCAPE Sandbox (CAPEv2)· enzok· 2022-04-21
- GenericCAPE Sandbox (CAPEv2)· enzok· 2025-06-16