File Deletion Via Del
Last updated on:
In this page
About the rule
Rule Type
Standard
Rule Description
Detects execution of the builtin "del"/"erase" commands in order to delete files. Adversaries may delete files left behind by the actions of their intrusion activity. Malware, tools, or other non-native files dropped or created on a system by an adversary may leave traces to indicate to what was done within a network and how. Removal of these files can occur during an intrusion, or as part of a post-intrusion process to minimize the adversary's footprint.
Severity
Attention
Rule Requirement
Criteria
Action1:
actionname = "Process started" AND (PROCESSNAME endswith "\cmd.exe" OR ORIGINALFILENAME = "Cmd.Exe") AND COMMANDLINE contains "del ,erase " AND (COMMANDLINE contains " -f, /f, –f, —f, ―f" OR COMMANDLINE contains " -s, /s, –s, —s, ―s" OR COMMANDLINE contains " -q, /q, –q, —q, ―q")
select Action1.HOSTNAME,Action1.MESSAGE,Action1.COMMANDLINE,Action1.FILE_NAME,Action1.PROCESSNAME,Action1.USERNAME,Action1.PARENTPROCESSNAME,Action1.DOMAIN,Action1.ORIGINALFILENAME,Action1.PARENTPROCESSID,Action1.PROCESSID,Action1.PRODUCT_NAME,Action1.SECURITYID
Detection
Execution Mode
realtime
Log Sources
Windows
Author
frack113


