Loading

Audit Handle Manipulation

Some detection rules require monitoring handle manipulation to detect unauthorized access attempts or suspicious interactions with system objects. Enabling this setting helps improve security visibility by tracking when handles to objects (such as files, registry keys, or processes) are opened or modified.

Caution: Enabling this audit policy can generate a high volume of events. Evaluate the audit policy in a group of servers to measure volume and filter unwanted events before deploying in the entire domain.

To enable Audit Handle Manipulation across a group of servers using Active Directory Group Policies, administrators must enable the Audit Handle Manipulation policy. Follow these steps to configure the audit policy via Advanced Audit Policy Configuration:

Computer Configuration >
Windows Settings >
Security Settings >
Advanced Audit Policy Configuration >
Audit Policies >
Object Access >
Audit Handle Manipulation (Success,Failure)
		

To enable this policy on a local machine, run the following command in an elevated command prompt:

auditpol.exe /set /subcategory:"Handle Manipulation" /success:enable /failure:enable
		

When this audit policy is enabled, the following event IDs may be generated:

  • 4658: The handle to an object was closed.
  • 4690: An attempt was made to duplicate a handle to an object.

Use the following GitHub search to identify rules that use the events listed:

Elastic Detection Rules Github Repo Search