Depending on user's computer environment, on-demand or on-access scanning (using File Monitor monitoring functions) may require special techniques aimed to successfully eliminate threats. Active infection is a case that poses additional risks. This is a type of infection where the end-user's operating system is already infected by the time the user starts on-demand scanning. Malware that infected the computer may continue to run in kernel mode hiding itself from being intercepted by anti-virus, an action typical for rootkit malware (see section "Detection types and severity"). This active malware may also prevent scanning functions from effectively disinfect files affected by malware. While active the malware may try to avoid detection of infected files implemented in scanning functions by placing hooks on operating system's API, locking files and registry keys. Active malware may also try to modify file system objects or registry keys that have already been disinfected by user-initiated on-demand scanning or by File Monitor.
The KAV SDK implements Advanced Disinfection technology that provides counter measures allowing to successfully address active infection. The Advanced Disinfection technology can be triggered by invoking one of the scanning function with the dwScanningMode parameter set to KAV_O_M_ADVDIS (see section "Scanning modes").
During the Advanced Disinfection runtime, KAV SDK removes all the infected objects that were detected by KAV Engine similar to KAV_DELETE mode. Upon the deletion, KAV SDK blocks any writing attempts to files located in the same folders as the deleted infected object. Blocking writing protects these files from being modified by active malware after they were disinfected.
Writing attempts are blocked for any non-trusted processes performing writing to protected files.
Writing is blocked by filtering protected files using the hardcoded list of extension masks: *.com, *.exe, *.dll, *.dpl, *.sys, *.ocx, *.efi, *.drv, *.ini, *.cmd, *.bat, *.nls. This blocking is performed during disinfection while KAV SDK is scanning startup object list and system memory. Additional blocking is made for writing attempts made to registry keys that were modified during system memory and startup objects scan.
Page top