The disinfection mechanism implemented in the Advanced Disinfection mode relies on the following:
KLBG driverThe ARK and QSCAN component are part of the anti-virus database, and both can be updated with the typical anti-virus database update. This database is an integral part of the KAV SDK, necessary for the KAV Engine to initialize and work properly. The anti-virus database contains recent changes to malware definitions and mechanisms that allow the KAV Engine to properly eliminate the detected malware.
The QSCAN component is updated on a timely basis. This component contains the information necessary for the KAV Engine to handle startup objects registered in operating system. If this component of the anti-virus database is not loaded, the Advanced Disinfection mechanism will not run the startup object scan. In this case, the EVENT_ERROR callback event appears. The KAV_E_MOD_NOT_FOUND return code trapped by the KAV Engine is sent to the callback function. For more details on the callback function, see section "Callback function".
If the QSCAN component database is missing, scanning of infected object, boot sectors and system memory will still be performed.
The ARK component implements the functionality that allows the KAV Engine to intercept malware access to system memory, registry and file system, including modifications of the boot sector.
Interception of malicious actions is a part of the procedure performed by Active Disinfection mechanism for elimination of active malware. The active malware may prevent the KAV Engine from disinfecting affected files or registry values on-the-fly in the current session.
For the disinfection to be possible, the KAV Engine has to reset the sessions currently opened in the operating system and regain access to the affected files or registry keys before any malware could block the KAV Engine's access to them.
To workaround the problem with denial of access inherent to live disinfection, the KLBG driver has been developed. This driver handles the second part of the disinfection mechanism. Malicious files, registry keys and values, which were created by malware, and cannot be removed in the current session, are marked for further deletion. The KAV Engine notifies your application about the need to restart the computer by returning the EVENT_REBOOTNEEDED value to the dwEvent parameter of the callback handler function. On reboot, the KLBG driver boots before any other devices and device drivers are initialized. When started, the KLBG driver initializes the process of removing the malicious files and registry objects marked for deletion in the previous session. For more information, see section "Drivers".