Project

General

Profile

Actions

Feature #1194

open

Implement http_args keyword to match http arguments - query string or body

Added by Anoop Saldanha almost 10 years ago. Updated about 5 years ago.

Status:
New
Priority:
Normal
Target version:
Effort:
medium
Difficulty:
low
Label:

Description

We can use a http_args keyword that would match on the "name = value"
pairs of http arguments from the query string or from the body.


Related issues 1 (1 open0 closed)

Related to Suricata - Feature #2487: Buffers for field/value pairs in http_uri and http_client_bodyNewOISF DevActions
Actions #1

Updated by Anoop Saldanha almost 10 years ago

The idea is to make this a sticky buffer. Does that sound fine?
Currently all the http keywords are modifiers. Would that be an
issue with regard to consistency on how other http keywords behave?

Actions #2

Updated by Victor Julien almost 10 years ago

Can you give some rule examples?

Actions #3

Updated by Anoop Saldanha almost 10 years ago

alert tcp any any -> any any (http_args; content:"argument"; sid:1;)
alert tcp any any -> any any (http_args; content:"argument"; pcre:"/argument1"/; sid:1;)

Similarly, other content keywords can be used.

To use other modifier keywords or sticky buffer, one would have to use pkt_data.

alert tcp any any -> any any (http:args; content:"argument"; pcre:"/argument1/";
pkt_data; content:"uri"; http_uri; sid:1;)

Actions #4

Updated by Andreas Herz over 7 years ago

  • Assignee changed from Anoop Saldanha to OISF Dev
Actions #5

Updated by Victor Julien over 5 years ago

  • Assignee changed from OISF Dev to Anonymous
  • Priority changed from Low to Normal
  • Effort set to medium
  • Difficulty set to low
Actions #6

Updated by Andreas Herz about 5 years ago

  • Assignee set to Community Ticket
Actions #7

Updated by Victor Julien over 4 years ago

  • Related to Feature #2487: Buffers for field/value pairs in http_uri and http_client_body added
Actions

Also available in: Atom PDF