YARA · SEKOIA.IO Community
SEKOIA_Apt_Gelsemium_Firewood_Backdoor
Detects Gelsemium's FireWood backdoor
- Auteur
- Sekoia.io
- Date
- 2024-11-22
- Modifiée
- 2024-12-19
- Score / Qualité
- 75 / 80
Ce que détecte cette règle
Detects Gelsemium's FireWood backdoor
Cibles : ELF Linux.
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
rule SEKOIA_Apt_Gelsemium_Firewood_Backdoor : FILE
{
meta:
= "Detects Gelsemium's FireWood backdoor"
= "Sekoia.io"
= "93670c07-9edd-4ea2-b8ed-6fee625491f4"
= "2024-11-22"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_gelsemium_firewood_backdoor.yar#L1-L21"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "2251bc7910fe46fd0baf8bc05599bdcf"
= "dea8c7cfb35b3cc026a0df844e118b495e3ad0a85f55e2fd3b63a41dde2ea944"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$ = "root dir:%s"
$ = "df -h|grep 'dev' |grep -v none|awk '/dev/{print $6}'"
$ = "rm -rf ../lib/%s"
$ = "Total Disk space:%luG, Free Disk spae:%luG"
condition:
uint32be( 0 ) == 0x7f454c46 and filesize < 1MB and all of them
}
Chaînes (4 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $ | texte | "root dir:%s" | |
| $ | texte | "df -h|grep 'dev' |grep -v none|awk '/dev/{print $6}'" | |
| $ | texte | "rm -rf ../lib/%s" | |
| $ | texte | "Total Disk space:%luG, Free Disk spae:%luG" |
Condition
uint32be( 0 ) == 0x7f454c46 and filesize < 1MB and all of themEn clair (Heuristique)
- Le fichier doit commencer par l’en-tête ELF — un exécutable Linux/Unix.
- Le fichier doit faire moins de 1MB (garde-fou peu coûteux qui écarte les gros fichiers).
- Tous les motifs de la règle doivent être trouvés.
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é.
Références
Hashes d’échantillons
Hashes des échantillons listés par l’auteur dans les métadonnées de la règle (à rechercher dans votre plateforme de threat intelligence).
- 2251bc7910fe46fd0baf8bc05599bdcf
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: 93670c07-9edd-4ea2-b8ed-6fee625491f4
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