YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_WEBSHELL_PAS_Webshell
Detects P.A.S. PHP webshell - Based on DHS/FBI JAR-16-2029 (Grizzly Steppe)
- Autor
- FR/ANSSI/SDO (modified by Florian Roth)
- Datum
- 2021-02-15
- Geändert
- 2024-05-25
- Score / Qualität
- 70 / 85
Was diese Regel erkennt
Detects P.A.S. PHP webshell - Based on DHS/FBI JAR-16-2029 (Grizzly Steppe)
Sie definiert 6 Muster (6 Text, 0 Hex, 0 Regex).
Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.
Regelquelltext
rule SIGNATURE_BASE_WEBSHELL_PAS_Webshell : FILE
{
meta:
= "Detects P.A.S. PHP webshell - Based on DHS/FBI JAR-16-2029 (Grizzly Steppe)"
= "FR/ANSSI/SDO (modified by Florian Roth)"
= "862aab77-936e-524c-8669-4f48730f4ed5"
= "2021-02-15"
= "2024-05-25"
= "https://www.cert.ssi.gouv.fr/uploads/CERTFR-2021-CTI-005.pdf"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/apt_sandworm_centreon.yar#L10-L28"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "977ee0fdf0e92ccea6b71fea7b2c7aed2965c6966d8af86230ccb0f95b286694"
= 70
= 85
= "FILE"
strings:
$php = "<?php"
$strreplace = "(str_replace("
$md5 = ".substr(md5(strrev($"
$gzinflate = "gzinflate"
$cookie = "_COOKIE"
$isset = "isset"
condition:
( filesize > 20KB and filesize < 200KB ) and all of them
}
Strings (6 Muster)
| Bezeichner | Typ | Wert | Modifikatoren |
|---|---|---|---|
| $php | Text | "<?php" | |
| $strreplace | Text | "(str_replace(" | |
| $md5 | Text | ".substr(md5(strrev($" | |
| $gzinflate | Text | "gzinflate" | |
| $cookie | Text | "_COOKIE" | |
| $isset | Text | "isset" |
Bedingung
( filesize > 20KB and filesize < 200KB ) and all of themIn Worten (Heuristik)
- Die Datei muss kleiner als 200KB sein (eine günstige Grenze, die große Dateien ausschließt).
- Die Datei muss größer als 20KB sein.
- Alle Muster aus der Regel 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.
Lizenz & Namensnennung
Autor: FR/ANSSI/SDO (modified by Florian Roth)
Quell-Repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
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: 862aab77-936e-524c-8669-4f48730f4ed5
Tags:FILE
Verwandte Regeln
- WebshellSignature Base (Florian Roth / Nextron)· FR/ANSSI/SDO (modified by Florian Roth)· 2021-02-15