{"id":"4ae81040-fc1c-4249-bfa3-938d260214d9","title":"Use Icacls to Hide File to Everyone","description":"Detect use of icacls to deny access for everyone in Users folder sometimes used to hide malicious files","author":"frack113","status":"test","level":"medium","date":"2022-07-18","modified":"2024-04-29","tags":["attack.stealth","attack.t1564.001"],"technique_ids":["T1564.001"],"logsource":{"category":"process_creation","product":"windows"},"falsepositives":["Unknown"],"references":["https://app.any.run/tasks/1df999e6-1cb8-45e3-8b61-499d1b7d5a9b/"],"source_path":"rules/windows/process_creation/proc_creation_win_icacls_deny.yml","source_sha256":"75635a9dce8b3db18d9e156461dfe97f8d9faba54fd5974bce312bbe3b2a952b","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/process_creation/proc_creation_win_icacls_deny.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Use Icacls to Hide File to Everyone\nid: 4ae81040-fc1c-4249-bfa3-938d260214d9\nstatus: test\ndescription: Detect use of icacls to deny access for everyone in Users folder sometimes used to hide malicious files\nreferences:\n    - https://app.any.run/tasks/1df999e6-1cb8-45e3-8b61-499d1b7d5a9b/\nauthor: frack113\ndate: 2022-07-18\nmodified: 2024-04-29\ntags:\n    - attack.stealth\n    - attack.t1564.001\nlogsource:\n    category: process_creation\n    product: windows\ndetection:\n    selection_icacls:\n        - OriginalFileName: 'iCACLS.EXE'\n        - Image|endswith: '\\icacls.exe'\n    selection_cmd: # icacls \"C:\\Users\\admin\\AppData\\Local\\37f92fe8-bcf0-4ee0-b8ba-561f797f5696\" /deny *S-1-1-0:(OI)(CI)(DE,DC)\n        CommandLine|contains|all:\n            - '/deny'\n            - '*S-1-1-0:'\n    condition: all of selection_*\nfalsepositives:\n    - Unknown\nlevel: medium\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1564.001","id":"T1564.001","name":"Hidden Files and Directories","page":"techniques/enterprise/T1564.001/"}],"data_path":"data/detection-rules/4ae81040-fc1c-4249-bfa3-938d260214d9.json","kind":"sigma"}
