User Tools

Site Tools


create_your_own_anti-virus_signatures_with_clamav

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
create_your_own_anti-virus_signatures_with_clamav [2009/07/05 23:44]
adam
create_your_own_anti-virus_signatures_with_clamav [2016/11/25 22:38] (current)
Line 67: Line 67:
 It's pretty inefficient to store one virus signature per file, so if you're going to be doing this frequently or you want your signature to used as part of regular operations, you may as well start keeping your own virus db file as part of ClamAV itself. Simply copy your customsig.ndb to the directory used by ClamAV'​s own signatures. On most Linux boxes that's /​var/​lib/​clamav/,​ though it might be something like /​usr/​local/​share/​clamav/​ on FreeBSD or if you compiled ClamAV yourself. So restart ClamAV and run a regular scan without having to specify your custom sig: It's pretty inefficient to store one virus signature per file, so if you're going to be doing this frequently or you want your signature to used as part of regular operations, you may as well start keeping your own virus db file as part of ClamAV itself. Simply copy your customsig.ndb to the directory used by ClamAV'​s own signatures. On most Linux boxes that's /​var/​lib/​clamav/,​ though it might be something like /​usr/​local/​share/​clamav/​ on FreeBSD or if you compiled ClamAV yourself. So restart ClamAV and run a regular scan without having to specify your custom sig:
  
-clamscan testfile+  ​clamscan testfile
  
 And that's it. Add each new signature line into the customsig.ndb file you put in ClamAV'​s signatures directory but be sure to test it first from a standalone sig file so you know it works as expected without affecting the operation of the main ClamAV installation. And that's it. Add each new signature line into the customsig.ndb file you put in ClamAV'​s signatures directory but be sure to test it first from a standalone sig file so you know it works as expected without affecting the operation of the main ClamAV installation.
create_your_own_anti-virus_signatures_with_clamav.txt ยท Last modified: 2016/11/25 22:38 (external edit)