Skip to content

YARA · ESET malware-ioc

ESET_Apt_Windows_TA410_X4_Hash_Values

Matches X4 hash function found in TA410 X4

APT / threat actorESET malware-iocBSD 2-Clause LicenseCompiles with YARA-X
Author
ESET Research
Date
2020-10-09
Modified
2022-04-27
Score / Quality
75 / 80

What this rule detects

Matches X4 hash function found in TA410 X4

Targets: Windows PE.

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

Summary generated from the rule's metadata and condition.

Rule source

apt-windows-ta410-x4-hash-values.yarBSD 2-Clause License
rule ESET_Apt_Windows_TA410_X4_Hash_Values : FILE
{
	meta:
		description = "Matches X4 hash function found in TA410 X4"
		author = "ESET Research"
		id = "859bb977-82d0-5314-b1a8-fb3bb06a1b28"
		date = "2020-10-09"
		modified = "2022-04-27"
		reference = "https://github.com/eset/malware-ioc/"
		source_url = "https://github.com/eset/malware-ioc/blob/17baf44964a77368e9149f4f593eb098beddf1c5/ta410/ta410.yar#L127-L149"
		license_url = "https://github.com/eset/malware-ioc/blob/17baf44964a77368e9149f4f593eb098beddf1c5/LICENSE"
		logic_hash = "bcf3891ff888ca99af9aa0e239b29241ae819022607fb829c5731267add308ea"
		score = 75
		quality = 80
		tags = "FILE"
		license = "BSD 2-Clause"
		version = "1"

	strings:
		$s1 = {D1 10 76 C2 B6 03}
		$s2 = {71 3E A8 0D}
		$s3 = {DC 78 94 0E}
		$s4 = {40 0D E7 D6 06}
		$s5 = {83 BB FD E8 06}
		$s6 = {92 9D 9B FF EC 03}
		$s7 = {DD 0E FC FA F5 03}
		$s8 = {15 60 1E FB F5 03}

	condition:
		uint16( 0 ) == 0x5a4d and 4 of them
}

Strings (8 patterns)

IdentifierTypeValueModifiers
$s1hex{D1 10 76 C2 B6 03}
$s2hex{71 3E A8 0D}
$s3hex{DC 78 94 0E}
$s4hex{40 0D E7 D6 06}
$s5hex{83 BB FD E8 06}
$s6hex{92 9D 9B FF EC 03}
$s7hex{DD 0E FC FA F5 03}
$s8hex{15 60 1E FB F5 03}

Condition

uint16( 0 ) == 0x5a4d and 4 of them

In plain words (Heuristic)

  • The file must start with “MZ” — a Windows executable (PE).
  • At least 4 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: ESET Research

Source repository: ESET malware-ioc @ 17baf44964

Licence: BSD 2-Clause License (stated in the rule's own meta)

“BSD 2-Clause”

Copyright notice: Copyright (c) 2014-2018 ESET spol. s r.o.

Original rule

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

Rule id: 859bb977-82d0-5314-b1a8-fb3bb06a1b28

Metadata

version1

Tags:FILE