Using Cloud Protection

KAV SDK includes Cloud Protection – the functionality which allows you to improve precision of scanning and monitoring functions by using cloud technologies provided by Kaspersky Security Network (KSN). Kaspersky Security Network is an infrastructure of online services that provides access to the online Kaspersky Lab Knowledge Base, which contains information about the reputation of files, web resources, and processes. The use of data from Kaspersky Security Network ensures faster responses by KAV SDK functions to new threats and reduces the risk of false positives. Additionally, KSN allows you to submit data about types and sources of threats to Kaspersky Lab; this data will be used by Kaspersky Lab for statistical purposes. Submitted data helps Kaspersky Labs to facilitate development of security solutions and neutralize new threats in less time thus minimizing the number of false positive scanning results.

Sharing this statistical information provides for higher detection rate of malicious traffic and other types of malicious objects that pass through your solution. Submitted information does not contain any personal or confidential information and is used by Kaspersky Lab only to enhance our security products to ensure better and prompt protection against malicious threats and viruses. Details about statistical information that is automatically submitted by running copy of Kaspersky Anti-Virus SDK to KSN are given in Doc\about data provision extended.txt file.

To improve the information protection level KAV SDK automatically transfers to KSN servers the information, described in Doc\about data provision.txt file. The Doc folder is included to KAV SDK package.

If you are using KAV SDK with Cloud Protection, but not going to provide statistical information, please take appropriate actions regarding information in Doc\about data provision.txt file, as described in the License Agreement document for KAV SDK.

If you are using KAV SDK with/without Cloud Protection and are going to submit statistical information, please take appropriate actions regarding information in Doc\about data provision extended.txt file, as described in the License Agreement document for KAV SDK.

There is no need to take any actions regarding Doc\about data provision.txt and Doc\about data provision extended.txt file documents if you are not going to use Cloud Protection or submit statistical information.

Enabling of Cloud Protection turns on additional checking of URLs and files reputation by on-demand scanning functions and monitoring functions, provided by File Monitor, Web Monitor, and Proactive Defense Monitor. You can enable or disable Cloud Protection feature by using kaveEnableKSN function in the KAV SDK API. If you are unsure if KSN features are enabled, use kaveIsEnabledKSN to check the state of Cloud Protection.

When the Cloud Protection is enabled, scanning and monitoring functions first check file or URL reputation according to offline malware definition databases and technologies. Depending on the result of offline checking KAV SDK requests the information about file or URL reputation from the cloud. The verdict obtained from the cloud has higher priority then a verdict given by offline checking. The detailed information about checking of files, URLs and processes reliability is placed in section "Scenarios of object checking via the cloud".

KAV SDK requests from your application project the connection settings to get access to the cloud. Your application project is to provide the information about proxy server usage and its settings if necessary. For detailed information refer to section "Establishing connection to the cloud".

The checking of URLs and files reputation using information from KSN is to be performed in all the KAV SDK integration models: in-process, out-of-process and service.

To enable reputation checking of files via cloud you need to set the KAV_SHT_ENGINE_KSN flag on SDK initializing. To enable checking of URLs reputation, the KAV_SHT_ENGINE_WMUF flag should be set additionally. When the KAV_SHT_ENGINE_WMUF is set and the KAV_SHT_ENGINE_KSN is disabled, URLs are only checked via offline WMUF databases. To enable Kaspersky Anti-Virus SDK to submit statistical information to KSN, specify the KAV_SHT_ENGINE_STATISTIC flag when initializing the SDK.

To reduce the amount of requests to the cloud, KAV SDK places the files and URLs reputation verdicts, obtained from the cloud, to the file and URL caches. KAV SDK saves the cloud verdicts in file and URL caches even when the cloud response was received after response timeout expiration.

You can specify the maximum memory size, allocated for the cache of file reputation verdicts.

Settings of the Cloud Protection are available via the kaveSetKsnSettings and kaveGetKsnSettings functions.

At the moment KAV SDK supports reputation checking via cloud for the following types of objects:

In future versions the set of supported formats may be changed.

KAV SDK interacts with the cloud via SSL protocol.

In this section

Scenarios of object checking via the cloud

Establishing connection to the cloud

Page top