Skip to content

YARA · CAPE Sandbox (CAPEv2)

CAPE_Bruteratelpacker

BruteRatel Outer Encryption Layer

Hack toolCAPE Sandbox (CAPEv2)GNU General Public License v3.0Compiles with YARA-X
Author
kevoreilly
Date
2024-07-11
Modified
2024-07-22
Score / Quality
75 / 70

What this rule detects

BruteRatel Outer Encryption Layer

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

Summary generated from the rule's metadata and condition.

Rule source

bruteratelpacker.yarGNU General Public License v3.0
rule CAPE_Bruteratelpacker
{
	meta:
		description = "BruteRatel Outer Encryption Layer"
		author = "kevoreilly"
		id = "631083be-7058-590a-a394-984545f42ad7"
		date = "2024-07-11"
		modified = "2024-07-22"
		reference = "https://github.com/kevoreilly/CAPEv2"
		source_url = "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/analyzer/windows/data/yara/BruteRatel.yar#L14-L26"
		license_url = "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/LICENSE"
		logic_hash = "2ccb17efe378d034df34d20d7580c58171d0fd11c18fef6c9a23f1ba238514e6"
		score = 75
		quality = 70
		tags = ""
		cape_options = "bp1=$outer*,action1=scan,count=0"

	strings:
		$outer = {83 45 F8 01 81 7D F8 FF 00 00 00 7E ?? 83 45 FC 01 8B 45 FC 3B 45 ?? 7E ?? 48}
		$inner = {88 E3 32 1C 0E 88 5C 15 00 48 8D 49 01 48 8D 52 01 38 C1 76 ?? 48 01 CE EB ?? FF}
		$date = {48 8B 17 48 85 D2 0F 85 [2] 00 00 8B 47 08 85 C0 0F 85 [2] 00 00}

	condition:
		($outer ) and not ( $inner ) and not ( $date )
}

Strings (3 patterns)

IdentifierTypeValueModifiers
$outerhex{83 45 F8 01 81 7D F8 FF 00 00 00 7E ?? 83 45 FC 01 8B 45 FC 3B 45 ?? 7E ?? 48}
$innerhex{88 E3 32 1C 0E 88 5C 15 00 48 8D 49 01 48 8D 52 01 38 C1 76 ?? 48 01 CE EB ?? FF}
$datehex{48 8B 17 48 85 D2 0F 85 [2] 00 00 8B 47 08 85 C0 0F 85 [2] 00 00}

Condition

($outer ) and not ( $inner ) and not ( $date )

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: 631083be-7058-590a-a394-984545f42ad7

Metadata

cape_optionsbp1=$outer*,action1=scan,count=0