티스토리 뷰

EN/Fedora 18

Fedora 18 Clamav - Anti-Virus

식빵TV 2016.04.23 18:56

Fedora 18 Clamav - Anti-Virus


Clamav - Anti-Virus

 

Install Clam AntiVirus to protect from virus.



1. Install Clamav


[root@otaec ~]# yum -y install clamav clamav-update


[root@otaec ~]# vi /etc/freshclam.conf

# line 8: make it comment

#Example


[root@otaec ~]# freshclam# update pattern files

ClamAV update process started at Wed Jan 16 14:46:13 2013


WARNING: Your ClamAV installation is OUTDATED!

WARNING: Local version: 0.97.5 Recommended version: 0.97.6

DON'T PANIC! Read http://www.clamav.net/support/faq


nonblock_connect: connect timing out (30 secs)

Can't connect to port 80 of host database.clamav.net (IP: 219.106.242.51)

Trying host database.clamav.net (203.178.137.175)...

Downloading main.cvd [100%]

main.cvd updated (version: 54, sigs: 1044387, f-level: 60, builder: sven)

Downloading daily.cvd [100%]

daily.cvd updated (version: 16502, sigs: 574119, f-level: 63, builder: jesler)

Downloading bytecode.cvd [100%]

bytecode.cvd updated (version: 210, sigs: 39, f-level: 63, builder: neo)

Database updated (1618545 signatures) from database.clamav.net (IP: 203.178.137.175)




2. Try to scan


[root@otaec ~]# clamscan --infected --remove --recursive /home

----------- SCAN SUMMARY -----------

Known viruses: 1613147

Engine version: 0.97.5

Scanned directories: 3

Scanned files: 8

Infected files: 0

Data scanned: 0.00 MB

Data read: 0.00 MB (ratio 0.00:1)

Time: 4.527 sec (0 m 4 s)



# download trial virus

[root@otaec ~]# wget http://www.eicar.org/download/eicar.com


[root@otaec ~]# clamscan --infected --remove --recursive .

# just detected

./eicar.com: Eicar-Test-Signature FOUND

./eicar.com: Removed.


----------- SCAN SUMMARY -----------

Known viruses: 1613147

Engine version: 0.97.5

Scanned directories: 3

Scanned files: 10

Infected files: 1

Data scanned: 0.00 MB

Data read: 0.00 MB (ratio 0.00:1)

Time: 4.512 sec (0 m 4 s)

저작자 표시 비영리 변경 금지
신고

'EN > Fedora 18' 카테고리의 다른 글

Fedora 18 Clamav - Anti-Virus  (0) 2016.04.23
Fedora 18 SSL Certificates  (0) 2016.04.23
Fedora 18 Set Hostname  (0) 2016.04.23
Fedora 18 Set keymap  (0) 2016.04.23
Fedora 18 Set keymap  (0) 2016.04.23
Fedora 18 Set time-zone  (0) 2016.04.23
댓글
댓글쓰기 폼