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!

EDR: How to Pull a List of Computers and Tamper Protection Passwords

EDR: How to Pull a List of Computers and Tamper Protection Passwords

Environment

  • EDR Server:  7.4 and higher
  • EDR Windows Sensor: 7.2 and higher
  • Windows 10 v1703 (Desktop) and higher
  • Windows Server 2016 v1709 (Windows build 15163) and higher

Objective

How to get a list of computers and their associated tamper protection passwords

Resolution

  1. Log into the EDR server terminal session
  2. Run the following command to create a csv report
    psql -p 5002 cb -c "COPY(SELECT sr.computer_name, sr.id, sg.name as sensor_group, tp.password, ss.last_checkin_time FROM sensor_groups sg JOIN tamper_protection_history tp ON sg.id = tp.group_id JOIN sensor_registrations sr ON sr.group_id = tp.group_id JOIN sensor_status ss ON ss.id = sr.id WHERE ss.last_checkin_time >= current_timestamp -(interval '24 hour') ORDER BY sr.computer_name) to '/tmp/tamper_report.csv' with CSV HEADER"

Additional Notes

  • Duplicates may be seen, this can mean there were duplicate computer name entries with different sensor id's or a new tamper password was generated for the sensor group the sensor was changed into, in that case each password associated with the sensor id should be tried.
  • If a sensor was moved into another group but did not check in with the server, the password will not be correct in this report. Try the other sensor group passwords if you do not know the last group the sensor resided in. 
  • If a sensor group was deleted, the history for the tamper passwords is removed.
  • If the tamper passwords do not work or have been removed due to a deleted group, please follow these  EDR: Tamper Protection Password History is Currently Removed when the Group is Deleted

Related Content


Labels (2)
Tags (3)
Was this article helpful? Yes No
No ratings
Article Information
Author:
Creation Date:
‎02-29-2024
Views:
93
Contributors