Project

General

Profile

Actions

Bug #463

closed

Suricata not fire on http reply detect if request are not http

Added by rmkml rmkml almost 12 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

Hi,
ok Im continue my Suricata testing, first, send this traffic (Secure...) on http connection:
telnet www.microsoft.com 80 # sorry
Trying 65.55.57.80...
Connected to www.microsoft.com.
Escape character is '^]'.
C->S: Secure * Secure-HTTP/1.4
S->C: HTTP/1.1 400 Bad Request
...
-> ok Im send unknown "Secure" http method and wrong uri and bad http version...

next, use only two Suricata signatures:
not fire:
alert tcp any 80 -> any any (msg:"test1"; flow:to_client,established; content:"400"; http_stat_code; classtype:web-application-attack; sid:11; rev:1;)
fire:
alert tcp any 80 -> any any (msg:"test2"; flow:to_client,established; content:" 400 Bad Request"; nocase; classtype:web-application-attack; sid:12; rev:1;)

ok: http request side are not http
but http reply side are http: why suricata not fire please? (of course snort fire with same sigs)

Tested on suricata git at 16 May 2012. same results with v1.2.1.
Joigned a pcap for example.
Regards
Rmkml


Files

http400.pcap (1.13 KB) http400.pcap rmkml rmkml, 05/19/2012 03:36 PM
Actions #1

Updated by Anoop Saldanha almost 12 years ago

  • Assignee set to Anoop Saldanha

Would be fixed with our protocol detection improvements

Actions #2

Updated by Victor Julien almost 12 years ago

  • Target version set to 1.4
Actions #3

Updated by Victor Julien over 11 years ago

  • Status changed from New to Assigned
  • Target version changed from 1.4 to 1.4beta3
Actions #4

Updated by Victor Julien over 11 years ago

  • Target version changed from 1.4beta3 to 1.4rc1
Actions #5

Updated by Victor Julien over 11 years ago

  • Target version changed from 1.4rc1 to 2.0rc2
Actions #6

Updated by Anoop Saldanha over 10 years ago

  • Status changed from Assigned to Closed
  • Target version changed from 2.0rc2 to 2.0beta2
Actions

Also available in: Atom PDF