Detectionmediumtest

Potentially Over Permissive Permissions Granted Using Dsacls.EXE

Detects usage of Dsacls to grant over permissive permissions

Open in Detection LabConvert ruleBuild Package
Nasreddine BencherchaliCreated 2022-06-20Updated 2023-02-0401c42d3c-242d-4655-85b2-34f1739632f7windows
Log Source
WindowsProcess Creation
ProductWindows← raw: windows
CategoryProcess Creation← raw: process_creation

Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.

Detection Logic
Detection Logic3 selectors
detection:
    selection_img:
        - Image|endswith: '\dsacls.exe'
        - OriginalFileName: "DSACLS.EXE"
    selection_flag:
        CommandLine|contains: ' /G '
    selection_permissions:
        CommandLine|contains: # Add more permissions as you see fit in your environment
            - 'GR'
            - 'GE'
            - 'GW'
            - 'GA'
            - 'WP'
            - 'WD'
    condition: all of selection_*
False Positives

Legitimate administrators granting over permissive permissions to users

Rule Metadata
Rule ID
01c42d3c-242d-4655-85b2-34f1739632f7
Status
test
Level
medium
Type
Detection
Created
2022-06-20
Modified
2023-02-04
Path
rules/windows/process_creation/proc_creation_win_dsacls_abuse_permissions.yml
Raw Tags
attack.stealthattack.t1218
View on GitHub