Skip to content

YARA · SEKOIA.IO Community

SEKOIA_Apt_Apt28_Ukrnet_Phishing_Page

Detects APT28 Phishing page

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

What this rule detects

Detects APT28 Phishing page

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

Summary generated from the rule's metadata and condition.

Rule source

apt-apt28-ukrnet-phishing-page.yarDetection Rule License 1.1
rule SEKOIA_Apt_Apt28_Ukrnet_Phishing_Page : FILE
{
	meta:
		description = "Detects APT28 Phishing page"
		author = "Sekoia.io"
		id = "053158d8-aac0-486f-8432-834a06f41ed2"
		date = "2024-09-02"
		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_ukrnet_phishing_page.yar#L1-L24"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		hash = "20dc3a5beb8e3a7801e010b4113efef1"
		hash = "5f1462144d7704101cd71c679ea0322b"
		logic_hash = "3d077a7ce35094bcbda763c131d4564ffbcea0373f5cbd30406ada4e9db36529"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$ = "baseurl+\"/captcha\""
		$ = "(\"sessionID\", sessionID"
		$ = ".responseJSON['origin"
		$ = "var baseurl="
		$ = "(req.responseText.includes("
		$ = "else if (req.responseText=='FAIL')"
		$ = "|| document.getElementById('confpwd"
		$ = "/master/dist/text-security-disc.woff"

	condition:
		4 of them and filesize < 500KB
}

Strings (8 patterns)

IdentifierTypeValueModifiers
$text"baseurl+\"/captcha\""
$text"(\"sessionID\", sessionID"
$text".responseJSON['origin"
$text"var baseurl="
$text"(req.responseText.includes("
$text"else if (req.responseText=='FAIL')"
$text"|| document.getElementById('confpwd"
$text"/master/dist/text-security-disc.woff"

Condition

4 of them and filesize < 500KB

In plain words (Heuristic)

  • The file must be smaller than 500KB (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

Sample hashes

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

  • 20dc3a5beb8e3a7801e010b4113efef1
  • 5f1462144d7704101cd71c679ea0322b

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: 053158d8-aac0-486f-8432-834a06f41ed2

Metadata

version1.0
classificationTLP:CLEAR

Tags:FILE