Skip to content

Commit

Permalink
Update 200125
Browse files Browse the repository at this point in the history
  • Loading branch information
deeztek committed Feb 5, 2020
1 parent f79f57c commit 5dad2be
Show file tree
Hide file tree
Showing 65 changed files with 1,336 additions and 721 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Auto detect text files and perform LF normalization
* text=auto
Binary file modified dirstructure/var/www/html/admin/ad_integration.cfm
Binary file not shown.
Binary file modified dirstructure/var/www/html/admin/add_signature_database.cfm
Binary file not shown.
Binary file modified dirstructure/var/www/html/admin/antivirus_signature_bypass.cfm
Binary file not shown.
Binary file modified dirstructure/var/www/html/admin/antivirus_signature_feeds.cfm
Binary file not shown.
Binary file modified dirstructure/var/www/html/admin/console_ssl_settings.cfm
Binary file not shown.
Binary file modified dirstructure/var/www/html/admin/create_csr.cfm
Binary file not shown.
Binary file modified dirstructure/var/www/html/admin/delete_connection.cfm
Binary file not shown.
Binary file modified dirstructure/var/www/html/admin/delete_message_rule.cfm
Binary file not shown.
Binary file modified dirstructure/var/www/html/admin/disable_dkim_sign.cfm
Binary file not shown.
Binary file modified dirstructure/var/www/html/admin/dkim_configuration.cfm
Binary file not shown.
Binary file modified dirstructure/var/www/html/admin/dkim_sender_bypass.cfm
Binary file not shown.
Binary file modified dirstructure/var/www/html/admin/dkim_sign.cfm
Binary file not shown.
Binary file modified dirstructure/var/www/html/admin/dkim_trusted_hosts.cfm
Binary file not shown.
Binary file modified dirstructure/var/www/html/admin/dmarc_configuration.cfm
Binary file not shown.
Binary file modified dirstructure/var/www/html/admin/download_csr.cfm
Binary file not shown.
Binary file modified dirstructure/var/www/html/admin/edit_firewall.cfm
Binary file not shown.
Binary file modified dirstructure/var/www/html/admin/edit_message_rule.cfm
Binary file not shown.
Binary file modified dirstructure/var/www/html/admin/enable_dkim_sign.cfm
Binary file not shown.
Binary file modified dirstructure/var/www/html/admin/file_expressions.cfm
Binary file not shown.
Binary file modified dirstructure/var/www/html/admin/file_extensions.cfm
Binary file not shown.
Binary file modified dirstructure/var/www/html/admin/firewall_settings.cfm
Binary file not shown.
Binary file modified dirstructure/var/www/html/admin/license.cfm
Binary file not shown.
Binary file not shown.
Binary file modified dirstructure/var/www/html/admin/logon.cfm
Binary file not shown.
Binary file modified dirstructure/var/www/html/admin/logout.cfm
Binary file not shown.
Binary file modified dirstructure/var/www/html/admin/malwarepatrol_configuration.cfm
Binary file not shown.
Binary file modified dirstructure/var/www/html/admin/message_rules.cfm
Binary file not shown.
Binary file modified dirstructure/var/www/html/admin/new_serial.cfm
Binary file not shown.
Binary file modified dirstructure/var/www/html/admin/recipient_settings.cfm
Binary file not shown.
Binary file modified dirstructure/var/www/html/admin/recipients.cfm
Binary file not shown.
Binary file modified dirstructure/var/www/html/admin/sanesecurity_configuration.cfm
Binary file not shown.
Binary file modified dirstructure/var/www/html/admin/securiteinfo_configuration.cfm
Binary file not shown.
Binary file modified dirstructure/var/www/html/admin/smtp_tls_policy.cfm
Binary file not shown.
Binary file modified dirstructure/var/www/html/admin/smtp_tls_settings.cfm
Binary file not shown.
Binary file modified dirstructure/var/www/html/admin/spf_bypass.cfm
Binary file not shown.
Binary file modified dirstructure/var/www/html/admin/spf_bypass_filter.cfm
Binary file not shown.
Binary file modified dirstructure/var/www/html/admin/spf_configuration.cfm
Binary file not shown.
Binary file modified dirstructure/var/www/html/admin/system_settings.cfm
Binary file not shown.
Binary file modified dirstructure/var/www/html/admin/system_update.cfm
Binary file not shown.
Binary file modified dirstructure/var/www/html/admin/update_feeds_databases.cfm
Binary file not shown.
Binary file modified dirstructure/var/www/html/admin/urlhaus_configuration.cfm
Binary file not shown.
Binary file modified dirstructure/var/www/html/admin/view_dkim.cfm
Binary file not shown.
Binary file modified dirstructure/var/www/html/admin/yararules_configuration.cfm
Binary file not shown.
Binary file modified download/clamav-unofficial-sigs/.t/clamdb/sample-bytecode.cvd
Binary file not shown.
7 changes: 5 additions & 2 deletions download/clamav-unofficial-sigs/.t/tests/user.conf
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ enable_yararules="no"

# Default dbs rating
# valid rating: LOW, MEDIUM, HIGH
default_dbs_rating="MEDIUM"
default_dbs_rating="HIGH"

# Per Database
# These ratings will override the global rating for the specific database
Expand All @@ -50,7 +50,10 @@ securiteinfo.hdb|LOW
javascript.ndb|LOW
securiteinfohtml.hdb|LOW
securiteinfoascii.hdb|LOW
securiteinfopdf.hdb|LOW
securiteinfopdf.hdb|LOW
securiteinfoandroid.hdb|LOW #
spam_marketing.ndb|HIGH
) #END SECURITEINFO DATABASES

# Enable all debug options
debug="yes"
3 changes: 3 additions & 0 deletions download/clamav-unofficial-sigs/.t/tests/user_wget.conf
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,6 @@ spam_marketing.ndb|HIGH

#foce wget
force_wget="yes"

# Causes wget errors to be vebose
wget_debug="yes"
33 changes: 25 additions & 8 deletions download/clamav-unofficial-sigs/INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,35 @@ Script updates can be found at: https://github.com/extremeshok/clamav-unofficial
* Mac OSX : https://github.com/extremeshok/clamav-unofficial-sigs/tree/master/guides/macosx.md
* pFsense : https://github.com/extremeshok/clamav-unofficial-sigs/tree/master/guides/pfsense.md

# GENERIC UPGRADE INSTRUCTIONS (version 7.0 +)
```
clamav-unofficial-sigs.sh --upgrade
clamav-unofficial-sigs.sh --force
```

# GENERIC UPGRADE INSTRUCTIONS (version 6.1 and below)
```
wget https://raw.githubusercontent.com/extremeshok/clamav-unofficial-sigs/master/clamav-unofficial-sigs.sh -O /usr/local/sbin/clamav-unofficial-sigs.sh && chmod 755 /usr/local/sbin/clamav-unofficial-sigs.sh
wget https://raw.githubusercontent.com/extremeshok/clamav-unofficial-sigs/master/config/master.conf -O /etc/clamav-unofficial-sigs/master.conf
clamav-unofficial-sigs.sh --force
```

# GENERIC INSTALLATION INSTRUCTIONS

## Install
Run the following commands in shell (console/terminal)
```
mkdir -p /usr/local/sbin/
wget https://raw.githubusercontent.com/extremeshok/clamav-unofficial-sigs/master/clamav-unofficial-sigs.sh -c -O /usr/local/sbin/clamav-unofficial-sigs.sh && chmod 755 /usr/local/sbin/clamav-unofficial-sigs.sh
wget https://raw.githubusercontent.com/extremeshok/clamav-unofficial-sigs/master/clamav-unofficial-sigs.sh -O /usr/local/sbin/clamav-unofficial-sigs.sh && chmod 755 /usr/local/sbin/clamav-unofficial-sigs.sh
mkdir -p /etc/clamav-unofficial-sigs/
wget https://raw.githubusercontent.com/extremeshok/clamav-unofficial-sigs/master/config/master.conf -c -O /etc/clamav-unofficial-sigs/master.conf
wget https://raw.githubusercontent.com/extremeshok/clamav-unofficial-sigs/master/config/user.conf -c -O /etc/clamav-unofficial-sigs/user.conf
wget https://raw.githubusercontent.com/extremeshok/clamav-unofficial-sigs/master/config/master.conf -O /etc/clamav-unofficial-sigs/master.conf
wget https://raw.githubusercontent.com/extremeshok/clamav-unofficial-sigs/master/config/user.conf -O /etc/clamav-unofficial-sigs/user.conf
```
Select your operating system config from https://github.com/extremeshok/clamav-unofficial-sigs/tree/master/config/
**replace os.ubuntu.conf with your required config, centos7 = os.centos7.conf**
**replace os.ubuntu.conf with your required config, centos7/8 = os.centos.conf , debian9/10 = os.debian.conf **
```
os_conf="os.ubuntu.conf"
wget "https://raw.githubusercontent.com/extremeshok/clamav-unofficial-sigs/master/config/os/${os_conf}" -c -O /etc/clamav-unofficial-sigs/os.conf
wget "https://raw.githubusercontent.com/extremeshok/clamav-unofficial-sigs/master/config/os/${os_conf}" -O /etc/clamav-unofficial-sigs/os.conf
```

### Optional: configure your user config /etc/clamav-unofficial-sigs/user.conf
Expand All @@ -54,9 +67,13 @@ script must run once as your superuser to set all the permissions and create the
### OR
#### systemd
```
wget https://raw.githubusercontent.com/extremeshok/clamav-unofficial-sigs/master/systemd/clamav-unofficial-sigs.service -c -O /etc/systemd/system/clamav-unofficial-sigs.service
wget https://raw.githubusercontent.com/extremeshok/clamav-unofficial-sigs/master/systemd/clamav-unofficial-sigs.timer -c -O /etc/systemd/system/clamav-unofficial-sigs.timer
wget https://raw.githubusercontent.com/extremeshok/clamav-unofficial-sigs/master/systemd/clamd.scan.service -c -O /etc/systemd/system/clamd.scan.service
mkdir -p /etc/systemd/system/
wget https://raw.githubusercontent.com/extremeshok/clamav-unofficial-sigs/master/systemd/clamav-unofficial-sigs.service -O /etc/systemd/system/clamav-unofficial-sigs.service
wget https://raw.githubusercontent.com/extremeshok/clamav-unofficial-sigs/master/systemd/clamav-unofficial-sigs.timer -O /etc/systemd/system/clamav-unofficial-sigs.timer
systemctl enable clamav-unofficial-sigs.service
systemctl enable clamav-unofficial-sigs.timer
systemctl start clamav-unofficial-sigs.timer
```

### Script updates can be found at: https://github.com/extremeshok/clamav-unofficial-sigs
1 change: 1 addition & 0 deletions download/clamav-unofficial-sigs/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
This is property of eXtremeSHOK.com
You are free to use, modify and distribute, however you may not remove this notice.
Copyright (c) Adrian Jon Kriel :: [email protected]
License: BSD (Berkeley Software Distribution)

Originially based on:
Copyright (c) 2007 - 2013, Bill Landry ([email protected])
Expand Down
83 changes: 68 additions & 15 deletions download/clamav-unofficial-sigs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,12 @@

ClamAV Unofficial Signatures Updater

Github fork of the sourceforge hosted and non maintained utility.

## Maintained and provided by https://eXtremeSHOK.com

## Description
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.
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, urlhaus, etc. The script will also generate and install cron, logrotate, and man files.

## Checkout some of our other solutions: https://github.com/extremeshok?tab=repositories
### Checkout some of our other solutions: https://github.com/extremeshok?tab=repositories

### Support / Suggestions / Comments
Please post them on the issue tracker : https://github.com/extremeshok/clamav-unofficial-sigs/issues
Expand All @@ -23,22 +21,32 @@ Please post them on the issue tracker : https://github.com/extremeshok/clamav-un
### Supported Operating Systems
Debian, Ubuntu, Raspbian, CentOS (RHEL and clones), OpenBSD, FreeBSD, OpenSUSE, Archlinux, Mac OS X, Slackware, Solaris (Sun OS), pfSense, Zimbra and derivative systems

### Quick Install Guide
### Quick Install and Upgrade Guide
https://github.com/extremeshok/clamav-unofficial-sigs/tree/master/INSTALL.md

### Operating System Specific Install Guides
### Operating System Specific Install and Upgrade Guides
* CentOS : https://github.com/extremeshok/clamav-unofficial-sigs/tree/master/guides/centos7.md
* Ubuntu : https://github.com/extremeshok/clamav-unofficial-sigs/tree/master/guides/ubuntu-debian.md
* Debian : https://github.com/extremeshok/clamav-unofficial-sigs/tree/master/guides/ubuntu-debian.md
* Mac OSX : https://github.com/extremeshok/clamav-unofficial-sigs/tree/master/guides/macosx.md
* pFsense : https://github.com/extremeshok/clamav-unofficial-sigs/tree/master/guides/pfsense.md

### UPGRADE INSTRUCTIONS (version 7.0 +)
```
clamav-unofficial-sigs.sh --upgrade
clamav-unofficial-sigs.sh
```

### FOR PACKAGE MAINTAINERS / PACKAGERS
Please use the sample package os.*.conf as a base for your os.conf, this will disable automatic updates, update notifications and the uninstallation feature. https://github.com/extremeshok/clamav-unofficial-sigs/tree/master/config/packaging

### Always Run the script once as your superuser to set all the permissions and create the relevant directories

### Advanced Config Overrides
* Default configs are loaded in the following order if they exist:
* master.conf -> os.conf -> user.conf or your-specified.config
* user.conf will override os.conf and master.conf, os.conf will override master.conf
* master.conf -> os.conf -> os.*.conf -> user.conf or your-specified.config
* user.conf will always override os.conf and master.conf, os.conf will override master.conf
* please do not alter the master.conf, rather create a user.conf
* A minimum of 1 config is required.
* Specifying a config on the command line (-c | --config) will override the loading of the default configs

Expand All @@ -55,9 +63,14 @@ https://github.com/extremeshok/clamav-unofficial-sigs/tree/master/INSTALL.md
```setsebool -P antivirus_can_scan_system true```

### Yara Rule Support automatically enabled (as of April 2016)
Since usage yara rules requires clamav 0.99 or above, they will be automatically deactivated if your clamav is older than the required version
Since usage yara rules requires clamav 0.100 or above, they will be automatically deactivated if your clamav is older than the required version


### URLhaus Support (as of January 2020)
Usage of free URLhaus Database: https://urlhaus.abuse.ch
- Enabled by default

### Yara-Rules Project Support (as of June 2015)
### Yara-Rules Project Support (as of June 2015, updated January 2020)
Usage of free Yara-Rules Project: http://yararules.com
- Enabled by default

Expand All @@ -81,9 +94,12 @@ Usage of SecuriteInfo 2015 free clamav signatures : https://www.securiteinfo.com
Your 128 character authorisation signature would be : your_unique_and_very_long_random_string_of_characters
- 6. Enter the authorisation signature into the config securiteinfo_authorisation_signature: replacing YOUR-SIGNATURE-NUMBER with your authorisation signature from the link

### Linux Malware Detect support (as of May 2015)
### Linux Malware Detect support (as of May 2015, updated January 2020)
Usage of free Linux Malware Detect clamav signatures: https://www.rfxn.com/projects/linux-malware-detect/
- Enabled by default, no configuration required

### Need a database added ? Missing a database or a database not working ?
Please post on the issue tracker : https://github.com/extremeshok/clamav-unofficial-sigs/issues

## USAGE

Expand Down Expand Up @@ -160,6 +176,9 @@ Usage: clamav-unofficial-sigs.sh [OPTION] [PATH|FILE]
specifiedthen test to see if clamd is running or not


--upgrade Upgrades this script and master.conf to the latest available version


--install-all Install and generate the cron, logroate and man files, autodetects the values
based on your config files

Expand All @@ -180,6 +199,42 @@ Usage: clamav-unofficial-sigs.sh [OPTION] [PATH|FILE]
its associated files and databases from the system

## Change Log
### Version 7.0.1 (Updated 25 January 2020)
- Disable yara project rules duplicated in rxfn.yara (Thanks @dominicraf)
- Incremented the config to version 91

### Version 7.0.0 (Updated 24 January 2020)
- eXtremeSHOK.com Maintenance
- Added urlhaus database
- Added extra yararulesproject databases
- Added new linuxmalwaredetect yara file
- Automatic upgrades ( --upgrade )
- Added --upgrade command line option
- Option to disable automatic upgrades ( allow_upgrades )
- Option to disable update checks (allow_update_checks)
- Increase download time to 1800 seconds from 600 seconds
- os.conf takes preference over os.***.conf
- Warn if there are multiple os.***.conf files
- More sanity checks to help users and prevent errors
- Better output of --info
- Fix all known bugs
- Implement all suggestions
- Fixed yararulesproject database names
- Correctly silence curl and wget
- New linuxmalwaredetect logic
- New malwarepatrol logic
- Suppress --- and === from the logs
- Update the documentation / guides
- Increase minimum clamav version for yara rules to 0.100 or above
- Fix systemd.timer and systemd.service files
- More travis-ci tests
- Added os.alpine.conf
- Added debug options/mode to config
- Set minimum config required to 90
- Lots of refactoring and optimizing
- Only check for and notify about script updates every 12hours
- Incremented the config to version 90

### Version 6.1.1 (Updated 02 September 2019)
- eXtremeSHOK.com Maintenance
- Update os.archlinux.conf, thanks @amishmm
Expand Down Expand Up @@ -211,7 +266,7 @@ Usage: clamav-unofficial-sigs.sh [OPTION] [PATH|FILE]
- Sanitize whitelist input string (Remove quotes and .UNOFFICIAL)
- Added Full support for Hash-based Signature Databases
- User.conf is pre-configured with default options to allow for quicker setup
- Default sanesecurity and linuxmalwaredetect to enabled
- Default sanesecurity and LinuxMalwareDetect to enabled
- Increase default retries from 3 to 5
- Ensure log file permissions are correct
- Better update comparison check, only notify if newer
Expand Down Expand Up @@ -638,7 +693,7 @@ Usage: clamav-unofficial-sigs.sh [OPTION] [PATH|FILE]
- sig-boundary patch by Alan Stern
- create intermediate monitor-ign-old.txt to prevent reading and writing of local.ign by Alan Stern

### Version 4.0.0
### Version 4.0.0 (Released 9 May 2015)
- eXtremeSHOK.com Maintenance
- Enabled all low false positive sources by default
- Added all Sanesecurity database files
Expand All @@ -655,5 +710,3 @@ Usage: clamav-unofficial-sigs.sh [OPTION] [PATH|FILE]

## Script updates can be found at:
### https://github.com/extremeshok/clamav-unofficial-sigs

Original Script can be found at: http://sourceforge.net/projects/unofficial-sigs
Loading

0 comments on commit 5dad2be

Please sign in to comment.