YARA · ditekSHen detection
DITEKSHEN_MALWARE_Linux_Gobrat
Detects GobRAT
- Auteur
- ditekSHen
- Date
- 2020-11-06
- Modifiée
- 2024-11-01
- Score / Qualité
- 75 / 75
Ce que détecte cette règle
Detects GobRAT
Famille de malware associée : Gobrat.
Elle définit 11 motifs (11 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
malware-linux-gobrat.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Linux_Gobrat : FILE
{
meta:
= "Detects GobRAT"
= "ditekSHen"
= "0561fa99-24ee-5e02-ba54-17a1dd81daa4"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L10044-L10062"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "070687c909b066e38f72b6421b77670e87476d7e1eb1ed8d41d027836629eb71"
= 75
= 75
= "FILE"
strings:
$x1 = "BotList" ascii
$x2 = "BotCount" ascii
$x3 = "/etc/services/zone/bot.log" ascii
$x4 = "aaa.com/bbb/me" ascii
$s1 = "encoding/gob." ascii
$s2 = ".GetMacAddress" ascii
$s3 = ".IpString2Uint32" ascii
$s4 = ".RegisterLogFile" ascii
$s5 = ".UniqueAppendString" ascii
$s6 = ".NewDaemon" ascii
$s7 = ".SimpleCommand" ascii
condition:
uint16( 0 ) == 0x457f and ( 3 of ( $x* ) or ( 2 of ( $x* ) and 3 of ( $s* ) ) or ( 1 of ( $x* ) and 5 of ( $s* ) ) or all of ( $s* ) )
}
Chaînes (11 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $x1 | texte | "BotList" | ascii |
| $x2 | texte | "BotCount" | ascii |
| $x3 | texte | "/etc/services/zone/bot.log" | ascii |
| $x4 | texte | "aaa.com/bbb/me" | ascii |
| $s1 | texte | "encoding/gob." | ascii |
| $s2 | texte | ".GetMacAddress" | ascii |
| $s3 | texte | ".IpString2Uint32" | ascii |
| $s4 | texte | ".RegisterLogFile" | ascii |
| $s5 | texte | ".UniqueAppendString" | ascii |
| $s6 | texte | ".NewDaemon" | ascii |
| $s7 | texte | ".SimpleCommand" | ascii |
Condition
uint16( 0 ) == 0x457f and ( 3 of ( $x* ) or ( 2 of ( $x* ) and 3 of ( $s* ) ) or ( 1 of ( $x* ) and 5 of ( $s* ) ) or all of ( $s* ) )En clair (Heuristique)
- Tous les motifs de ( $s* ) doivent être trouvés.
- Au moins 3 motifs de ( $x* ) doivent être trouvés.
- Au moins 2 motifs de ( $x* ) doivent être trouvés.
- Au moins 3 motifs de ( $s* ) doivent être trouvés.
- Au moins 1 motifs de ( $x* ) doivent être trouvés.
- Au moins 5 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é.
Déposez un fichier ici ou cliquez pour choisirScanné localement avec YARA-X. Fichiers jusqu’à 200 Mo.
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: 0561fa99-24ee-5e02-ba54-17a1dd81daa4
Tags:FILE
Règles liées
- MalwareSEKOIA.IO Community· Sekoia.io· 2023-06-09
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2024-09-10
- 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