cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
ppineda
Level 8
Report Inappropriate Content
Message 1 of 8

Correlation rule match regex or contains

Jump to solution

Hi, I'm working with ESM 10.2

I want to do a correlation rule that triggers when the field "Process_Name" has a value of example firefox, chrome or iexplore. but I'm unable to make it work.

Example:

Process_Name: C:\PROGRAM FILES (X86)\GOOGLE\CHROME\APPLICATION\CHROME.EXE

regex(*/chrome/i*)  to do case insensitive and the rest of the string

but it says error when rollout.Capture.PNGNeed Help please

 

 

 

Labels (3)
1 Solution

Accepted Solutions
David1111
Reliable Contributor
Reliable Contributor
Report Inappropriate Content
Message 2 of 8

Re: Correlation rule match regex or contains

Jump to solution

Hi

Sorry but your REGEX is not to effective..

try this:

(?i).*chrome.*

hope it helps

Best regards!

View solution in original post

7 Replies
David1111
Reliable Contributor
Reliable Contributor
Report Inappropriate Content
Message 2 of 8

Re: Correlation rule match regex or contains

Jump to solution

Hi

Sorry but your REGEX is not to effective..

try this:

(?i).*chrome.*

hope it helps

Best regards!

View solution in original post

ppineda
Level 8
Report Inappropriate Content
Message 3 of 8

Re: Correlation rule match regex or contains

Jump to solution

Thanks

I'll give it a try and let you know what happens.

David1111
Reliable Contributor
Reliable Contributor
Report Inappropriate Content
Message 4 of 8

Re: Correlation rule match regex or contains

Jump to solution

Hi ppineda

intrested if it workes.

please updeate the result

Best regards!

David

ppineda
Level 8
Report Inappropriate Content
Message 5 of 8

Re: Correlation rule match regex or contains

Jump to solution

Sorry for the wait.

I can confirm that it fired an event.

Capture.PNG

Capture2.PNG

 

David1111
Reliable Contributor
Reliable Contributor
Report Inappropriate Content
Message 6 of 8

Re: Correlation rule match regex or contains

Jump to solution

Thank you very much

Best regsards.

Re: Correlation rule match regex or contains

Jump to solution

Hi Sir,

I tried to write a regex for not contains.

This regex is working on Search but not on Corelation Rule.

This is my regex  Service_Name regex  ^((?!MpKs).)*$

My string is MpK1asd123

Do you have any suggestion for it?

 

Thanks

Regards

Re: Correlation rule match regex or contains

Jump to solution

Hi,

I have the same issue, integrating regex on correlation rule field.

In filter it is working but in correlation rule field its not. I need a DOES NOT CONTAIN REGEX.of test.com.ph on "FROM" field

This is my code: ^((?!test\x2ecom\x2eph).)*$

Any suggestion for this?

Would appreciate any response.

Thanks.

 

You Deserve an Award
Don't forget, when your helpful posts earn a kudos or get accepted as a solution you can unlock perks and badges. Those aren't the only badges, either. How many can you collect? Click here to learn more.

Community Help Hub

    New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

  • Find Forum FAQs
  • Learn How to Earn Badges
  • Ask for Help
Go to Community Help

Join the Community

    Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

  • Get helpful solutions from McAfee experts.
  • Stay connected to product conversations that matter to you.
  • Participate in product groups led by McAfee employees.
Join the Community
Join the Community