prva verzija za stretch
[clamav-unofficial-sigs.git] / README.md
1 # clamav-unofficial-sigs [![GitHub Release](https://img.shields.io/github/release/extremeshok/clamav-unofficial-sigs.svg?label=Latest)](https://github.com/extremeshok/clamav-unofficial-sigs/releases/latest) [![Build Status](https://travis-ci.org/extremeshok/clamav-unofficial-sigs.svg?branch=master)](https://travis-ci.org/extremeshok/clamav-unofficial-sigs) [![Issue Count](https://codeclimate.com/github/extremeshok/clamav-unofficial-sigs/badges/issue_count.svg)](https://codeclimate.com/github/extremeshok/clamav-unofficial-sigs)
2
3 ClamAV Unofficial Signatures Updater
4
5 Github fork of the sourceforge hosted and non maintained utility.
6
7 ## Maintained and provided by https://eXtremeSHOK.com
8
9 ## Description
10 The clamav-unofficial-sigs script provides a simple way to download, test, and update third-party signature databases provided by Sanesecurity, FOXHOLE, OITC, Scamnailer, BOFHLAND, CRDF, Porcupine, Securiteinfo, MalwarePatrol, Yara-Rules Project, etc. The script will also generate and install cron, logrotate, and man files.
11
12 #### Try our custom spamassasin plugin: https://github.com/extremeshok/spamassassin-extremeshok_fromreplyto
13
14 ### Support / Suggestions / Comments
15 Please post them on the issue tracker : https://github.com/extremeshok/clamav-unofficial-sigs/issues
16
17 ### Submit Patches / Pull requests to the "Dev" Branch
18
19 ### Required Ports / Firewall Exceptions
20 * rsync: TCP port 873
21 * wget/curl : TCP port 443
22
23 ### Supported Operating Systems
24 Debian, Ubuntu, Raspbian, CentOS (RHEL and clones), OpenBSD, FreeBSD, OpenSUSE, Archlinux, Mac OS X, Slackware, Solaris (Sun OS), pfSense, Zimbra and derivative systems  
25
26 ### Quick Install Guide
27 * Download the files to /tmp/
28 * Copy clamav-unofficial-sigs.sh to /usr/local/sbin/
29 * Set 755 permissions on  /usr/local/sbin/clamav-unofficial-sigs.sh
30 * Make the directory /etc/clamav-unofficial-sigs/
31 * Copy the contents of config/ into /etc/clamav-unofficial-sigs/
32 * Make the directory /var/log/clamav-unofficial-sigs/
33 * Rename the your os.your-distro.conf to os.conf, where your-distro is your distribution
34 * Set your user config options in the configs /etc/clamav-unofficial-sigs/user.conf
35 * Run the script with --install-cron to install the cron file
36 * Run the script with --install-logrotate to install the logrotate file
37 * Run the script with --install-man to install the man file
38
39 ### First Usage
40 * Run the script once as your superuser to set all the permissions and create the relevant directories
41
42 ### Systemd
43 * Copy the contents of systemd/ into to /etc/systemd/
44
45 ### Advanced Config Overrides
46 * Default configs are loaded in the following order if they exist:
47 * master.conf -> os.conf -> user.conf or your-specified.config
48 * user.conf will override os.conf and master.conf, os.conf will override master.conf
49 * A minimum of 1 config is required.
50 * Specifying a config on the command line (-c | --config) will override the loading of the default configs
51
52 #### Check if signature are being loaded
53 **Run the following command to display which signatures are being loaded by clamav
54
55 ```clamscan --debug 2>&1 /dev/null | grep "loaded"```
56
57 #### SELinux cron permission fix
58 > WARNING - Clamscan reports ________ database integrity tested BAD - SKIPPING
59
60 **Run the following command to allow clamav selinux support**
61
62 ```setsebool -P antivirus_can_scan_system true```
63
64 ### Yara Rule Support automatically enabled (as of April 2016)
65 Since usage yara rules requires clamav 0.99 or above, they will be automatically deactivated if your clamav is older than the required version
66
67 ### Yara-Rules Project Support (as of June 2015)
68 Usage of free Yara-Rules Project: http://yararules.com
69 - Enabled by default
70
71 Current limitations of clamav support : http://blog.clamav.net/search/label/yara
72
73 ### MalwarePatrol Free/Delayed list support (as of May 2015)
74 Usage of MalwarePatrol 2015 free clamav signatures : https://www.malwarepatrol.net
75  - 1. Sign up for a free account : https://www.malwarepatrol.net/signup-free.shtml
76  - 2. You will recieve an email containing your password/receipt number
77  - 3. Enter the receipt number into the config malwarepatrol_receipt_code: replacing YOUR-RECEIPT-NUMBER with your receipt number from the email
78
79 ### SecuriteInfo Free/Delayed list support (as of June 2015)
80 Usage of SecuriteInfo 2015 free clamav signatures : https://www.securiteinfo.com
81  - 1. Sign up for a free account : https://www.securiteinfo.com/clients/customers/signup
82  - 2. You will recieve an email to activate your account and then a followup email with your login name
83  - 3. Login and navigate to your customer account : https://www.securiteinfo.com/clients/customers/account
84  - 4. Click on the Setup tab
85  - 5. You will need to get your unique identifier from one of the download links, they are individual for every user
86  - 5.1. The 128 character string is after the http://www.securiteinfo.com/get/signatures/
87  - 5.2. Example https://www.securiteinfo.com/get/signatures/your_unique_and_very_long_random_string_of_characters/securiteinfo.hdb
88    Your 128 character authorisation signature would be : your_unique_and_very_long_random_string_of_characters
89  - 6. Enter the authorisation signature into the config securiteinfo_authorisation_signature: replacing YOUR-SIGNATURE-NUMBER with your authorisation signature from the link
90
91 ### Linux Malware Detect support (as of May 2015)
92 Usage of free Linux Malware Detect clamav signatures: https://www.rfxn.com/projects/linux-malware-detect/
93  - Enabled by default, no configuration required
94
95 ## USAGE
96
97 Usage: clamav-unofficial-sigs.sh [OPTION] [PATH|FILE]
98
99 -c, --config    Use a specific configuration file or directory
100         eg: '-c /your/dir' or ' -c /your/file.name'
101         Note: If a directory is specified the directory must contain atleast:
102         master.conf, os.conf or user.conf
103         Default Directory: /etc/clamav-unofficial-sigs
104
105 -F, --force     Force all databases to be downloaded, could cause ip to be blocked
106
107 -h, --help      Display this script's help and usage information
108
109 -V, --version   Output script version and date information
110
111 -v, --verbose   Be verbose, enabled when not run under cron
112
113 -s, --silence   Only output error messages, enabled when run under cron
114
115 -d, --decode-sig        Decode a third-party signature either by signature name
116         (eg: Sanesecurity.Junk.15248) or hexadecimal string.
117         This flag will 'NOT' decode image signatures
118
119 -e, --encode-string     Hexadecimal encode an entire input string that can
120         be used in any '*.ndb' signature database file
121
122 -f, --encode-formatted  Hexadecimal encode a formatted input string containing
123         signature spacing fields '{}, (), *', without encoding
124         the spacing fields, so that the encoded signature
125         can be used in any '*.ndb' signature database file
126
127 -g, --gpg-verify        GPG verify a specific Sanesecurity database file
128         eg: '-g filename.ext' (do not include file path)
129
130 -i, --information       Output system and configuration information for
131         viewing or possible debugging purposes
132
133 -m, --make-database     Make a signature database from an ascii file containing
134         data strings, with one data string per line.  Additional
135         information is provided when using this flag
136
137 -t, --test-database     Clamscan integrity test a specific database file
138         eg: '-t filename.ext' (do not include file path)
139
140 -o, --output-triggered  If HAM directory scanning is enabled in the script's
141         configuration file, then output names of any third-party
142         signatures that triggered during the HAM directory scan
143
144 -w, --whitelist Adds a signature whitelist entry in the newer ClamAV IGN2
145         format to 'my-whitelist.ign2' in order to temporarily resolve
146         a false-positive issue with a specific third-party signature.
147         Script added whitelist entries will automatically be removed
148         if the original signature is either modified or removed from
149         the third-party signature database
150
151 --check-clamav  If ClamD status check is enabled and the socket path is correctly
152         specifiedthen test to see if clamd is running or not
153
154 --install-all   Install and generate the cron, logroate and man files, autodetects the values
155          based on your config files
156
157 --install-cron  Install and generate the cron file, autodetects the values
158         based on your config files
159
160 --install-logrotate     Install and generate the logrotate file, autodetects the
161         values based on your config files
162
163 --install-man   Install and generate the man file, autodetects the
164          values based on your config files
165
166 --remove-script     Remove the clamav-unofficial-sigs script and all of
167         its associated files and databases from the system      
168
169 ## Change Log
170
171 ### Version 5.6.2 (updated 2017-03-19)
172  - eXtremeSHOK.com Maintenance
173  - Bug Fix GPG always being disabled, thanks @orlitzky
174
175 ### Version 5.6.1
176  - eXtremeSHOK.com Maintenance
177  - Packers/Javascript_exploit_and_obfuscation.yar false positive rating increased to HIGH
178  - Codeclimate fixes
179  - Incremented the config to version 73
180
181 ### Version 5.6
182  - eXtremeSHOK.com Maintenance
183  - PGP is now optional and no longer a requirement and pgp support is auto-detected
184  - Full support for MacOS / OS X and added clamav install guide
185  - Full support for pfSense and added clamav install guide
186  - Added os configs for Zimbra and Debian 8 with systemd
187  - Much better error messages with possible solutions given
188  - Better checking of possible issues
189  - Update all SANESECURITY signature databases
190  - Support for clamav-devel (clamav compiled from source)
191  - Added full proxy support to wget and curl
192  - Replace allot of "echo | cut | sed" with bash substitutions
193  - Added fallbacks/substitutions for various commands
194  - xshok_file_download and xshok_draw_time_remaining functions added to replace redundant code blocks
195  - Removed SANESECURITY mbl.ndb as this file is not showing up on the rsync mirrors
196  - Allow exit code 23 for rsync
197  - Major refactoring : Normalize comments, quotes, functions, conditions
198  - Protect various arguments and "POSIX-ize" script integrity
199  - Enhanced testing with travis-ci, including clamav 0.99
200  - Incremented the config to version 72
201
202 ### Version 5.4.1
203  - eXtremeSHOK.com Maintenance
204  - Disable installation when either pkg_mgr or pkg_rm is defined.
205  - Minor refactoring
206  - Update master.conf with the new Yara-rules project file names
207  - Incremented the config to version 69
208
209 ### Version 5.4
210  - eXtremeSHOK.com Maintenance
211  - Added Solaris 10 and 11 configs
212  - When under Solaris we define our own which function
213  - Define grep_bin variable, use gnu grep on sun os
214  - Fallback to gpg2 if gpg not found,
215  - Added support for csw gnupg on solaris
216  - Trap the keyboard interrupt (ctrl+c) and gracefully exit
217  - Added CentOS 7 Atomic config @deajan
218  - Minor refactoring and removing of unused variables
219  - Removed CRDF signatures as per Sanesecurity #124
220  - Added more Yara rule project Rules
221  - Incremented the config to version 68
222
223 ### Version 5.3.2
224  - eXtremeSHOK.com Maintenance
225  - Bug Fix: Additional Databases not downloading
226  - Added sanesecurity_update_hours option to limit updating to once every 2 hours
227  - Added additional_update_hours option to limit updating to once every 4 hours
228  - Refactor Additional Database File Update code
229  - Updated osx config with correct group for homebrew
230
231 ### Version 5.3.1
232  - eXtremeSHOK.com Maintenance
233  - Bug Fix: for GPG Signature test FAILED by @DamianoBianchi
234  - Remove unused $GETOPT
235  - Refactor clamscan_integrity_test_specific_database_file (--test-database)
236  - Refactor gpg_verify_specific_sanesecurity_database_file (--gpg-verify)
237  - Big fix: missing $pid_dir
238
239 ### Version 5.3.0
240  - eXtremeSHOK.com Maintenance
241  - Major change: Updated to use new database structure, now allows all low/medium/high databases to be enabled or disabled.
242  - Major change: curl replaced with wget (will fallback to curl is wget is not installed)
243  - Major change: script now functions correctly as the clamav user when started under cron
244  - Added fallback to curl if wget is not available
245  - Added locking (Enable pid file to prevent issues with multiple instances)
246  - Added retries to fetching downloads
247  - Code refactor: if wget repaced with if $? -ne 0
248  - Enhancement: Verify the clam_user and clam_group actually exists on the system
249  - Added function : xshok_user_group_exists, to check if a specific user and group exists
250  - Bug Fix: setmode only if is root
251  - Bug Fix: eval not working on certain systems
252  - Bug fix: rsync output not correctly silenced
253  - Code refactor: remove legacy `..` with $(...)
254  - Code refactor: replace [ ... -a ... ] with [ ... ] && [ ... ]
255  - Code refactor: replace [ ... -o ... ] with [ ... ] || [ ... ]
256  - Code refactor: replace cat "..." with done < ... from loops
257  - Code refactor: convert for loops using files to while loops
258  - Code refactor: read replaced with read -r
259  - Code refactor: added cd ... || exit , to handle a failed cd
260  - Code refactor: double quoted all varibles
261  - Code refactor: refactor all "ls" iterations to use globs
262  - Defined missing uname_bin variable
263  - Added function xshok_database
264  - Set minimum config required to 65
265  - Bump config to 65
266
267 ### Version 5.2.2
268  - eXtremeSHOK.com Maintenance
269  - Added --install-all Install and generate the cron, logroate and man files, autodetects the values $oft based on your config files
270  - Added functions: xshok_prompt_confirm, xshok_is_file, xshok_is_subdir
271  - Replaced Y/N prompts with xshok_prompt_confirm
272  - Bug Fix for disabled databases being removed when the remove_disabled_databases is set to NO (default)
273  - Added more warnings to remove_script and made it double confirmed
274  - Remove_script will only remove work_dir if its a sub directory
275  - Remove_script will only remove files if they are files
276  - Removed -r switch, --remove-script needs to be used instead of both -r and --remove-script
277  - Fixed: remove_script not removing logrotate file, cron file, man file
278
279 ### Version 5.2.1
280  - eXtremeSHOK.com Maintenance
281  - Minor bugfix for Sanesecurity_sigtest.yara Sanesecurity_spam.yara files being removed incorrectly
282  - Minor fix: yararulesproject_enabled not yararulesproject_enable
283
284 ### Version 5.2.0
285  - eXtremeSHOK.com Maintenance
286  - Refactor some functions
287  - Added --install-man this will automatically generate and install the man (help) file
288  - Yararules and yararulesproject enabled by default
289  - Added clamav version detection to automatically disable yararules and yararulesproject if the current clamav version does not support them
290  - Database files ending with .yar/.yara/.yararules will automatically be disabled from the database if yara rules are not supported
291  - Script options are added to the man file
292  - Fixed hardcoded logrotate and cron in remove_script
293  - Fixed incorrectly assigned logrotate varibles in install-logrotate
294  - Config added info for port/package maintainers regarding:  pkg_mgr and pkg_rm
295  - Removed pkg_mgr and pkg_rm from freebsd and openbsd os configs
296  - Allow overriding of all the individual workdirs, this is mainly to aid package maintainers
297  - Rename sanesecurity_dir to work_dir_sanesecurity, securiteinfo_dir to work_dir_securiteinfo, malwarepatrol_dir to work_dir_malwarepatrol, yararules_dir to work_dir_yararules, add_dir to work_dir_add, gpg_dir to work_dir_gpg, work_dir_configs to work_dir_work_configs
298  - Rename yararules_enabled to yararulesproject_enabled
299  - Rename all yararules to yararulesproject
300  - Fix to prevent disabled databases processing certian things which will not be used as they are disabled
301  - Set minimum config required to 62
302  - Bump config to 62
303
304 ### Version 5.1.1
305  - eXtremeSHOK.com Maintenance
306  - Added OS X and openbsd configs
307  - Fixed host fallback sed issues by @MichaelKuch
308  - Suppress most error messages of chmod and chown
309  - check permissions before chmod
310  - Added the config option remove_disabled_databases # Default is "no", if enabled when a database is disabled we will remove the associated database files.
311  - Added function xshok_mkdir_ownership
312  - Do not set permissions of the log, cron and logrotate dirs
313  - Fix: fallback for missing gpg -r option on OS X
314  - Update sanesecurity signatures
315  - Bump config to 61
316
317 ### Version 5.1.0
318  - eXtremeSHOK.com Maintenance
319  - Added --install-cron this will automatically generate and install the cron file
320  - Added --install-logrotate this will automatically generate and install the logrotate file
321  - Change official URL of SecuriteInfo signatures
322  - Added a new database (securiteinfoandroid.hdb) for SecuriteInfo
323  - Remove database files after disabling a database group by @reneschuster
324  - Updated Gentoo OS config by @orlitzky
325  - Regroup functiuons
326  - Increase travis-ci code testing
327  - Set minimum config required to 60
328  - Bump config to 60
329
330 ### Version 5.0.6
331  - eXtremeSHOK.com Maintenance
332  - Updated winnow databases as per information from Tom @ OITC
333  - Bump config to 58
334
335 ### Version 5.0.5
336  - eXtremeSHOK.com Maintenance
337  - Add support for specifying a custom config dir or file with (--config) -c option
338  - Removed default_config
339  - Added travis-ci build testing
340  - Updates to the help and usage display
341  - Added sanity testing of sanesecurity_dbs, securiteinfo_dbs, linuxmalwaredetect_dbs, yararules_dbs, add_dbs
342  - Added function xshok_array_count
343  - Prevent some issues with an incomplete or only a user.conf being loaded
344  - Added fallback to host if dig returns no records
345  - Check there are Sanesecurity mirror ips before we attempt to rsync
346  - Important binaries have been aliased (clamscan, rsync, curl, gpg) and allow their paths to be overridden
347  - Added sanity checks to make sure the binaries and workdir is defined
348  - Custom Binary Paths added to the config (clamscan_bin, rsync_bin, curl_bin, gpg_bin)
349  - Bump config to 57
350  - Added initial centos6 + cpanel os config
351  - Bugfix Only start logging once all the configs have been loaded
352  - Rename $version to script_version
353  - Default malwarePatrol to the free version
354  - Added script version checks
355
356 ### Version 5.0.4
357  - eXtremeSHOK.com Maintenance
358  - Added/Updated OS configs: CentOS 7, FreeBSD, Slackware
359  - Added clamd_reload_opt to fix issues with centos7 conf
360  - Fix --remove-script should call remove_script() function by @IdahoPL
361  - Add OS specific settings to logrotate
362  - Increased default timeout values
363  - Attempt to Silence more output
364  - Create the log_file_path directory before we touch the file.
365  - Updated config file to remove the $work_dir varible from dir names
366  - Remove trailing / from directory names
367  - Initial support for Travis-Ci testing
368  - Fixed config option enable_logging -> logging_enabled
369  - Config updated to 56 due to changes
370
371 ### Version 5.0.3
372  - eXtremeSHOK.com Maintenance
373  - Added OS configs: OpenSUSE, Archlinux, Gentoo, Raspbian, FreeBSD
374  - Fixed config option enable_logging -> logging_enabled
375
376 ### Version 5.0.2
377  - eXtremeSHOK.com Maintenance
378  - Detect if the entire script is available/complete
379  - Fix for Missing space between "]
380
381 ### Version 5.0.1
382  - eXtremeSHOK.com Maintenance
383  - Disable logging if the log file is not writable.
384  - Do not attempt to log before a config is loaded
385
386 ### Version 5.0.0
387  - eXtremeSHOK.com Maintenance
388  - Added porcupine.hsb : Sha256 Hashes of VBS and JSE malware Database from sanesecurity
389  - Fix for missing $ for clamd_pid an incorrect variable definition
390  - Fixes for not removing dirs by @msapiro
391  - Updates to account for changed names and addition of sub-directories for Yara-Rules by @msapiro
392  - Use MD5 with MalwarePatrol by @olivier2557
393  - Suppress the header and config loading message if running via cron
394  - Added systemd files by @falon
395  - Added config option remove_bad_database,  a database with a BAD integrity check will be removed
396  - Fixed broken whitelisting of malwarepatrol signatures
397  - Replaced Version command option -v with -V
398  - Added command option -v (--verbose) to force verbose output
399  - Removed config options: silence_ssl, curl_silence, rsync_silence, gpg_silence, comment_silence
400  - Added ignore_ssl option to supress ssl errors and warnings, ie operate in insecure mode.
401  - Replaced test-database command option -s with -t
402  - Replaced output-triggered command option -t with -o
403  - Added command option -s (--silence) to force silenced output
404  - Default verbose for terminal and silence for cron
405  - Added RHEL/Centos 7 config settings
406  - Added short option (-F) to Force all databases to be downloaded, could cause ip to be blocked"
407  - Fixed removal of failed databases, disbale with option "remove_bad_database"
408  - Removed config options: clamd_start, clamd_stop
409  - Full rewrite of the config handling, master.conf -> os.conf -> user.conf or your-specified.config
410  - Configs loaded from the /etc/clamav-unofficial-sigs dir
411  - Added various os.conf files to ease setup
412  - Added selinux_fixes config option, this will run restorecon on the database files
413  - minor code refactoring and reindenting
414
415 ### Version 4.9.3
416  - eXtremeSHOK.com Maintenance
417  - Various Bug Fixes
418  - Last release of 4.x.x base
419  - minor code refactoring
420
421 ### Version 4.9.2
422  - eXtremeSHOK.com Maintenance
423  - Added function xshok_check_s2 to prevent possible errors with -c and no configfile path
424  - minor code refactoring
425
426 ### Version 4.9.1
427  - eXtremeSHOK.com Maintenance
428  - OS X compatibility fix by stewardle
429  - missing $ in $yararules_enabled
430
431 ### Version 4.9
432  - eXtremeSHOK.com Maintenance
433  - Code Refactoring
434  - New function clamscan_reload_dbs, will first try and reload the clam database, if reload fails will restart clamd
435  - Added Function xshok_pretty_echo_and_log, far easier and cleaner way to output and log information
436  - Removed functions comment, log
437  - Removed config option reload_opt
438  - Added config option clamd_restart_opt
439  - Added support for # characters in config values, ie malwarepatrol subscription key contains a #
440  - Minor formatting and code consitency changes
441  - 10% Smaller script size
442  - Config updated to 53 due to changes
443
444 ### Version 4.8
445  - eXtremeSHOK.com Maintenance
446  - Added long option (--force) to Force all databases to be downloaded, could cause ip to be blocked"
447  - added config option:  malwarepatrol_free="yes", set to "no" to enable commercial subscription url
448  - added support for commercial malwarepatrol subscription
449  - Grammar fix in config
450  - SELINUX cronjob fix added to readme
451  - Corrects tput warning when used without TERM (like in cron)
452  - Config updated to 52 due to changes
453
454 ### Version 4.7
455  - eXtremeSHOK.com Maintenance
456  - Code Refactoring
457  - Complete rewrite of the main case selector (program options)
458  - Added long options (--decode-sig, --encode-string, --encode-formatted, --gpg-verify, --information, --make-database, --remove-script, --test-database, --output-triggered)
459  - Replaced clamd-status.sh with --check-clamav
460  - Removed CHANGELOG, changelog has been replaced by this part of the readme and the git commit log.
461  - Config updated to 51 due to changes
462
463 ### Version 4.6.1
464  - eXtremeSHOK.com Maintenance
465  - Code Refactoring
466  - Added generic options (--help --version --config)
467  - Correctly handle generic options before the main case selector
468  - Sanitize the config before the main case selector (option)
469  - Rewrite and formatting of the usage options
470  - Removed the version information code as this is always printed
471
472 ### Version 4.6
473  - eXtremeSHOK.com Maintenance
474  - Code Refactoring
475  - Removed custom config forced to use the same filename as the default config
476  - Change file checks from exists to exists and is readable
477  - Removed legacy config checks
478  - Full support for custom config files for all tasks
479  - Removed function: no_default_config
480
481 ### Version 4.5.3
482  - eXtremeSHOK.com Maintenance
483  - badmacro.ndb rule support for sanesecurity
484  - Sanesecurity_sigtest.yara rule support for sanesecurity
485  - Sanesecurity_spam.yara rule support for sanesecurity
486  - Changed required_config_version to minimum_required_config_version
487  - Script now supports a minimum config version to allow for out of sync config and script versions
488
489 ### Version 4.5.2
490  - eXtremeSHOK.com Maintenance
491  - hackingteam.hsb rule support for sanesecurity
492
493 ### Version 4.5.1
494  - eXtremeSHOK.com Maintenance
495  - Beta YARA rule support for sanesecurity
496  - Config updated to 4.8 due to changes
497  - Bugfix "securiteinfo_enabled" should be "$securiteinfo_enabled"
498
499 ### Version 4.5.0
500  - eXtremeSHOK.com Maintenance
501  - Initial YARA rule support for sanesecurity
502  - Added Yara-Rules project Database
503  - Added config option to quickly enable/disable an entire database
504  - Config updated to 4.7 due to changes
505  - Note: Yara rules require clamav 0.99+
506  - Bugfix removed unused linuxmalwaredetect_authorisation_signature varible from script
507
508 ### Version 4.4.5
509  - eXtremeSHOK.com Maintenance
510  - Updated SecuriteInfo setup instructions
511
512 ### Version 4.4.4
513  - eXtremeSHOK.com Maintenance
514  - Committed patch-1 by SecuriteInfo (clean up of SecuriteInfo databases)
515  - Fixed double $surl_insecure
516
517 ### Version 4.4.3
518  - eXtremeSHOK.com Maintenance
519  - Bugfix for SecuriteInfo not downloading by Colin Waring
520  - Default will now silence ssl errors caused by ssl certificate errors
521  - Config updated to 4.6 due to new varible: silence_ssl
522
523 ### Version 4.4.2
524  - eXtremeSHOK.com Maintenance
525  - Improved config error checking
526  - Config updated to 4.5, due to invalid default dbs-si value
527  - Fix debug varible being present
528  - Bug fix for ubuntu 14.04 with sed being aliased
529  - Explicitly set bash as the shell
530
531 ### Version 4.4.1
532  - eXtremeSHOK.com Maintenance
533  - Added error checking to detect if the config could be broken.
534
535 ### Version 4.4.0
536  - eXtremeSHOK.com Maintenance
537  - Code refactoring:
538  - Added full support for Linux Malware Detect clamav databases
539  - Config updated to 4.4
540
541 ### Version 4.3.0
542  - eXtremeSHOK.com Maintenance
543  - Code refactoring: group and move functions to top of script
544  - Complete rewrite of securiteinfo support, full support for Free/Delayed clamav by securiteinfo.com ;-P
545    Note: securite info requires you to create a free account and add your authorisation code to the config.
546  - Config updated to 4.3
547  - Restructured Config
548
549 ### Version 4.2.0
550  - eXtremeSHOK.com Maintenance
551  - Replace annoying si_ , mbl_,  ss_  with actual names ie. securiteinfo_ malwarepatrol_ sanesecurity_
552  - Complete rewrite of malwarepatrol support, full support for Free/Delayed clamav ;-P
553    Note: malware patrol requires you to create a free account and add your "purchase" code to the config.
554  - More fixes to config prasing and stripping of comments and whitespace
555  - Code refactoring: remove empty commands: echo "" and comment ""
556  - Config version detection and enforcing
557
558 ### Version 4.1.0
559  - eXtremeSHOK.com Maintenance
560  - Fix on default enable of foxhole medium and High false positive sources
561  - grammatical corrections to some comments and log output
562  - sig-boundary patch by Alan Stern
563  - create intermediate monitor-ign-old.txt to prevent reading and writing of local.ign by Alan Stern
564
565 ### Version 4.0.0
566  - eXtremeSHOK.com Maintenance
567  - Enabled all low false positive sources by default
568  - Added all Sanesecurity database files
569  - Disabled all med/high false positive sources by default
570  - Set default configs to work out of the box on a centos system
571  - Silence cron job
572  - Set correct paths throughout the script
573  - Updated Installation Instructions
574  - Updated Paths for removal
575  - Updated Default locations to reflect installation instructions
576  - Fix: correctly remove comments and blanklines from config before eval
577  - Remove: invalid config values (eg. EXPORT path)
578  - Fix: correctly check if rsync was successful
579
580 ## Script updates can be found at:
581 ### https://github.com/extremeshok/clamav-unofficial-sigs
582
583 Original Script can be found at: http://sourceforge.net/projects/unofficial-sigs