YARA · SEKOIA.IO Community
SEKOIA_Unknown_Quad7_Wildcard_Login
Detects the (x|r|a)login bind shells
- Auteur
- Sekoia.io
- Date
- 2024-07-18
- Modifiée
- 2024-12-19
- Score / Qualité
- 75 / 80
Ce que détecte cette règle
Detects the (x|r|a)login bind shells
Cibles : ELF Linux.
Elle définit 2 motifs (0 texte, 2 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_Unknown_Quad7_Wildcard_Login : FILE
{
meta:
= "Detects the (x|r|a)login bind shells"
= "Sekoia.io"
= "01510244-0795-4299-aa66-056a2b4682e7"
= "2024-07-18"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/unknown_quad7_wildcard_login.yar#L1-L23"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "4d9067e7cf517158337123a30a9bd0e3"
= "43ea387b8294cc4d0baaef6d26ff7c72"
= "777d6f907da38365924a0c2a12e973c5"
= "8542a3cbe232fe78baa0882736c61926"
= "1b08725acc371f6b7d05bb72d0c2d759"
= "72de6fe656313bdd4f4b092ceca7248c67b8047c224104cd569dff7af1d86135"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$string1 = { 2f 62 69 6e 2f 73 68 00 2f 74 6d 70 2f 6c 6f 67 69 6e }
$string2 = { 2f 62 69 6e 2f 73 68 00 2d 63 00 65 78 69 74 20 30 }
condition:
uint32be( 0 ) == 0x7f454c46 and filesize < 180KB and @string2 - @string1 < 3400
}
Chaînes (2 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $string1 | hex | { 2f 62 69 6e 2f 73 68 00 2f 74 6d 70 2f 6c 6f 67 69 6e } | |
| $string2 | hex | { 2f 62 69 6e 2f 73 68 00 2d 63 00 65 78 69 74 20 30 } |
Condition
uint32be( 0 ) == 0x7f454c46 and filesize < 180KB and @string2 - @string1 < 3400En clair (Heuristique)
- Le fichier doit commencer par l’en-tête ELF — un exécutable Linux/Unix.
- Le fichier doit faire moins de 180KB (garde-fou peu coûteux qui écarte les gros fichiers).
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).
- 4d9067e7cf517158337123a30a9bd0e3
- 43ea387b8294cc4d0baaef6d26ff7c72
- 777d6f907da38365924a0c2a12e973c5
- 8542a3cbe232fe78baa0882736c61926
- 1b08725acc371f6b7d05bb72d0c2d759
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: 01510244-0795-4299-aa66-056a2b4682e7
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