Skip to content
DoS Write-up Advanced

Blinding Snort: Breaking The Modbus OT Preprocessor

An integer overflow in Snort's Modbus preprocessor allows a remote attacker to send a crafted packet that causes an infinite loop, preventing Snort from processing new packets and generating alerts.

Claroty's Team82 Follow

Published on claroty.com

Network analysis tools are integral to keeping networks secure by providing real-time logging and analysis of events and traffic. Snort is atop this list of analysis tools as the most popular network intrusion detection and prevention system.

Uri Katz, on claroty.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely an integer overflow: a 16-bit variable used to track processed bytes wraps around when a large record length is multiplied, allowing the loop to continue indefinitely.

Impact

A remote attacker could cause a denial-of-service condition, blinding Snort to further attacks and preventing it from generating alerts.

What the attacker needed

Network access to Snort; crafted Modbus packet

The fix

The vulnerability was patched by Cisco and the Snort team; users should upgrade to version 2.9.19 or later, or [redacted] or later.

How it was found

  1. Send a Modbus Write File Record packet with a record length that causes bytes_processed to overflow to a small value.
  2. Craft the next record length so that bytes_processed becomes zero again.
  3. The while-loop repeats indefinitely, keeping Snort stuck.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

Snort is a tool that watches network traffic for signs of attacks. A bug in how it reads a particular industrial protocol message lets an attacker send a specially crafted message that makes Snort get stuck in a loop, so it stops checking any new traffic. This means other attacks could go unnoticed.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

More by Claroty's Team82

View all

2 more disclosed reports, best first.

More from Cisco

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.