Proactive Defense actions

A Proactive Defense Monitor (PDM) event notification code describes the situation to which the application can be supposed to react. In case the callback function is invoked with any PDM event, the dwParam1 parameter value contains information on the action performed by the KAV Engine in response to this event. Depending on the PDM action, the KAV SDK expects different return codes for the callback function. For more information, see section "Proactive Defense events".

There are no PDM actions in the current KAV SDK version for Linux-based solutions.

The table below lists values that could be returned in the dwParam1 parameter of the callback function.

Proactive Defense actions

Name

Description

PDM_ACTION_DETECT

The KAV SDK has detected a suspicious activity.

PDM_ACTION_DETECT_DENIABLE

The KAV SDK has detected a suspicious activity and returning CLBK_DENY value is supported.

This PDM action is a special value indicating that CLBK_DENY return value can be sent back from the callback function as a response to the Proactive Defense event raised.

PDM_ACTION_ROLLBACK

Triggers rollback operation depending on the callback function code returned. If callback function returns the CLBK_ROLLBACK code, the PDM will try to rollback the actions made by malware. These actions include changes made to file system, registry and system activity. If latter is the case, the PDM has trapped the malware after it performed actions on the file system or registry. File system activity includes actions like creating files and folders, whereas registry actions include creating registry keys and their values.

PDM_ACTION_ROLLBACK_SUCCEEDED

The SDK has successfully performed rollback for the changes recognized as suspicious.

PDM_ACTION_ROLLBACK_FAILED

The SDK could not perform rollback of the suspicious changes in the system.

PDM_ACTION_TERMINATE_FAILED

The SDK could not terminate a process recognized as suspicious.

PDM_ACTION_PROCESS_TERMINATED

The SDK has successfully terminated a process recognized as suspicious.

PDM_ACTION_UNKNOWN

Unknown suspicious action; never appears in the course of normal functioning.

PDM_ACTION_LAST

This value does not refer to any suspicious activity; it can be used for error tracking.

Page top