Actions
Feature #5576
open
AH
PA
Dataset is setting data despite the signature being a complete match
Feature #5576:
Dataset is setting data despite the signature being a complete match
Effort:
Difficulty:
Label:
Description
The following rule doesn't match on the content of the pcap:
alert http any any -> $HOME_NET any (msg:"HTTP learning"; flow:established,to_client; http.content_type; content:"noone"; http.server; content:"ECS"; fast_pattern; dataset:set,http,type string,state output/http.intel; sid:2; rev:1; priority:2;)
But the data for the dataset is still set. This is not expected if we compare datasets to behave like flowbits at that point. A flowbit is only set POSTMATCH, so dataset should as well when setting actual data to a set.
Attached pcap to reproduce it.
Suricata-Verify test will follow
Files
AH Updated by Andreas Herz over 3 years ago
VJ Updated by Victor Julien over 3 years ago
The set-alert pattern is used to match on the initial set.
EL Updated by Eric Leblond over 3 years ago
- Status changed from Assigned to In Review
- Assignee changed from Shivani Bhardwaj to Eric Leblond
Code proposal for master: https://github.com/OISF/suricata/pull/8114
PA Updated by Philippe Antoine over 1 year ago
- Assignee changed from Eric Leblond to Philippe Antoine
- Target version changed from TBD to 8.0.0-beta1
Taking this over from https://github.com/OISF/suricata/pull/8123
PA Updated by Philippe Antoine over 1 year ago
- Status changed from In Review to In Progress
PA Updated by Philippe Antoine over 1 year ago
- Related to Security #7195: datasets: rule with unset makes suricata abort added
PA Updated by Philippe Antoine over 1 year ago
- Related to Bug #7197: detect/flowvars: persist if the inspection happens on multiple packets added
PA Updated by Philippe Antoine over 1 year ago
- Status changed from In Progress to In Review
PA Updated by Philippe Antoine over 1 year ago
- Related to Bug #7326: http: FN with prefilter if the first of multi buffer did not match added
VJ Updated by Victor Julien 12 months ago
- Target version changed from 8.0.0-beta1 to 8.0.0-rc1
SB Updated by Shivani Bhardwaj 10 months ago
- Target version changed from 8.0.0-rc1 to 8.0.0
VJ Updated by Victor Julien 10 months ago
- Target version changed from 8.0.0 to 9.0.0-beta1
Will consider backport to 8 based on complexity of the fix.
PA Updated by Philippe Antoine 9 months ago
- Tracker changed from Bug to Feature
- Affected Versions deleted (
6.0.8)
PA Updated by Philippe Antoine 7 months ago
- Blocks Story #7900: 9.0.0: rules: improve rule language added
Actions