Detection of suspicious objects in KAV_CLEAN_DELETE cleaning mode

This section describes what happens in the situation when the scanning function is called with the KAV_CLEAN_DELETE cleaning mode and the suspicious object is detected.

The stateflow for this mode when dealing with suspicious objects slightly differs from that of infected object. Infected object are detected by some known criteria which provide the KAV Engine a basis to disinfect this object. Knowledge to detect provides the knowledge to disinfect. Suspicious objects are detected by heuristic analysis. These objects cannot be disinfected because the KAV Engine does not have data necessary to successfully disinfect these objects.

When a suspicious object is detected by a scanning function started in KAV_CLEAN_DELETE mode, the KAV SDK returns EVENT_CLEAN_FAILED event to the callback function. After that, the KAV SDK attempts to delete suspicious object. If for some reason this suspicious file cannot be deleted, callback function is invoked with the EVENT_ERROR event. Otherwise, the callback function gets called with EVENT_DELETED event stating that suspicious file has been sucessfully deleted.

Please notice that there is no EVENT_DISINFECTED event passed to the callback function compared to the stateflow with processing detectable objects.

For any of the cleaning modes the EVENT_PREDETECT callback event always arises before the detection events. It enables to cancel further scanning of the object by using the corresponding callback function return code.

The diagram below demonstrates the sequence of callback function calls.

Detection of suspicious objects in KAV_CLEAN_DELETE

Detection of suspicious objects in KAV_CLEAN_DELETE cleaning mode

Page top