Detection: Grant Permission Using Cacls Utility

Description

The following analytic identifies the use of cacls.exe, icacls.exe or xcacls.exe placing the grant permission on a file or directory. Adversaries perform this behavior to allow components of their files to run, however it allows responders to review or gaining access to adversary files on disk.

Annotations

No annotations available.

Implementation

To successfully implement this search, you need to be ingesting logs with the process name, parent process, and command-line executions from your endpoints. If you are using Sysmon, you must have at least version 6.0.4 of the Sysmon TA. Tune and filter known instances where renamed icacls.exe may be used.

Known False Positives

System administrators may use cacls utilities but this is not a common practice. Filter as needed.

Associated Analytic Story

Risk Based Analytics (RBA)

Risk Message Risk Score Impact Confidence
A cacls process $process_name$ with commandline $process$ try to grant user a permission to a file or directory in host $dest_device_id$ 35 50 70
The Risk Score is calculated by the following formula: Risk Score = (Impact * Confidence/100). Initial Confidence and Impact is set by the analytic author.

References


Version: 7