Skip to content

YARA · SEKOIA.IO Community

SEKOIA_Apt_Susp_Apt28_Uac0063_Hta_Loader

Detects some suspected APT28 HTA loader

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

What this rule detects

Detects some suspected APT28 HTA loader

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

Summary generated from the rule's metadata and condition.

Rule source

apt-susp-apt28-uac0063-hta-loader.yarDetection Rule License 1.1
rule SEKOIA_Apt_Susp_Apt28_Uac0063_Hta_Loader
{
	meta:
		description = "Detects some suspected APT28 HTA loader"
		author = "Sekoia.io"
		id = "8e1889c1-c6ac-4048-9d3a-99ccbbd5435f"
		date = "2024-07-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_susp_apt28_uac0063_hta_loader.yar#L1-L18"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		hash = "332d9db35daa83c5ad226b9bf50e992713bc6a69c9ecd52a1223b81e992bc725"
		logic_hash = "494331a8088d350e4e49e67fe64041d451886e501775413f908bd9b3faa98aeb"
		score = 65
		quality = 80
		tags = ""
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$ = "<HEAD><HTA:APPLICATION ID" ascii fullword
		$ = "id=service>null</span" ascii fullword
		$ = "script Language=\"VBScript.Encode" ascii fullword

	condition:
		2 of them
}

Strings (3 patterns)

IdentifierTypeValueModifiers
$text"<HEAD><HTA:APPLICATION ID"ascii fullword
$text"id=service>null</span"ascii fullword
$text"script Language=\"VBScript.Encode"ascii fullword

Condition

2 of them

In plain words (Heuristic)

  • At least 2 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).

  • 332d9db35daa83c5ad226b9bf50e992713bc6a69c9ecd52a1223b81e992bc725

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: 8e1889c1-c6ac-4048-9d3a-99ccbbd5435f

Metadata

version1.0
classificationTLP:CLEAR