A scanning mode defines types of objects to be checked against malware and other options that can be used while scanning. For example, scanning of archived files can be turned on or off, or heuristic code analyzer can be enabled or disabled.
The scanning mode to be used by the scanning function or monitor is determined by a value of the dwScanningMode variable. This value is a bitwise OR combination of the options listed in the table below.
Scanning mode options
Scanning option |
Description |
|---|---|
|
Scanning of compressed executable files is on. |
|
Scanning of archived files is on. In current version of the SDK, the KAV Engine will automatically add the
This option is not supported for real time scanning of files with File Monitor component. When this flag is specified in File Monitor settings, scanning of archived files is not performed by the monitoring component, instead scanning of compressed executable files toggles on. Specifying the Scanning of nested archives is supported only for their nesting level does not exceed the value set by the |
|
Placing original copies of infected objects before curing or deletion to the backup storage is on. On detection of infected compound object (an archive, packed object, email message, or mail base) the copy of entire object is placed to the backup storage, not the infected part only. This flag can be used by the following scanning functions and modules:
|
|
Scanning of email messages is on. Setting this scanning option enables support for the following formats of plain email message files:
|
|
Scanning of email database files is on. Setting this scanning option enables support for the following formats of mail databases:
Please note that some files in Berkley Message Base (BMB) format are not necessary emails but may likely be log files stored on some UNIX servers, which are often BMB-encoded. When using this scanning option, please make sure to exclude such log files from the scanning location or scanning may take longer time. This option is not recommended for real time scanning as this can significantly affect system performance. |
|
The iChecker acceleration mechanism is on. The iChecker technology is only supported on Windows platform. You must not use this flag on Unix-like platforms. The flag only affects the This technology is aimed at increasing the scan speed by excluding certain objects from the scan. If the object has been already scanned, anti-virus database is not outdated, and no changes are made to the object and to the scan settings, this object will be skipped while scanning. If at least one of the above conditions is not met, for example new file is added to the scanned archive, the object will be scanned again. There are limitations to the iChecker algorithm. It does not operate with files of large size, and can be applied only to the files of specific formats which are known to the KAV Engine. Supported file types are but not limited to: EXE, DLL, LNK, TTF, INF, SYS, COM, CHM, ZIP, RAR. Accelerating technologies are implemented in a special driver, so this option is supported only when the |
|
The iSwift acceleration mechanism is on. The iSwift technology is only supported on Windows platform. You must not use this flag on Unix-like platforms. If the computer is using the NTFS file system, enabling the The iSwift technology is a development of the iChecker technology for the NTFS file system. This method can be applied only to the objects in NTFS file system, and it is bound to a specific location of the file. Accelerating technologies are implemented in a special driver, so this option is supported only when the |
|
Scanning of NTFS alternate data streams is on. This option flag is automatically used at the initialization of File Monitor component. Whenever File Monitor is used, there is no need to specify this flag explicitly when initializing the component. Make sure to turn on this scanning mode when integrating KAV SDK on a desktop Windows platforms. This option is ignored for Linux-based solutions. |
|
Turns on Advanced Disinfection scanning mechanism. This functionality allows disinfection of active malware that is currently working on the computer being scanned. This applies to the malware detected when disinfecting objects that were intercepted while performing the following operations:
This option is supported only when the
This option is ignored for Linux-based solutions. |
|
This option is used for the |
|
This option is used for the |
|
Turns on the Skip signed mode. In this mode, KAV SDK overrides scan results for signed files. If KAV SDK detects an infected file, and this file has a valid digital signature, the file is marked as clean. The digital signature must be issued by Microsoft. This scanning mode is required when integrating KAV SDK on desktop Windows platforms. Please make sure to include the HIPS2 KAV SDK component in your build when using this mode. See The The Following on-demand scanning functions support this scanning mode:
This option is used only in Windows solutions. |
|
Advanced heuristic code analyzer is on. This analyzer is based on improved detection technology; the scanning level will be shallow. The level of detail of the advanced heuristic analyzer provides the balance between quality of the scan for new threats and the load on operating system resources, as well as the duration of the scan. The resources, as well as the duration of the scan. The higher the advanced heuristics level is, the more system resources the scan will require, and the longer it will take. This option is recommended both for on demand scanning and file monitoring. |
|
Advanced heuristic code analyzer is on. This analyzer is based on improved detection technology; the scanning level will be medium. The level of detail of the advanced heuristic analyzer provides the balance between quality of the scan for new threats and the load on operating system resources, as well as the duration of the scan. The higher the advanced heuristics level is, the more system resources the scan will require, and the longer it will take. For file monitoring, it is recommended to turn off this option as this can significantly affect system performance. |
|
Advanced heuristic code analyzer is on. This analyzer is based on improved detection technology; the scanning level will be detailed. The level of detail of the advanced heuristic analyzer provides the balance between quality of the scan for new threats and the load on operating system resources, as well as the duration of the scan. The higher the advanced heuristics level is, the more system resources the scan will require, and the longer it will take. This option is recommended for POP3 monitoring, but this can affect system performance. For file monitoring, it is recommended to turn off this option. |
|
This flag allows you to turn on a thoroughgoing heuristic analysis mode in KAV Engine that empowers your application with an even more tricky heuristic emulation of files and other objects you are scanning. Enabling this scanning mode provides for superior detection rate by implementing the maximum possible depth of heuristic emulation. Extremely thorough heuristic emulation is offered in exchange for scanning performance. Using this scanning mode may result in significant scanning performance degradation. Please consult with your Technical Account Manager (TAM) before using this flag for scanning in your application. |
|
This flag can only be used with File Monitor. To use this flag make sure Blocking of potentially dangerous software is on. You may consider to avoid using this flag to eliminate the possibility of a user losing access to a file that is potentially dangerous. When this flag is specified, the File Monitor blocks access to the file detected as |
|
Enables scanning of every requested URL address. When a web page is opened in a web browser, its web address is verified against the Web Malicious Url Filtering (WMUF) database. This includes web addresses requested from the browser application and URL addresses of web pages requested in the web page being opened. If a used opens a web page that contains a script or an iFrame requesting another web address, both the address of the source web page and embedded URL addresses are verified against WMUF. |
|
Enables scanning of multipacked files using Kaspersky cloud. Multipacked files such as archive files or self-extracting archives packed multiple times or files with embedded OLE objects may be scanned in the Kaspersky KSN cloud service. When this flag is specified in the In-cloud scanning serves as an additional measure of malware detection. The If scanning using local definitions found a threat, KAV SDK re-scans the object in cloud even if When status of scanning of the object by using local definition database is Please use the This mode is available in the following API, depending on the scanning type you are using.
|
|
Enables partner scan function in File monitor, Web monitor and Mail monitor. For more information, see Using partner scan function. |
|
Enables Phishing protection in Web Monitor. To enable Web Monitor to scan web addresses by phishing database, set this flag in the bit mask configured in |
To enable using any of the scanning options, assign it to the value of the dwScanningMode variable. Options can be specified in any order.
For example, if the dwScanningMode variable has the following value:
dwScanningMode = KAV_O_M_ARCHIVED | KAV_O_M_PACKED;
this means that archives and compressed executable files will be scanned; all other scanning mode options are disabled.
There are recommended values for the dwScanningMode variable.
For on demand scanning in the Windows-based solutions, it is the following:
dwScanningMode = KAV_O_M_PACKED | KAV_O_M_ARCHIVED | KAV_O_M_MAILPLAIN | KAV_O_M_ICHECKER | KAV_O_M_ISWIFT | KAV_O_M_HEURISTIC_LEVEL_SHALLOW | KAV_O_M_NTFS_ADS
For monitoring file activity in the Windows-based solutions that use File Monitor component the recommended scanning mode setting is:
dwScanningMode = KAV_O_M_PACKED | KAV_O_M_ICHECKER | KAV_O_M_ISWIFT | KAV_O_M_HEURISTIC_LEVEL_SHALLOW
Page top