Skip to content

Use CyberArk's Telemetry tool for On-prem only, and send the data to your SIEM

License

Notifications You must be signed in to change notification settings

aglerj/TelemetryTool2SIEM

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TelemetryTool2SIEM

Modified and improved based on CyberArk's Telemetry tool, and jcreameriii's TelemetryTool2CSV script - /~https://github.com/jcreameriii/TelemetryTool2CSV

Purpose: To use CyberArk's Telemetry tool for On-prem environments only (don't send data to CyberArk), and instead send the data to your SIEM.

Updates: 6/2/2023 - Joe Agler - Adjusted to send to SIEM via syslog and create the required folders automatically if they don't exist.

Prerequisites: Your SIEM configured to ingest the syslog data we're sending. For example, listen on port 9997, and send those events into index=cyberark . It depends on how your SIEM environment is configured.

Step 1: Download the CyberArk Telemetry tool

  • Download, extract and run Install the CyberArk Telemetry Tool to the default path on your utility server. When installing, do not provide a CyberArk key etc related to the Telemetry install.

Step 2: Update the config.json file under ConfigFiles

"outputAdapters": [ { "name": "JsonFileOutputAdapter", "type": "CyberArk.Telemetry.Output.File.JsonFileOutputAdapter, CyberArk.Telemetry.Output.File", "enabled": true, "adapterSettings": {"outputFilePath": "Output\telemetryData_#date#.json"} } ]

Step 3: Download and update the Script

#Update to use your Syslog VIP IP here $Syslogserver="192.168.65.200"

#Update to use your syslog port $port = "9997"

Step 4: Staging the Script

  • Stage the updated PowerShell script on the utility server that runs your CyberArk Telemetry Tool scheduled task. On that machine, navigate to the default CyberArk Telemetry folder (C:/Program Files/CyberArk/CyberArk Telemetry). Paste the updated PowerShell script within the ETL folder.

Step 5: Modify the Scheduled Task

  • Launch task scheduler and edit the CyberArk Telemetry task by right clicking on it and selecting properties. Under the Actions tab, add a new action to launch the PowerShell script. Program/script: powershell Add arguments (optional): -NoProfile -NoLogo -NonInteractive -ExecutionPolicy Bypass -File "C:\Program Files\CyberArk\CyberArk Telemetry\ETL\TelemetryToolETL.ps1" Press OK.

Step 6: Run the Scheduled Task on-demand

  • Right click on the scheduled task and run on-demand. Wait for the scheduled task to finish.

Step 7: Checking the output

  • Log into your SIEM. Wait a few minutes for the events to be indexed. Search your related SIEM index, such as index=cyberark | search "CyberArk Telemetry".

Example data in your SIEM: image

Example SIEM formats to help with your field extractions:

TelemetryPlatforms -

$DateTime CEF:0|CyberArk Telemetry|$MonitorType|$Version|$platformdetailsPolicyID|$platformdetailsPlatformBaseID|$platformdetailsPlatformBaseType|$platformdetailsPlatformBaseProtocol|$platformdetailsCompliantAccounts|$platformdetailsTotalAccounts|$platformdetailsIsActive|$platformdetailsDate

TelemetryComponents -

$DateTime CEF:0|CyberArk Telemetry|$MonitorType|$Version|$componentsComponentType|$componentsVersion|$componentsDeployed|$componentsLicensed|$componentsDate

TelemetryUsers -

$DateTime CEF:0|CyberArk Telemetry|$MonitorType|$Version|$usersUserType|$usersLicensedUsers|$usersAllocatedUsers|$usersDate

TelemetryAppIDs -

$DateTime CEF:0|CyberArk Telemetry|$MonitorType|$Version|$appidsUserType|$appidsLicensedUsers|$appidsAllocatedUsers|$appidsDate

TelemetryAccounts -

$DateTime CEF:0|CyberArk Telemetry|$MonitorType|$Version|$accountsTotalAccounts|$accountsTotalCompliantAccounts|$accountsDayAccountsSecretShow|$accountsWeekAccountsSecretShow|$accountsMonthAccountsSecretShow|$accountsYearAccountsSecretShow|$accountsDayAccountsSecretConnect|$accountsWeekAccountsSecretConnect|$accountsMonthAccountsSecretConnect|$accountsYearAccountsSecretConnect

About

Use CyberArk's Telemetry tool for On-prem only, and send the data to your SIEM

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PowerShell 100.0%