Specific regex for windows titles (folder path) is not caught by PTA/ISI.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

Specific regex for windows titles (folder path) is not caught by PTA/ISI.

L3 Networker

Hi everyone,

 

I tried few regex for windows title but didn't work.

I want PTA to detect specifically C:/Users/administrator.DOMAIN/Downloads/chromedriver-win64 , and give a suspend response.

 

Here's the detected windows titles:

 

Field_Content_versions_oct20__068Vy00001TTljvIAD.png 

The regex I created (didn't work at all):

Field_Content_versions_oct20__068Vy00001TUgOsIAL.png 

The regex that actually works: (.*)chromedriver-win64(.*) it works but it didn't read the exact full path.

Any ideas or tricks for this?

 

Thanks.

1 REPLY 1

L3 Networker

update, this regex works:

(.*)C:\\\\Users\\\\administrator\.DOMAIN\\\\Documents\\\\chromedriver-win64(.*)

 

this also works if you need to define OR, so it detects both folder "chromedriver-win64" OR "chromedriver-win86"

(.*)C:\\\\Users\\\\administrator\.DOMAIN\\\\Documents\\\\chromedriver-win(64|86)(.*)

 

Now my concern is, what if the user copied the folder to a different location, or renamed the folder 😪

  • 46 Views
  • 1 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!