Installing Authentication Verifier Agents
You can download and install authentication verifier agents to verify that you run authenticated scans in your local environment.
- In order to scan a website located on your internal network, and not accessible from the internet, you can install and configure a scan agent on your network. The agent will conduct the actual scan job and then report the results back to Acunetix 360.
- If the website that you scan requires a form authentication, you can download and configure an internal verifier agent. This internal agent performs the authentication so that you can run authenticated scanning in your network.
This topic explains how to install, update, and uninstall authentication verifier agents on Windows. Using Linux? See Installing Authentication Verifier Agent on Linux (Debian Distribution). For the RedHat distributions, see Installing Authentication Verifier Agent on Linux (RedHat Distribution).
The Authentication Verifier Agent is an optional component.
Download and install the authentication verifier agent if you need to scan websites with form or basic authentication or OAuth2. The authentication verifier agents also work for the Authentication Profiles, Custom Scripts for Form Authentication, and CyberArk Vault and HashiCorp Vault.
Downloading and configuring authentication verifier agent
There are 3 steps in this process:
- Downloading an authentication verifier agent
- Configuring an authentication verifier agent
- Setting an authentication verifier agent as a Windows Service
This instruction is valid for the authentication verifier agents 184.108.40.206 or newer versions. If you have older versions, it is strongly recommended that you delete the older versions and reinstall the newer verifier agents.
- Windows Server 2016 or above (Windows Server 2019 recommended)
- .NET Framework 4.8
- 1.4 GHz Processor (2.0 GHz or faster recommended)
- 4 GB RAM or higher recommended
- 10 GB Free Disk space for each internal agent
If you select TLS 1.3 as a security protocol from the Scan Policy, make sure you have Windows 10 v1903 or higher versions.
- Agent should be configured so that it can reach your internal website through HTTP/HTTPS
- Agent needs to be able to access the Netsparker Enterprise Application Server’s HTTP(S) (443) port
- Whitelist netsparker.com
- Whitelist r87.me
- User(s) must have administrator privileges to run the required commands and agent service.
Step 1. Downloading authentication verifier agent
First, you need to download the installation files of the authentication verifier agent and install it on a machine in your internal network.
How to download the authentication verifier agent
- Log in to Acunetix 360.
- From the main page, go to Agents > Manage Agents > Configure New Agent.
- From the Authentication Verifier section, select Windows to download the file.
When you download the zip file, you can configure the authentication verifier agent.
Step 2. Configuring authentication verifier agent
How to configure the authentication verifier agent
- Navigate to the folder you downloaded the zip file.
- Extract the contents of the zip file to C:\Acunetix360_VerifierAgent. (You can use another location, but this instruction will use this path.)
- Open the C:\Acunetix360_VerifierAgent\appsettings.json file with your preferred text editor.
- Edit the following attributes before running the agent, listed under AgentInfo:
- AgentName: This can be anything you want. (If you are going to install more than one instance of the agent, you must set a unique agentName value for each instance, something you will use later.)
- ApiToken: In Acunetix 360, the Agent Token is displayed in the Configure New Agent window. Copy the value into the apiToken.
- Save and close the C:\Acunetix360_VerifierAgent\appsettings.json file.
Setting proxy in authentication verifier agent
You can set a proxy for the authentication verifier agent in Acunetix 360. Acunetix 360 supports Basic Authentication but not Digest and NTLM.
You are required to manually enter proxy settings to the appsettings.json file with your preferred text editor.
This table lists and explains the entries in the Proxy settings.
Enter your proxy settings if you want the Agent to use or not to use the proxy. There are three modes:
Use Default Credentials
Enter true if you authenticate to the proxy via the user that the Agent service is defined.
Enter a username for authentication
Enter a password for authentication
Enter a domain name
Enter a proxy address. Only IP address or hostname without schema and port is allowed.
Enter a port for the proxy
Bypass on Local
Enter a value that indicates whether to bypass the proxy server for local addresses.
Enter the address(es) that do not use the proxy server. Enter address(es) as RegEx.
Using Proxy Auto-Configuration file
To use a PAC file, you must set the Proxy Mode to System Proxy in the appsetting.json file.
How to use a Proxy Auto-Configuration file on Windows
- Go to Settings > Network & Internet > Proxy.
- Turn on the Use setup script toggle.
- In the Script address field, enter the PAC file's URL address.
- Select Save.
Step 3. Setting authentication verifier agent as a Windows Service
An internal authentication verifier agent should be configured as a Windows service so that it can poll the Acunetix 360 servers regularly and can take the verification initiation command from the server.
How to set the authentication verifier agent as a Windows Service
- Open a command prompt in Administrator mode and navigate to the agent's folder.
- Run the following command to install the Acunetix 360 Authentication Verifier Agent as a Windows Service:
- Acunetix.Cloud.Agent.exe -i
- Press Windows+R, type 'services.msc' and press Enter.
- Find 'Acunetix 360 Scanning Service - [YOUR_AGENT_NAME]'.
- Right-click on it and select Properties.
- Make sure Startup type is set to Automatic, and select Start.
- Select Apply and OK, then exit the Properties window.
Although this service is set to start automatically, it may not restart until the PC is restarted too.
After these steps, the Acunetix 360 Authentication Verifier Agent should be running on your network. To view your verifier agents, from the main menu, select Agents > Manage Verifiers.
Any change in the appsetting.json file, such as setting proxy and changing API Token, requires restarting the service so that the changes can take effect.
Updating authentication verifier agents
There are three methods to update your authentication verifier agent.
- When a new verifier agent version has been published, you can update your Agents manually using installation files on the machines on which agents are installed.
- You can update agents manually by selecting Update Agent (visible only when the Enable Auto Update is not configured and the new version of the Agent is available). While the update is in progress, the State field will display 'Updating'.
- You can enable the auto update feature. The target verifier agent updates itself as soon as possible when it’s idle.
How to enable automatic Authentication Verifier Agent updates
- From the main menu, select Agents > Manage Verifiers.
- Next to the relevant agent, select the Command drop-down, then Enable Auto Update.
Installing multiple authentication verifier agents on Windows
How to install multiple verifier agents on Windows
- Copy all files from the default Verifier Agent’s folder to the new Agent’s folder. The path is: C:\Acunetix 360 Agent.
For example, if you decided to use Agent-2 as the new Agent name, you could use this command to copy all files to new Agent’s folder:
xcopy "C:\Acunetix 360 Agent\*.*" "C:\Acunetix 360 Agent-2" /yie
This will create a new directory in C:\Acunetix 360 Agent-2 and copy in all the required files.
- Locate the new Agent’s folder and open the appsettings.json file with a text editor. Set the new Agent’s name.
- Open a command prompt in Windows with Administrator rights and install the new Agent as a Windows Service using these commands:
- This command changes the current folder to the new Agent’s folder:
cd C:\Acunetix 360 Agent-2
- This command installs the new Agent as a Windows Service:
Uninstalling authentication verifier agent
You may uninstall verifier agents.
How to uninstall the authentication verifier agent
- Open a command prompt in Administrator mode and navigate to the agent's folder.
- Run the following command to stop and delete the Acunetix 360 Authentication Verifier Agent as a Windows Service:
sc stop "Acunetix 360 Scanning Service - YourAgentName"
sc delete "Acunetix 360 Scanning Service - YourAgentName"
This command will delete the verifier agent service. If required, you can delete the related folder.