YARA · SEKOIA.IO Community
SEKOIA_Apt_Coathanger_Files
Detects COATHANGER files
- Auteur
- Sekoia.io
- Date
- 2024-02-07
- Modifiée
- 2024-12-19
- Score / Qualité
- 75 / 80
Ce que détecte cette règle
Detects COATHANGER files
Cibles : ELF Linux.
Elle définit 9 motifs (9 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-coathanger-files.yarDetection Rule License 1.1
rule SEKOIA_Apt_Coathanger_Files : FILE
{
meta:
= "Detects COATHANGER files"
= "Sekoia.io"
= "615f5ac1-14bc-4f5b-a02e-7b13cd179917"
= "2024-02-07"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_coathanger_files.yar#L1-L24"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "5406d8a99e16f08f1ffca548ea1dd1e27e7707506e796e0fc263bcdbb681632d"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$ = "/data2/"
$ = "/httpsd"
$ = "/preload.so"
$ = "/authd"
$ = "/tmp/packfile"
$ = "/smartctl"
$ = "/etc/ld.so.preload"
$ = "/newcli"
$ = "/bin/busybox"
condition:
( uint32( 0 ) == 0x464c457f or uint32( 4 ) == 0x464c457f ) and filesize < 5MB and 4 of them
}
Chaînes (9 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $ | texte | "/data2/" | |
| $ | texte | "/httpsd" | |
| $ | texte | "/preload.so" | |
| $ | texte | "/authd" | |
| $ | texte | "/tmp/packfile" | |
| $ | texte | "/smartctl" | |
| $ | texte | "/etc/ld.so.preload" | |
| $ | texte | "/newcli" | |
| $ | texte | "/bin/busybox" |
Condition
( uint32( 0 ) == 0x464c457f or uint32( 4 ) == 0x464c457f ) and filesize < 5MB and 4 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 5MB (garde-fou peu coûteux qui écarte les gros fichiers).
- Au moins 4 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: 615f5ac1-14bc-4f5b-a02e-7b13cd179917
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