IMPORTANT ANNOUNCEMENT: On May 6, 2024, Carbon Black User eXchange (UeX) and Case Management will move to a new platform!
The Community will be in read-only mode starting April 19th, 7:00 AM PDT. Check out the blog post!
You will still be able to use the case portal to create and interact with your support cases until the transition, view more information here!

Endpoint Standard: How to determine the last 'On Demand Scan' information

Endpoint Standard: How to determine the last 'On Demand Scan' information

Environment

  • Carbon Black Cloud Windows Sensor: 3.3.x.x and Higher
  • Microsoft Windows: All Supported Versions

Objective

Retrieve info from a Device relating to the last On Demand Scan request made (Time & Folder/Directory)

Resolution

On Sensor versions 4.0.0 and later:
  1. Log into the machine using an account with administrator-level access or a RepCLI Authenticated user.
  2. From Command Prompt, run the following commands.
    repcli ondemandscan /ScanHistory
    repcli ondemandscan /ScanResults=InsertScanIDValueHere
On Sensor versions 3.9.2 and earlier:
  1. Event Viewer logs pertaining to On-Demand Scan can be checked locally or via Live Response using the following PowerShell command.
    Get-EventLog -LogName application -Newest 1 -Message "*completed ondemand*" | Format-Table -Wrap -AutoSize
  2. This command returns the Time, Date & Message info of the last On Demand scan requested from the Windows Application Log. Example:
    Index 	Time	 EntryType 		Source			InstancelD 	Message
    24410 Aug 11 07:42 Information CbDefense 1073872913 The description for Event ID '1073872913' in Source 'CbDefense' cannot be found.  The local computer may not have the necessary registry information or message DLL files to display the message, or you may not have permission to access them.  The following information is part of the event:'CbDefense', 'Carbon Black Cloud Sensor completed OnDemand file scan (C:\TestFolder)'
  3. Or locally via Application Logs in Windows Event Viewer using the steps below.
  4. Use CTRL+F and search for 'OnDemand'
  5. The first result found will be the most recent/last On Demand scan request and will contain the Timestamp & Folder/Directory Info (Example below), Event ID 17 (More than 1 entry shares this Event ID, but if 'OnDemand' is searched for, it will return this Event ID too)
    Information: Carbon Black Cloud Sensor completed OnDemand file scan (C:\TestFolder)

Related Content


Was this article helpful? Yes No
No ratings
Article Information
Author:
Creation Date:
‎08-31-2021
Views:
2432
Contributors