Project

General

Profile

Actions

Feature #1231

closed
VJ JI

ssl_state negation support

Feature #1231: ssl_state negation support

Added by Victor Julien almost 12 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Effort:
Difficulty:
Label:

Description

This doesn't currently work:

ssl_state:!client_hello;

VJ Updated by Victor Julien over 11 years ago Actions #1

  • Assignee changed from Victor Julien to Jason Ish
  • Target version changed from 3.0RC2 to 2.0.5

JI Updated by Jason Ish over 11 years ago Actions #2

There is an incompatibility in the SSL app layer that prevents negation from working properly. The Suricata SSL states flags is an accumulation of states seen. So if we go from CLIENT_HELLO to SERVER_HELLO, both flags are set in the state. This prevents ssl_state:!client_hello from matching while in SERVER_HELLO.

It appears that Snort does not accumulate the states like Suricata does, so a rule with ssl_state:client_hello will not match while SERVER_HELLO, but it will match in Suricata.

VJ Updated by Victor Julien over 11 years ago Actions #3

  • Target version changed from 2.0.5 to 3.0RC2

Looks like this is more complicated than initially thought, moving to 2.1

VJ Updated by Victor Julien over 10 years ago Actions #4

  • Target version changed from 3.0RC2 to 70

JI Updated by Jason Ish over 9 years ago Actions #5

  • Status changed from Assigned to Closed
  • Target version changed from 70 to 3.2

VJ Updated by Victor Julien over 9 years ago Actions #6

  • Target version changed from 3.2 to 3.2beta1
Actions

Also available in: PDF Atom