YARA · SEKOIA.IO Community
SEKOIA_Apt_Implant_Xdealer_Linux_Variant_Strings
Detects XDealer linux variant
- Auteur
- Sekoia.io
- Date
- 2024-03-22
- Modifiée
- 2024-12-19
- Score / Qualité
- 75 / 80
Ce que détecte cette règle
Detects XDealer linux variant
Cibles : ELF Linux.
Elle définit 7 motifs (7 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-implant-xdealer-linux-variant-strings.yarDetection Rule License 1.1
rule SEKOIA_Apt_Implant_Xdealer_Linux_Variant_Strings : FILE
{
meta:
= "Detects XDealer linux variant"
= "Sekoia.io"
= "42690513-753f-4296-b641-4d3b59a5e5e1"
= "2024-03-22"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_implant_xdealer_linux_variant_strings.yar#L1-L21"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "400beb53d0f7b7727962175c7c4f8dfccdfed56bb3978d3e847147e8ad7644fb"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$ = "ls -l /proc/%s/exe"
$ = "Linux_%s_%s_%u"
$ = "chkconfig --add"
$ = "cmd over return [%s]"
$ = "touch -d"
$ = "%s can't be opened/n"
$ = "/proc/%s/status"
condition:
uint32be( 0 ) == 0x7f454c46 and 3 of them and filesize < 1MB
}
Chaînes (7 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $ | texte | "ls -l /proc/%s/exe" | |
| $ | texte | "Linux_%s_%s_%u" | |
| $ | texte | "chkconfig --add" | |
| $ | texte | "cmd over return [%s]" | |
| $ | texte | "touch -d" | |
| $ | texte | "%s can't be opened/n" | |
| $ | texte | "/proc/%s/status" |
Condition
uint32be( 0 ) == 0x7f454c46 and 3 of them and filesize < 1MBEn 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).
- Au moins 3 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é.
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: 42690513-753f-4296-b641-4d3b59a5e5e1
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