Skip to content

YARA · SEKOIA.IO Community

SEKOIA_Apt_Apt29_Wineloader_Malicious_Hta

Detects malicious HTA used by APT29 to drop Wineloader

APT / threat actorSEKOIA.IO CommunityDetection Rule License 1.1Compiles with YARA-X
Author
Sekoia.io
Date
2024-03-25
Modified
2024-12-19
Score / Quality
75 / 80

What this rule detects

Detects malicious HTA used by APT29 to drop Wineloader

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

Summary generated from the rule's metadata and condition.

Rule source

apt-apt29-wineloader-malicious-hta.yarDetection Rule License 1.1
rule SEKOIA_Apt_Apt29_Wineloader_Malicious_Hta
{
	meta:
		description = "Detects malicious HTA used by APT29 to drop Wineloader"
		author = "Sekoia.io"
		id = "5a17d854-0564-4830-a0e5-7867b99716c2"
		date = "2024-03-25"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_apt29_wineloader_malicious_hta.yar#L1-L18"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		hash = "efafcd00b9157b4146506bd381326f39"
		logic_hash = "0cc4692e5ff3f258c287f28030147f725d6a534c4f2f7a2a4ff49a305b7fd13d"
		score = 75
		quality = 80
		tags = ""
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$ = "<HTA:APPLICATION ID="
		$ = "var _0x"
		$ = "Date['\\x6e\\x6f\\x77']"

	condition:
		all of them
}

Strings (3 patterns)

IdentifierTypeValueModifiers
$text"<HTA:APPLICATION ID="
$text"var _0x"
$text"Date['\\x6e\\x6f\\x77']"

Condition

all of them

In plain words (Heuristic)

  • All 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

Sample hashes

Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).

  • efafcd00b9157b4146506bd381326f39

Licence & attribution

Author: Sekoia.io

Source repository: SEKOIA.IO Community @ a438a5901a

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: 5a17d854-0564-4830-a0e5-7867b99716c2

Metadata

version1.0
classificationTLP:CLEAR