summaryrefslogtreecommitdiff
path: root/whitelist.yara
diff options
context:
space:
mode:
authorjvoisin2015-07-09 14:08:27 +0200
committerjvoisin2015-07-09 14:08:27 +0200
commit640a4de4dde0b4054830182b920c08083d764fd9 (patch)
treed1791efc7118044ee983edfc294fbc243a630c31 /whitelist.yara
parent06af8f15e46299a6bea00be8d86abcf290e41be4 (diff)
Split the whitelist in another file
Diffstat (limited to 'whitelist.yara')
-rw-r--r--whitelist.yara18
1 files changed, 18 insertions, 0 deletions
diff --git a/whitelist.yara b/whitelist.yara
new file mode 100644
index 0000000..06cb59b
--- /dev/null
+++ b/whitelist.yara
@@ -0,0 +1,18 @@
1private rule IsWhitelisted
2{
3 condition:
4 /* Prestashop 1.6.1.0 */
5 hash.sha1(0, filesize) == "544cd822e2195ac162c9f0387031709042a72cfd" or // tools/htmlpurifier/HTMLPurifier.standalone.php
6 hash.sha1(0, filesize) == "bb8c0d735809b9412265729906016329f3e681ff" or // classes/webservice/WebserviceOutputJSON.php
7 hash.sha1(0, filesize) == "15da986fccdc7104f9d4e8c344f332db5ae9a32b" or // classes/Tools.php
8
9 /* Wordpress 3.5.1 */
10 hash.sha1(0, filesize) == "833281b4d1113180e4d1ca026f5e85a680d52662" or // wp-includes/class-phpmailer.php
11 hash.sha1(0, filesize) == "b4e4b88f2be38ed9c3147b77c2f3a7f929caba2c" or // wp-admin/includes/menu.php
12
13 /* Wordpress 3.2.1 */
14 hash.sha1(0, filesize) == "b4f53b8c360f9e47cc63047305a0ce2e3ff6a251" or // wp-includes/functions.php
15 hash.sha1(0, filesize) == "ac8298df16a560c80fb213ef3f51f90df8ef5292" or // wp-includes/class-phpmailer.php
16 hash.sha1(0, filesize) == "232e4705e3aa28269c4d5e4a4a700bb7a2d06f24" // wp-admin/includes/menu.php
17
18}