YARA · Volexity threat-intel
VOLEXITY_Webshell_Jsp_Godzilla
Detects the JSP implementation of the Godzilla Webshell.
- Auteur
- threatintel@volexity.com
- Date
- 2021-11-08
- Modifiée
- 2024-07-30
- Score / Qualité
- 75 / 80
Ce que détecte cette règle
Detects the JSP implementation of the Godzilla Webshell.
Famille de malware associée : Godzilla.
Elle définit 7 motifs (6 texte, 0 hex, 1 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 VOLEXITY_Webshell_Jsp_Godzilla : FILE MEMORY
{
meta:
= "Detects the JSP implementation of the Godzilla Webshell."
= "threatintel@volexity.com"
= "47c8eab8-84d7-5566-b757-5a6dcc7579b7"
= "2021-11-08"
= "2024-07-30"
= "https://unit42.paloaltonetworks.com/manageengine-godzilla-nglite-kdcsponge/"
= "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/2022/2022-08-10 Mass exploitation of (Un)authenticated Zimbra RCE CVE-2022-27925/yara.yar#L1-L34"
= "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/LICENSE.txt"
= "2786d2dc738529a34ecde10ffeda69b7f40762bf13e7771451f13a24ab7fc5fe"
= "52cba9545f662da18ca6e07340d7a9be637b89e7ed702dd58cac545c702a00e3"
= 75
= 80
= "FILE, MEMORY"
= "win,linux"
= "all"
= "file,memory"
= "critical"
= "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt"
= 6100
= 6
strings:
$s1 = ".getWriter().write(base64Encode(" wide ascii
$s2 = ".getAttribute(" ascii wide
$s3 = "java.security.MessageDigest" ascii wide
$auth1 = /String xc=\"[a-f0-9]{16}\"/ ascii wide
$auth2 = "String pass=\"" ascii wide
$magic = "class X extends ClassLoader{public X(ClassLoader z){super(z);}public Class Q"
$magic2 = "<%@page import=\"java.util.*,javax.crypto.*,javax.crypto.spec.*\"%><%!class"
condition:
all of ( $s* ) or all of ( $auth* ) or any of ( $magic* )
}
Chaînes (7 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $s1 | texte | ".getWriter().write(base64Encode(" | wide ascii |
| $s2 | texte | ".getAttribute(" | ascii wide |
| $s3 | texte | "java.security.MessageDigest" | ascii wide |
| $auth1 | regex | /String xc=\"[a-f0-9]{16}\"/ | ascii wide |
| $auth2 | texte | "String pass=\"" | ascii wide |
| $magic | texte | "class X extends ClassLoader{public X(ClassLoader z){super(z);}public Class Q" | |
| $magic2 | texte | "<%@page import=\"java.util.*,javax.crypto.*,javax.crypto.spec.*\"%><%!class" |
Condition
all of ( $s* ) or all of ( $auth* ) or any of ( $magic* )En clair (Heuristique)
- Tous les motifs de ( $s* ) doivent être trouvés.
- Tous les motifs de ( $auth* ) doivent être trouvés.
- Au moins un motif de ( $magic* ) doit être trouvé.
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é.
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).
- 2786d2dc738529a34ecde10ffeda69b7f40762bf13e7771451f13a24ab7fc5fe
Licence et attribution
Auteur : threatintel@volexity.com
Dépôt source : Volexity threat-intel @ 3a9d0b5245
Licence : BSD 2-Clause License (indiquée dans les métadonnées de la règle)
“See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt”
Mention de copyright : Copyright 2022 by Volexity, Inc.
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: 47c8eab8-84d7-5566-b757-5a6dcc7579b7
Métadonnées
| os | win,linux |
|---|---|
| os_arch | all |
| scan_context | file,memory |
| severity | critical |
| rule_id | 6100 |
| version | 6 |
Règles liées
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- Web shellVolexity threat-intel· threatintel@volexity.com· 2022-06-01
- Web shellVolexity threat-intel· threatintel@volexity.com· 2022-06-01
- Web shellVolexity threat-intel· threatintel@volexity.com· 2022-03-08
- Web shellVolexity threat-intel· threatintel@volexity.com· 2021-03-02
- APT / acteurVolexity threat-intel· threatintel@volexity.com· 2024-07-30
- APT / acteurVolexity threat-intel· threatintel@volexity.com· 2023-07-21
- APT / acteurVolexity threat-intel· threatintel@volexity.com· 2023-08-17