Windows: dsacls.exe used to grant potentially over-permissive access rights

Alerts on dsacls.exe commands using /G to grant wide or permissive ACL permissions.

FreeReviewedSigma · Medium · v2
Product
windows
Category
process_creation
Author
Nasreddine Bencherchali (Nextron Systems) (SigmaHQ), DRL 1.1
Published
2022-06-20
Updated
2026-07-31
title: "Windows: dsacls.exe used to grant potentially over-permissive access rights"
id: e3e3be2d-6fa5-4b0a-8eec-8ceb5612eca0
status: test
description: This rule flags process executions of dsacls.exe where the command line includes /G and permission tokens such as GR, GE, GW, GA, WP, or WD. Granting broad or high-privilege rights can enable privilege escalation and stealthy access persistence. The detection relies on Windows process creation telemetry, specifically the image name and command-line content.
references:
  - https://ss64.com/nt/dsacls.html
  - https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-r2-and-2012/cc771151(v=ws.11)
  - https://github.com/SigmaHQ/sigma/blob/master/rules/windows/process_creation/proc_creation_win_dsacls_abuse_permissions.yml
author: Nasreddine Bencherchali (Nextron Systems), Huntrule Team
date: 2022-06-20
modified: 2023-02-04
tags:
  - attack.stealth
  - attack.t1218
logsource:
  category: process_creation
  product: windows
detection:
  selection_img:
    - Image|endswith: \dsacls.exe
    - OriginalFileName: DSACLS.EXE
  selection_flag:
    CommandLine|contains: " /G "
  selection_permissions:
    CommandLine|contains:
      - GR
      - GE
      - GW
      - GA
      - WP
      - WD
  condition: all of selection_*
falsepositives:
  - Legitimate administrators granting over permissive permissions to users
level: medium
license: DRL-1.1
related:
  - id: 01c42d3c-242d-4655-85b2-34f1739632f7
    type: derived