Skip to content

YARA · SEKOIA.IO Community

SEKOIA_Crime_Sload_Vbs_Wsf_Downloader

Detects sLoad Downloader

MalwareSEKOIA.IO CommunityDetection Rule License 1.1Compiles with YARA-X (with warnings)
Author
Sekoia.io
Date
2022-08-01
Modified
2024-12-19
Score / Quality
75 / 76

What this rule detects

Detects sLoad Downloader

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

YARA-X says: warning[text_as_hex]: hex pattern could be written as text literal

Summary generated from the rule's metadata and condition.

Rule source

crime-sload-vbs-wsf-downloader.yarDetection Rule License 1.1
rule SEKOIA_Crime_Sload_Vbs_Wsf_Downloader : FILE
{
	meta:
		description = "Detects sLoad Downloader"
		author = "Sekoia.io"
		id = "55d87205-5f8f-479a-a616-bf3fce571f03"
		date = "2022-08-01"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/crime_sload_vbs_wsf_downloader.yar#L1-L18"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "bd6a9112edb01544463aa7112432ad49360221e89a9ac15d5e8f6731b2b8780a"
		score = 75
		quality = 76
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$ = { 53 65 74 20 6c 69 6e 6b 20 3d 20 [5-10] 2e 43 72 65 61 74 65 53 68 6f 72 74 63 75 74 28 }
		$ = { 2e 72 75 6e 20 22 63 3a 5c 55 73 65 72 73 5c 50 75 62 6c 69 63 5c 44 6f 63 75 6d 65 6e 74 73 5c [5-10] 2e 6c 6e 6b 20 2f 63 20 70 6f 77 65 72 73 68 65 6c 6c }
		$ = { 3d 22 20 2f 63 20 70 6f 77 65 72 73 68 65 6c 6c 20 22 }
		$ = { 20 2f 63 20 70 6f 77 65 72 73 68 65 6c 6c 20 22 20 26 20 }

	condition:
		2 of them and filesize < 1KB
}

Strings (4 patterns)

IdentifierTypeValueModifiers
$hex{ 53 65 74 20 6c 69 6e 6b 20 3d 20 [5-10] 2e 43 72 65 61 74 65 53 68 6f 72 74 63 75 74 28 }
$hex{ 2e 72 75 6e 20 22 63 3a 5c 55 73 65 72 73 5c 50 75 62 6c 69 63 5c 44 6f 63 75 6d 65 6e 74 73 5c [5-10] 2e 6c 6e 6b 20 2f 63 20 70 6f 77 65 72 73 68 65 6c 6c }
$hex{ 3d 22 20 2f 63 20 70 6f 77 65 72 73 68 65 6c 6c 20 22 }
$hex{ 20 2f 63 20 70 6f 77 65 72 73 68 65 6c 6c 20 22 20 26 20 }

Condition

2 of them and filesize < 1KB

In plain words (Heuristic)

  • The file must be smaller than 1KB (a cheap guard that skips large files).
  • 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: 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: 55d87205-5f8f-479a-a616-bf3fce571f03

Metadata

version1.0
classificationTLP:CLEAR

Tags:FILE