Skip to content

YARA · CAPE Sandbox (CAPEv2)

CAPE_Hijackloaderstub

HijackLoader Stub Executable

GenericCAPE Sandbox (CAPEv2)GNU General Public License v3.0Compiles with YARA-X
Author
kevoreilly
Date
2026-01-26
Score / Quality
75 / 70

What this rule detects

HijackLoader Stub Executable

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

Summary generated from the rule's metadata and condition.

Rule source

hijackloaderstub.yarGNU General Public License v3.0
rule CAPE_Hijackloaderstub
{
	meta:
		description = "HijackLoader Stub Executable"
		author = "kevoreilly"
		id = "53363a3a-7f2a-52a6-8c0a-5f03fd121f70"
		date = "2026-01-26"
		modified = "2026-01-26"
		reference = "https://github.com/kevoreilly/CAPEv2"
		source_url = "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/data/yara/CAPE/HijackLoader.yar#L1-L13"
		license_url = "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/LICENSE"
		logic_hash = "686a19a416b94f6ccdd1891ff027452c84b2171ee4268ff971f490e18948a6f5"
		score = 75
		quality = 70
		tags = ""
		cape_type = "HijackLoader Payload"

	strings:
		$stub1 = {50 83 C0 10 50 56 8D 85 [4] 50 E8 [4] 83 C7 30 8D 85 [4] 3B F8 74 08 8B 35 [4] EB D3}
		$stub2 = {33 C5 89 45 ?? (C6 45 ?? 00|C7 45 ?? 61 7A 2D 2D) 8D 45 ?? FF 75 ?? C7 45 ?? 30 39 41 5A 50 8D 45 (??|?? C7 45 ?? 61 7A 2D 2D) 50 E8}
		$app = "\\app-" wide

	condition:
		2 of them
}

Strings (3 patterns)

IdentifierTypeValueModifiers
$stub1hex{50 83 C0 10 50 56 8D 85 [4] 50 E8 [4] 83 C7 30 8D 85 [4] 3B F8 74 08 8B 35 [4] EB D3}
$stub2hex{33 C5 89 45 ?? (C6 45 ?? 00|C7 45 ?? 61 7A 2D 2D) 8D 45 ?? FF 75 ?? C7 45 ?? 30 39 41 5A 50 8D 45 (??|?? C7 45 ?? 61 7A 2D 2D) 50 E8}
$apptext"\\app-"wide

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: 53363a3a-7f2a-52a6-8c0a-5f03fd121f70

Metadata

cape_typeHijackLoader Payload