Security/ClamAV: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
| (2 intermediate revisions by the same user not shown) | |||
| Line 47: | Line 47: | ||
|valign='top' style='width:50%'| | |valign='top' style='width:50%'| | ||
<syntaxhighlight lang='bash'> | <syntaxhighlight lang='bash'> | ||
clamscan -r --bell -i / | clamscan -r --bell -i / | ||
clamscan -r -i / | clamscan -r -i / | ||
clamscan -r / | clamscan -r / | ||
</syntaxhighlight> | </syntaxhighlight> | ||
|valign='top' style='width:50%'| | |valign='top' style='width:50%'| | ||
<syntaxhighlight lang='bash'> | <syntaxhighlight lang='bash'> | ||
clamscan -r --bell -i ${HOME}/ | |||
clamscan -r --bell -i / | clamscan -r -i ${HOME}/ | ||
clamscan -r -i / | clamscan -r ${HOME}/ | ||
clamscan -r /home/ | </syntaxhighlight> | ||
|- | |||
|valign='top'| | |||
<syntaxhighlight lang='bash'> | |||
sudo clamscan -r --bell -i --exclude-dir='^/(sys|proc|dev|run)' / | |||
sudo clamscan -r -i --exclude-dir='^/(sys|proc|dev|run)' / | |||
sudo clamscan -r --exclude-dir='^/(sys|proc|dev|run)' / | |||
</syntaxhighlight> | |||
|valign='top'| | |||
<syntaxhighlight lang='bash'> | |||
sudo clamscan -r --bell -i --exclude-dir='^/(sys|proc|dev|run)' /root/ | |||
sudo clamscan -r -i --exclude-dir='^/(sys|proc|dev|run)' /root/ | |||
sudo clamscan -r --exclude-dir='^/(sys|proc|dev|run)' /root/ | |||
</syntaxhighlight> | |||
|- | |||
|valign='top'| | |||
<syntaxhighlight lang='bash'> | |||
sudo clamscan -r -i --exclude-dir='^/(sys|proc|dev|run)' \ | |||
/var/www \ | |||
/var/tmp \ | |||
/uploads \ | |||
/home \ | |||
/tmp | |||
</syntaxhighlight> | |||
|valign='top'| | |||
|- | |||
!scope='col'| Scan » Manual | |||
!scope='col'| Scan » Manual | |||
|- | |||
|valign='top'| | |||
<syntaxhighlight lang='bash'> | |||
systemctl list-unit-files --state=enabled | grep -i upload | |||
systemctl list-timers --all | grep -i upload | |||
systemctl list-units | grep -i upload | |||
journalctl | grep -i upload | |||
systemctl status upload* | |||
</syntaxhighlight> | |||
|valign='top'| | |||
<syntaxhighlight lang='bash'> | |||
grep -R 'upload' /etc/profile /etc/profile.d ~/.bashrc ~/.profile 2>/dev/null | |||
grep -R 'upload' /etc/cron* /var/spool/cron 2>/dev/null | |||
ls -l /etc/rc.local | |||
ausearch -x upload | |||
</syntaxhighlight> | </syntaxhighlight> | ||
|} | |} | ||
Latest revision as of 15:11, 23 January 2026
Security » ClamAV
|
Security » ClamAV | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||
References
|
References | ||
|---|---|---|