[Snort-devel] byte_extract addition?
Ed Borgoyn (eborgoyn)
eborgoyn at ...3461...
Thu Oct 9 14:44:04 EDT 2014
Thank you for the Snort improvement recommendation. Of your two options, I would vote to add an ADDER modifier to byte_extract to accompany the MULTIPLIER modifier.
I will vet the concept with the team. If appropriate I will place it on the Snort new feature list. (And provide you with the proper attribution.)
Ed Borgoyn, The Snort Development Team @Cisco
From: Mike Cox <mike.cox52 at ...2499...<mailto:mike.cox52 at ...2499...>>
Date: Thursday, October 9, 2014 at 1:22 PM
To: "snort-devel at lists.sourceforge.net<mailto:snort-devel at ...362....net>" <snort-devel at lists.sourceforge.net<mailto:snort-devel at ...2763...rge.net>>
Subject: [Snort-devel] byte_extract addition?
I have come across a few situations in the past few weeks where it would be useful to be able to do simple addition in rules without having to write a SO rule. I know that Snort has the byte_extract functionality and you can provide a multiplier value to the extracted bytes before it gets stored in the variable. However, Are there any plans or thoughts that would allow addition (similar to multiplier) of static values (or variables from byte_extract) that would be applied to the extracted bytes before being stored in the variable?
Or could byte_test be expanded to include simple addition? For example, a byte_test that checks if extracted_value1 > extracted_value2 + 12.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Snort-devel