Execute MSDT Via Answer File

Last updated on:

About the rule

Rule Type

Standard

Rule Description

Detects execution of "msdt.exe" using an answer file which is simulating the legitimate way of calling msdt via "pcwrun.exe" (For example from the compatibility tab)

Severity

Trouble

Rule Requirement

Criteria

Action1: actionname = "Process started" AND ((PROCESSNAME endswith "\msdt.exe" AND COMMANDLINE contains "\WINDOWS\diagnostics\index\PCWDiagnostic.xml") AND COMMANDLINE contains " -af , /af ") AND PARENTPROCESSNAME notendswith "\pcwrun.exe" select Action1.HOSTNAME,Action1.MESSAGE,Action1.COMMANDLINE,Action1.FILE_NAME,Action1.PROCESSNAME,Action1.USERNAME,Action1.PARENTPROCESSNAME

Detection

Execution Mode

realtime

Log Sources

Windows

Author

Nasreddine Bencherchali (Nextron Systems)