Skip to content

YARA · CAPE Sandbox (CAPEv2)

CAPE_Bumblebee

BumbleBee Payload

MalwareBumbleBeeCAPE Sandbox (CAPEv2)GNU General Public License v3.0Compiles with YARA-X
Author
enzo & kevoreilly
Date
2022-04-21
Modified
2024-10-29
Score / Quality
75 / 70

What this rule detects

BumbleBee Payload

Associated malware family: BumbleBee.

Targets: Windows PE.

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

Summary generated from the rule's metadata and condition.

Rule source

bumblebee.yarGNU General Public License v3.0
rule CAPE_Bumblebee : FILE
{
	meta:
		description = "BumbleBee Payload"
		author = "enzo & kevoreilly"
		id = "b3a4dd53-014c-5e16-8ac1-7f3800ae017d"
		date = "2022-04-21"
		modified = "2024-10-29"
		reference = "https://github.com/kevoreilly/CAPEv2"
		source_url = "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/data/yara/CAPE/BumbleBee.yar#L35-L50"
		license_url = "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/LICENSE"
		logic_hash = "bc7c2ce9d3cd598c9510dc64d78048999f2f89ee5a84cd0d6046dbdfabe260ee"
		score = 75
		quality = 70
		tags = "FILE"
		cape_type = "BumbleBee Payload"

	strings:
		$antivm1 = {84 C0 74 09 33 C9 FF [4] 00 CC 33 C9 E8 [3] 00 4? 8B C8 E8}
		$antivm2 = {84 C0 0F 85 [2] 00 00 33 C9 E8 [4] 48 8B C8 E8 [4] 48 8D 85}
		$antivm3 = {33 C9 E8 [4] 48 8B C8 E8 [4] 83 CA FF 48 8B 0D [4] FF 15}
		$antivm4 = {33 C9 E8 [4] 48 8B C8 E8 [4] 90 48 8B 05 [4] 48 85 C0 74}
		$str_ua = "bumblebee"
		$str_gate = "/gate"

	condition:
		uint16( 0 ) == 0x5A4D and ( any of ( $antivm* ) or all of ( $str_* ) )
}

Strings (6 patterns)

IdentifierTypeValueModifiers
$antivm1hex{84 C0 74 09 33 C9 FF [4] 00 CC 33 C9 E8 [3] 00 4? 8B C8 E8}
$antivm2hex{84 C0 0F 85 [2] 00 00 33 C9 E8 [4] 48 8B C8 E8 [4] 48 8D 85}
$antivm3hex{33 C9 E8 [4] 48 8B C8 E8 [4] 83 CA FF 48 8B 0D [4] FF 15}
$antivm4hex{33 C9 E8 [4] 48 8B C8 E8 [4] 90 48 8B 05 [4] 48 85 C0 74}
$str_uatext"bumblebee"
$str_gatetext"/gate"

Condition

uint16( 0 ) == 0x5A4D and ( any of ( $antivm* ) or all of ( $str_* ) )

In plain words (Heuristic)

  • The file must start with “MZ” — a Windows executable (PE).
  • All patterns in ( $str_* ) must match.
  • At least one pattern in ( $antivm* ) 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: enzo & 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: b3a4dd53-014c-5e16-8ac1-7f3800ae017d

Metadata

cape_typeBumbleBee Payload

Tags:FILE

More BumbleBee rules