Performing a Malware Scan
Acunetix On-Premises can work in conjunction with AntiVirus engines to check for malware on your site. The default engine used is the Windows Defender AntiVirus service. As an alternative, Acunetix On-Premises can also interface with ClamAV, a popular open-source antivirus product. This guide shows you how to configure Acunetix On-Premises to perform a malware scan.
Step 1: Install and configure an AntiVirus service for your operating system
The first step is to install malware scanning on the machine where you have installed Acunetix On-Premises.
- Windows: Windows 8 and above includes the Windows Defender AntiVirus service, which is the default (and recommended) engine. No further installation or configuration is needed in this scenario.
- Linux: Refer to our guide Installing Malware Scanning on Linux.
Step 2: Prepare a test (proof of concept) website subfolder
In this example we will assume a default installation of Apache on Ubuntu 18.04.3. The test website will be reachable at http://mytestsite/malware/, and this will be our Acunetix Target for testing.
- Prepare an example website. For this single-page example, here are the contents of /var/www/html/malware/index.html:
<html> <head></head> <body> <h2>Testing Malware Scan"</h2><br /> <a href="./eicar.com.txt">Test file: eicar.com.txt</a><br /> </body> </html> |
- Add the standard "eicar.com.txt" test malware file to /var/www/html/malware/. You can obtain this from the EICAR website:
Step 3: Run a Malware Scan from Acunetix On-Premises
- Log in to Acunetix On-Premises.
- Go to Targets > Add Target.
- Enter the URL and description of your test website, then click Save.
- On the Target Settings page, click Scan.
- In the Choose Scanning Options window, set the Scan Profile to Malware Scan, then click Create Scan.
- Wait for the scan to complete. The scan result will show you that Windows Defender or ClamAV was used for malware scanning and will show a Malware identified alert if malware is found.