Sigma rule: Use Icacls to Hide File to Everyone

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-333b1bfcaaca, updated 2024-04-29T00:00:00.000Z.

Rule

Title
Use Icacls to Hide File to Everyone
Status
test
Level
medium
Author
frack113
Date
2022-07-18
Modified
2024-04-29
File
rules/windows/process_creation/proc_creation_win_icacls_deny.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detect use of icacls to deny access for everyone in Users folder sometimes used to hide malicious files

Log source

product
windows
category
process_creation

Detection

selection_icacls:
    - OriginalFileName: 'iCACLS.EXE'
    - Image|endswith: '\icacls.exe'
selection_cmd: # icacls "C:\Users\admin\AppData\Local\37f92fe8-bcf0-4ee0-b8ba-561f797f5696" /deny *S-1-1-0:(OI)(CI)(DE,DC)
    CommandLine|contains|all:
        - '/deny'
        - '*S-1-1-0:'
condition: all of selection_*

False positives (as the rule lists them)

  • Unknown

Tags

  • attack.stealth
  • attack.t1564.001

MITRE ATT&CK ids this rule names

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_icacls_deny.yml

Sources and licences

  • SigmaHQ

    "Use Icacls to Hide File to Everyone" by frack113 (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_icacls_deny.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: Use Icacls to Hide File to Everyone",
entity page, dataset version ref-333b1bfcaaca, updated 2024-04-29T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/4ae81040-fc1c-4249-bfa3-938d260214d9 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 4ae81040-fc1c-4249-bfa3-938d260214d9, 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.