Cyber Risks · Cisco Talos

Rule Performance Part One: Content Matches

Summary: Cisco Talos' Vulnerability Research Team describes how Snort places the first, longest content match in a rule into its fast-pattern matcher, using a 2006 Microsoft Vector Graphics Rendering engine rule (SID:8416) whose "|3A|fill" content match gates entry into the PCRE engine. The post also covers the "fast_pattern" keyword, which lets rule authors override the default and select a more unique string, since a longer match such as eight nulls is less distinctive than a shorter one like "BISCUIT!".

What you should know: Without a content match to filter packets, every packet on the HTTP_PORTS set in an established session would enter the PCRE detection engine, and that processing penalty lands on the Snort sensors watching your network.

Read the original at Cisco Talos ↗

Topics
Malware
Related