Detection rules › Sigma

Use Icacls to Hide File to Everyone

Severity
medium
Author
frack113
Source
upstream

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

MITRE ATT&CK coverage

TacticTechniques
Defense EvasionT1564.001 Hide Artifacts: Hidden Files and Directories

Event coverage

ProviderEvent IDTitle
Sysmon1Process creation

Stages and Predicates

Stage 1: all of selection_icacls

or:
Image|endswith: '\icacls.exe'
OriginalFileName: iCACLS.EXE

Stage 2: all of selection_cmd

CommandLine|contains: '*S-1-1-0:'
CommandLine|contains: '/deny'

Indicators

Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.

FieldKindValues
CommandLinematch
  • *S-1-1-0:
  • /deny
Imageends_with
  • \icacls.exe
OriginalFileNameeq
  • iCACLS.EXE