Potential Defense Evasion via Hidden Files

Last updated on:

About the rule

Rule Type

Standard

Rule Description

Detects the events where the attrib.exe tool is used to hide files on the system.

Severity

Critical

Rule Requirement

Criteria

Action1: actionname = "Process started" AND ((PROCESSNAME endswith "attrib.exe" OR ORIGINALFILENAME contains "attrib") AND (COMMANDLINE notcontains "+R" AND COMMANDLINE notcontains "-R" AND COMMANDLINE notcontains "+S" AND COMMANDLINE notcontains "-S" AND COMMANDLINE notcontains "+A" AND COMMANDLINE notcontains "-A" AND COMMANDLINE notcontains ".cui" AND COMMANDLINE notcontains ".ini") AND (COMMANDLINE contains "+h" OR COMMANDLINE contains "-h")) select Action1.HOSTNAME,Action1.MESSAGE,Action1.COMMANDLINE,Action1.FILE_NAME,Action1.PROCESSNAME,Action1.USERNAME,Action1.PARENTPROCESSNAME

Detection

Execution Mode

realtime

Log Sources

Windows