Selecting objects to be scanned

March 25, 2022

ID 18346

By default, Kaspersky Anti-Virus scans databases located in the data directory (including subdirectories). In accordance with the scan settings, Kaspersky Anti-Virus generates a list of documents to be scanned and then scans the Rich Text and MIME fields of each document, all attached objects, including archives, and embedded OLE objects. You can disable scanning of the listed objects as required.

When scanning multi-volume archives, Kaspersky Anti-Virus processes each of them as a separate object. Malicious code can be detected only if it is wholly contained in one of these volumes. If code is divided into parts across several volumes, it cannot be detected during scanning. Therefore, it is recommended that multi-volume archives be scanned after being saved on the hard drive by the Anti-Virus application on the computer.

To select objects for anti-virus scanning of databases:

  1. Select the profile whose settings you want to edit.
  2. In the action panel click the Modify button and in the control panel select the Database scanning tab.
  3. On the General tab in the Object protection section, select the objects to scan. To do so, select the following check boxes:
    • Attachments. Kaspersky Anti-Virus scans all files attached to the document.
    • OLE objects. Kaspersky Anti-Virus scans all OLE objects embedded in the document.
    • RTF and MIME fields. Kaspersky Anti-Virus scans document fields in Rich Text and MIME format.

    If the check box is cleared, the relevant objects are not scanned.

  4. In the Scan objects by mask field, set masks for the names of the database files that will be scanned by Kaspersky Anti-Virus.

    You can specify several file name masks separated by the ";" symbol. Use the following symbols to create a mask:

    • * – an arbitrary string of characters of any length. For example, when the abc* mask is entered the application does not scan files whose name begins with the abc sequence: abc.exe, abc1.com, abc2.rar.
    • ? – any single character. For example, if the mask is set to abc?.exe, no file whose name begins with abc followed by one other character after c will be scanned: abc1.exe. However, the file abc12345.exe will not be scanned.

    The value * or *.* is specified by default, which means that databases with any names are scanned.

  5. Select the Scan subfolders check box if you want Kaspersky Anti-Virus to scan database files located in subfolders of the data directory down to the lowest level of the hierarchy.

    If you want Kaspersky Anti-Virus to scan only database files located in the root of the data directory, clear the Scan subfolders check box.

    You can also specify a mask for scanning folders taking into account the path where the database is located:

    • If the path is not specified in the mask, all databases whose names match the mask in all folders are scanned. For example, when the m*.nsf mask is entered, all databases whose names begin with an "m" are scanned.
    • If the path is specified in the mask and the Scan subfolders check box is selected, the databases are scanned in the specified folder and in its subfolders in accordance with the specified mask. For example, when the DATA/Acme/m*.nsf mask is entered and the Scan subfolders check box is selected, the application scans all databases whose name begins with an "m" and which are located in the Acme folder and its subfolders.
    • If the path is specified in the mask and the Scan subfolders check box is cleared, the application scans only databases in the specified folder. For example, when the DATA/Acme/m*.nsf mask is entered and the Scan subfolders check box is cleared, the application scans all databases whose name begins with an "m" and which are located in the Acme folder. The application does not scan databases in subfolders of the Acme folder.
  6. In the Exclude from scanning field, specify the names of the databases to be excluded from the scan. You can specify several values using the ";" symbol to separate them. Only the Quarantine database (kavquarantine.nsf) is excluded from the scan by default.
  7. In the action panel, click the Apply button to save the changes. To restore the default settings, click the Restore defaults button.

Did you find this article helpful?
What can we do better?
Thank you for your feedback! You're helping us improve.
Thank you for your feedback! You're helping us improve.