Skip to content

YARA · CAPE Sandbox (CAPEv2)

CAPE_Salat

Salat Payload

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

What this rule detects

Salat Payload

Targets: Windows PE.

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

Summary generated from the rule's metadata and condition.

Rule source

salat.yarGNU General Public License v3.0
rule CAPE_Salat : FILE
{
	meta:
		description = "Salat Payload"
		author = "kevoreilly"
		id = "a68d05d7-a8f6-567b-b57a-5255a5d2c4d1"
		date = "2026-04-17"
		modified = "2026-04-17"
		reference = "https://github.com/kevoreilly/CAPEv2"
		source_url = "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/data/yara/CAPE/Salat.yar#L1-L14"
		license_url = "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/LICENSE"
		logic_hash = "162a7398e0b2a83029bc3369127330636dce2b4f0874a17049cd90995ad89911"
		score = 75
		quality = 70
		tags = "FILE"
		cape_type = "Salat Payload"

	strings:
		$a1 = "salat"
		$a2 = "screenshot"
		$a3 = "task.go"
		$a4 = "tsc.go"

	condition:
		uint16( 0 ) == 0x5A4D and all of them
}

Strings (4 patterns)

IdentifierTypeValueModifiers
$a1text"salat"
$a2text"screenshot"
$a3text"task.go"
$a4text"tsc.go"

Condition

uint16( 0 ) == 0x5A4D and all of them

In plain words (Heuristic)

  • The file must start with “MZ” — a Windows executable (PE).
  • 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: 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: a68d05d7-a8f6-567b-b57a-5255a5d2c4d1

Metadata

cape_typeSalat Payload

Tags:FILE