SnortML: Machine Learning-based Exploit Detection

Language: English | 日本語

Introduction

Signature-based intrusion rules match known attack patterns. They can cover variations of an exploit, but coverage depends on the rule and traffic; neither complete coverage of a known vulnerability nor detection of every unknown exploit is guaranteed. New vulnerabilities can require new signatures or model updates.

SnortML is a machine learning-based exploit detector introduced with FMC/FTD 7.6 and Snort 3, initially for SQL injection over HTTP. Talos-trained detection models are delivered through Lightweight Security Package (LSP) updates. CMDi support was added in 10.0, and 10.1 expanded inspected HTTP content. Consult the inspector reference for release, model and inspection-depth requirements; support does not guarantee detection of every attack.

The SnortML rule

The SnortML IPS rules have the following characteristics:

  1. GID: 411
  2. Rule message: prepended with '(snort_ml)'
  3. Enabled by default in Maximum Detection IPS policy

The first SnortML rule introduced in release 7.6 has the following characteristics:

  1. GID: 411, SID: 1
  2. Description: "(snort_ml) potential threat found in HTTP parameters via Neural Network Based Exploit Detection (411:1:1)"

Enabling the SnortML rule

The 411:1 rule is enabled by default in Maximum Detection; enable its Block action when required in other intrusion policies. The rule action and the inspector inspection depth are separate. Defaults depend on software and LSP updates; verify the effective network analysis policy and nonzero inspection depth for the intended traffic. This walkthrough shows the rule-action override.

  1. Login to the FMC GUI. Navigate to Policies > Intrusion
Navigating to Intrusion Policy

Navigating to Intrusion Policy


  1. Click on Snort 3 Version against the Intrusion Policy you want to edit.

Note – You can read through the note About Intrusion Policies that pops up to understand the Snort 3 version of Intrusion policies. Once you are done reading, click on Dismiss.

  1. Under the Summary tab, click on View Effective Policy.
View Effective Policy

View Effective Policy


  1. In the Filter bar, type in 'GID=411' to filter the SnortML rule. Hit Enter.

Note – Explore the other options available for filtering out intrusion rules.


  1. Click on the drop-down menu under Rule Action and change the action from Disabled to Block.
Rule Action options

Rule Action options


Rule Action changed to Block

Rule Action changed to Block


  1. Click Override in the confirmation window. Then click Summary and confirm that Overridden Rules has increased by one.
Summary of the rules

Summary of the rules



Note - Save the changes, apply the intrusion policy to the relevant access-control rule, save the access-control policy and deploy it to the intended FTD devices. An override alone does not deploy protection. Encrypted HTTP payload inspection requires applicable decryption and supported traffic.

Viewing events generated for the SnortML rule

Unified Event Viewer

  1. Navigate to Analysis > Unified Events
Navigating to Unified Events

Navigating to Unified Events


  1. In the Search bar at the top type in Intrusion and select Intrusion Message.

  1. Type in 'snort_ml' and click on Apply.
Filtering Unified Events

Filtering Unified Events


  1. Intrusion events generated due to the SnortML rule will be displayed as shown in the example below.
Unified events filtered by SnortML rule

Unified events filtered by SnortML rule

To view the details of a particular event, click on the angle bracket on the left-most side of the event row.

Event details will pop up on the right side as below.

Event Details

Event Details

Scroll down through the Event Details to view further details such as the Snort rule, the URL triggering the rule, etc.


Intrusion Events

  1. Click on Analysis > Events under the Intrusions section.
Navigating to Intrusion events

Navigating to Intrusion events


  1. Click on Table View of Events to get a detailed view of the Intrusion events.
Table View of Events

Table View of Events

Explore all the columns displayed in this view

  1. Click on Edit Search to filter the events.

  1. Type in snort_ml against Message and click on Search.
Filtering Intrusion events

Filtering Intrusion events


  1. All the Intrusion events generated by SnortML rule will be displayed.
Table view of intrusion events generated by SnortML rule

Table view of intrusion events generated by SnortML rule

Using the scroll bar at the bottom, scroll to the right to view all the other columns under Intrusion events viewer.

Summary

SnortML uses advanced algorithms that analyze patterns and behaviors rather than relying solely on predefined signatures. By adapting to new and evolving threats, SnortML rules offer enhanced detection capabilities and quicker responses to emerging threats that traditional signature-based systems might miss.

Additional Resources

https://blog.snort.org/2024/03/talos-launching-new-machine-learning.html

SnortML inspector reference and version-specific defaults.


Did this page help you?
Title of the document The current suggested release is 7.6.6 Release 10.1 is live!