YARA · CAPE Sandbox (CAPEv2)
CAPE_Smokeinjector
No description has been set in the source file - CAPE
- Author
- kevoreilly
- Date
- 2023-02-06
- Modified
- 2025-11-19
- Score / Quality
- 75 / 70
What this rule detects
No description has been set in the source file - CAPE
Targets: Windows PE.
It defines 1 patterns (0 text, 1 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
smokeinjector.yarGNU General Public License v3.0
rule CAPE_Smokeinjector : FILE
{
meta:
= "No description has been set in the source file - CAPE"
= "kevoreilly"
= "955afcbe-45c9-5c9a-a76b-d89ae1b381bc"
= "2023-02-06"
= "2025-11-19"
= "https://github.com/kevoreilly/CAPEv2"
= "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/analyzer/windows/data/yara/SmokeLoader.yar#L1-L11"
= "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/LICENSE"
= "757a2bf8aceb92bee839bfcaba3b1a8bc4c037812b969e0f493e4f7a4ddc9ede"
= 75
= 70
= "FILE"
= "monitor=explorer"
= "d38f9ab81a054203e5b5940e6d34f3c8766f4f4104b14840e4695df511feaa30"
strings:
$dec1 = {80 04 08 [0-7] (49|83 E9 01) [0-7] 41 [0-7] 81 F1 [2] 00 00 [0-7] 01 D9 [0-7] FF E1}
condition:
uint16( 0 ) == 0x5A4D and any of them
}
Strings (1 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $dec1 | hex | {80 04 08 [0-7] (49|83 E9 01) [0-7] 41 [0-7] 81 F1 [2] 00 00 [0-7] 01 D9 [0-7] FF E1} |
Condition
uint16( 0 ) == 0x5A4D and any of themIn plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- At least one pattern 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: 955afcbe-45c9-5c9a-a76b-d89ae1b381bc
Metadata
| cape_options | monitor=explorer |
|---|---|
| packed | d38f9ab81a054203e5b5940e6d34f3c8766f4f4104b14840e4695df511feaa30 |
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