Skip to content

YARA · SEKOIA.IO Community

SEKOIA_Apt_Susp_Apt28_Uac0063_Malicious_Doc

Detects some suspected APT28 document

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 document

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-malicious-doc.yarDetection Rule License 1.1
rule SEKOIA_Apt_Susp_Apt28_Uac0063_Malicious_Doc : FILE
{
	meta:
		description = "Detects some suspected APT28 document"
		author = "Sekoia.io"
		id = "2b9d597a-a6cd-49df-8938-7103342a1d06"
		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_malicious_doc.yar#L1-L18"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		hash = "93322be0785556e627d2b09832c18e39c115e6a6fbff64b1e590e1ddcf8f6a43"
		logic_hash = "27aeadbb76dd4e670a85e8fcd1e885b69845537dd937aacc1808902e75008848"
		score = 65
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$ = "Sub pop() : : End Sub" ascii fullword
		$ = "%localappdata%\\Temp" ascii fullword
		$ = "rthedbv" ascii fullword

	condition:
		2 of them and filesize < 1MB
}

Strings (3 patterns)

IdentifierTypeValueModifiers
$text"Sub pop() : : End Sub"ascii fullword
$text"%localappdata%\\Temp"ascii fullword
$text"rthedbv"ascii fullword

Condition

2 of them and filesize < 1MB

In plain words (Heuristic)

  • The file must be smaller than 1MB (a cheap guard that skips large files).
  • 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).

  • 93322be0785556e627d2b09832c18e39c115e6a6fbff64b1e590e1ddcf8f6a43

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: 2b9d597a-a6cd-49df-8938-7103342a1d06

Metadata

version1.0
classificationTLP:CLEAR

Tags:FILE