YARA · SEKOIA.IO Community
SEKOIA_Apt_Gamaredon_Lnk
Detects lnk file used by Gamaredon
- Auteur
- Sekoia.io
- Date
- 2024-02-08
- Modifiée
- 2024-12-19
- Score / Qualité
- 75 / 80
Ce que détecte cette règle
Detects lnk file used by Gamaredon
Elle définit 2 motifs (2 texte, 0 hex, 0 regex).
Résumé généré à partir des métadonnées et de la condition de la règle.
Source de la règle
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
}
Chaînes (2 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $s1 | texte | "-windowstyle hidden $(gc " | wide |
| $s2 | texte | "|out-string)|powershell -noprofile -" | wide |
Condition
uint32be( 0 ) == 0x4c000000 and any of them and filesize < 100KBEn clair (Heuristique)
- Le fichier doit commencer par l’en-tête de raccourci Windows (LNK).
- Le fichier doit faire moins de 100KB (garde-fou peu coûteux qui écarte les gros fichiers).
- Au moins un motif de la règle doit être trouvé.
Tester cette règle dans votre navigateur
Déposez un fichier pour le scanner avec cette règle grâce à YARA-X compilé en WebAssembly. Rien n’est envoyé.
Déposez un fichier ici ou cliquez pour choisirScanné localement avec YARA-X. Fichiers jusqu’à 200 Mo.
Références
Licence et attribution
Auteur : Sekoia.io
Dépôt source : SEKOIA.IO Community @ a438a5901a
Licence : Detection Rule License 1.1 (licence du dépôt)
Reprise via YARA Forge 20260927, qui préfixe les noms de règles par la source et ajoute des champs meta normalisés.
Identifiant de règle: bfa69d84-433c-4f37-93b7-5b1b11677fbb
Métadonnées
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Règles liées
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2024-09-10
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2024-10-21
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2024-10-21
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2024-09-27
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2024-09-27
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2024-09-23
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2024-06-11
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2024-03-06