Detectionmediumtest
Use Icacls to Hide File to Everyone
Detect use of icacls to deny access for everyone in Users folder sometimes used to hide malicious files
Convert In Phoenix Studio
Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.
Launch
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 Logic2 selectors
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
Unknown
False positive likelihood has not been assessed. Additional context may be needed during triage.
References
MITRE ATT&CK
Tactics
Sub-techniques
Rule Metadata
Rule ID
4ae81040-fc1c-4249-bfa3-938d260214d9
Status
test
Level
medium
Type
Detection
Created
Mon Jul 18
Modified
Mon Apr 29
Author
Path
rules/windows/process_creation/proc_creation_win_icacls_deny.yml
Raw Tags
attack.defense-evasionattack.t1564.001