Skip to content

YARA · CAPE Sandbox (CAPEv2)

CAPE_Rhadamanthys

Rhadamanthys Payload

MalwareRhadamanthysCAPE Sandbox (CAPEv2)GNU General Public License v3.0Compiles with YARA-X
Author
kevoreilly, YungBinary
Date
2023-01-25
Modified
2025-12-19
Score / Quality
75 / 70

What this rule detects

Rhadamanthys Payload

Associated malware family: Rhadamanthys.

It defines 9 patterns (1 text, 8 hex, 0 regex).

Summary generated from the rule's metadata and condition.

Rule source

rhadamanthys.yarGNU General Public License v3.0
rule CAPE_Rhadamanthys
{
	meta:
		description = "Rhadamanthys Payload"
		author = "kevoreilly, YungBinary"
		id = "cd34b971-3603-5237-b47f-aea78ca38cac"
		date = "2023-01-25"
		modified = "2025-12-19"
		reference = "https://github.com/kevoreilly/CAPEv2"
		source_url = "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/data/yara/CAPE/Rhadamanthys.yar#L1-L19"
		license_url = "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/LICENSE"
		logic_hash = "3ccfc97202690dd996ffd2b4f09d31e6ee322bf9f0b7759f9b8c455164995f84"
		score = 75
		quality = 70
		tags = ""
		cape_type = "Rhadamanthys Payload"

	strings:
		$rc4 = {88 4C 01 08 41 81 F9 00 01 00 00 7C F3 89 75 08 33 FF 8B 4D 08 3B 4D 10 72 04 83 65 08 00}
		$code = {8B 4D FC 3B CF 8B C1 74 0D 83 78 04 02 74 1C 8B 40 1C 3B C7 75 F3 3B CF 8B C1 74 57 83 78 04 17 74 09 8B 40 1C 3B C7 75 F3 EB}
		$conf_1 = {46 BB FF 00 00 00 23 F3 0F B6 44 31 08 03 F8 23 FB 0F B6 5C 39 08 88 5C 31 08 88 44 39 08 02 C3 8B 5D 08 0F B6 C0 8A 44 08 08}
		$conf_2 = {0F B6 4F 2A 8D 77 2A 33 C0 6A 03 89 45 F8 89 45 FC 89 45 08 8B C1}
		$beef = {57 8D 44 33 FC 53 83 C6 FC 50 56 E8 [4] 83 C4 10 66 81 3F EF BE 0F 85}
		$anti = {50 68 [4] 68 [4] E8 [4] 83 C4 0C A3 [4] 85 C0 74}
		$dnr = {99 52 50 8D 45 ?? 99 52 50 8B C7 99 52 50 8B C3 99 52 50}
		$sys = {83 E4 F0 6A 33 E8 00 00 00 00 83 04 24 05 CB}
		$cape_string = "cape_options"

	condition:
		2 of them and not $cape_string
}

Strings (9 patterns)

IdentifierTypeValueModifiers
$rc4hex{88 4C 01 08 41 81 F9 00 01 00 00 7C F3 89 75 08 33 FF 8B 4D 08 3B 4D 10 72 04 83 65 08 00}
$codehex{8B 4D FC 3B CF 8B C1 74 0D 83 78 04 02 74 1C 8B 40 1C 3B C7 75 F3 3B CF 8B C1 74 57 83 78 04 17 74 09 8B 40 1C 3B C7 75 F3 EB}
$conf_1hex{46 BB FF 00 00 00 23 F3 0F B6 44 31 08 03 F8 23 FB 0F B6 5C 39 08 88 5C 31 08 88 44 39 08 02 C3 8B 5D 08 0F B6 C0 8A 44 08 08}
$conf_2hex{0F B6 4F 2A 8D 77 2A 33 C0 6A 03 89 45 F8 89 45 FC 89 45 08 8B C1}
$beefhex{57 8D 44 33 FC 53 83 C6 FC 50 56 E8 [4] 83 C4 10 66 81 3F EF BE 0F 85}
$antihex{50 68 [4] 68 [4] E8 [4] 83 C4 0C A3 [4] 85 C0 74}
$dnrhex{99 52 50 8D 45 ?? 99 52 50 8B C7 99 52 50 8B C3 99 52 50}
$syshex{83 E4 F0 6A 33 E8 00 00 00 00 83 04 24 05 CB}
$cape_stringtext"cape_options"

Condition

2 of them and not $cape_string

In plain words (Heuristic)

  • At least 2 patterns in the rule must match.
  • Pattern $cape_string must NOT be present.

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, YungBinary

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: cd34b971-3603-5237-b47f-aea78ca38cac

Metadata

cape_typeRhadamanthys Payload

More Rhadamanthys rules