Splunk Dev

Encrypt password on python script

mcgrathd
New Member

I am running the CISCO IPS app which requires a username / password to login to the IPS. This is specified in the inputs.conf and cleartext when you view the process:

ps -ef produces .../get_ips_feed.py username password sensorip interval

I would like to encrypt or hide this - possible??

Tags (4)
0 Karma

andrew_garvin
Path Finder

This was addressed in the latest version of the Splunk for Cisco IPS app. It is encrypted in the inputs.conf config file and not present in the process listing. I highly recommend you upgrade and then remove and re-add your IPS devices.

0 Karma

bmacias84
Champion

Other portions of Splunk use base64 encoding to obfuscate passwords. I would modify get_ips_feed.py to user a base64.

0 Karma
Get Updates on the Splunk Community!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...