Artica Wiki

eCAP antivirus exclusions (whitelist)

Exclude domains, servers or computers from the integrated eCAP antivirus, for example to work around a false positive.

« Back to The eCAP connector antivirus

The integrated antivirus scans the files your users download through the proxy.
Now and then it blocks a file that is safe.
The antivirus exclusions list tells the proxy which traffic to deliver without a scan.
It is in Your Proxy > Antivirus Proxy, tab Antivirus exclusions.

Benefits

How it works

The antivirus runs inside the proxy, through the eCAP adapter.
Before the proxy hands a response to the adapter, it checks a short list of rules.
If one matches, the response goes to the user unscanned.

The proxy skips the antivirus for:

The global whitelist also bypasses the other proxy controls.
When you only want to stop the antivirus scan, use the antivirus exclusions list.

Example: a false positive from an unofficial signature

Users report that they cannot download the October newsletter of a supplier.
The PDF file is on files.contoso.com.
The proxy answers with the antivirus block page.

1. Check the detection

The Parameters tab counts the threats blocked in the last 24 hours and the devices concerned.
Click See the log, or open the Events tab.

Integrated antivirus parameters with one threat blocked

One threat blocked in the last hour.

The Events tab lists each detection with the signature name, the date, the URL and the client address.

Events tab with the SecuriteInfo.com.Spam-139108.UNOFFICIAL detection

The newsletter was blocked by SecuriteInfo.com.Spam-139108.UNOFFICIAL.

ClamAV adds the .UNOFFICIAL suffix to every signature that does not come from the official ClamAV databases.
This one comes from the SecuriteInfo third-party database.
Third-party databases often catch more spam and phishing.
They also raise more false positives.

Confirm that the file is safe before you exclude anything.
Ask the supplier, or check the file with another engine.

2. Open the exclusions list

Open the Antivirus exclusions tab.
The cards at the top count the active exclusions, the trusted domains and the excluded networks and computers.
The Global state card shows whether the list is applied.

Empty antivirus exclusions list

No exclusion yet.

3. Add the exclusion

Click New Rule.
In Type, choose Web server.
The help above the form changes with the type and says what to enter.

Enter files.contoso.com in Pattern.
Exclude the host that serves the file, not the whole company domain.
Put the reason and the signature name in Description.

New exclusion for files.contoso.com

One domain per line.
Sub-domains are covered too.

Click Add.
The exclusion appears in the list, enabled.

Exclusions list with files.contoso.com

The exclusion is saved but not applied yet.

4. Apply

Click apply.
The proxy writes the exclusion files and reloads its configuration.
The exclusion is active when the progress bar reaches 100 %.

Apply progress bar at 100 %

The new list is applied.

Ask the user to download the newsletter again.
No new line appears in the Events tab.

A change in the Parameters tab works differently.
The antivirus reads the scan size, the skipped types and the block page only when it starts.
Applying one of these settings therefore restarts the proxy service.

Older builds restart the proxy service when you click apply.
Downloads in progress are then interrupted.
Apply during a quiet period.
On those builds, Disable the feature does not suspend the antivirus exclusions either.

Exclusion types

Type What to enter Example Notes
Web server One domain per line. contoso.com Every sub-domain is covered, www included.
A full URL is accepted: only the host name is kept.
Web server (regex) One pattern per line. *.contoso.com * is a wildcard.
Dots are matched as plain dots.
For a real regular expression, start the line with regex:, for example regex:^cdn[0-9]+\.contoso\.com$.
Source IP address One client address per line. 192.168.1.0/24 A single IP, a network or a range such as 192.168.1.20-192.168.1.40.
Nothing these computers download is scanned.
Destination IP address One server address per line. 203.0.113.10 For a server reached by its IP address, or a whole hosting network.
An IP address entered with a domain type is handled as a destination address.
MAC Address One MAC address per line. 00:50:56:a1:b2:c3 The proxy only sees the MAC address of computers on its own network segment.
Behind a router, use the source IP address.

You can paste several lines at once.
Each line becomes a separate exclusion with the same type and description.
The form skips a line that is not a valid IP address, network or MAC address for the chosen type.

Help displayed for the Web server (regex) type

The help for the Web server (regex) type.

Manage the list

Every change needs a click on apply.

Good practice

Troubleshooting

Symptom What to check
The file is still blocked after you added the exclusion. Click apply and wait for 100 %.
Check that the entry is enabled and that the Global state card says List active.
The domain looks right but does not match. The file may come from another host, such as a CDN.
Read the exact URL in the Events tab and exclude that host.
A MAC address exclusion has no effect. The computer is behind a router.
Use its IP address.
A Web server (regex) pattern matches nothing. Dots, parentheses and question marks are taken literally.
Start the line with regex: to write a real regular expression.