YARA · SEKOIA.IO Community
SEKOIA_Apt_Gamaredon_Htmlsmuggling_2024
Detects HTML Smuggling webpages of Gamaredon used in 2024
- Author
- Sekoia.io
- Date
- 2024-09-09
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
Detects HTML Smuggling webpages of Gamaredon used in 2024
It defines 7 patterns (7 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
apt-gamaredon-htmlsmuggling-2024.yarDetection Rule License 1.1
rule SEKOIA_Apt_Gamaredon_Htmlsmuggling_2024 : FILE
{
meta:
= "Detects HTML Smuggling webpages of Gamaredon used in 2024"
= "Sekoia.io"
= "8fa1f80b-2261-4d63-92d8-7c360be73fe2"
= "2024-09-09"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_gamaredon_htmlsmuggling_2024.yar#L1-L23"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "ab2807824e68d5efb4c896e1af82e693"
= "926b7e65d0d61cd6ba9e085193ae8b1d"
= "9cd82f497fd7b82f02fec4ce1d131cd2685861c7c02aaae992e07a7d8bd30595"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$ = "').innerHTML;window['" ascii fullword
$ = "='at'+'ob';"
$ = "]('*','');"
$ = "display:none"
$ = "0px;\" onerror=\""
$ = "'ev'+'"
$ = "<!DOCTYPE html PUBLIC"
condition:
5 of them and filesize < 1MB
}
Strings (7 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $ | text | "').innerHTML;window['" | ascii fullword |
| $ | text | "='at'+'ob';" | |
| $ | text | "]('*','');" | |
| $ | text | "display:none" | |
| $ | text | "0px;\" onerror=\"" | |
| $ | text | "'ev'+'" | |
| $ | text | "<!DOCTYPE html PUBLIC" |
Condition
5 of them and filesize < 1MBIn plain words (Heuristic)
- The file must be smaller than 1MB (a cheap guard that skips large files).
- At least 5 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.
References
Sample hashes
Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).
- ab2807824e68d5efb4c896e1af82e693
- 926b7e65d0d61cd6ba9e085193ae8b1d
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: 8fa1f80b-2261-4d63-92d8-7c360be73fe2
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