User Tools

Site Tools


clamav

If you want to send us your comments, please do so. Thanks
More on comments


ClamAV

Antivirus program
Can get data from: https://rsync.sanesecurity.com

Installation

Install clamav with aptitude

clamav
clamav-daemon
clamav-unofficial-sigs
clamtk
libclamunrar7

and the needed dependencies

Configuration

Run, whithout this ran Clamav does not work,

dpkg-reconfigure clamav-daemon

and answer the questions:

QuestionPrefred answerRemark
Handle the configuration file automatically?Yes
Please choose the type of socket clamd will be listening on.UNIX
Local (UNIX) socket clamd will listen on/var/run/clamav/clamd.ctl
Group owner of clamd local (UNIX) socketclamav
Creation mode for clamd local (UNIX) socket666
Gracefully handle left-over UNIX socket files?Yes
Do you want to enable mail scanning?Yes
Do you want to enable archive scanning?Yes
Maximum stream length (unit Mb) allowed25
Maximum directory depth that will be allowed15
Do you want the daemon to follow regular file symlinks?No
Timeout for stopping the thread-scanner (seconds)180
Number of threads for the daemon12Or the maximum number off thread your system can handle
Number of pending connections allowed15
Do you want to use the system logger?No
Log file for clamav-daemon (enter none to disable)/var/log/clamav/clamav.log
Do you want to log time information with each message?Yes
Do you want to enable log rotation?Yes
Do you want to enable on-access scanning?No
Maximum file size to scan5M
Do you want to permit the use of the ALLMATCHSCAN command?Yes
Do you want memory or nested map scans to dump the content to disk?No
Do you want to completely turn off authenticode verification?No
Do you want to enable scanning within SWF files?Yes
Maximum size of a file to check for embedded PE1MOriginal 10M. Warning: Note: disabling this limit or setting it too high may result in severe damage to the system
Maximum size of a HTML file to normalize1MOriginal 10M. Warning: Note: disabling this limit or setting it too high may result in severe damage to the system
Maximum size of a normalized HTML file to scan1MOriginal 2M. Warning: Note: disabling this limit or setting it too high may result in severe damage to the system
Maximum size of a script file to normalize5MOriginal 5M. Warning: Note: disabling this limit or setting it too high may result in severe damage to the system
Maximum size of a ZIP file to reanalyze type recognition1MOriginal 1M. Warning: Note: disabling this limit or setting it too high may result in severe damage to the system
Delay in seconds between daemon self checks3600
User to run clamav-daemon asclamav
Groups for clamav-daemon (space-separated)
Do you want to load bytecode from the database?Yes
Security level to apply to the bytecodeTrustSignedAlternatieve: Paranoid
Bytecode execution timeout in milliseconds60000

cli commands

clamscan --max-filesize=10M --max-scansize=10M --exclude-dir=/sys/* --bell --infected --recursive /home/user/Downloads/

--infected : Only print infected files


Main subjects on this wiki: Linux, Debian, HTML, Microcontrollers, Privacy

RSS
Disclaimer
Privacy statement
Bugs statement
Cookies
Copyright © : 2014 - 2024 Webevaluation.nl and the authors
Changes reserved.

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
clamav.txt · Last modified: 21-12-2021 14:54 by wim