Suspicious Ping/Del Command Combination

Last updated on:

About the rule

Rule Type

Standard

Rule Description

Detects a method often used by ransomware. Which combines the "ping" to wait a couple of seconds and then "del" to delete the file in question. Its used to hide the file responsible for the initial infection for example

Severity

Trouble

Rule Requirement

Criteria

Action1: actionname = "Process started" AND COMMANDLINE contains " -n , /n , –n , —n , ―n " AND COMMANDLINE contains "Nul" AND (COMMANDLINE contains " -f , /f , –f , —f , ―f " OR COMMANDLINE contains " -q , /q , –q , —q , ―q ") AND (COMMANDLINE contains "ping" AND COMMANDLINE contains "del ") select Action1.HOSTNAME,Action1.MESSAGE,Action1.COMMANDLINE,Action1.FILE_NAME,Action1.PROCESSNAME,Action1.USERNAME,Action1.PARENTPROCESSNAME

Detection

Execution Mode

realtime

Log Sources

Windows

Author

Ilya Krestinichev