On-access URL reputation checking

This section describes the scenario of URL reputation checking by Web Monitor with usage of Cloud Protection. The sequence of the URL reputation checking is the following:

  1. Web Monitor gets new URL for checking. Web Monitor checks the URL according to offline WMUF databases and at the same time requests URL reputation check from the cloud. The request is performed asynchronously.
  2. If the verdict, returned by checking via offline WMUF database, is Danger or Clear, checking of the URL reputation finishes.

    If the verdict, returned by checking in offline WMUF database, is Unknown, KAV SDK requests the cloud verdict from the cache.

  3. If the cloud verdict from the cache is Danger or Clear, checking of the URL reputation is finished.
  4. If there is no cloud verdict in the cache, or TTL of the verdict has expired, or the verdict is Unknown, KAV SDK runs http-request to get a webpage by the URL.
  5. KAV SDK waits for an http-responce for the requested webpage. If the cloud verdict will be received before http-response, the next actions are the following:
    • If the cloud verdict is Danger, KAV SDK generates the EVENT_PREDETECT event and requests the verdict confirmation from your application project:
      • If the verdict is not confirmed, KAV SDK continues waiting of the http-response.
      • If the verdict is confirmed, KAV SDK terminates the http-response and generates the EVENT_SUSPECTED event. The KDT_MALICIOUS_URL and KDD_HIGH values are passed in the dwParam1 and dwParam2 parameters of the callback function.
    • If the cloud verdict is Clear, or Unknown, or the request failed, KAV SDK continues waiting of http-responce. KAV SDK generates the EVENT_OK with the KDT_SAFE_URL value passed in the dwParam1 parameter of the callback function.

      Note that this event may be raised with some delay, after notification about the objects found on the requested web page is obtained.

The cloud verdict may be received when the requested webpage is already loaded. If the received verdict is Danger you need to process this result on your own (for example, reload the requested webpage with notification about dangerous content). KAV SDK generates the EVENT_SUSPECTED event and the KDT_MALICIOUS_DELAYED_URL and KDD_HIGH values are passed in dwParam1 and dwParam2 parameters of callback function.

Page top