Skip to content

YARA · ESET malware-ioc

ESET_Apt_Windows_TA410_Rootkit_Strings

Strings found in TA410's Rootkit

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

What this rule detects

Strings found in TA410's Rootkit

Targets: Windows PE.

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

Summary generated from the rule's metadata and condition.

Rule source

apt-windows-ta410-rootkit-strings.yarBSD 2-Clause License
rule ESET_Apt_Windows_TA410_Rootkit_Strings : FILE
{
	meta:
		description = "Strings found in TA410's Rootkit"
		author = "ESET Research"
		id = "a6a97721-571e-5414-9b00-5789d7bcd078"
		date = "2021-10-12"
		modified = "2022-04-27"
		reference = "https://github.com/eset/malware-ioc/"
		source_url = "https://github.com/eset/malware-ioc/blob/17baf44964a77368e9149f4f593eb098beddf1c5/ta410/ta410.yar#L671-L697"
		license_url = "https://github.com/eset/malware-ioc/blob/17baf44964a77368e9149f4f593eb098beddf1c5/LICENSE"
		logic_hash = "1d3ad63508c5e4bca32b9a44b738cb4a7384ccfa5704ce329260adb342ea4e60"
		score = 75
		quality = 80
		tags = "FILE"
		license = "BSD 2-Clause"
		version = "1"

	strings:
		$driver1 = "\\Driver\\kbdclass" wide
		$driver2 = "\\Driver\\mouclass" wide
		$device1 = "\\Device\\KeyboardClass0" wide
		$device2 = "\\Device\\PointerClass0" wide
		$driver3 = "\\Driver\\tcpip" wide
		$device3 = "\\Device\\tcp" wide
		$driver4 = "\\Driver\\nsiproxy" wide
		$device4 = "\\Device\\Nsi" wide
		$reg1 = "\\Registry\\Machine\\SYSTEM\\Setup\\AllowStart\\ceipCommon" wide
		$reg2 = "RHH%d" wide
		$reg3 = "RHP%d" wide
		$s1 = "\\SystemRoot\\System32\\drivers\\hidmouse.sys" wide

	condition:
		uint16( 0 ) == 0x5a4d and all of ( $s1 , $reg* ) and ( all of ( $driver* ) or all of ( $device* ) )
}

Strings (12 patterns)

IdentifierTypeValueModifiers
$driver1text"\\Driver\\kbdclass"wide
$driver2text"\\Driver\\mouclass"wide
$device1text"\\Device\\KeyboardClass0"wide
$device2text"\\Device\\PointerClass0"wide
$driver3text"\\Driver\\tcpip"wide
$device3text"\\Device\\tcp"wide
$driver4text"\\Driver\\nsiproxy"wide
$device4text"\\Device\\Nsi"wide
$reg1text"\\Registry\\Machine\\SYSTEM\\Setup\\AllowStart\\ceipCommon"wide
$reg2text"RHH%d"wide
$reg3text"RHP%d"wide
$s1text"\\SystemRoot\\System32\\drivers\\hidmouse.sys"wide

Condition

uint16( 0 ) == 0x5a4d and all of ( $s1 , $reg* ) and ( all of ( $driver* ) or all of ( $device* ) )

In plain words (Heuristic)

  • The file must start with “MZ” — a Windows executable (PE).
  • All patterns in ( $s1 , $reg* ) must match.
  • All patterns in ( $driver* ) must match.
  • All patterns in ( $device* ) 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: a6a97721-571e-5414-9b00-5789d7bcd078

Metadata

version1

Tags:FILE