Skip to content

YARA · SEKOIA.IO Community

SEKOIA_Apt_Scanbox_Framework_Not_Obfuscated

Detects the non obfuscated version of ScanBox

APT / threat actorSEKOIA.IO CommunityDetection Rule License 1.1Compiles with YARA-X
Author
Sekoia.io
Date
2022-09-01
Modified
2024-12-19
Score / Quality
75 / 80

What this rule detects

Detects the non obfuscated version of ScanBox

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

Summary generated from the rule's metadata and condition.

Rule source

apt-scanbox-framework-not-obfuscated.yarDetection Rule License 1.1
rule SEKOIA_Apt_Scanbox_Framework_Not_Obfuscated : FILE
{
	meta:
		description = "Detects the non obfuscated version of ScanBox"
		author = "Sekoia.io"
		id = "4790f122-89de-4f7b-a25f-9ac7b1af8333"
		date = "2022-09-01"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_scanbox_framework_not_obfuscated.yar#L1-L23"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "52779571eb4e68442542a1c4cff58d5b00a264bb567396126cd93dc4ec4eda45"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$ = "php?m=a&data="
		$ = "php?m=p&data="
		$ = ".fun.split_data = function"
		$ = ".php?data="
		$ = ".php?m=b"
		$ = "basic.apipath"
		$ = ".info.seed ="
		$ = "loadjs ="
		$ = "info.color = screen.colorDepth"

	condition:
		5 of them and filesize < 500KB
}

Strings (9 patterns)

IdentifierTypeValueModifiers
$text"php?m=a&data="
$text"php?m=p&data="
$text".fun.split_data = function"
$text".php?data="
$text".php?m=b"
$text"basic.apipath"
$text".info.seed ="
$text"loadjs ="
$text"info.color = screen.colorDepth"

Condition

5 of them and filesize < 500KB

In plain words (Heuristic)

  • The file must be smaller than 500KB (a cheap guard that skips large files).
  • At least 5 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: Sekoia.io

Source repository: SEKOIA.IO Community @ a438a5901a

Licence: Detection Rule License 1.1 (repository licence)

Original rule

Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.

Rule id: 4790f122-89de-4f7b-a25f-9ac7b1af8333

Metadata

version1.0
classificationTLP:CLEAR

Tags:FILE