Project

General

Profile

Actions

Feature #8179

open

dcerpc.opnum: doesn't support operators >,<,!,=

Added by Alexander Stadnikov 7 days ago. Updated 7 days ago.

Status:
Assigned
Priority:
Normal
Target version:
Effort:
low
Difficulty:
Label:
Beginner, Good First Issue

Description

Recently our networking analysts found out that dcerpc.opnum and it's sibling dce_opnum don't support operators >,<,!,=

Suricata prints the error "Error parsing dce_opnum option in signature" while parsing rule:

alert tcp any any -> any any (msg:"CVE-2024-38073"; sid:200; rev:1; flow:to_server,established; dcerpc.opnum:>1;)

The rule might be easily replaced by:

alert tcp any any -> any any (msg:"CVE-2024-38073"; sid:200; rev:1; flow:to_server,established; dcerpc.opnum:2-65535;)

It seems the keyword is important and if it's a real problem then a Redmine ticket could be found but I didn't find anything related to it.
I think it's the documentation issue.

All operators might be easily replaced by precise numbers and/or ranges.

I checked also the implementation and I see the functionality was never present.


Related issues 1 (1 open0 closed)

Related to Suricata - Task #6644: tracking: detect: integer as first-class supportIn ProgressPhilippe AntoineActions
Actions

Also available in: Atom PDF