본문 바로가기
Linux

Malware Scanner and Removal

by 씨엔아이소프트 2023. 12. 16.
반응형

Malware Scanner and Removal

https://malware.expert/malware-scanner-and-removal/

**  먼저 ClamAV, Clamd 설치 필요

yum install epel-release
yum -y install clamav clamd

 

스크립트 다운로드
This script working cPanel/DirectAdmin and others linux servers where clamav scanner is installed.

# wget http://cdn.malware.expert/malware.expert.scanner.sh
Download Direct: http://cdn.malware.expert/malware.expert.scanner.sh

추가 DB 
/etc/freshclam.conf  파일에 추가

DatabaseCustomURL http://signatures.malware.expert/serial_key_here/malware.expert.ndb
DatabaseCustomURL http://signatures.malware.expert/serial_key_here/malware.expert.hdb
DatabaseCustomURL http://signatures.malware.expert/serial_key_here/malware.expert.hsb
DatabaseCustomURL http://signatures.malware.expert/serial_key_here/malware.expert.ldb
DatabaseCustomURL http://signatures.malware.expert/serial_key_here/malware.expert.yara
DatabaseCustomURL http://signatures.malware.expert/serial_key_here/malware.expert.fp


사용법:
Execute or chmod 750 script and then execute:

# bash malware.expert.scanner.sh 

Output

 +---------------------------------------------------------------------+
 | Malware Expert - Malware Scanner & Removal (v1.0.6)                 |
 |                                                                     |
 | https://malware.expert                                              |
 | support@malware.expert                                              |
 |                                                                     |
 +---------------------------------------------------------------------+
 | USAGE:                                                              |
 | /root/malware.expert.scanner.sh scan <path>                         |
 | /root/malware.expert.scanner.sh --exclude='regex_pattern' scan <path>   |
 | /root/malware.expert.scanner.sh clean <path>                        |
 | /root/malware.expert.scanner.sh restore <path>                      |
 | /root/malware.expert.scanner.sh restore <path> force                |
 | /root/malware.expert.scanner.sh delete <path>                       |
 | /root/malware.expert.scanner.sh update                              |
 | /root/malware.expert.scanner.sh update force                        |
 |                                                                     |
 | EXAMPLE:                                                            |
 | /root/malware.expert.scanner.sh scan ./public_html                  |
 | /root/malware.expert.scanner.sh clean /home/user/                   |
 | /root/malware.expert.scanner.sh --exclude='\.(zip|tar\.gz)$' scan ./   |
 +---------------------------------------------------------------------+


Scan public_html folder
DirectAdmin or cPanel Server scan current folder:

# bash malware.expert.scanner.sh scan ./

 

 

반응형

댓글