Splunk unknown stable spl

Windows MpCmdRun RemoveDefinitions Execution

This detection identifies the execution of MpCmdRun.exe with the "-RemoveDefinitions" argument, which is used to remove definitions from the Windows Malware Protection Engine. This behavior can be significant as it might indicate potential malware activity or attempts to bypass security measures.

View Source

Detection Logic

| tstats `security_content_summariesonly` count min(_time) as firstTime max(_time) as lastTime
  from datamodel=Endpoint.Processes where
  (Processes.process_name ="MpCmdRun.exe" 
OR Processes.original_file_name = MpCmdRun.exe)
  Processes.process = "*-RemoveDefinitions *"
  by Processes.action Processes.dest Processes.original_file_name Processes.parent_process
     Processes.parent_process_exec Processes.parent_process_guid Processes.parent_process_id
     Processes.parent_process_name Processes.parent_process_path Processes.process Processes.process_exec
     Processes.process_guid Processes.process_hash Processes.process_id Processes.process_integrity_level
     Processes.process_name Processes.process_path Processes.user Processes.user_id Processes.vendor_product
| `drop_dm_object_name(Processes)`
| `security_content_ctime(firstTime)`
| `security_content_ctime(lastTime)`
| `windows_mpcmdrun_removedefinitions_execution_filter`

False Positives

  • ⚠ Administrators may execute this command for testing or auditing.

Field Validations

Loading…

Comments (0)

Loading comments...