Dynamic CSharp Compile Artefact
Last updated on:
In this page
About the rule
Rule Type
Standard
Rule Description
When C# is compiled dynamically, a .cmdline file will be created as a part of the process. Certain processes are not typically observed compiling C# code, but can do so without touching disk. This can be used to unpack a payload for execution
Severity
Attention
Rule Requirement
Criteria
Action1: actionname = "File Created or Modified" AND FILENAME endswith ".cmdline" OR OBJECTNAME endswith ".cmdline" select Action1.HOSTNAME,Action1.MESSAGE,Action1.USERNAME,Action1.DOMAIN,Action1.OBJECTNAME,Action1.FILENAME,Action1.PROCESSNAME
Detection
Execution Mode
realtime
Log Sources
Windows
Author
frack113


