Windows Dsacls.EXE Password Spraying Check via /user and /passwd

Flags dsacls.exe executions that specify both /user: and /passwd:, consistent with password spraying attempts.

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 Password Spraying Check via /user and /passwd
id: 8781ffa2-9664-470e-a6b0-0972e52a6d58
status: test
description: Identifies process executions of dsacls.exe where the command line includes both a target user (/user:) and a password value (/passwd:). This combination aligns with scripted attempts to probe directory authentication using multiple credentials, which can precede or enable password spraying. Telemetry required includes Windows process creation events with the executable path/name and full command-line arguments.
references:
  - https://www.ired.team/offensive-security-experiments/active-directory-kerberos-abuse/using-dsacls-to-check-ad-object-permissions#password-spraying-anyone
  - 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_password_spray.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_cli:
    CommandLine|contains|all:
      - "/user:"
      - "/passwd:"
  condition: all of selection*
falsepositives:
  - Legitimate use of dsacls to bind to an LDAP session
level: medium
license: DRL-1.1
related:
  - id: bac9fb54-2da7-44e9-988f-11e9a5edbc0c
    type: derived