Skip to content

YARA · SEKOIA.IO Community

SEKOIA_Apt_Apt28_Document_Phishing_Webpage

Detects APT28 document phishing webpage

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

What this rule detects

Detects APT28 document phishing webpage

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

Summary generated from the rule's metadata and condition.

Rule source

apt-apt28-document-phishing-webpage.yarDetection Rule License 1.1
rule SEKOIA_Apt_Apt28_Document_Phishing_Webpage : FILE
{
	meta:
		description = "Detects APT28 document phishing webpage"
		author = "Sekoia.io"
		id = "585a8e23-c302-41d3-938f-eda60c82ef28"
		date = "2024-04-08"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_apt28_document_phishing_webpage.yar#L1-L22"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "b64888c1d8568cf9d8f4dfcd2e18093db8635966d88abaa368dc46a1e4453782"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$ = "webhook.site"
		$ = "document.createElement('img')"
		$ = "brightness(15%) blur(7.0px)"
		$ = "This document is not available from mobile devices."
		$ = "Capture2.PNG"
		$ = ">CLICK TO VIEW DOCUMENT<"
		$ = "window.location.href = 's"
		$ = ".oast."

	condition:
		4 of them and filesize < 20KB
}

Strings (8 patterns)

IdentifierTypeValueModifiers
$text"webhook.site"
$text"document.createElement('img')"
$text"brightness(15%) blur(7.0px)"
$text"This document is not available from mobile devices."
$text"Capture2.PNG"
$text">CLICK TO VIEW DOCUMENT<"
$text"window.location.href = 's"
$text".oast."

Condition

4 of them and filesize < 20KB

In plain words (Heuristic)

  • The file must be smaller than 20KB (a cheap guard that skips large files).
  • At least 4 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

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: 585a8e23-c302-41d3-938f-eda60c82ef28

Metadata

version1.0
classificationTLP:CLEAR

Tags:FILE