Project

General

Profile

Actions

Bug #5242

closed
JL

Bug #5220: detect/base64_data: fast_pattern shouldn't be allowed

fast_pattern specification in base64_data shouldn't be allowed (6.0.x backport)

Bug #5242: fast_pattern specification in base64_data shouldn't be allowed (6.0.x backport)

Added by Jeff Lucovsky about 4 years ago. Updated about 2 years ago.

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

Description

It seems that specifying a fast_pattern in base64_data is ignored both from an error/warning standpoint and from an actual fast_pattern assignment by suricata. It seems suricata should warn/fail on fast_pattern assignment in base64_data.

rule example:

alert http $HOME_NET any -> $EXTERNAL_NET any (flow:established,to_server; http.method; content:"POST"; http.request_body; base64_decode:bytes 28; base64_data; content:"something"; fast_pattern; classtype:bad-unknown; sid:123; rev:1;)

suricata.log:

[52155] 29/3/2022 -- 20:20:41 - (detect-engine-loader.c:354) <Info> (SigLoadSignatures) -- 1 rule files processed. 1 rules successfully loaded, 0 rules failed

rules_fast_pattern.log:

== Sid: 123 ==
alert http $HOME_NET any -> $EXTERNAL_NET any (flow:established,to_server; http.method; content:"POST"; http.request_body; base64_decode:bytes 28; base64_data; content:"something"; fast_pattern; classtype:bad-unknown; sid:123; rev:1;)
    Fast Pattern analysis:
        Fast pattern matcher: http request method (http_method)
        Flags: None
        Fast pattern set: no
        Fast pattern only set: no
        Fast pattern chop set: no
        Original content: POST
        Final content: POST

suricata version:
This is Suricata version 7.0.0-dev (99b344336 2022-03-25)

JL Updated by Jeff Lucovsky about 4 years ago Actions #1

  • Copied from Bug #5220: detect/base64_data: fast_pattern shouldn't be allowed added

VJ Updated by Victor Julien almost 4 years ago Actions #2

  • Target version changed from 6.0.6 to 6.0.7

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

  • Target version changed from 6.0.7 to 6.0.8

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

  • Target version changed from 6.0.8 to 6.0.9

SB Updated by Shivani Bhardwaj over 3 years ago Actions #5

  • Status changed from New to Rejected

SB Updated by Shivani Bhardwaj over 3 years ago Actions #6

  • Status changed from Rejected to New
  • Parent task set to #5220

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

  • Subject changed from fast_pattern specification in base64_data shouldn't be allowed to fast_pattern specification in base64_data shouldn't be allowed (6.0.x backport)

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

  • Target version changed from 6.0.9 to 6.0.10

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

  • Target version changed from 6.0.10 to 6.0.11

VJ Updated by Victor Julien about 3 years ago Actions #10

  • Target version changed from 6.0.11 to 6.0.12

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

  • Target version changed from 6.0.12 to 6.0.13

VJ Updated by Victor Julien almost 3 years ago Actions #12

  • Target version changed from 6.0.13 to 6.0.14

VJ Updated by Victor Julien over 2 years ago Actions #13

  • Target version changed from 6.0.14 to 6.0.15

VJ Updated by Victor Julien over 2 years ago Actions #14

  • Target version changed from 6.0.15 to 6.0.16

VJ Updated by Victor Julien about 2 years ago Actions #15

  • Target version changed from 6.0.16 to 6.0.17

VJ Updated by Victor Julien about 2 years ago Actions #16

  • Status changed from New to Rejected
  • Assignee deleted (OISF Dev)
  • Target version deleted (6.0.17)

Rejecting as 6.0.x is now in extended support and EOL in 6 months.

Actions

Also available in: PDF Atom