T1222.001 · Windows Permissions

Windows File and Directory Permissions Remove Inheritance

  • Windows
  • Behavioral Signal

About this detection

The following analytic detects the removal of permission inheritance using ICACLS. This analytic identifies instances where ICACLS is used to remove permission inheritance from files or directories. The /inheritance:r flag, which strips inherited permissions while optionally preserving or altering explicit permissions, is monitored to detect changes that may restrict access or establish isolated permission configurations. Removing inheritance can be a legitimate administrative action but may also indicate an attempt to conceal malicious activity or bypass inherited security controls.

Sysmon event coverage

  • ProcessCreate

Sysmon XML

Download XML

Loading configuration…