Skip to content

YARA · ESET malware-ioc

ESET_Apt_Windows_TA410_X4_Hash_Fct

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 1 patterns (0 text, 1 hex, 0 regex).

Summary generated from the rule's metadata and condition.

Rule source

apt-windows-ta410-x4-hash-fct.yarBSD 2-Clause License
rule ESET_Apt_Windows_TA410_X4_Hash_Fct : FILE
{
	meta:
		description = "Matches X4 hash function found in TA410 X4"
		author = "ESET Research"
		id = "5ca435a4-7c6e-594d-8c4d-d577735884e6"
		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#L151-L187"
		license_url = "https://github.com/eset/malware-ioc/blob/17baf44964a77368e9149f4f593eb098beddf1c5/LICENSE"
		logic_hash = "3b2d44cb7685a99e9aeb08f886f6876d43ee99d1e52e40705c3fa97ce3bfa9a0"
		score = 75
		quality = 80
		tags = "FILE"
		license = "BSD 2-Clause"
		version = "1"

	strings:
		$chunk_1 = {
            0F B6 01
            84 C0
            74 ??
            48 69 D2 83 00 00 00
            48 0F BE C0
            48 03 D0
            48 FF C1
            E9 ?? ?? ?? ??
        }

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

Strings (1 patterns)

IdentifierTypeValueModifiers
$chunk_1hex{ 0F B6 01 84 C0 74 ?? 48 69 D2 83 00 00 00 48 0F BE C0 48 03 D0 48 FF C1 …

Condition

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

In plain words (Heuristic)

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

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: 5ca435a4-7c6e-594d-8c4d-d577735884e6

Metadata

version1

Tags:FILE