summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjvoisin2015-05-21 11:31:28 +0200
committerjvoisin2015-05-21 11:31:28 +0200
commitf9e7357cdc5e006f528235a12f9cd72973aa0dbe (patch)
tree96655dd0abd5b53e6291b050368164e9ba4647f1
parentff6e3ef0259f933a7c61c3816035b9ae42d66d42 (diff)
Remove a slow-and-false-positives-generating rule
-rw-r--r--malwares.yara1
1 files changed, 0 insertions, 1 deletions
diff --git a/malwares.yara b/malwares.yara
index 792c0d2..deb5f5f 100644
--- a/malwares.yara
+++ b/malwares.yara
@@ -110,7 +110,6 @@ rule DodgyPhp
110 $htaccess = "SetHandler application/x-httpd-php" 110 $htaccess = "SetHandler application/x-httpd-php"
111 $obvious_preg = /['"]\/\.\*\/e["']/ fullword // "/.*/e" <- this is suspicious 111 $obvious_preg = /['"]\/\.\*\/e["']/ fullword // "/.*/e" <- this is suspicious
112 $udp_dos = /sockopen\s*\(['"]udp:\/\// 112 $udp_dos = /sockopen\s*\(['"]udp:\/\//
113 $stored_func = /\$[A-Za-z0-9_-]+\[([0-9]+|['"][^'"]+['"])\]\s*\(/ // things like $myArray['varname'](parameters, ...)
114 113
115 condition: 114 condition:
116 IsPhp and (any of them or CloudFlareBypass) 115 IsPhp and (any of them or CloudFlareBypass)