Getting Data In

How to find unencrypted passwords in my logs by using one anchor pattern?

Kk
Path Finder

Hi All, I was trying to find the unencrypted passwords in my logs by using one anchor pattern. After getting the password value by anchor pattern, I have to check whether it is encrypted or not. In my logs the encyption is done by using asterisk(*) symbol. So, It has been difficult for me to differentiate between user entered password and encrypted password as user password can also have the asterisk(*) symbol. There are no prior requirements for the passwords like atleast 1Uppercase, 1 lowercase etc.. The Password will have no min length.

Passwords can be like:

1. 1234556687

2. RonnieAlex

3. Tyler@123

4. #%@cosmic123

5. A***B*V*****U**Y***(Encrypted password in my log) 

Help me with the regex that matches all the above cases.

Thx in advance

Labels (3)
0 Karma
Get Updates on the Splunk Community!

Infographic provides the TL;DR for the 2024 Splunk Career Impact Report

We’ve been buzzing with excitement about the recent validation of Splunk Education! The 2024 Splunk Career ...

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...