Skip to content

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Zeoticus

Detects Zeoticus ransomware

MalwareZeoticusditekSHen detectionBSD 2-Clause LicenseCompiles with YARA-X
Author
ditekSHen
Date
2020-11-06
Modified
2024-11-01
Score / Quality
75 / 75

What this rule detects

Detects Zeoticus ransomware

Associated malware family: Zeoticus.

Targets: Windows PE.

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

Summary generated from the rule's metadata and condition.

Rule source

malware-win-zeoticus.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Zeoticus : FILE
{
	meta:
		description = "Detects Zeoticus ransomware"
		author = "ditekSHen"
		id = "6d1096dd-d075-54eb-ade9-48e2f945145d"
		date = "2020-11-06"
		modified = "2024-11-01"
		reference = "https://github.com/ditekshen/detection"
		source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L5529-L5549"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "588c140c141e82dae56758550549dfb96410db50521ac546477e1adc5575b4a0"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$s1 = "Dear %s" fullword wide
		$s2 = "\\??\\UNC\\%s\\%s\\" wide
		$s3 = "\\\\%ws\\admin$\\%ws" wide
		$s4 = "%s /node:\"%ws\" /user:\"%ws\" /password:" wide
		$s5 = "process call create" wide
		$s6 = ">----===Zeoticus" ascii
		$s7 = "ZEOTICUSV2" ascii
		$s8 = "GetExtendedTcpTable" fullword ascii
		$s9 = "SHAMROckSWTF" ascii
		$s10 = "NTDLL.RtlAllocateHeap" fullword ascii
		$s11 = ".pandora" fullword wide
		$s12 = { 70 00 20 00 72 00 20 00 69 00 20 00 76 00 20 00 65 00 20 00 74 }
		$pdb = "_cryptor\\shell_gen\\Release\\" ascii

	condition:
		uint16( 0 ) == 0x5a4d and ( 6 of ( $s* ) or ( $pdb ) )
}

Strings (13 patterns)

IdentifierTypeValueModifiers
$s1text"Dear %s"fullword wide
$s2text"\\??\\UNC\\%s\\%s\\"wide
$s3text"\\\\%ws\\admin$\\%ws"wide
$s4text"%s /node:\"%ws\" /user:\"%ws\" /password:"wide
$s5text"process call create"wide
$s6text">----===Zeoticus"ascii
$s7text"ZEOTICUSV2"ascii
$s8text"GetExtendedTcpTable"fullword ascii
$s9text"SHAMROckSWTF"ascii
$s10text"NTDLL.RtlAllocateHeap"fullword ascii
$s11text".pandora"fullword wide
$s12hex{ 70 00 20 00 72 00 20 00 69 00 20 00 76 00 20 00 65 00 20 00 74 }
$pdbtext"_cryptor\\shell_gen\\Release\\"ascii

Condition

uint16( 0 ) == 0x5a4d and ( 6 of ( $s* ) or ( $pdb ) )

In plain words (Heuristic)

  • The file must start with “MZ” — a Windows executable (PE).
  • At least 6 patterns in ( $s* ) 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: ditekSHen

Source repository: ditekSHen detection @ e76c93dcde

Licence: BSD 2-Clause License (repository licence)

Copyright notice: Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).

Original rule

Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.

Rule id: 6d1096dd-d075-54eb-ade9-48e2f945145d

Tags:FILE

More Zeoticus rules