YARA · SEKOIA.IO Community
SEKOIA_Apt_Gamaredon_Lnk
Detects lnk file used by Gamaredon
- Autor
- Sekoia.io
- Datum
- 2024-02-08
- Geändert
- 2024-12-19
- Score / Qualität
- 75 / 80
Was diese Regel erkennt
Detects lnk file used by Gamaredon
Sie definiert 2 Muster (2 Text, 0 Hex, 0 Regex).
Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.
Regelquelltext
apt-gamaredon-lnk.yarDetection Rule License 1.1
rule SEKOIA_Apt_Gamaredon_Lnk : FILE
{
meta:
= "Detects lnk file used by Gamaredon"
= "Sekoia.io"
= "bfa69d84-433c-4f37-93b7-5b1b11677fbb"
= "2024-02-08"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_gamaredon_lnk.yar#L1-L16"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "be73ffca4b88f11e33532cf9a179743508bfa7a60c6f4de98c245b350b5fb910"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$s1 = "-windowstyle hidden $(gc " wide
$s2 = "|out-string)|powershell -noprofile -" wide
condition:
uint32be( 0 ) == 0x4c000000 and any of them and filesize < 100KB
}
Strings (2 Muster)
| Bezeichner | Typ | Wert | Modifikatoren |
|---|---|---|---|
| $s1 | Text | "-windowstyle hidden $(gc " | wide |
| $s2 | Text | "|out-string)|powershell -noprofile -" | wide |
Bedingung
uint32be( 0 ) == 0x4c000000 and any of them and filesize < 100KBIn Worten (Heuristik)
- Die Datei muss mit dem Header einer Windows-Verknüpfung (LNK) beginnen.
- Die Datei muss kleiner als 100KB sein (eine günstige Grenze, die große Dateien ausschließt).
- Mindestens ein Muster aus der Regel muss treffen.
Diese Regel im Browser testen
Legen Sie eine Datei ab, um sie mit dieser Regel und YARA-X als WebAssembly zu scannen. Nichts wird hochgeladen.
Datei hier ablegen oder klicken zum AuswählenLokal mit YARA-X gescannt. Dateien bis 200 MB.
Referenzen
Lizenz & Namensnennung
Autor: Sekoia.io
Quell-Repository: SEKOIA.IO Community @ a438a5901a
Lizenz: Detection Rule License 1.1 (Repository-Lizenz)
Gespiegelt über YARA Forge 20260927, das Regelnamen mit der Quelle präfixiert und normalisierte Meta-Felder ergänzt.
Regel-ID: bfa69d84-433c-4f37-93b7-5b1b11677fbb
Metadaten
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Verwandte Regeln
- APT / AkteurSEKOIA.IO Community· Sekoia.io· 2024-09-10
- APT / AkteurSEKOIA.IO Community· Sekoia.io· 2024-10-21
- APT / AkteurSEKOIA.IO Community· Sekoia.io· 2024-10-21
- APT / AkteurSEKOIA.IO Community· Sekoia.io· 2024-09-27
- APT / AkteurSEKOIA.IO Community· Sekoia.io· 2024-09-27
- APT / AkteurSEKOIA.IO Community· Sekoia.io· 2024-09-23
- APT / AkteurSEKOIA.IO Community· Sekoia.io· 2024-06-11
- APT / AkteurSEKOIA.IO Community· Sekoia.io· 2024-03-06