Skip to content

YARA · CAPE Sandbox (CAPEv2)

CAPE_Mysterysnail

MysterySnail anti-sandbox bypass

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

What this rule detects

MysterySnail anti-sandbox bypass

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

Summary generated from the rule's metadata and condition.

Rule source

mysterysnail.yarGNU General Public License v3.0
rule CAPE_Mysterysnail
{
	meta:
		description = "MysterySnail anti-sandbox bypass"
		author = "kevoreilly"
		id = "dfeb820a-3101-5588-8348-3b62a6900538"
		date = "2021-10-16"
		modified = "2021-10-16"
		reference = "https://github.com/kevoreilly/CAPEv2"
		source_url = "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/analyzer/windows/data/yara/MysterySnail.yar#L1-L11"
		license_url = "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/LICENSE"
		logic_hash = "9402dbbbfdd286e2309ee83fc08194f70f73657a3a4e3785dfbcb564dbee86a8"
		score = 75
		quality = 70
		tags = ""
		cape_options = "bp0=$anti+62,action0=skip,count=0"

	strings:
		$anti = {F2 0F 10 [3] 66 0F 2F 05 [4] 76 0A 8B [3] FF C0 89 [3] B9 5B 05 00 00 FF 15 [4] E8 [4] 89 [3] 8B [3] 8B [3] 2B C8 8B C1 3B [3] 7E 16}

	condition:
		any of them
}

Strings (1 patterns)

IdentifierTypeValueModifiers
$antihex{F2 0F 10 [3] 66 0F 2F 05 [4] 76 0A 8B [3] FF C0 89 [3] B9 5B 05 00 00 FF 15 [4] E8 [4] 89 [3] 8B [3] 8B [3] 2B C8 8B C1 3B [3] 7E 16}

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: dfeb820a-3101-5588-8348-3b62a6900538

Metadata

cape_optionsbp0=$anti+62,action0=skip,count=0