Services/Suricata/SID management at pfSense webConfigurator:
Interfaces
Global Settings
Updates
Alerts
Blocks
Files
Pass Lists
Suppress
Logs View
Logs Mgmt
SID Mgmt
Sync
IP Lists
General Settings
Enable Automatic SID State Management
Enable automatic management of rule state and content using SID Management Configuration Lists. Default is Not Checked. When checked, Suricata will automatically enable/disable/modify text rules upon each update using criteria specified in SID Management Configuration Lists. The supported configuration list format is the same as that used by PulledPork and Oinkmaster. See the included sample conf lists for usage examples. Either upload existing configurations to the firewall or create new ones by clicking ADD below.
SID Management Configuration Lists
SID Mods List Name Last Modified Time List Actions
disablesid-sample.conf Jan-27 2025 6:25 pm
dropsid-sample.conf Jan-27 2025 6:25 pm
enablesid-sample.conf Jan-27 2025 6:25 pm
modifysid-sample.conf Jan-27 2025 6:25 pm
Interface SID Management List Assignments
Rebuild Interface SID State Order Enable SID List Disable SID List Modify SID List Drop SID List Reject SID List
DMZ
Remember to save changes before exiting this page
How to enable drop for any rule in Suricata?
Assistant
User
dropsid-sample.conf:
Note: This file is used to specify what rules you wish to be set to have
an action of drop rather than alert.
Example of modifying state for individual rules
1:1034,1:9837,1:1270,1:3390,1:710,1:1249,3:13010
Example of modifying state for rule ranges
1:220-1:3264,3:13010-3:13013
Comments are allowed in this file, and can also be on the same line
As the modify state syntax, as long as it is a trailing comment
1:1011 # I Disabled this rule because I could!
Assistant
User
how my dropsid.conf should be if there is list of my rules:
Available Rule Categories
Category emerging-sql.rules (for example)
Select the rule category to view and manage.
Rule Signature ID (SID) Enable/Disable Overrides
SID Actions
When finished, click APPLY to save and send any SID state/action changes made on this tab to Suricata.
Rules View Filter
Rule Signature ID (SID) Enable/Disable Overrides
Legend: Default Enabled Enabled by user Auto-enabled by SID Mgmt Action/content modified by SID Mgmt Rule action is alert Rule contains noalert option
Default Disabled Disabled by user Auto-disabled by SID Mgmt Rule action is drop Rule action is reject
State Action
1 2102003 udp HOME_NET 1434 GPL SQL Slammer Worm propagation attempt
1 2102329 udp SQL_SERVERS any GPL SQL probe response overflow attempt
1 2102049 udp HOME_NET 1434 GPL SQL ping attempt
1 2014910 tcp HOME_NET 3306 ET SQL MySQL mysql.user Dump (Used in Metasploit Auth-Bypass Module)
1 2008909 tcp SQL_SERVERS 1433 ET SQL MSSQL sp_replwritetovarbin - potential memory overwrite case 1
1 2100673 tcp SQL_SERVERS 1433 GPL SQL sp_start_job - program execution
1 2100677 tcp SQL_SERVERS 139 GPL SQL sp_password password change
1 2100678 tcp SQL_SERVERS 139 GPL SQL sp_delete_alert log file deletion
Assistant
User
use substrings instead of sid
Assistant
If you want to drop all rules from the category using substrings (strings matching parts of rule metadata or message) instead of explicit SIDs, you can leverage the support for in the format.
To enable drop action for any rule in Suricata via pfSense’s webConfigurator using the SID Management feature, follow these steps:
Steps to Enable Drop for a Rule in Suricata on pfSense
Access the Suricata SID Mgmt Tab:
In pfSense webConfigurator, go to: Services > Suricata > SID Mgmt
Enable Automatic SID State Management:
Check the box Enable Automatic SID State Management if it is not already enabled.
This allows Suricata to automatically apply enable/disable/modify/drop rules based on your SID management lists.
Prepare a Drop SID Management List:
Suricata uses configuration lists to assign specific actions (enable, disable, modify, drop, reject) to individual SIDs.
You can either:
Upload your own .conf file for drops (rules which should have a 'drop' action)
Or create/edit the existing dropsid-sample.conf with the specific rule SIDs you want to drop.
Structure of the drop SID list file:
The .conf file format generally follows:
# sid [action] [sid_number] [comment]
drop 2010935 "Drop rule example"
drop 2100498 "Drop another rule example"
Each line indicates the action (drop) and the SID number(s).
Make sure the format matches the PulledPork/Oinkmaster expected style.
Upload or Create the Drop SID List:
Use the Add button on the SID Mgmt page to upload or create a new dropsid.conf file with your drop rules.
Alternatively, edit the existing dropsid-sample.conf and replace sample SIDs with your actual SIDs.
Assign the Drop SID List to an Interface:
Scroll down to the Interface SID Management List Assignments section.
For the interface where you want to apply the drop rules (e.g., DMZ), select the drop SID list in the Drop SID List dropdown, for example, choose dropsid-sample.conf or your custom file.
Adjust the SID State Order as needed; usually, the standard order works fine.
Save and Apply Changes:
Click Save or Apply at the bottom of the page.
Suricata will now process your drop SID list on that interface and set those rules to have the drop action.
Important Notes:
The automatic SID State Management requires Suricata rule updates to trigger application of changes.
You can manually trigger a Suricata rules update afterwards (Services > Suricata > Updates) to make sure all changes apply immediately.
The drop action will cause Suricata to drop any traffic matching the SID rules specified.
Summary:
Enable "Automatic SID State Management" → create/edit and upload a drop .conf SID list with targeted SIDs → assign this drop SID list to your interface → save & apply → update rules if needed → Suricata will drop traffic matching those rules.
If you want, I can help you create a sample dropsid.conf for a specific SID.
Example of modifying state for MS and cve rules, note the use of the :
in cve. This will modify MS09-008, cve 2009-0233, bugtraq 21301,
and all MS00 and all cve 2000 related sids! These support regular expression
matching only after you have specified what you are looking for, i.e.
MS00- or cve:, the first section CANNOT contain a regular
expression (MS\d{2}-\d+) will NOT work, use the pcre: keyword (below)
The modifications in this file are for sample/example purposes only and
should not actively be used, you need to modify this file to fit your
environment.
I wanna drop every emerging rule
To drop every Emerging Threats (ET) rule using the SID Management drop list (dropsid-sample.conf) in pfSense Suricata, you need to specify a category-wide match for all rules in the Emerging Threats category.
Based on your dropsid-sample.conf comments and Suricata/pulledpork style, you can do this by specifying the category name in the drop list.
How to drop all Emerging Threats rules
Determine the exact category name — for Emerging Threats rules, category names typically look like:
ET-
ET-open_
EmergingThreats-
Or similar. The common prefix is usually ET- for older versions, but check your rule categories if unsure.
Edit dropsid-sample.conf:
Add the following line to drop ALL Emerging Threats rules by category:
ET-
Or if your installation uses full names (example from your sample):
EmergingThreats-
Example contents of dropsid-sample.conf to drop all Emerging Threats:
# Drop all Emerging Threats rules
ET-
Or if you want to ensure you catch all ET subcategories, you can use a PCRE regex:
pcre:"ET-.*"
Upload / save this updated dropsid-sample.conf into your pfSense Suricata SID Mgmt configuration.
Assign this drop list to the interface(s) where you want this action applied (e.g. DMZ interface) in the Interface SID Management List Assignments section. Select dropsid-sample.conf for the "Drop SID List".
Enable Automatic SID State Management (checkbox on top of the page if not enabled).
Save and reload Suricata rules.
Important notes:
The exact category names depend on your installed ruleset. It is important to verify the category names used by your Suricata version and ET ruleset to be sure.
You can confirm correct categories by looking at your Suricata rules files (usually in /var/db/suricata/rules/ on pfSense) — categories are generally on the rule's "msg" or metadata.
The pcre keyword allows you to match via regular expressions, so if you want to capture all ET rules, the regex approach is more flexible.
Summary to drop all Emerging Threats rules:
Edit dropsid-sample.conf and add:
ET-
or more fully regex:
pcre:"ET-.*"
Upload and assign this SID list as the "Drop SID List" on your interface in pfSense Suricata SID Mgmt, enable automatic SID state management, save, apply, and update rules.
If you want, I can help you write the exact file content based on which ET rules version or directory you use.
EXTERNALNETany
EXTERNALNETany
EXTERNALNETany
EXTERNALNETany
EXTERNALNETany
EXTERNALNETany
EXTERNALNETany
EXTERNALNETany
Given the list of specific SIDs (Signature IDs) from SQL-related Emerging Threats and GPL rules you want to drop, your dropsid.conf should explicitly list those SIDs to instruct Suricata to change their rule action to drop.
How your dropsid.conf should look:
Write each SID separated by commas, or each on its own line, using the format:
sid_number
or
sid_number, sid_number, sid_number
For your example with these SIDs (from your provided rule list):
SID
Description (for comments)
2102003
GPL SQL Slammer Worm propagation attempt
2102329
GPL SQL probe response overflow attempt
2102049
GPL SQL ping attempt
2014910
ET SQL MySQL mysql.user Dump
2008909
ET SQL MSSQL sp_replwritetovarbin
2100673
GPL SQL sp_start_job - program execution
2100677
GPL SQL sp_password password change
2100678
GPL SQL sp_delete_alert log file deletion
Example dropsid.conf content:
# Drop specific SQL Emerging Threats and GPL rules
2102003
2102329
2102049
2014910
2008909
2100673
2100677
2100678
You can add comments with # to describe the purpose:
# Drop specific SQL Emerging Threats and GPL rules
2102003 # GPL SQL Slammer Worm propagation attempt
2102329 # GPL SQL probe response overflow attempt
2102049 # GPL SQL ping attempt
2014910 # ET SQL MySQL mysql.user Dump
2008909 # ET SQL MSSQL sp_replwritetovarbin
2100673 # GPL SQL sp_start_job - program execution
2100677 # GPL SQL sp_password password change
2100678 # GPL SQL sp_delete_alert log file deletion
Upload & use in pfSense Suricata
Save this file as dropsid.conf or dropsid-sql.conf.
Upload it to Suricata via Services > Suricata > SID Mgmt > ADD (or replace existing drop list).
Assign it as the Drop SID List under the interface(s) you want (e.g., DMZ).
Ensure Automatic SID State Management is enabled.
Apply and update rules.
Summary
By listing the SIDs of the rules you want dropped, Suricata will automatically switch their action from alert to drop, dropping packets matching those signatures directly.
If you want to drop all rules in the entire emerging-sql.rules category, you would need to identify all SIDs in that category and list them all, or if supported, use category matching, but usually SID-based management requires explicit SIDs.
Let me know if you want help extracting all SIDs from the entire emerging-sql.rules category or automating that!
emerging-sql.rules
category names, MS/botnet tags, CVEs, or PCRE regex matches
dropsid.conf
Since your source indicated the drop list format supports:
Category names
PCRE regex matching (pcre: prefix)
Other identifiers (MS, CVE, bugtraq IDs)
Using substrings (category names) to drop all emerging-sql.rules:
In Suricata, the category names for emerging-sql are usually (check your exact rules for the correct name):
emerging-sql
ET-sql
ET
Or something similar, depending on your ruleset.
Since you're referring to "emerging-sql.rules" category, likely the category string is emerging-sql.
Example dropsid.conf to drop all rules in the emerging-sql.rules category:
emerging-sql
More flexible options using PCRE regex:
If you want to match any rule whose name or category contains emerging-sql, use:
pcre:"emerging-sql"
Or if you want to cover different capitalizations or substrings, a generic regex could be:
pcre:"(?i)emerging-sql"
(?i) makes the regex case-insensitive.
What happens?
Suricata / PulledPork style SID management will look for all rules matching the substring "emerging-sql" in their category or metadata and change their action to drop.
You do not need to list individual SIDs.
Final example dropsid.conf:
# Drop all rules in the emerging-sql.rules category by substring match
emerging-sql
Or using case-insensitive regex match:
pcre:"(?i)emerging-sql"
Upload & assign
Upload this updated dropsid.conf file to pfSense Suricata SID Mgmt
Assign it as the Drop SID List to the interfaces you want
Enable Automatic SID State Management
Save and apply
Notes:
The exact category name or substring depends on your Suricata ruleset version; check the rules file or Suricata logs to confirm the category string you want.
The substring/pcre match does not require exact SIDs, it lets you filter by category or keywords.
This approach simplifies large-scale dropping of categories without specifying individual SIDs.
If you need help identifying the exact category name or want me to verify your ruleset's category strings, just ask!