Performing a scan with AVG for Linux.

AVG Anti-Virus for Linux/FreeBSD
Version 2013
-------------------
System requirements
-------------------

AVG Anti-Virus for Linux/FreeBSD requires system with following or
newer library:
- libc.so.6 (Linux)
- libc.so.7 (FreeBSD RELEASE-7.3)
  For RELEASE-8 and CURRENT the compat7x port located in /usr/ports/misc is
  needed.
- libiconv.so.3 (FreeBSD)
- for amd64 architecture the lib32 compat libraries are needed

For on-access scanning feature either redirfs, dazuko or dazukofs is needed.
Please follow the avgoad(1) man page for more detail description.

Minimum hardware requirements:
- CPU: i686 or amd64 on 800 MHz
- Mem: 512 MB, 1GB is recommended
- HDD: 500 MB of free space

Installation
------------

Download latest rpm, deb, sh or tar.gz package from http://free.avg.com/us-en/download.prd-alf and
follow these steps:

* Installation from RPM (Linux only)

# rpm -i avg2013lms-r{release}-a{vdb version}.{architecture}.rpm

* Installation from .deb (Linux only)

# dpkg -i avg2013lms-r{release}-a{vdb version}.{architecture}.deb

* Installation from sh

# chmod +x avg2013lms-r{release}-a{vdb version}.{architecture}.sh
# ./avg2013lms-r{release}-a{vdb version}.{architecture}.sh

* Installation from .tar.gz

# tar xzvf avg2013{edition}-r{release}-a{vdb version}.{architecture}.tar.gz
# cd avg2013{edition}-r{release}-a{vdb version}.{architecture}
# ./install.sh

where:
- edition substitutes 'lms' for the Linux version and 'fms' for the FreeBSD version
- release substitutes the build number
- vdb version substitutes virus database version
- architecture substitutes the target cpu architecture

It is recommended to run 'avgsetup' helper tool after the installation.


Running AVG
-----------

For any action to be performed within AVG system, such as updating, scanning,
e-mail server functionality or on-access server functionality, so called AVG
daemons have to be running.

AVG daemons are launched automatically on system boot by init script. Later,
they can be controlled either by init script or by special avgctl command line
tool.


1) Usage of init script on Linux / FreeBSD.

* Linux
# /etc/init.d/avgd  {start|stop|status|restart|condrestart}

* FreeBSD
# /usr/local/etc/rc.d/avgd.sh {start|stop|status|restart|condrestart}

2) Usage of avgctl command line tool

# avgctl --start[=component]      Starts AVG or specified component.
# avgctl --stop[=component]       Stops AVG or specified component.
# avgctl --stat[=component]       Shows statistics of AVG or specified component.
# avgctl --restart[=component]    Restarts AVG or specified component.
# avgctl --reset=component        Resets statistics of specified component.

For more detailed information please refer to the respective man page or avgctl help.

Description
-----------

Avg functions are secured by several daemons that are managed via command-line. 

DAEMONS:
   avgd       -- general AVG daemon; starts first, manages other AVG daemons
   avgavid    -- AVI daemon; loads AVI into shared memory
   avgsched   -- scheduler for planning periodic events (update etc.)
   avgtcpd    -- e-mail scanning daemon; supports SMTP, AVG, and Milter protocol
   avgspamd   -- anti-spam daemon
   avgscand   -- anti-virus daemon
   avgupd     -- update daemon
   avgoad     -- on-access daemon

COMMAND-LINES:
   avgctl     -- basic control of AVG product, such as launching, stopping,
                 restarting, and getting statistics from running daemons
   avgcfgctl  -- can get and set configurations values
   avgscan    -- launch on-demand scan of requested path
   avgupdate  -- run virus database update or program update via avgupd with
                 specified parameters
   avgvvctl   -- AVG virus vault control utility
   avgdiag    -- tool for sending problem reports to crash analysis portal
   avgevtlog  -- tool for reading/managing AVG event log
   avgsetup   -- helper tool for basic integration with mail/file server

For more detailed information please refer to the respective man page.

AVG process tree (might look different in your configuration):

/opt/avg/av/bin//avgd
 \\--- /opt/avg/av/bin/avgavid
 \\--- /opt/avg/av/bin/avgtcpd
 |     \\--- /opt/avg/av/bin/avgscand -c 3
 \\--- /opt/avg/av/bin/avgspamd
 \\--- /opt/avg/av/bin/avgoad
 |     \\--- /opt/avg/av/bin/avgscand -c 4
 \\--- /opt/avg/av/bin/avgsched

If update is running:
 \\--- /opt/avg/av/bin/avgupd
/bin/login --    
  \\--- -bash
        \\--- /opt/avg/av/bin/avgupdate

If on-demand scan is running:
/bin/login --    
 \\--- -bash
       \\--- /opt/avg/av/bin/avgscan /
             \\--- /opt/avg/av/bin/avgscand -c 10



Diagnostic and system report
----------------------------

In case of troubles with any AVG Technologies product, gathering of specific
data is being performed by the avgdiag utility.

When sending data manually, it is very important to attach a detailed
description of this particular problem and to specify it with "-d, --dsc="
switches.  It is also good to make sure that AVG customer support assigns a
specific ID to your report, which eventually facilitates its identification
(this is being defined by "-i, --id=" switches).

Automatic reporting of AVG processes crashes is turned off by default; if you
want to enable this function, please add AVG_DIAG option to your
/opt/avg/av/cfg/dump.ini file.  For example:

"actions = GDB_DUMP CRASH INFO AVG_DIAG"

This configuration ensures that should any AVG process crash, an adequate report
will be immediately sent to AVG Technologies.

For more detailed information please refer to the man page of avgdump, avgdiag
help or /opt/avg/av/doc/README.avgdiag document.

3rd party licenses
------------------

This product may use any of the 3rd party software which appropriate
copyright/license is enclosed in the "licenses" subdirectory.

A copy of Milter source code used in AVG is available upon request.

Copyrights
----------

libtar, Copyright (c) 1998-2003 University of Illinois Board of
Trustees, Copyright (c) 1998-2003 Mark D. Roth, All rights reserved.

MD4 and MD5 Message-Digest Algorithm, Copyright (C) 1991-2, RSA Data
Security, Inc. Created 1991. All rights reserved.

Note:It will not break things, as it does not heal or quarantine files unless you tell it to do so. It is good just for finding the infection even if the infected files have new file names.

  • 3 會員發現這個文章很有用
此答案有用嗎?

相關文章

利用netstat 指令查詢主機是否受到DDoS連線攻擊

using the bellow command #netstat -an | grep -o...

Locations of Common Log Files on cPanel Servers

One of the nice things about cPanel based servers is the way that they keep the location of key...

Installation of Linux Malware Detect or maldet

Linux Malware Detect (LMD) is a malware scanner for Linux released under the GNU GPLv2 license,...

Check access_log by a domain.

Type the command in ssh.# cat access_log |grep yourdomain.com You will get the results.  

Disable Dangerous Functions in PHP

What to Do Disable unused dangerous functions by configuring PHP. Verify that if dangerous...