Carbon Black Cloud: Why Do Some Powershell Events Show the .ps1 Script as the Process Name?
search cancel

Carbon Black Cloud: Why Do Some Powershell Events Show the .ps1 Script as the Process Name?

book

Article ID: 292110

calendar_today

Updated On:

Products

Carbon Black Cloud Endpoint Standard (formerly Cb Defense) Carbon Black Cloud Enterprise EDR (formerly Cb Threathunter)

Issue/Introduction

Why do some events in the Carbon Black console show PowerShell.exe as the process, and other events show the .ps1 script name as the process?

Environment

  • Carbon Black Cloud Sensor: 3x
  • Microsoft Windows:  All Versions

Resolution

If both the Enterprise EDR (formerly known as Threat Hunter) and the Endpoint Standard (formerly known as Defense) features are enabled, this can/will occur.

The Endpoint Standard component of the sensor is designed to present the script name as the process when PowerShell runs a .ps1 file, in order to make it easier for a security analyst to see the behavior without drilling down into the event.

The Enterprise EDR (EEDR) component of the sensor does not perform the name replacement of the process like Endpoint Standard does. 

Additional Information

As a workaround, add the following search term to the watchlist IOC/search to only show or not show the enhanced data:

Enhanced:true -- only show the events that have the PowerShell script name as the process
Enhanced:false -- only show the events that show PowerShell as the process.