Skip to content

YARA · SEKOIA.IO Community

SEKOIA_Crybercrime_Prophetspider_Proxy

Detects the Winntaa decryption loop or imphash

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

What this rule detects

Detects the Winntaa decryption loop or imphash

Targets: Windows PE.

It defines 1 patterns (0 text, 1 hex, 0 regex). YARA modules used: pe.

Summary generated from the rule's metadata and condition.

Rule source

Includes the imports needed to compile it on its own.

crybercrime-prophetspider-proxy.yarDetection Rule License 1.1
import "pe"

rule SEKOIA_Crybercrime_Prophetspider_Proxy : FILE
{
	meta:
		description = "Detects the Winntaa decryption loop or imphash"
		author = "Sekoia.io"
		id = "b7637fc3-bf81-40c4-869c-1c283574e0a7"
		date = "2022-02-17"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/crybercrime_prophetspider_proxy.yar#L3-L41"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "711ef3fc6ac488200415b7178c7f639ad9f6c72077bbebac2e6d5e0bed7120dd"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$ = { 56
        57
        48 8D 95 F0 FE FF FF
        31 C0
        66 21 02
        48 89 CE
        AC
        48 89 D7
        4C 89 C2
        88 D4
        30 C2
        0F B6 CA
        48 89 95 E8 FE FF FF
        AC
        30 E0
        AA
        E2 FA
        88 C8
        AA
        48 8D 85 F0 FE FF FF
        48 8B 95 E8 FE FF FF
        5F
        5E
        C3 }

	condition:
		uint16be( 0 ) == 0x4d5a and ( all of them or pe.imphash ( ) == "55e0b8e5b4d787c680ada4e450789a4d" )
}

Strings (1 patterns)

IdentifierTypeValueModifiers
$hex{ 56 57 48 8D 95 F0 FE FF FF 31 C0 66 21 02 48 89 CE AC 48 89 D7 4C 89 C2 88 D4 …

Condition

uint16be( 0 ) == 0x4d5a and ( all of them or pe.imphash ( ) == "55e0b8e5b4d787c680ada4e450789a4d" )

In plain words (Heuristic)

  • The file must start with “MZ” — a Windows executable (PE).
  • All patterns in the rule must match.
  • Uses the pe module.
  • Checks the PE import hash (imphash).

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: b7637fc3-bf81-40c4-869c-1c283574e0a7

Metadata

version1.0
classificationTLP:CLEAR

Tags:FILE