Actions
Bug #2570
closedSignature affecting another's ability to detect and alert
Description
While creating some signatures I stumbled across an odd issue where when the first signature below doesn't allow the second one to detect the traffic in a pcap. The second signature alone can detect and generate an alert as long as the first one is commented out.
alert tcp $EXTERNAL_NET any -> $HOME_NET 5054 (msg:"Affects the second one!"; flow:established,to_server; content:"/something/else/"; sid:1111111; rev:1;)
alert tcp $EXTERNAL_NET any -> $HOME_NET 5054 (msg:"Affected by the 1st one!"; flow:established,to_server; content:"/goform/activate"; http_uri; pcre:"/(?:actserver|akey)=[^&]{500}/"; sid:2222222; rev:1;)
I tried narrowing it down to try and figure out what's going on. These were tested on both Ubuntu 16.04 running 4.0.5 and Ubuntu 18.04 running 4.1rc1.
Changes to sid:111111;- Changed the content matches to something completely different - no affect
- Changed it from tcp to http - no affect
- Changed the port - Allow the second one to alert
- Add http_uri; - Allows the second one to alert
- Added U to the pcre modifier - Allows the second one to alert
- Remove http_uri; from signature - Allows the second one to alert
Files
Actions