YARA · SEKOIA.IO Community
SEKOIA_Tool_Bypassgodzilla
Detects payload of BypassGodzilla
- Autor
- Sekoia.io
- Datum
- 2024-09-09
- Geändert
- 2024-12-19
- Score / Qualität
- 75 / 80
Was diese Regel erkennt
Detects payload of BypassGodzilla
Sie definiert 11 Muster (11 Text, 0 Hex, 0 Regex).
Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.
Regelquelltext
tool-bypassgodzilla.yarDetection Rule License 1.1
rule SEKOIA_Tool_Bypassgodzilla : FILE
{
meta:
= "Detects payload of BypassGodzilla"
= "Sekoia.io"
= "fa492f97-a46c-422d-a617-c503744ee22e"
= "2024-09-09"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/tool_bypassgodzilla.yar#L1-L38"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "571c9042c627abba19ba1d591e2083eb"
= "56cfc5a876f8f55bf184be9f368b6d8a"
= "d4f7ca537701aee8849c474bc4df19d1"
= "e4be04331c5f447b3ca03aa637d16c85"
= "905fa3b692577a086ac654ef89e8b83d"
= "47e52267c73209c6191910ac21bca44acac2100be96250fd5dda1f889fb03b07"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$jsp_1a = "response.getWriter().write(\""
$jsp_1b = "\".substring("
$jsp_2a = "response.getWriter().write(java.util.Base64/*"
$jsp_2b = "*/.getEncoder()/*"
$jsp_2c = ".toByteArray(),true)));"
$asp_1 = "[\"payload\"]).CreateInstance(\"LY\");"
$asp_2 = "\\U00000045\\U00000071\\U00000075\\U00000061\\U0000006C\\U00000073(Context);"
$php_1 = "=(\"!\"^\"@\").'ss'.Chr(\"101\").'rs';"
$php_2 = "*/md5/*"
$php_3 = "*/isset($_SESSION/*"
$php_4 = "@set_time_limit(Chr(\"48\"))"
condition:
(( all of ( $jsp_* ) and ( @jsp_1b- @jsp_1a < 70 ) and ( @jsp_2b- @jsp_2a < 70 ) and ( @jsp_2c - @jsp_2a < 160 ) ) or ( all of ( $asp_* ) and ( @asp_2 > @asp_1 ) ) or ( all of ( $php_* ) ) ) and filesize < 30KB and true
}
Strings (11 Muster)
| Bezeichner | Typ | Wert | Modifikatoren |
|---|---|---|---|
| $jsp_1a | Text | "response.getWriter().write(\"" | |
| $jsp_1b | Text | "\".substring(" | |
| $jsp_2a | Text | "response.getWriter().write(java.util.Base64/*" | |
| $jsp_2b | Text | "*/.getEncoder()/*" | |
| $jsp_2c | Text | ".toByteArray(),true)));" | |
| $asp_1 | Text | "[\"payload\"]).CreateInstance(\"LY\");" | |
| $asp_2 | Text | "\\U00000045\\U00000071\\U00000075\\U00000061\\U0000006C\\U00000073(Context);" | |
| $php_1 | Text | "=(\"!\"^\"@\").'ss'.Chr(\"101\").'rs';" | |
| $php_2 | Text | "*/md5/*" | |
| $php_3 | Text | "*/isset($_SESSION/*" | |
| $php_4 | Text | "@set_time_limit(Chr(\"48\"))" |
Bedingung
(( all of ( $jsp_* ) and ( @jsp_1b- @jsp_1a < 70 ) and ( @jsp_2b- @jsp_2a < 70 ) and ( @jsp_2c - @jsp_2a < 160 ) ) or ( all of ( $asp_* ) and ( @asp_2 > @asp_1 ) ) or ( all of ( $php_* ) ) ) and filesize < 30KB and trueIn Worten (Heuristik)
- Die Datei muss kleiner als 30KB sein (eine günstige Grenze, die große Dateien ausschließt).
- Alle Muster aus ( $jsp_* ) müssen treffen.
- Alle Muster aus ( $asp_* ) müssen treffen.
- Alle Muster aus ( $php_* ) müssen treffen.
Diese Regel im Browser testen
Legen Sie eine Datei ab, um sie mit dieser Regel und YARA-X als WebAssembly zu scannen. Nichts wird hochgeladen.
Datei hier ablegen oder klicken zum AuswählenLokal mit YARA-X gescannt. Dateien bis 200 MB.
Referenzen
Proben-Hashes
Hashes der Proben, die der Autor in den Metadaten der Regel nennt (in Ihrer Threat-Intelligence-Plattform nachschlagen).
- 571c9042c627abba19ba1d591e2083eb
- 56cfc5a876f8f55bf184be9f368b6d8a
- d4f7ca537701aee8849c474bc4df19d1
- e4be04331c5f447b3ca03aa637d16c85
- 905fa3b692577a086ac654ef89e8b83d
Lizenz & Namensnennung
Autor: Sekoia.io
Quell-Repository: SEKOIA.IO Community @ a438a5901a
Lizenz: Detection Rule License 1.1 (Repository-Lizenz)
Gespiegelt über YARA Forge 20260927, das Regelnamen mit der Quelle präfixiert und normalisierte Meta-Felder ergänzt.
Regel-ID: fa492f97-a46c-422d-a617-c503744ee22e
Metadaten
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Verwandte Regeln
- HacktoolSEKOIA.IO Community· Sekoia.io· 2024-09-06
- HacktoolSEKOIA.IO Community· Sekoia.io· 2024-02-29
- HacktoolSEKOIA.IO Community· Sekoia.io· 2023-12-05
- HacktoolSEKOIA.IO Community· Sekoia.io· 2023-11-15
- HacktoolSEKOIA.IO Community· Sekoia.io· 2023-08-23
- HacktoolSEKOIA.IO Community· Sekoia.io· 2022-02-08
- HacktoolSEKOIA.IO Community· Sekoia.io· 2022-07-22
- HacktoolSEKOIA.IO Community· Sekoia.io· 2022-09-09