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

UDS Regular Expression

Good Morning. I am currently defining a UDS rule to try to identify a specific type of traffic. The problem is that, despite the fact that the regex used matches correctly at regex101, the IPS is not detecting traffic with tests we are doing.

I think that some kind of definition is missing to be valid by the IPS, but I don't know. Can you help me?

Thanks in advance 😉

I have the next condition:

http-post-req-message-body matches "^[A-Za-z0-9]+[=].+" ( case-insensitive )

and I want to detect this traffic:

Q9TU15ARj=u8fYH9Y0yifyY6x8Az5%2BcWdfIIQnUQivmOWn9d9sEGRQ4eztpnnzRM154PiQXcehMiz%2FOHHLWOp2rftshkBFNoIBShXL0qjlwA2mHqBSTWmtV%2BUxkmfHpwhh%2BKIcdFDYGXZGpKkMpRaeSQU4OkMrDuwi5n0Cr9xrLChZJB8qhc%2BFVsxa8Je3rbP2AK4r35kbJvSz6A%3D%3D

 

regex101.png

 

1 Reply
Former Member
Not applicable
Report Inappropriate Content
Message 2 of 2

Re: UDS Regular Expression

NSP uses a limited implementation of SNORT, so a lot of "correct" rules won't work. Do you get an error when you import the rule to NSM? 

 

Make sure you have the rule applied to the correct interfaces, also.

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