Skip to content

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_TA17_293A_Energetic_Bear_Api_Hashing_Tool

Energetic Bear API Hashing Tool

GenericSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Compiles with YARA-X
Author
CERT RE Team
Date
2026-02-27
Modified
2023-12-05
Score / Quality
75 / 85

What this rule detects

Energetic Bear API Hashing Tool

Targets: Windows PE.

It defines 5 patterns (2 text, 3 hex, 0 regex).

Summary generated from the rule's metadata and condition.

Rule source

ta17-293a-energetic-bear-api-hashing-tool.yarDetection Rule License 1.1
rule SIGNATURE_BASE_TA17_293A_Energetic_Bear_Api_Hashing_Tool : FILE
{
	meta:
		description = "Energetic Bear API Hashing Tool"
		author = "CERT RE Team"
		id = "4e58800a-9618-5d8b-954c-e843be6002c2"
		date = "2026-02-27"
		modified = "2023-12-05"
		reference = "https://github.com/Neo23x0/signature-base"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/apt_ta17_293A.yar#L77-L93"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		logic_hash = "5f8a770c727cdd2d32d7cd1ad45ee8b37f7fc63c9e7f4311d318eb15d9050909"
		score = 75
		quality = 85
		tags = "FILE"
		assoc_report = "DHS Report TA17-293A"

	strings:
		$api_hash_func_v1 = { 8A 08 84 C9 74 ?? 80 C9 60 01 CB C1 E3 01 03 45 10 EB ED }
		$api_hash_func_v2 = { 8A 08 84 C9 74 ?? 80 C9 60 01 CB C1 E3 01 03 44 24 14 EB EC }
		$api_hash_func_x64 = { 8A 08 84 C9 74 ?? 80 C9 60 48 01 CB 48 C1 E3 01 48 03 45 20 EB EA }
		$http_push = "X-mode: push" nocase
		$http_pop = "X-mode: pop" nocase

	condition:
		$api_hash_func_v1 or $api_hash_func_v2 or $api_hash_func_x64 and ( uint16( 0 ) == 0x5a4d or $http_push or $http_pop )
}

Strings (5 patterns)

IdentifierTypeValueModifiers
$api_hash_func_v1hex{ 8A 08 84 C9 74 ?? 80 C9 60 01 CB C1 E3 01 03 45 10 EB ED }
$api_hash_func_v2hex{ 8A 08 84 C9 74 ?? 80 C9 60 01 CB C1 E3 01 03 44 24 14 EB EC }
$api_hash_func_x64hex{ 8A 08 84 C9 74 ?? 80 C9 60 48 01 CB 48 C1 E3 01 48 03 45 20 EB EA }
$http_pushtext"X-mode: push"nocase
$http_poptext"X-mode: pop"nocase

Condition

$api_hash_func_v1 or $api_hash_func_v2 or $api_hash_func_x64 and ( uint16( 0 ) == 0x5a4d or $http_push or $http_pop )

In plain words (Heuristic)

  • The file must start with “MZ” — a Windows executable (PE).
  • Pattern $api_hash_func_v1 must be present.
  • Pattern $api_hash_func_v2 must be present.
  • Pattern $api_hash_func_x64 must be present.
  • Pattern $http_push must be present.
  • Pattern $http_pop must be present.

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: CERT RE Team

Source repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a

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: 4e58800a-9618-5d8b-954c-e843be6002c2

Metadata

assoc_reportDHS Report TA17-293A

Tags:FILE