Project

General

Profile

Actions

Feature #6439

closed

New Transformation: to_lowercase

Added by Brandon Murphy 6 months ago. Updated 4 months ago.

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

Description

Hoping to get a to_lowercase transformation that can be combined with others. The use case is to allow for the "normalization" of a mixed case URL to lowercase. This would allow the url to be obfuscated and account for multiple variations of casing within the field.

http.uri; to_lowercase; to_sha256; content:"<sha256 digest>";


Subtasks 1 (0 open1 closed)

Feature #6612: New Transformation: to_lowercase (7.0.x backport)ClosedJeff LucovskyActions
Actions #1

Updated by Victor Julien 6 months ago

  • Status changed from New to Assigned
  • Assignee changed from OISF Dev to Jeff Lucovsky
  • Target version changed from TBD to 8.0.0-beta1

@Brandon Murphy would you see value in a "to_uppercase" as well?

@Jeff Lucovsky we can probably target 7 as well, as there should be no side effects of adding this.

Actions #2

Updated by Brandon Murphy 6 months ago

@Brandon Murphy would you see value in a "to_uppercase" as well?

I cannot currently think of any use cases for that. If it's only a trivial amount of additional work, then why not include it? I'd much rather have it and not need it than the other way around.

Actions #3

Updated by Jeff Lucovsky 6 months ago

  • Status changed from Assigned to In Progress
Actions #4

Updated by Brandon Murphy 6 months ago

just wanting to mention, this transformation could be used to address case differences between HTTP/1 and HTTP/2 assuming content matches can be updated/change to reflect the transformation behavior.

Actions #5

Updated by Jeff Lucovsky 6 months ago

@Brandon Murphy Here's a draft PR for early feedback: https://github.com/OISF/suricata/pull/9761

Actions #6

Updated by Jeff Lucovsky 5 months ago

  • Status changed from In Progress to Closed
Actions #7

Updated by Victor Julien 5 months ago

  • Status changed from Closed to Resolved
  • Label Needs backport to 7.0 added
Actions #8

Updated by OISF Ticketbot 5 months ago

  • Subtask #6612 added
Actions #9

Updated by OISF Ticketbot 5 months ago

  • Label deleted (Needs backport to 7.0)
Actions #10

Updated by Jeff Lucovsky 4 months ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF