YARA · ditekSHen detection
DITEKSHEN_MALWARE_Linux_UNK01
Detects unknown/unidentified Linux malware
- Auteur
- ditekSHen
- Date
- 2020-11-06
- Modifiée
- 2024-11-01
- Score / Qualité
- 75 / 75
Ce que détecte cette règle
Detects unknown/unidentified Linux malware
Famille de malware associée : UNK01.
Elle définit 14 motifs (14 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 DITEKSHEN_MALWARE_Linux_UNK01 : FILE
{
meta:
= "Detects unknown/unidentified Linux malware"
= "ditekSHen"
= "24c6ff35-9378-5a6b-90d1-9740917b1b72"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L2815-L2836"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "8bb4822c1c7e0f52726ecafafa696d83c741257587f351360c5295163c245450"
= 75
= 75
= "FILE"
strings:
$f1 = "%sresponse.php?status" ascii
$f2 = "%supstream.php?mid=%s&os=%s" ascii fullword
$f3 = "%supstream.php?tid=%" ascii
$f4 = "%sindex.php?token=%.32s&flag=%d&name=%s" ascii fullword
$f5 = "%sactive_off.php?id=%d&uniqu=%d" ascii fullword
$s1 = "lock:%i usable num:%i n:%i" fullword ascii
$s2 = "tid:%.*s tNumber:%i" fullword ascii
$s3 = "init.php" fullword ascii
$s4 = "mod_drone" fullword ascii
$s5 = "new_mid" fullword ascii
$s6 = "&exists[]=" fullword ascii
$s7 = "&mod[]=" fullword ascii
$s8 = "shutdown" fullword ascii
$s9 = "&mac[]=%02X%02X%02X%02X%02X%02X" fullword ascii
condition:
uint16( 0 ) == 0x457f and ( 3 of ( $f* ) or 6 of ( $s* ) )
}
Chaînes (14 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $f1 | texte | "%sresponse.php?status" | ascii |
| $f2 | texte | "%supstream.php?mid=%s&os=%s" | ascii fullword |
| $f3 | texte | "%supstream.php?tid=%" | ascii |
| $f4 | texte | "%sindex.php?token=%.32s&flag=%d&name=%s" | ascii fullword |
| $f5 | texte | "%sactive_off.php?id=%d&uniqu=%d" | ascii fullword |
| $s1 | texte | "lock:%i usable num:%i n:%i" | fullword ascii |
| $s2 | texte | "tid:%.*s tNumber:%i" | fullword ascii |
| $s3 | texte | "init.php" | fullword ascii |
| $s4 | texte | "mod_drone" | fullword ascii |
| $s5 | texte | "new_mid" | fullword ascii |
| $s6 | texte | "&exists[]=" | fullword ascii |
| $s7 | texte | "&mod[]=" | fullword ascii |
| $s8 | texte | "shutdown" | fullword ascii |
| $s9 | texte | "&mac[]=%02X%02X%02X%02X%02X%02X" | fullword ascii |
Condition
uint16( 0 ) == 0x457f and ( 3 of ( $f* ) or 6 of ( $s* ) )En clair (Heuristique)
- Au moins 3 motifs de ( $f* ) doivent être trouvés.
- Au moins 6 motifs de ( $s* ) 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
Licence et attribution
Auteur : ditekSHen
Dépôt source : ditekSHen detection @ e76c93dcde
Licence : BSD 2-Clause License (licence du dépôt)
Mention de copyright : Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).
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: 24c6ff35-9378-5a6b-90d1-9740917b1b72
Tags:FILE
Règles liées
- Suspect / chasseditekSHen detection· ditekShen· 2021-01-21
- MalwareditekSHen detection· ditekSHen· 2034-02-17
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06