Skip to content

YARA · CAPE Sandbox (CAPEv2)

CAPE_Bruteratel

BruteRatel Payload

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

What this rule detects

BruteRatel Payload

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

Summary generated from the rule's metadata and condition.

Rule source

bruteratel.yarGNU General Public License v3.0
rule CAPE_Bruteratel
{
	meta:
		description = "BruteRatel Payload"
		author = "kevoreilly"
		id = "61b951e4-0c27-59c0-8ea2-715b673fdcee"
		date = "2024-07-11"
		modified = "2024-07-11"
		reference = "https://github.com/kevoreilly/CAPEv2"
		source_url = "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/data/yara/CAPE/BruteRatel.yar#L1-L14"
		license_url = "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/LICENSE"
		logic_hash = "0984977c716d6f8e068c045166eb5db77c9fbce27513e555dceca348375f1a66"
		score = 75
		quality = 70
		tags = ""
		cape_type = "BruteRatel Payload"

	strings:
		$syscall1 = {49 89 CA 4? 89 ?? (41 FF|FF)}
		$syscall2 = {49 89 CA 48 8B 44 24 ?? FF 64 24}
		$jmpapi = {49 89 ?? 10 49 C7 45 08 ?? 00 00 00 E8 00 00 00 00 ?? (48|49) 83 [2] 41 FF E2}
		$decode = {89 C2 8A 14 17 40 38 EA 75 06 FF C0 89 03 EB 0B 41 88 14 08 48 FF C1 FF 03 EB}

	condition:
		2 of them
}

Strings (4 patterns)

IdentifierTypeValueModifiers
$syscall1hex{49 89 CA 4? 89 ?? (41 FF|FF)}
$syscall2hex{49 89 CA 48 8B 44 24 ?? FF 64 24}
$jmpapihex{49 89 ?? 10 49 C7 45 08 ?? 00 00 00 E8 00 00 00 00 ?? (48|49) 83 [2] 41 FF E2}
$decodehex{89 C2 8A 14 17 40 38 EA 75 06 FF C0 89 03 EB 0B 41 88 14 08 48 FF C1 FF 03 EB}

Condition

2 of them

In plain words (Heuristic)

  • 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: 61b951e4-0c27-59c0-8ea2-715b673fdcee

Metadata

cape_typeBruteRatel Payload