In the application settings window, select Advanced Threat Protection → Behavior Detection.
Behavior Detection settings
Select the relevant action in the Protection of shared folders against external encryption block:
Block connection forNmin. (from 1 to 43800). If this option is selected and Kaspersky Endpoint Security detects an attempt to modify files in shared folders, it takes the following actions:
Blocks access to file modification for the session that initiated the malicious activity (the file will be read-only).
Creates backup copies of files that are being modified.
Notify. If this option is selected and Kaspersky Endpoint Security detects an attempt to modify files in shared folders, it takes the following actions: