Project

General

Profile

Actions

Bug #4286

open

FN occurs when using negated isdataat with http_cookie keyword

Added by Jason Taylor 8 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Affected Versions:
Effort:
Difficulty:
Label:

Description

Given a sample of traffic such as:

GET /somestuff HTTP/1.1
Accept: */*
Cookie: id=234524dst35e
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0000; Windows NT 5.1; SV1)
Host: google.com

We would expect the following to work:

alert http $HOME_NET any -> $EXTERNAL_NET any (flow:established,to_server; content:"id="; depth:3; isdataat:!13,relative; http_cookie;)

However, the rule does not fire as expected in any of the 4.0.x, 4.1.x, 5.x versions I tested on.

If we switch the rule to use http.cookie, the rule works as expected.


Related issues

Is duplicate of Bug #2479: http_cookie negation fails if no cookie in trafficNewOISF Dev04/05/2018Actions
Actions #1

Updated by Philippe Antoine 6 months ago

  • Is duplicate of Bug #2479: http_cookie negation fails if no cookie in traffic added
Actions

Also available in: Atom PDF