Monday, April 30, 2012

Saturday, April 14, 2012

install cuckoo in ubuntu

http://www.joshuagauthier.com/2011/07/

http://cuckoobox.org/doc/0.1/setup.html#basic_setup_intall_controller_requirements

http://www.cuckoobox.org/doc/0.3.2/html/introduction/sandboxing.html#using-a-sandbox

http://www.cuckoobox.org/doc/0.3.2/html/installation/host/configuration.html

Thursday, April 12, 2012

avg linux install - rpm

http://free.avg.com/us-en/download.prd-alf

rpm -i avg2012flx-r1786-a4748.i386.rpm

start avg
/etc/init.d/avgd start

install clamav in CentOS

1, Download source package
http://sourceforge.net/projects/clamav/files/clamav/0.97.4/clamav-0.97.4.tar.gz/download

2, create clamav group and user
[root@localhost clamav-0.97.4]#groupadd clamav
[root@localhost clamav-0.97.4]#adduser -g clamav clamav

3, Unzip file and install
tar zxvf clamav-0.97.4.tar.gz
cd clamav-0.97.4
./configure
make
make install

4, update clamav DB
a, create update log file
vim /var/log/freshclam.log
chown clamav:clamav /var/log/freshclam.log
b, config configure file
vim /usr/local/etc/freshclam.conf
# Comment or remove the line below.
#Example

# Path to the database directory.
# WARNING: It must match clamd.conf's directive!
# Default: hardcoded (depends on installation options)
#DatabaseDirectory /var/lib/clamav

DatabaseDirectory /usr/local/share/clamav

# Path to the log file (make sure it has proper permissions)
# Default: disabled

UpdateLogFile /var/log/freshclam.log

# Maximum size of the log file.
# Value of 0 disables the limit.
# You may use 'M' or 'm' for megabytes (1M = 1m = 1048576 bytes)
# and 'K' or 'k' for kilobytes (1K = 1k = 1024 bytes).
# in bytes just don't use modifiers.
# Default: 1M
LogFileMaxSize 2M

# Log time with each message.
# Default: no
LogTime yes

# Enable verbose logging.
# Default: no
LogVerbose yes

# Use system logger (can work together with UpdateLogFile).
# Default: no
LogSyslog yes

5, update clamav DB - you can add this in the cronjob
/usr/local/bin/freshclam

6, DB folder
[root@localhost ~]# ll /usr/local/share/clamav
total 33524
-rw-r--r-- 1 clamav clamav 59546 Apr 12 14:54 bytecode.cvd
-rw-r--r-- 1 clamav clamav 3461818 Apr 12 14:54 daily.cvd
-rw-rw-r-- 1 clamav clamav 30750647 Apr 12 14:13 main.cvd
-rw------- 1 clamav clamav 468 Apr 12 14:54 mirrors.dat