Skip to content

YARA · CAPE Sandbox (CAPEv2)

CAPE_Privateloader

PrivateLoader indirect syscall capture

MalwarePrivateloaderCAPE Sandbox (CAPEv2)GNU General Public License v3.0Compiles with YARA-X
Author
kevoreilly
Date
2024-10-04
Score / Quality
75 / 70

What this rule detects

PrivateLoader indirect syscall capture

Associated malware family: Privateloader.

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

Summary generated from the rule's metadata and condition.

Rule source

privateloader.yarGNU General Public License v3.0
rule CAPE_Privateloader
{
	meta:
		description = "PrivateLoader indirect syscall capture"
		author = "kevoreilly"
		id = "3a0b16da-ec84-5761-bcf2-106362c5667d"
		date = "2024-10-04"
		modified = "2024-10-04"
		reference = "https://github.com/kevoreilly/CAPEv2"
		source_url = "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/analyzer/windows/data/yara/PrivateLoader.yar#L1-L12"
		license_url = "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/LICENSE"
		logic_hash = "204a86bb3743f19fed0fe55ff5ccd716661f7f315b5966a29e434ccb3e160526"
		score = 75
		quality = 70
		tags = ""
		cape_options = "clear,sysbp=$syscall*-2"
		packed = "075d0dafd7b794fbabaf53d38895cfd7cffed4a3fe093b0fc7853f3b3ce642a4"

	strings:
		$syscall = {48 31 C0 4C 8B 19 8B 41 10 48 8B 49 08 49 89 CA 41 FF E3}

	condition:
		any of them
}

Strings (1 patterns)

IdentifierTypeValueModifiers
$syscallhex{48 31 C0 4C 8B 19 8B 41 10 48 8B 49 08 49 89 CA 41 FF E3}

Condition

any of them

In plain words (Heuristic)

  • At least one pattern 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: 3a0b16da-ec84-5761-bcf2-106362c5667d

Metadata

cape_optionsclear,sysbp=$syscall*-2
packed075d0dafd7b794fbabaf53d38895cfd7cffed4a3fe093b0fc7853f3b3ce642a4