Skip to content

YARA · SEKOIA.IO Community

SEKOIA_Crime_Sload_Zip_Archives

Detects ZIP archives used by sLOad

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

What this rule detects

Detects ZIP archives used by sLOad

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

Summary generated from the rule's metadata and condition.

Rule source

crime-sload-zip-archives.yarDetection Rule License 1.1
rule SEKOIA_Crime_Sload_Zip_Archives : FILE
{
	meta:
		description = "Detects ZIP archives used by sLOad"
		author = "Sekoia.io"
		id = "5335ad65-bca5-4937-8634-46cbd7aa1b0e"
		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_zip_archives.yar#L1-L19"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "f2bc6464de008f2ce40acabd87ebbd91659d317f57e223118937ba51f70d0f7f"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$pic = { 00 00 00 [6] 2E ( 70 6E 67 | 67 69 66 | 6a 70 67 | 6A 70 65 67 ) }
		$pdf = { 00 00 00 [8] 2E 70 64 66 }
		$vbs = { ( 4c 65 67 67 69 6d 69 | 66 69 73 63 ) 2e ( 77 73 66 | 76 62 73 ) }

	condition:
		uint16be( 0 ) == 0x504B and filesize < 30KB and all of them
}

Strings (3 patterns)

IdentifierTypeValueModifiers
$pichex{ 00 00 00 [6] 2E ( 70 6E 67 | 67 69 66 | 6a 70 67 | 6A 70 65 67 ) }
$pdfhex{ 00 00 00 [8] 2E 70 64 66 }
$vbshex{ ( 4c 65 67 67 69 6d 69 | 66 69 73 63 ) 2e ( 77 73 66 | 76 62 73 ) }

Condition

uint16be( 0 ) == 0x504B and filesize < 30KB and all of them

In plain words (Heuristic)

  • The file must be smaller than 30KB (a cheap guard that skips large files).
  • All 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: 5335ad65-bca5-4937-8634-46cbd7aa1b0e

Metadata

version1.0
classificationTLP:CLEAR

Tags:FILE