In the application settings window, select Advanced Threat Protection → Behavior Detection.
Behavior Detection settings
Select the relevant action in the On detecting malware activity block:
Delete file. If this item is selected, on detecting malicious activity Kaspersky Endpoint Security deletes the executable file of the malicious application and creates a backup copy of the file in Backup.
Terminate the application. If this item is selected, on detecting malicious activity Kaspersky Endpoint Security terminates this application.
Notify. If this item is selected and malware activity of an application is detected, Kaspersky Endpoint Security adds information about the malware activity of the application to the list of active threats.