Difference between revisions of "ClamAV"
Jump to navigation
Jump to search
(Created page with "category:software ==About== ClamAV is free, open-source anti-virus software for Linux, Windows, and many other operating systems. ==...") |
(tentative command for quarantining) |
||
Line 10: | Line 10: | ||
* Run clamscan in read-only mode to see if there are any detectable infections: | * Run clamscan in read-only mode to see if there are any detectable infections: | ||
** clamscan -v -r /media/disk | ** clamscan -v -r /media/disk | ||
+ | * To move infected files into a quarantine area (only partially tested): | ||
+ | ** sudo clamscan -v -r --move=/media/disk/quarantine /media/disk | ||
+ | ** real-world example: | ||
+ | *** sudo clamscan -v -r --move=/media/IBM_PRELOAD/etc/quarantine /media/IBM_PRELOAD | ||
* ''to be written: what to do if infections are found.'' | * ''to be written: what to do if infections are found.'' | ||
** Basically, you'll probably want to set up a folder for quarantining infected files, and then run clamscan with the option to move infected files there. | ** Basically, you'll probably want to set up a folder for quarantining infected files, and then run clamscan with the option to move infected files there. |
Revision as of 13:02, 14 June 2012
About
ClamAV is free, open-source anti-virus software for Linux, Windows, and many other operating systems.
Notes
To disinfect a Windows PC by running ClamAV from an Ubuntu liveCD:
- Boot the liveCD
- Install the "clamav" package
- Mount the infected drive (opening it from "Locations" will do)
- run df to find out the drive's filesystem path. We'll assume it's /media/disk.
- Run clamscan in read-only mode to see if there are any detectable infections:
- clamscan -v -r /media/disk
- To move infected files into a quarantine area (only partially tested):
- sudo clamscan -v -r --move=/media/disk/quarantine /media/disk
- real-world example:
- sudo clamscan -v -r --move=/media/IBM_PRELOAD/etc/quarantine /media/IBM_PRELOAD
- to be written: what to do if infections are found.
- Basically, you'll probably want to set up a folder for quarantining infected files, and then run clamscan with the option to move infected files there.
- If no infections found, you may still be able to find infections with one of the Windows versions; there may be a way to force the Linux version to use the very latest data engine, but I'm not sure.
Windows
In Microsoft Windows, ClamAV is available in two varieties:
Error Codes
- Failed to install runtime with error code 1601 - ClamAV for Windows can't be installed in "safe mode", despite the obvious advantage of being able to do this with an anti-virus program.