Turning on QSCAN Cleanup

As part of procedure to eliminate cure-resistant active infection, Active Disinfection mechanism invokes QSCAN cleanup. QSCAN cleanup is a quick rootkit scanning and elimination procedure that helps disinfect active infection and rootkits.

Unlike many disinfection procedures that, in case of complex infections, may not be as effective as special cleanup, QSCAN cleanup features security methods that allow you to disinfect locked malicious files. When the file is locked, only a single process or user account is allowed to access this file at a time. There are multiple methods how the file can be locked including but not limiting to specifying file sharing access, setting file permissions, flushing file ACL or using LockFile API. Malware often uses file locking to actively counteract the KAV Engine attempts to delete it.

For the QSCAN cleanup procedure to work, QSCAN component settings must be imported to Windows registry, see "Managing QSCAN state" later in this section.

Before removing infected file KAV Engine starts cleanup procedure provided by QSCAN component. The QSCAN cleanup procedure searches links to the found infected file and removes them when they are found.

Managing QSCAN state

For the cleanup functionality to start properly, it must be turned on in Windows registry. If necessary, you can manually turn on or off the cleanup procedure that invokes the functionality implemented in the QSCAN component using the cleanup registry files shipped with the KAV SDK. If you turn off the QSCAN component, cleanup procedure will not be used when it is invoked. The procedure can be invoked either from within the Advanced Disinfection procedure or from a scanning function such as kaveScanFile.

If the QSCAN cleanup functionality is turned on and a QSCAN component is missing from the set of files in the malware definition database, KAV SDK returns the KAV_E_MOD_NOT_FOUND error on the initialization stage. It this case QSCAN cleanup procedure does not start. For more information about initialization of the KAV SDK, see section "Initializing".

To turn on the cleanup functionality and use the QSCAN component:

Page top