Actions
Bug #8458
open
JL
detect/variable: warn if rules try to use byte vars before they're extracted
Bug #8458:
detect/variable: warn if rules try to use byte vars before they're extracted
Affected Versions:
Effort:
Difficulty:
Label:
Description
When a rule contains buffers with progress values that would cause a byte variable to be used before it is produced, a warning (or error?) should be flagged:
Here's an example rule. http.uri has a lower progress val and would match first but val hasn't been produced yet. file.data has a higher progress value.
alert http any any -> any any (
file.data; content:"x"; byte_extract:1,0,val,relative;
http.uri; content:"y"; byte_test:1,=,val,0;
sid:1;)
JL Updated by Jeff Lucovsky about 10 hours ago
- Related to Feature #7801: rules: support multi-buffer byte variables added
Actions