Skip to content

YARA · CAPE Sandbox (CAPEv2)

CAPE_Remus

No description has been set in the source file - CAPE

MalwareRemusCAPE Sandbox (CAPEv2)GNU General Public License v3.0Compiles with YARA-X
Author
kevoreilly
Date
2026-07-31
Modified
2026-08-19
Score / Quality
75 / 70

What this rule detects

No description has been set in the source file - CAPE

Associated malware family: Remus.

Targets: Windows PE.

It defines 4 patterns (0 text, 4 hex, 0 regex).

Summary generated from the rule's metadata and condition.

Rule source

remus.yarGNU General Public License v3.0
rule CAPE_Remus : FILE
{
	meta:
		description = "No description has been set in the source file - CAPE"
		author = "kevoreilly"
		id = "d8d7ac4b-6fa0-51fa-a005-483de046876c"
		date = "2026-07-31"
		modified = "2026-08-19"
		reference = "https://github.com/kevoreilly/CAPEv2"
		source_url = "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/data/yara/CAPE/Remus.yar#L1-L14"
		license_url = "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/LICENSE"
		logic_hash = "836b4219141a17ba963155881d8d166fe528fcb8804135ceac4141de03796601"
		score = 75
		quality = 70
		tags = "FILE"
		cape_type = "Remus Payload"
		packed = "f67a176503343855c88d9aac1217277ee4e2badc5e56fe403e56ca30e144b266"

	strings:
		$wmi = {48 89 F9 45 31 C0 FF D0 48 83 C4 30 85 C0 0F 99 C0 66 8B [1-4] 00 66 83 E9 08 0F 94 C1 20 C8}
		$dec1 = {0F B6 04 0B 41 88 04 (0A|0B) 0F B6 44 0B 01 41 88 44 (0A|0B) 01 0F B6 44 0B 02 41 88 44 (0A|0B) 02 0F B6 44 0B 03 41 88 44 (0A|0B) 03 48 83 C1 04 49 39 C9 75 D1 90}
		$dec2 = {48 B9 00 00 00 00 00 00 F8 7F 48 39 C8 0F 9F C1 48 BA 00 00 00 00 00 80 07 00 48 21 C2 48 B8 00 00 00 00 00 00 02 00 48 39 C2 0F 94 C0 20 C8 0F B6 C0 48 8D 0D [4] FF 24 C1}
		$c2 = {C1 E0 06 48 8D 15 [4] 48 01 C2 48 8D 0D [4] 48 8D B4 24 [2] 00 00 49 89 F0 E8 [4] 48 8D 0D [4] BA 40 00 00 00 49 89 F0 45 31 C9 E8 [4] 40 B6 01 E9}

	condition:
		uint16( 0 ) == 0x5A4D and 2 of them
}

Strings (4 patterns)

IdentifierTypeValueModifiers
$wmihex{48 89 F9 45 31 C0 FF D0 48 83 C4 30 85 C0 0F 99 C0 66 8B [1-4] 00 66 83 E9 08 0F 94 C1 20 C8}
$dec1hex{0F B6 04 0B 41 88 04 (0A|0B) 0F B6 44 0B 01 41 88 44 (0A|0B) 01 0F B6 44 0B 02 41 88 44 (0A|0B) 02 0F B6 44 0B 03 41 88 44 (0A|0B) 03 48 83 C1 04 49 39 C9 75 D …
$dec2hex{48 B9 00 00 00 00 00 00 F8 7F 48 39 C8 0F 9F C1 48 BA 00 00 00 00 00 80 07 00 48 21 C2 48 B8 00 00 00 00 00 00 02 00 48 39 C2 0F 94 C0 20 C8 0F B6 C0 48 8D 0D …
$c2hex{C1 E0 06 48 8D 15 [4] 48 01 C2 48 8D 0D [4] 48 8D B4 24 [2] 00 00 49 89 F0 E8 [4] 48 8D 0D [4] BA 40 00 00 00 49 89 F0 45 31 C9 E8 [4] 40 B6 01 E9}

Condition

uint16( 0 ) == 0x5A4D and 2 of them

In 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.

Open in editor

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.

Original rule

Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.

Rule id: d8d7ac4b-6fa0-51fa-a005-483de046876c

Metadata

cape_typeRemus Payload
packedf67a176503343855c88d9aac1217277ee4e2badc5e56fe403e56ca30e144b266

Tags:FILE