Skip to content

YARA · CAPE Sandbox (CAPEv2)

CAPE_Bumblebeeshellcode_1

BumbleBee Loader 2023

MalwareBumbleBeeCAPE Sandbox (CAPEv2)GNU General Public License v3.0Compiles with YARA-X
Author
kevoreilly
Date
2022-04-21
Modified
2023-02-08
Score / Quality
75 / 70

What this rule detects

BumbleBee Loader 2023

Associated malware family: BumbleBee.

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

Summary generated from the rule's metadata and condition.

Rule source

bumblebeeshellcode-1.yarGNU General Public License v3.0
rule CAPE_Bumblebeeshellcode_1
{
	meta:
		description = "BumbleBee Loader 2023"
		author = "kevoreilly"
		id = "20dd4668-497d-5f37-a61e-c154209503b8"
		date = "2022-04-21"
		modified = "2023-02-08"
		reference = "https://github.com/kevoreilly/CAPEv2"
		source_url = "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/analyzer/windows/data/yara/BumbleBee.yar#L18-L32"
		license_url = "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/LICENSE"
		logic_hash = "865510868ee7c089c2ada0645098e851ca2bb9084a74315ce16296eb19c93ab4"
		score = 75
		quality = 70
		tags = ""
		cape_options = "coverage-modules=gdiplus,ntdll-protect=0"
		packed = "51bb71bd446bd7fc03cc1234fcc3f489f10db44e312c9ce619b937fad6912656"

	strings:
		$setpath = "setPath"
		$alloc = {B8 01 00 00 00 48 6B C0 08 48 8D 0D [2] 00 00 48 03 C8 48 8B C1 48 89 [3] 00 00 00 8B 44 [2] 05 FF 0F 00 00 25 00 F0 FF FF 8B C0 48 89}
		$hook = {48 85 C9 74 20 48 85 D2 74 1B 4C 8B C9 45 85 C0 74 13 48 2B D1 42 8A 04 0A 41 88 01 49 FF C1 41 83 E8 01 75 F0 48 8B C1 C3}
		$algo = {41 8B C1 C1 E8 0B 0F AF C2 44 3B C0 73 6A 4C 8B [3] 44 8B C8 B8 00 08 00 00 2B C2 C1 E8 05 66 03 C2 8B 94 [2] 00 00 00}

	condition:
		2 of them
}

Strings (4 patterns)

IdentifierTypeValueModifiers
$setpathtext"setPath"
$allochex{B8 01 00 00 00 48 6B C0 08 48 8D 0D [2] 00 00 48 03 C8 48 8B C1 48 89 [3] 00 00 00 8B 44 [2] 05 FF 0F 00 00 25 00 F0 FF FF 8B C0 48 89}
$hookhex{48 85 C9 74 20 48 85 D2 74 1B 4C 8B C9 45 85 C0 74 13 48 2B D1 42 8A 04 0A 41 88 01 49 FF C1 41 83 E8 01 75 F0 48 8B C1 C3}
$algohex{41 8B C1 C1 E8 0B 0F AF C2 44 3B C0 73 6A 4C 8B [3] 44 8B C8 B8 00 08 00 00 2B C2 C1 E8 05 66 03 C2 8B 94 [2] 00 00 00}

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: 20dd4668-497d-5f37-a61e-c154209503b8

Metadata

cape_optionscoverage-modules=gdiplus,ntdll-protect=0
packed51bb71bd446bd7fc03cc1234fcc3f489f10db44e312c9ce619b937fad6912656

More BumbleBee rules