Use Icacls to Hide File to Everyone

Last updated on:

About the rule

Rule Type

Standard

Rule Description

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

Severity

Trouble

Rule Requirement

Criteria

Action1: actionname = "Process started" AND (ORIGINALFILENAME = "iCACLS.EXE" OR PROCESSNAME endswith "\icacls.exe") AND (COMMANDLINE contains "/deny" AND COMMANDLINE contains "S-1-1-0:") select Action1.HOSTNAME,Action1.MESSAGE,Action1.COMMANDLINE,Action1.FILE_NAME,Action1.PROCESSNAME,Action1.USERNAME,Action1.PARENTPROCESSNAME

Detection

Execution Mode

realtime

Log Sources

Windows

Author

frack113