Project

General

Profile

Actions

Bug #6191

closed

if protocol dcerpc first packet type is Alter_context, it will not parse dcerpc

Added by INTER xz 11 months ago. Updated 10 months ago.

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

Description

When i use a dcerpc pcap, the first packet type is Alter_context, and next packet is Alter_context_resp. In this case, Suricata will not parse this pcap file.Because engine thought first packet is a response, and error is occurred.

file location is rust/src/dcerpc/dcerpc.rs:1337,
let is_request = hdr.hdrtype 0x00;

modify it as:
let is_request = hdr.hdrtype 0x00 || hdr.hdrtype == 0x0e;

it fix.


Files

opcda.pcap (12.9 KB) opcda.pcap INTER xz, 06/30/2023 09:37 AM

Subtasks 1 (0 open1 closed)

Bug #6236: if protocol dcerpc first packet type is Alter_context, it will not parse dcerpc (6.0.x backport)ClosedShivani BhardwajActions
Actions

Also available in: Atom PDF