ESET Online Help

Search English
Select the topic

Working with command line

Sometimes, filecoder malware uses a legitimate program to encrypt and delete user files. RAR archiver can be such a program, so we want to create a rule to monitor the execution of the RAR archiver with specific parameters used to encrypt the archive file and delete source files.

Rules

Things to notice in the rule example above:

1.CommandLine property is used with condition contains to select only specific parameters and leave the rest of the command line arbitrary.

2.Conditions are combined with logical operators OR and AND to achieve the desired outcome.