summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjvoisin2015-07-09 14:27:03 +0200
committerjvoisin2015-07-09 14:27:03 +0200
commit3d72248f3b7837a36e184288311bf0397cefc064 (patch)
treed81cca2261c4c2881704a427a73b6af2a1088a5f
parentec29d8800be56d53a6e1e1e12161caf3bd679b9f (diff)
Add some drupal rules
-rw-r--r--whitelist.yara12
1 files changed, 11 insertions, 1 deletions
diff --git a/whitelist.yara b/whitelist.yara
index 3b3e361..58e237d 100644
--- a/whitelist.yara
+++ b/whitelist.yara
@@ -36,10 +36,20 @@ private rule Magento
36 hash.sha1(0, filesize) == "44ba7a5b685f4a52113559f366aaf6e9a22ae21e" // app/code/core/Mage/Adminhtml/Model/Url.php 36 hash.sha1(0, filesize) == "44ba7a5b685f4a52113559f366aaf6e9a22ae21e" // app/code/core/Mage/Adminhtml/Model/Url.php
37} 37}
38 38
39private rule Drupal
40{
41 condition:
42 hash.sha1(0, filesize) == "23cc0e2c6eebe94fe189e258a3658b40b0005891" or // modules/simpletest/tests/upgrade/drupal-6.bare.database.php
43 hash.sha1(0, filesize) == "8cb36d865b951378c3266dca7d5173a303e8dcff" or // modules/simpletest/tests/upgrade/drupal-6.filled.database.php
44 hash.sha1(0, filesize) == "6c9c01bef14f8f64ef0af408f7ed764791531cc6" or // modules/system/system.module
45 hash.sha1(0, filesize) == "ad03ed890400cf319f713ee0b4b6a62a5710f580" // modules/system/system.admin.inc
46}
47
39private rule IsWhitelisted 48private rule IsWhitelisted
40{ 49{
41 condition: 50 condition:
42 Wordpress or 51 Wordpress or
43 Prestashop or 52 Prestashop or
44 Magento 53 Magento or
54 Drupal
45} 55}