diff options
| -rw-r--r-- | malwares.yara | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/malwares.yara b/malwares.yara index 0cf4948..63e9376 100644 --- a/malwares.yara +++ b/malwares.yara | |||
| @@ -107,6 +107,7 @@ rule DodgyPhp | |||
| 107 | $pr = /preg_replace\(['"]\/[^\/]*\/e['"]/ // http://php.net/manual/en/function.preg-replace.php | 107 | $pr = /preg_replace\(['"]\/[^\/]*\/e['"]/ // http://php.net/manual/en/function.preg-replace.php |
| 108 | $include = /include\([^\.]+\.(png|jpg|gif|bmp)/ // Clever includes | 108 | $include = /include\([^\.]+\.(png|jpg|gif|bmp)/ // Clever includes |
| 109 | $htaccess = "SetHandler application/x-httpd-php" | 109 | $htaccess = "SetHandler application/x-httpd-php" |
| 110 | $obvious_preg = /['"]\/\.\*\/e["']/ fullword // "/.*/e" <- this is suspicious | ||
| 110 | 111 | ||
| 111 | condition: | 112 | condition: |
| 112 | IsPhp and (any of them or CloudFlareBypass) | 113 | IsPhp and (any of them or CloudFlareBypass) |
