Skip to content

YARA · CAPE Sandbox (CAPEv2)

CAPE_Bruteratelsyscall

BruteRatel Syscall Bypass

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 Syscall Bypass

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

Summary generated from the rule's metadata and condition.

Rule source

bruteratelsyscall.yarGNU General Public License v3.0
rule CAPE_Bruteratelsyscall
{
	meta:
		description = "BruteRatel Syscall Bypass"
		author = "kevoreilly"
		id = "0ddc3e0a-c4ca-5342-b029-107ce1f2751e"
		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#L1-L12"
		license_url = "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/LICENSE"
		logic_hash = "5ed054b3cd5d2659c250945d55d6adac90945963c34ad2af0f8d7436141e86b6"
		score = 75
		quality = 70
		tags = ""
		cape_options = "sysbp=$syscall1+6,sysbp=$syscall2+8"

	strings:
		$syscall1 = {49 89 CA 4? 89 ?? (41 FF|FF)}
		$syscall2 = {49 89 CA 48 8B 44 24 ?? FF 64 24}

	condition:
		all of them
}

Strings (2 patterns)

IdentifierTypeValueModifiers
$syscall1hex{49 89 CA 4? 89 ?? (41 FF|FF)}
$syscall2hex{49 89 CA 48 8B 44 24 ?? FF 64 24}

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: 0ddc3e0a-c4ca-5342-b029-107ce1f2751e

Metadata

cape_optionssysbp=$syscall1+6,sysbp=$syscall2+8