Skip to content

Script used to export related CB events into CSV file that related to specific ProcessGUID that currently investigating.

License

Notifications You must be signed in to change notification settings

zam89/CB-Timeliner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CB Timeliner

This script is use to export related CB events into CSV file that related to specific ProcessGUID that currently investigating. It also can be use to quickly build timeline of event that been observed/detected by Carbon Black EDR.

Dependencies

  • Python3+

  • Required Python modules (via Pip):
  • requests
  • json
  • csv
  • How to Run

    1. Change url - https://<CB_Console_URL>/api/investigate/v2/orgs/<ORG_Key>/events/ with your CB Console URL
    • Make sure you put your ORG_KEY aswell
    1. Run :
    python CB_Timeliner_v0.5.py
    
    1. Enter your CB API Key & CB ProcessGUID
    2. Result will be same on script location - result_< ProcessGUID >.csv

    Screenshot

    CB Timeliner

    Output example: CB Timeliner


    How to get ProcessGUID in Carbon Black Cloud Console:
    1. Go to "Take Action" -> under "More Actions", select "Share process tree":
      CB ProcessGUID1

    2. ProcessGUID of interest is highlighted in blue as example below:
      CB ProcessGUID2

    Changelogs

    • v0.1 (04 Nov 2022): First version of the script.
    • v0.2 (05 Nov 2022): Add user input, jq via subprocess & stuff.
    • v0.3 (07 Nov 2022): Include more event_type (filemod & regmod)
    • v0.4 (08 Nov 2022): Include more event_type (crossproc, modload & netconn)
    • v0.5 (25 Dec 2022): Script reworked by ChatGPT from OpenAI. (No, seriously by AI)

    License

    MIT License. Copyright (c) 2022 Mohd Khairulazam. See License.

    About

    Script used to export related CB events into CSV file that related to specific ProcessGUID that currently investigating.

    Topics

    Resources

    License

    Stars

    Watchers

    Forks

    Languages