Sigma rule: PowerShell Set-Acl On Windows Folder

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-3c0eb8a75781, updated 2022-10-18T00:00:00.000Z.

Rule

Title
PowerShell Set-Acl On Windows Folder
Status
test
Level
high
Author
Nasreddine Bencherchali (Nextron Systems)
Date
2022-10-18
File
rules/windows/process_creation/proc_creation_win_powershell_set_acl_susp_location.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects PowerShell scripts to set the ACL to a file in the Windows folder

Log source

product
windows
category
process_creation

Detection

selection_img:
    - OriginalFileName:
          - 'PowerShell.EXE'
          - 'pwsh.dll'
    - Image|endswith:
          - '\powershell.exe'
          - '\pwsh.exe'
selection_cmdlet:
    CommandLine|contains|all:
        - 'Set-Acl '
        - '-AclObject '
selection_paths:
    # Note: Add more suspicious paths
    CommandLine|contains:
        - '-Path "C:\Windows'
        - "-Path 'C:\\Windows"
        - '-Path %windir%'
        - '-Path $env:windir'
selection_permissions:
    # Note: Add more suspicious permissions
    CommandLine|contains:
        - 'FullControl'
        - 'Allow'
condition: all of selection_*

False positives (as the rule lists them)

  • Unknown

Tags

  • attack.stealth

Related rules

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_powershell_set_acl_susp_location.yml

Sources and licences

  • SigmaHQ

    "PowerShell Set-Acl On Windows Folder" by Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_powershell_set_acl_susp_location.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: PowerShell Set-Acl On Windows Folder",
entity page, dataset version ref-3c0eb8a75781, updated 2022-10-18T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/0944e002-e3f6-4eb5-bf69-3a3067b53d73 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 0944e002-e3f6-4eb5-bf69-3a3067b53d73, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.