summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorrotemreiss2018-09-04 17:19:26 +0300
committerjvoisin2018-09-04 14:19:26 +0000
commit62a06663c2b3089f54d4529d53014699feca7bcb (patch)
tree02a16c03c545e31a18fe67059f0e38d4b1eb121d /README.md
parent579c98ab1d1c4a4e270dcdea7acaffa62f9843e3 (diff)
Installation documentation (#78)
Diffstat (limited to '')
-rw-r--r--README.md9
1 files changed, 8 insertions, 1 deletions
diff --git a/README.md b/README.md
index c458785..ae23345 100644
--- a/README.md
+++ b/README.md
@@ -51,13 +51,20 @@ both) category, and should re-read the previous statement.
51 51
52Detection is performed by crawling the filesystem and testing files against a 52Detection is performed by crawling the filesystem and testing files against a
53[set](https://github.com/nbs-system/php-malware-finder/blob/master/php-malware-finder/php.yar) 53[set](https://github.com/nbs-system/php-malware-finder/blob/master/php-malware-finder/php.yar)
54of [YARA](https://plusvic.github.io/yara/) rules. Yes, it's that simple! 54of [YARA](http://virustotal.github.io/yara/) rules. Yes, it's that simple!
55 55
56Instead of using an *hash-based* approach, 56Instead of using an *hash-based* approach,
57PMF tries as much as possible to use semantic patterns, to detect things like 57PMF tries as much as possible to use semantic patterns, to detect things like
58"a `$_GET` variable is decoded two times, unziped, 58"a `$_GET` variable is decoded two times, unziped,
59and then passed to some dangerous function like `system`". 59and then passed to some dangerous function like `system`".
60 60
61## Installation
62- [Install Yara](https://yara.readthedocs.io/en/v3.7.0/gettingstarted.html#compiling-and-installing-yara).
63This is also possible via some Linux package managers:
64Debian: `sudo apt-get install yara`
65Red Hat: `yum install yara` (requires the [EPEL repository](https://fedoraproject.org/wiki/EPEL))
66
67- Download php-maleware-finder `git clone https://github.com/nbs-system/php-malware-finder.git`
61 68
62## How to use it? 69## How to use it?
63 70