Ubuntu 24.04
Sponsored Link

Clam AntiVirus स्थापित करें2024/05/08

 
सर्वर को वायरस से बचाने के लिए Clam AntiVirus इंस्टॉल करें।
[1] Clamav स्थापित करें।
root@dlp:~#
apt -y install clamav
root@dlp:~#
sed -i -e "s/^NotifyClamd/#NotifyClamd/g" /etc/clamav/freshclam.conf

root@dlp:~#
systemctl stop clamav-freshclam
# पैटर्न फ़ाइलों को मैन्युअल रूप से अपडेट करें

root@dlp:~#
freshclam

ClamAV update process started at Wed May  8 14:09:44 2024
Wed May  8 14:09:44 2024 -> daily.cvd database is up-to-date (version: 27268, sigs: 2060748, f-level: 90, builder: raynman)
Wed May  8 14:09:44 2024 -> main.cvd database is up-to-date (version: 62, sigs: 6647427, f-level: 90, builder: sigmgr)
Wed May  8 14:09:44 2024 -> bytecode.cvd database is up-to-date (version: 335, sigs: 86, f-level: 90, builder: raynman)

root@dlp:~#
systemctl start clamav-freshclam
[2] स्कैन करने का प्रयास करें।
root@dlp:~#
clamscan --infected --remove --recursive /home


----------- SCAN SUMMARY -----------
Known viruses: 8692578
Engine version: 1.0.5
Scanned directories: 4
Scanned files: 4
Infected files: 0
Data scanned: 0.00 MB
Data read: 0.00 MB (ratio 0.00:1)
Time: 12.707 sec (0 m 12 s)
Start Date: 2024:05:08 14:10:34
End Date:   2024:05:08 14:10:47

# परीक्षण वायरस डाउनलोड करें

root@dlp:~#
wget https://files.trendmicro.com/products/eicar-file/eicar.com
root@dlp:~#
clamscan --infected --remove --recursive ./

/root/eicar.com: Win.Test.EICAR_HDB-1 FOUND
/root/eicar.com: Removed.

----------- SCAN SUMMARY -----------
Known viruses: 8692578
Engine version: 1.0.5
Scanned directories: 3
Scanned files: 6
Infected files: 1
Data scanned: 0.00 MB
Data read: 0.00 MB (ratio 0.00:1)
Time: 12.682 sec (0 m 12 s)
Start Date: 2024:05:08 14:11:55
End Date:   2024:05:08 14:12:08
मिलान सामग्री