Eradication Plan - Terminate Process

This playbook is one of the sub-playbooks in the eradication plan. This playbook handles the termination of the processes as a crucial step in the eradication action. The playbook executes actions of process termination, which is a crucial step in the eradication process. The process termination can be performed based on either the process ID or the process name.

Common Playbooks · 17 tasks · 4 inputs · 1 output

Inputs

  • ProcessTermination — Choose 'PID' to terminate the process by PID or 'Name' to terminate the process by process name. Note: If neither option is selected, the process will not be terminated.
  • EndpointID — The endpoint ID to run commands over.
  • FilePath — The file path for the process termination.
  • ProcessID — The process ID to terminate.

Outputs

  • TerminatedProcessFromEndpoints — The terminated process from endpoint

Commands used

core-get-script-execution-results core-run-script-execute-commands core-run-script-kill-process setParentIncidentContext

Flowchart

Name PID yes yes Start Start Should terminate the process? Should terminate the proc... Done - Process Termination Done - Process Termination Get command result - core-get-script-execution-results Get command result core-get-script-execution-res... process termination - core-run-script-kill-process process termination core-run-script-kill-process Was the process terminated? Was the process terminated? Set terminated process per endpoint ID - Set Set terminated process pe... Set Set Deleted files per endpoint ID to the Incident context - setParentIncidentContext Set Deleted files per end... setParentIncidentContext process termination - core-run-script-execute-commands process termination core-run-script-execute-commands Get command result - core-get-script-execution-results Get command result core-get-script-execution-res... Was the process terminated? Was the process terminated? Set terminated process per endpoint ID - Set Set terminated process pe... Set Set Deleted files per endpoint ID to the Incident context - setParentIncidentContext Set Deleted files per end... setParentIncidentContext Print Error - PrintErrorEntry Print Error PrintErrorEntry Print Error - PrintErrorEntry Print Error PrintErrorEntry Set PID - Set Set PID Set Set Path - Set Set Path Set