Project

General

Profile

Actions

Bug #4232

closed

Protocol detection evasion enip-SMB

Added by Philippe Antoine almost 4 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Target version:
Affected Versions:
Effort:
Difficulty:
Label:
Needs backport, Needs backport to 5.0, Needs backport to 6.0

Description

Found by oss-fuzz
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=28388

Problem is that rs_smb_probe_tcp uses search_smb_record. which searches a SMB record at any position
Before this record, there might be another valid protocol such as ENIP

Why is not parse_nbss_record_partial good enough ?


Files

input.pcap (340 Bytes) input.pcap SMB detected Philippe Antoine, 01/21/2021 11:13 AM
input2.pcap (330 Bytes) input2.pcap ENIP detected on shorter payload Philippe Antoine, 01/21/2021 11:13 AM

Related issues 2 (0 open2 closed)

Copied to Suricata - Bug #4343: Protocol detection evasion enip-SMBRejectedJeff LucovskyActions
Copied to Suricata - Bug #4344: Protocol detection evasion enip-SMBClosedVictor JulienActions
Actions

Also available in: Atom PDF