Skip to content

YARA · CAPE Sandbox (CAPEv2)

CAPE_Bruteratelconfig

BruteRatel Config Extraction

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 Config Extraction

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

Summary generated from the rule's metadata and condition.

Rule source

bruteratelconfig.yarGNU General Public License v3.0
rule CAPE_Bruteratelconfig
{
	meta:
		description = "BruteRatel Config Extraction"
		author = "kevoreilly"
		id = "5ae680b0-5ad2-5e82-87f8-b0af4fec18de"
		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#L41-L51"
		license_url = "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/LICENSE"
		logic_hash = "b1815aafec940ab6c8daafc68ccf294845221ada260de5209dcb7e49ccd061c7"
		score = 75
		quality = 70
		tags = ""
		cape_options = "clear,br1=$decode,count=0,action0=string:eax,typestring=BruteRatel Config"

	strings:
		$decode = {55 57 56 53 48 83 EC ?? 31 C0 48 89 CB 48 89 D7 44 89 C6 44 89 CD 44 39 01 77 ?? 41 8D 48 01 E8 [4] 31 C9}

	condition:
		all of them
}

Strings (1 patterns)

IdentifierTypeValueModifiers
$decodehex{55 57 56 53 48 83 EC ?? 31 C0 48 89 CB 48 89 D7 44 89 C6 44 89 CD 44 39 01 77 ?? 41 8D 48 01 E8 [4] 31 C9}

Condition

all of them

In plain words (Heuristic)

  • All 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: 5ae680b0-5ad2-5e82-87f8-b0af4fec18de

Metadata

cape_optionsclear,br1=$decode,count=0,action0=string:eax,typestring=BruteRatel Config