Skip to content

YARA · CAPE Sandbox (CAPEv2)

CAPE_Worldwind

Detects WorldWind infostealer

MalwareCAPE Sandbox (CAPEv2)GNU General Public License v3.0Compiles with YARA-X
Author
ditekSHen
Date
2024-10-09
Modified
2025-02-03
Score / Quality
75 / 70

What this rule detects

Detects WorldWind infostealer

Targets: Windows PE.

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

Summary generated from the rule's metadata and condition.

Rule source

worldwind.yarGNU General Public License v3.0
rule CAPE_Worldwind : FILE
{
	meta:
		description = "Detects WorldWind infostealer"
		author = "ditekSHen"
		id = "226f591a-dc06-54f5-96ae-d142f624ff71"
		date = "2024-10-09"
		modified = "2025-02-03"
		reference = "https://github.com/kevoreilly/CAPEv2"
		source_url = "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/data/yara/CAPE/AsyncRAT.yar#L60-L82"
		license_url = "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/LICENSE"
		logic_hash = "9bb04fad460193cd877ea7f2de9337f69aadda01aee6c79f0a23cdf564b1e6c8"
		score = 75
		quality = 70
		tags = "FILE"
		cape_type = "WorldWind Payload"

	strings:
		$c1 = /WorldWind(\s)?Stealer/ ascii wide
		$x2 = "@FlatLineStealer" ascii wide
		$x3 = "@CashOutGangTalk" ascii wide
		$m1 = ".Passwords.Targets." ascii
		$m2 = ".Modules.Keylogger" ascii
		$m3 = ".Modules.Clipper" ascii
		$m4 = ".Modules.Implant" ascii
		$s1 = "--- Clipper" wide
		$s2 = "Downloading file: \"{file}\"" wide
		$s3 = "/bot{0}/getUpdates?offset={1}" wide
		$s4 = "send command to bot!" wide
		$s5 = " *Keylogger " fullword wide
		$s6 = "*Stealer" wide
		$s7 = "Bot connected" wide

	condition:
		uint16( 0 ) == 0x5a4d and 1 of ( $c* ) and ( 1 of ( $x* ) or 2 of ( $m* ) or 3 of ( $s* ) )
}

Strings (14 patterns)

IdentifierTypeValueModifiers
$c1regex/WorldWind(\s)?Stealer/ascii wide
$x2text"@FlatLineStealer"ascii wide
$x3text"@CashOutGangTalk"ascii wide
$m1text".Passwords.Targets."ascii
$m2text".Modules.Keylogger"ascii
$m3text".Modules.Clipper"ascii
$m4text".Modules.Implant"ascii
$s1text"--- Clipper"wide
$s2text"Downloading file: \"{file}\""wide
$s3text"/bot{0}/getUpdates?offset={1}"wide
$s4text"send command to bot!"wide
$s5text" *Keylogger "fullword wide
$s6text"*Stealer"wide
$s7text"Bot connected"wide

Condition

uint16( 0 ) == 0x5a4d and 1 of ( $c* ) and ( 1 of ( $x* ) or 2 of ( $m* ) or 3 of ( $s* ) )

In plain words (Heuristic)

  • The file must start with “MZ” — a Windows executable (PE).
  • At least 1 patterns in ( $c* ) must match.
  • At least 1 patterns in ( $x* ) must match.
  • At least 2 patterns in ( $m* ) must match.
  • At least 3 patterns in ( $s* ) 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: ditekSHen

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: 226f591a-dc06-54f5-96ae-d142f624ff71

Metadata

cape_typeWorldWind Payload

Tags:FILE

  • MalwareCAPE Sandbox (CAPEv2)· ditekSHen· 2024-10-09