2 .\" Manual page for eXtremeSHOK.com ClamAV Unofficial Signature Updater
3 .TH clamav-unofficial-sigs 8 "2020-01-25" "Version: 7.0.1" "SCRIPT COMMANDS"
5 clamav-unofficial-sigs \- Download, test, and install third-party ClamAV signature databases.
7 .B clamav-unofficial-sigs
10 \fBclamav-unofficial-sigs\fP 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. It will also generate and install cron, logrotate, and man files.
12 Script updates can be found at: \fBhttps://github.com/extremeshok/clamav-unofficial-sigs\fP
14 This script follows the standard GNU command line syntax.
16 \fB Usage: clamav\-unofficial\-sigs \fR [OPTION] [PATH|FILE]
18 \fB \-c, \-\-config \fR Use a specific configuration file or directory eg: '\-c /your/dir' or ' \-c /your/file.name' Note: If a directory is specified the directory must contain atleast: master.conf, os.conf or user.conf Default Directory: /etc/clamav\-unofficial\-sigs
20 \fB \-F, \-\-force \fR Force all databases to be downloaded, could cause ip to be blocked
22 \fB \-h, \-\-help \fR Display this script's help and usage information
24 \fB \-V, \-\-version \fR Output script version and date information
26 \fB \-v, \-\-verbose \fR Be verbose, enabled when not run under cron
28 \fB \-s, \-\-silence \fR Only output error messages, enabled when run under cron
30 \fB \-d, \-\-decode\-sig \fR Decode a third\-party signature either by signature name (eg: Sanesecurity.Junk.15248) or hexadecimal string. This flag will 'NOT' decode image signatures
32 \fB \-e, \-\-encode\-string \fR Hexadecimal encode an entire input string that can be used in any '*.ndb' signature database file
34 \fB \-f, \-\-encode\-formatted \fR Hexadecimal encode a formatted input string containing signature spacing fields '{}, (), *', without encoding the spacing fields, so that the encoded signature can be used in any '*.ndb' signature database file
36 \fB \-g, \-\-gpg\-verify \fR GPG verify a specific Sanesecurity database file eg: '\-g filename.ext' (do not include file path)
38 \fB \-i, \-\-information \fR Output system and configuration information for viewing or possible debugging purposes
40 \fB \-m, \-\-make\-database \fR Make a signature database from an ascii file containing data strings, with one data string per line. Additional information is provided when using this flag
42 \fB \-t, \-\-test\-database \fR Clamscan integrity test a specific database file eg: '\-t filename.ext' (do not include file path)
44 \fB \-o, \-\-output\-triggered \fR If HAM directory scanning is enabled in the script's configuration file, then output names of any third\-party signatures that triggered during the HAM directory scan
46 \fB \-w, \-\-whitelist <signature\-name> \fR Adds a signature whitelist entry in the newer ClamAV IGN2 format to 'my\-whitelist.ign2' in order to temporarily resolve a false\-positive issue with a specific third\-party signature. Script added whitelist entries will automatically be removed if the original signature is either modified or removed from the third\-party signature database
48 \fB \-\-check\-clamav \fR If ClamD status check is enabled and the socket path is correctly specifiedthen test to see if clamd is running or not
50 \fB \-\-upgrade \fR Upgrades this script and master.conf to the latest available version
52 \fB \-\-install\-all \fR Install and generate the cron, logroate and man files, autodetects the values based on your config files
54 \fB \-\-install\-cron \fR Install and generate the cron file, autodetects the values based on your config files
56 \fB \-\-install\-logrotate \fR Install and generate the logrotate file, autodetects the values based on your config files
58 \fB \-\-install\-man \fR Install and generate the man file, autodetects the values based on your config files
60 \fB \-\-remove\-script \fR Remove the clamav\-unofficial\-sigs script and all of its associated files and databases from the system
66 Copyright (c) Adrian Jon Kriel :: admin@extremeshok.com
68 You are free to use, modify and distribute, however you may not remove this notice.
70 BSD (Berkeley Software Distribution)
72 Report bugs to \fBhttps://github.com/extremeshok/clamav-unofficial-sigs\fP
74 Adrian Jon Kriel :: admin@extremeshok.com
75 Originially based on Script provide by Bill Landry