YARA · SEKOIA.IO Community
SEKOIA_Apt_Apt28_Htmlsmuggling_Disclosing_Ip
Detects some kind of HTMLSmuggling used by APT28
- Author
- Sekoia.io
- Date
- 2023-09-11
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
Detects some kind of HTMLSmuggling used by APT28
It defines 3 patterns (3 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
apt-apt28-htmlsmuggling-disclosing-ip.yarDetection Rule License 1.1
rule SEKOIA_Apt_Apt28_Htmlsmuggling_Disclosing_Ip : FILE
{
meta:
= "Detects some kind of HTMLSmuggling used by APT28"
= "Sekoia.io"
= "57adc227-2b72-457e-a786-97ca1a7300d8"
= "2023-09-11"
= "2024-12-19"
= "https://www.zscaler.com/blogs/security-research/steal-it-campaign"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_apt28_htmlsmuggling_disclosing_ip.yar#L1-L18"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "047d2d5f8d04576b6d57bc599f82406804845a3acb7628e7ad9b56e71e4dfe92"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$s1 = "ipapi.co/json"
$s2 = "a.download("
$s3 = "a.click("
condition:
$s1 and $s2 and $s3 and filesize < 5000
}
Strings (3 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | text | "ipapi.co/json" | |
| $s2 | text | "a.download(" | |
| $s3 | text | "a.click(" |
Condition
$s1 and $s2 and $s3 and filesize < 5000In plain words (Heuristic)
- The file must be smaller than 5000 (a cheap guard that skips large files).
- Pattern $s1 must be present.
- Pattern $s2 must be present.
- Pattern $s3 must be present.
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.
Licence & attribution
Author: Sekoia.io
Source repository: SEKOIA.IO Community @ a438a5901a
Licence: Detection Rule License 1.1 (repository licence)
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: 57adc227-2b72-457e-a786-97ca1a7300d8
Metadata
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Related rules
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-09-10
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-10-21
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-10-21
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-09-27
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-09-27
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-09-23
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-06-11
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-03-06