Skip to content

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_MAL_Gozicrypter_Dec20_1

Detects crypter associated with several Gozi samples

MalwareSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Compiles with YARA-X
Author
James Quinn
Date
2020-12-02
Modified
2023-12-05
Score / Quality
70 / 85

What this rule detects

Detects crypter associated with several Gozi samples

Targets: Windows PE.

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

Summary generated from the rule's metadata and condition.

Rule source

mal-gozicrypter-dec20-1.yarDetection Rule License 1.1
rule SIGNATURE_BASE_MAL_Gozicrypter_Dec20_1 : FILE
{
	meta:
		description = "Detects crypter associated with several Gozi samples"
		author = "James Quinn"
		id = "d4a48612-fa6f-5f03-8d27-5f6b79b2a070"
		date = "2020-12-02"
		modified = "2023-12-05"
		reference = "YaraExchange"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/crime_gozi_crypter.yar#L2-L13"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		logic_hash = "51fdfbb59b8f52cc2ff89d994c0f89d2c2895c346b098879c68b4ccb880783c1"
		score = 70
		quality = 85
		tags = "FILE"

	strings:
		$s1 = { 89 05 ?? ?? ?? ?? 81 2d ?? ?? ?? ?? 01 00 00 00 81 3D ?? ?? ?? ?? 00 00 00 00 }

	condition:
		uint16( 0 ) == 0x5A4D and any of them and filesize < 1000KB
}

Strings (1 patterns)

IdentifierTypeValueModifiers
$s1hex{ 89 05 ?? ?? ?? ?? 81 2d ?? ?? ?? ?? 01 00 00 00 81 3D ?? ?? ?? ?? 00 00 00 00 }

Condition

uint16( 0 ) == 0x5A4D and any of them and filesize < 1000KB

In plain words (Heuristic)

  • The file must start with “MZ” — a Windows executable (PE).
  • The file must be smaller than 1000KB (a cheap guard that skips large files).
  • 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

Licence & attribution

Author: James Quinn

Source repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a

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: d4a48612-fa6f-5f03-8d27-5f6b79b2a070

Tags:FILE