Configuring general Anti-Virus scan settings

August 21, 2023

ID 87304

You can configure general Anti-Virus scan settings. These settings apply to all message processing rules according to which the application performs Anti-Virus scanning of messages.

To configure general Anti-Virus scan settings:

  1. Export the ScanLogic task settings to an XML file using the command:

    # /opt/kaspersky/klms/bin/klms-control \

    --get-settings <ScanLogic task ID> -f <name of the settings file> or

    --get-settings ScanLogic -n -f <name of the settings file>

  2. Open the XML file of the ScanLogic task to edit the task settings.
  3. In the <avSettings> section, specify the values of the relevant Anti-Virus scan settings:
    • In the <scanTimeLimit> subsection, specify the maximum duration of Anti-Virus scanning of a message in seconds. If the message has not been scanned during the specified time, the application labels it as Corrupted – Object is damaged or an error occurred while scanning the object.

      The default maximum duration of Anti-Virus scanning of a message is 180 seconds.

    • In the <maxNestingLevel> subsection, specify the maximum nesting level of objects during Anti-Virus scanning. Nested objects include message attachments and archives packed inside other archives. For example, if the maximum object nesting level is set to 1, the application scans the message and its attachments of the first nesting level during an Anti-Virus scan. If these objects are found to contain threats, the application scans all attachments and objects of the first nesting level contained in them.

      The default maximum nesting level for objects is 32.

    • In the <useAnalyzer> subsection, specify the value 1 to enable the use of Heuristic Analyzer during Anti-Virus scanning, or 0 to disable Heuristic Analyzer.

      The use of Heuristic Analyzer is enabled by default.

    • In the <heuristicLevel> subsection, specify the level of heuristic analysis to be used during Anti-Virus scanning of messages. The following levels are available: Light, Medium, and Deep.

      The default heuristic analysis level is set to Medium.

  4. Save the changes made.
  5. Import the ScanLogic task settings from an XML file using the command:

    # /opt/kaspersky/klms/bin/klms-control \

    --set-settings <ScanLogic task ID> -f <settings file name> or

    --set-settings ScanLogic -n -f <settings file name>

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.