YARA · SEKOIA.IO Community
SEKOIA_Apt_Flightnight_Malicious_Lnk
Detects malicious LNK used by FlightNight
- Auteur
- Sekoia.io
- Date
- 2024-04-02
- Modifiée
- 2024-12-19
- Score / Qualité
- 75 / 80
Ce que détecte cette règle
Detects malicious LNK used by FlightNight
Elle définit 4 motifs (4 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-flightnight-malicious-lnk.yarDetection Rule License 1.1
rule SEKOIA_Apt_Flightnight_Malicious_Lnk : FILE
{
meta:
= "Detects malicious LNK used by FlightNight"
= "Sekoia.io"
= "06f33ece-ac9f-4dd3-98fb-cd69305ee995"
= "2024-04-02"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_flightnight_malicious_lnk.yar#L1-L21"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "3446852709fe425b2c053ffdb9c078cf20e442ef50fe20402d3b4c9e9d8b543a"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$s0 = "/c start /B " wide
$s1 = ".exe &" wide
$s2 = ".pdf" wide
$s3 = "%CD%" wide
condition:
uint32be( 0 ) == 0x4c000000 and $s1 in ( @s0 .. @s2 ) and $s1 in ( @s0 .. @s0 + 100 ) and $s3
}
Chaînes (4 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $s0 | texte | "/c start /B " | wide |
| $s1 | texte | ".exe &" | wide |
| $s2 | texte | ".pdf" | wide |
| $s3 | texte | "%CD%" | wide |
Condition
uint32be( 0 ) == 0x4c000000 and $s1 in ( @s0 .. @s2 ) and $s1 in ( @s0 .. @s0 + 100 ) and $s3En clair (Heuristique)
- Le fichier doit commencer par l’en-tête de raccourci Windows (LNK).
- Le motif $s1 doit se trouver dans la plage @s0 .. @s2.
- Le motif $s1 doit se trouver dans la plage @s0 .. @s0 + 100.
- Le motif $s3 doit être présent.
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: 06f33ece-ac9f-4dd3-98fb-cd69305ee995
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