- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Enhanced Security Measures in Place: To ensure a safer experience, we’ve implemented additional, temporary security measures for all users.
02-28-2019 02:19 AM - edited 02-28-2019 02:21 AM
good day,
i know that answer might be simple but cannot find correct approach.
I have an application which identified as unknown-TCP and i have created pattern for it with few conditions.
now I have discovered that some devices behave different way and my pattern order not match, so I think to identify app based on first string in ASCII format.
for instance, I have following string in pcap:
My Agent 2.43 pour MSWIN32.
if i create such pattern as unknown-rsp-tcp-payload, it works. But I would like to avoid issue in case of other version for application, but when I use new pattern:
My Agent \d\.[\d]{0,}\s pour MSWin32
it fails to apply.
if I will convert everything to HEX, I am afraid to be depended on version number...
I am new to regex and would like to understand how to create these custom app-id, so please help.
02-28-2019 03:50 AM
I'd give this a whirl
My Agent [0-9]\.[0-100] pour MSWin32
check out this areticlefor more information about RegEx
02-28-2019 04:01 AM
Thankyou for reply!
returnes: can't handle two dfas next to each other in pattern
however, I have converted it to hex to exclude version from it, so now I have 2 HEX parts which I am trying to put in conditions...
probable it will work after I find how to add them normally.
🙂
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!