Writing custom Suricata rules in Security Onion: when your team needs its own network detections
A SOC often reaches the point where the vendor rulesets no longer cover what it needs to see. The organization may run an internal application with a protocol pattern no public signature describes, or it may hold threat intelligence about a specific infrastructure pattern that commercial and community rules do not match. In Security Onion, the place to start is the Local Rules ruleset. It reads from /nsm/rules/custom-local-repos/local-Suricata, is enabled by default and is not read-only, so rules written there load into the NIDS engine without changing the vendor-supplied content.
Suricata's signature language is what you write in that location. It can match known threats, policy violations and malicious behavior, and it is the same language used by the Emerging Threats and VRT rulesets, so a local rule sits alongside them in the same engine. The Security Onion Console's Detections interface manages the NIDS rules that Suricata loads, which lets analysts see and tune them from one place. Confirm with your own deployment whether your team's role permissions allow editing these rules and where your change record is kept, because the console does not replace a documented decision trail.
The choice between writing a new rule and tuning an existing one is the first decision to make. Tune an existing rule when it fires correctly but too often for your environment, or when it covers the behavior you need. Write a local rule when no existing signature detects the behavior, such as a custom protocol on your own services or an indicator you hold that vendor content does not cover. Before writing, ask who owns the detection, what traffic it should match, and how you will know it is wrong. Those answers shape the rule more than the syntax does.
Where local Suricata rules can live in Security Onion
Security Onion gives you more than one place to keep custom Suricata rules, and each place sets a different owner, change path and risk of drift across the grid. Choose the location before the first rule is written, because moving rules later means re-testing them and re-checking every sensor.
Local Rules ruleset in Detections
The Local Rules ruleset is enabled by default and reads from /nsm/rules/custom-local-repos/local-Suricata. Rules added here are managed through the Console, so analysts can edit them without shell access. The trade-off is that the content lives mostly in the Console and its backups, so confirm how you export and restore it before a manager rebuild. Ask who may edit it and whether changes are logged.
Files in the local rules directory
Placing rule files directly in the local rules directory keeps the rules as plain files that you can diff, review and store in version control. This suits teams that want changes to pass a code review before they reach production. The cost is that someone must confirm the files are present and identical on the manager and every sensor after each change, since a file edited by hand on one node is an easy way to create drift.
Additional sources under rulesetSources
Extra url or directory sources can be added under rulesetSources, and each needs a unique name so the grid can tell them apart. A repository pulled from a URL or a shared directory lets one team own rules that several Security Onion environments consume. Check that every source name is unique across the configuration, because a name collision can cause one source's rules to be overlooked or overwritten.
Ownership and approval path
Each location answers a different question: who may change a rule and who approves it. Console edits favor speed and analyst ownership, file-based rules favor review, and external sources favor a separate team that publishes content on its own schedule. Write down which location each rule family uses before the first change so that analysts do not split one detection across two places.
Version control and rollback
Rules kept in files or in a Git-backed source can be tagged, reverted and compared against the last known good version. Rules edited only in the Console have a weaker history unless you export them regularly. Ask your team how a bad rule that floods alerts would be rolled back, and test that rollback on a non-production grid before you depend on it.
Grid consistency across sensors
A rule that loads on the manager but not on a sensor produces alerts in one place and silence in another, which is hard to notice during an incident. Confirm after every change that each sensor applies the same ruleset, and treat a mismatch as a detection gap rather than a cosmetic issue. Ask your Security Onion vendor or partner which check they use to verify sensor rule state.
Configuration options and when each fits
This table compares the three places custom Suricata rules can be managed in Security Onion: Detections editing, the Local Rules directory, and rulesetSources entries. Read each row to see who owns the rules, how changes are audited, whether they repeat across sensors, and where name collisions start. The main takeaway is that the choice is mostly about who maintains the rules and how they get to every sensor.
| Option | Best fit | Trade-off | Watch for |
|---|---|---|---|
| Detections-based editing | Small team writing a few rules and tuning in the Console | Quick to change, but edits are made by hand on the manager and are harder to review as a set | Confirm how your grid records who changed a rule and when |
| Local Rules directory (/nsm/rules/custom-local-repos/local-Suricata) | Small team that wants one local file of custom rules | Enabled by default and not read-only, so it is simple to start, but nothing outside the manager tracks its history | Keep copies outside the manager so rules survive rebuilds |
| rulesetSources entry (url) | Team managing detection content as code in a version-controlled repository | Changes come from a source you control and can be reviewed, with an extra setup step for each source | Each source needs a unique name, and a rule that appears in two sources can collide |
| rulesetSources entry (directory) | Team that keeps rules on a controlled local path and syncs them into the grid | Repeatable across sensors when the path is managed, but the directory itself needs its own change control | Confirm the path is present on every node that needs it |
| Ownership | Local Rules: the team running the manager. URL or directory sources: the team that owns the repository | Clear ownership makes tuning decisions easier to hand off | Name the owner of each source in your change records |
| Auditability | Version-controlled sources give a diff for every rule change | Console edits and local files need separate record keeping | Ask whether your auditors expect changes tied to a review |
| Repeatability across sensors | Sources defined in configuration apply the same way to the grid | Manual local edits are easy to drift between environments | Test each source on a non-production grid first |
| Name collision risk | Unique source names and rule names reduce overlap with ETOpen, ET Pro and other packages | Shared SIDs or similar names across sources can cause confusion when rules are tuned | Choose a SID range for local rules and document it |
How to set up a custom Suricata rule from first draft to live
This sequence takes a custom Suricata rule from a written draft to a loaded, alerting rule on every sensor that should run it. Each step ends with a check so the team can confirm the rule did what it was meant to do before it reaches production traffic.
Confirm HOME_NET and protocol coverage first
Before writing anything, confirm that the HOME_NET variable covers the internal address ranges your rule should protect, and check which protocols the sensors are inspecting on the monitored segments. A rule that targets an internal host outside HOME_NET, or a protocol the sensor does not decode, will never fire. Review the current values in the Security Onion configuration with the team that owns the network, and record which segments are visible to each sensor. The step is done when the team can state, for the traffic the rule targets, which sensors will see it and which address ranges count as internal.
Write the rule with a unique message and sid
Draft the rule using the Suricata signature language, giving it a clear msg that describes the behavior it detects and a sid from a range your organization reserves for local rules. Agree a naming convention for msg text and sid allocation so that local rules never collide with ruleset rules or with each other. Keep a short note of who wrote the rule, the reason for it, and the traffic it targets. The step is done when the rule text is saved in version control or a shared document, the sid is recorded in your register, and the msg follows the convention.
Place the rule in the Local Rules location or Detections
Add the rule to the Local Rules ruleset, which reads from the local-Suricata directory under the custom local repositories path and is enabled by default and not read-only. Alternatively, create the rule through the Detections interface if your analysts work there. Use one approach consistently so that changes are traceable. The step is done when the rule text appears in the file or in Detections with the expected sid, and the change is recorded in your change log.
Confirm the ruleset is enabled
Open the NIDS ruleset configuration and confirm that the Local Rules ruleset is enabled and that its source name is unique among the rulesetSources entries. If your team has added other URL or directory sources, check that no two sources share a name. Confirm the rule is not disabled by a suppression or a modify override that matches its sid. The step is done when the ruleset shows as enabled and the rule is listed under it without an override that disables it.
Apply the change across the grid
Apply the configuration change so that the sensors pick up the updated rules, following the change process your Security Onion deployment uses for NIDS configuration. Confirm that the change has reached every sensor node that should run the rule, not only the manager. Note which nodes you expect to receive it, because a sensor that was offline or missed the update will keep the old ruleset. The step is done when the apply completes without errors and each target sensor reports the updated configuration.
Verify the rule loads on sensors
On each target sensor, check that Suricata has loaded the rule, using the sensor's Suricata logs or rule listing to confirm that the sid is present and that no rule-load errors reference it. Then confirm in the Security Onion Console that the rule appears in Detections under the expected ruleset. If the rule is missing from one sensor only, compare that node's ruleset state against a working sensor before you continue. The step is done when every target sensor shows the rule as loaded and the console lists it.
Test against imported PCAP and check EVE JSON
Replay a PCAP that contains traffic the rule should match, using the PCAP import capability, and confirm that an alert appears in the console with the expected sid and msg. Then validate the underlying events in Suricata's EVE JSON output, which writes alerts and other events as JSON, and check the fields the rule should populate. Also confirm that a PCAP without the target traffic produces no alert from this rule. Once the alert reaches the console and the EVE record matches, the rule is ready for live traffic. Record the PCAP name and the result with the rule's notes.
Keeping ruleset names unique so local rules do not collide
Each entry under rulesetSources needs its own unique name because the name is how Security Onion identifies a source when it loads, updates and reports on rules. The Local Rules ruleset reads from /nsm/rules/custom-local-repos/local-Suricata, is enabled by default and is not read-only, so it is the natural home for your own signatures. If you add another url or directory source, give it a name that cannot be mistaken for the Local Rules source or for a vendor feed. A second source with a reused or vague name makes it hard to tell during tuning which file an alert came from, and it makes a later override or backup restore ambiguous. Confirm in your own deployment, under the NIDS documentation for your version, exactly which keys identify each source before you rely on names as the lookup key.
The Local Rules ruleset is a separate source from vendor rulesets such as Emerging Threats and VRT, and Suricata itself does not care which file a rule came from. A local rule that reuses a signature identifier (sid) already present in a vendor ruleset can shadow it, or be shadowed by it, depending on load order and on how the Security Onion version handles duplicate sids. Reserve a sid range for local content, for example a block starting at a high number that your team records in a register, and never copy a vendor rule and edit it under its original sid. Keep msg text prefixed with a team tag so analysts can recognize local alerts on sight. Before you rely on any convention, test a deliberately duplicated sid on a non-production sensor and confirm with the vendor documentation and your version's release notes how overlapping sids are resolved, logged and displayed in Detections.
Write the convention down before the first rule is added, and enforce it in review. The register should list each local sid range, its owner, the ruleset source name and the date a rule was added, so that tuning records in Detections can be matched back to a rule. Check for collisions with a simple search of all loaded rule files for the sid before merging a change, and repeat the check after each update to a vendor ruleset. Because sid allocation is a decision that is costly to reverse once alerts and suppressions reference it, agree the scheme with the detection engineers and the people who will own tuning before the rules go into production.
How a local rule moves from test PCAP to the whole grid
The path starts with a rule written in the Local Rules directory, then runs against an imported test PCAP so the team can check the alerts that appear in EVE and in the Console. If the alerts are wrong or too noisy, the rule goes back for editing or tuning instead of moving on. Once validated, the rule is promoted into a shared repository and applied across the manager and sensors, and the team keeps watching alert volume after rollout.
Validation loop from local rule authoring through test PCAP to grid rollout.
Testing rules against imported PCAP before production
The first check replays captured traffic that contains the behavior your rule describes, then confirms the alert appears with the expected signature ID, message and flow details. Use a PCAP that you know contains the malicious or policy-violating traffic, ideally one captured from a lab or an approved exercise. Import it through the Security Onion PCAP import workflow so the resulting alerts land in the same index your analysts query.
- Build a known-positive capture: Record or generate the exact request, payload or handshake the rule targets, and note the packet numbers where it occurs.
- Match the rule's own identifier: Confirm the alert carries the
sidandmsgyou wrote, so you know your rule matched and not an older rule with similar text. - Check the protocol and port context: Confirm the rule's protocol keyword and flow direction match how the traffic actually appears in the capture.
- Test the negative case too: Include a variant that should not match and confirm no alert fires for it.
- Record the result: Keep the PCAP, the rule revision and the resulting alert together so a later reviewer can repeat the test.
Before moving on, confirm that the alert fires on every known-positive packet you planned to cover and on none of the variants you expected to miss.
The second check replays benign traffic that represents normal activity in your environment and counts how often the new rule fires. A rule can match its target perfectly and still flood analysts with alerts from legitimate software, backups or scanners. Benign captures should come from the segments where the rule will run, such as an application server subnet or a remote office, because generic captures rarely reflect local traffic patterns.
- Use representative captures: Choose traffic from the same network segment, protocols and time window the production sensor will see.
- Count matches per capture: Record how many alerts the rule produces on benign data, and review a sample of them to identify the legitimate source.
- Identify the trigger: Determine which field, header or payload pattern causes the false match, and narrow the rule to exclude it.
- Decide on tuning versus rewriting: Use a suppression or threshold for a known benign source, and rewrite the rule when the pattern itself is too broad.
- Repeat after each change: Rerun both the positive and benign captures after every edit, since a narrower rule can lose coverage.
Before promotion, confirm the rule's benign hit rate is acceptable to the team that will triage its alerts, and document any exceptions.
The third check deploys the rule to a sensor that does not carry production traffic, then observes it on live or mirrored traffic over a period you define. A PCAP replay runs in a controlled sequence, while a sensor sees concurrent flows, packet loss, and traffic from hosts you did not plan for. This stage shows whether the rule loads cleanly alongside your other rules and whether it behaves as expected under real conditions.
- Load it through the local rules path: Place the rule in the Local Rules ruleset and confirm Suricata loads it without errors in the sensor logs.
- Watch alert volume over time: Compare the rule's alert rate on the test sensor with the rate your PCAP tests predicted.
- Check for performance impact: Watch sensor resource use and packet loss after the rule is active, especially for rules with heavy payload inspection.
- Confirm the rule is not overridden: Check that no existing suppression or threshold unexpectedly hides its alerts.
- Promote deliberately: Once the test period is complete, move the same rule revision to production sensors across the grid, with the change recorded.
Before grid-wide promotion, confirm the test sensor saw the traffic types you planned to cover and that the change record names the rule revision being promoted.
A PCAP replay proves that Suricata, given specific packets, produces a specific alert. It does not prove that a sensor will see those packets in production. Timing matters because replay speed, packet ordering and fragment reassembly can differ from live capture, which can change whether a multi-packet match completes. Encrypted traffic is another limit: if the payload is encrypted and the rule inspects content, a replay of the same ciphertext tests only the bytes, not the decrypted behavior the rule was written for.
- Timing and ordering: Replays may not reproduce the original inter-packet gaps, so time-based thresholds can behave differently live.
- Encrypted content: Content rules generally cannot see inside TLS sessions, so a PCAP test of encrypted traffic may show no match even when the activity is malicious.
- Packet loss and capture gaps: A sensor under load may drop packets that the replay delivers in full, which only a live test reveals.
- Traffic not in the capture: A PCAP represents one moment, so behavior that appears only in other conditions remains untested.
- Rule interactions: Replaying one rule in isolation does not show conflicts with other rules, suppressions or sensor settings.
Before relying on a PCAP result, confirm which of these limits apply to your rule and what your validation stage will cover in their place.
Promoting rules across the grid without breaking sensors
A local Suricata rule runs on sensors, but it is authored and distributed through the manager, so one bad change can reach every sensor at once. The cards below cover the controls to put in place before a rule leaves a test environment, from change records and syntax checks to staged rollout and rollback.
Record every rule change
Keep a change record for each local rule: the sid, the author, the reason, the expected alert volume and the sensors it applies to. Store the rule file in version control so the diff is the record of what changed. Without this, an analyst who later sees an unexpected alert has no way to tell whether the rule, a suppression or a sensor issue caused it.
NIDS docsRun syntax checks before apply
Validate the rule file with Suricata's own parser before it reaches the manager. A rule that fails to load can stop the detection engine from loading the ruleset, so treat a parse failure as a blocking defect. Confirm the checks run in the same Suricata version your sensors run, since rule keywords can differ between releases.
Guard against alert floods
A broad rule with no threshold can produce a flood of alerts that buries real detections and fills storage. Before promotion, replay the rule against imported PCAP and count the alerts it generates. Set a planned ceiling for alerts per hour, and use a threshold or suppression if the rule exceeds it in testing.
Stage the rollout to sensors
Enable the rule on one sensor or a small set of sensors first, then widen the scope after the alert volume is understood. Keep the manager as the single source of the ruleset, because the architecture documentation describes the manager as central to the grid. Ask your vendor or your own runbook what the sync interval is so you know how long a change takes to reach every node.
Plan rollback before promotion
Decide in advance how to disable or revert a rule. Keep the previous ruleset version available, and make sure removing a rule from the local repository is a reversible action that a second person can perform. Test the rollback once in a non-production grid so the steps are known during an incident.
Confirm the manager's role in the grid
Search nodes depend on the manager, and the architecture documentation notes that search nodes stop indexing if they cannot reach Redis on the manager. Schedule rule changes in a window your analysts accept, and check manager health before and after each push. Confirm with your own architecture review which nodes depend on the manager in your design.
Architecture docsSecurity and operational considerations for custom rules
Who should be allowed to edit custom Suricata rules in Security Onion?
Only a small, named group of detection engineers should be able to add or change local rules, and the Security Onion Console access model should reflect that. Rules change what the sensors alert on, so an unreviewed edit can silence coverage or flood analysts. Define who writes rules, who reviews them, and who can deploy them to the grid, and keep those three roles separate where your team is large enough to do so. Confirm how your Console roles and any role-based access controls map to these duties in your version, since access features differ between editions. Document the approval path before the first rule goes live.
Should Suricata rule files live in version control?
Yes. Keep local rule files in a Git repository so every change has an author, a reason and a reviewable diff. Security Onion reads local rules from the local-Suricata directory under custom-local-repos, and that path can be managed as a file set that your pipeline copies from the repository. Use pull requests for review, protect the main branch, and tag the revision that was deployed to each environment. Store rule names and sids in a consistent format so a reviewer can tell at a glance whether a rule is new, changed or retired. Version control also gives you a clean rollback when a rule misbehaves.
How do overly broad custom rules expose sensitive data in alerts?
A rule that matches too loosely can write payload fragments, usernames, tokens or personal data into alert records, and those records are then indexed and visible to anyone with analyst access. Scope each rule to specific protocols, ports and content positions, and avoid capturing large free-form fields in the message. Review what the msg and any metadata fields expose, and decide with your privacy and legal teams which fields analysts may see. Test rules against sample traffic that contains realistic but non-production data before deployment. Confirm your retention settings for alert and packet data, because a sensitive match is kept for as long as the data is.
How much performance impact do heavy regex and content matches have on sensors?
Expensive patterns, especially broad PCRE expressions and many content matches on high-volume protocols, consume CPU on the sensor and can cause packet loss under load. Suricata is multi-threaded, but a poorly written rule still runs against every packet that reaches its protocol and port scope. Prefer a fast-pattern content match, anchor rules to the protocol and ports where possible, and avoid unbounded regex across full payloads. Measure before and after deployment on a sensor that carries representative traffic, and watch packet drop and CPU metrics in the grid's monitoring. Compare the result with the sensor sizing in the hardware documentation so you know how much headroom is left.
How do we document why each custom rule exists for audit evidence?
Record a rationale, owner, creation date, linked threat or requirement, test evidence and review date for every rule, and keep that record next to the rule in version control. Use a consistent comment header in the rule file or a companion register that names the sid, the detection goal and the PCAP used for validation. When a rule is suppressed, thresholded or retired, add a dated entry explaining the change. This evidence helps internal and external reviewers follow your decisions, but it does not by itself satisfy any framework or auditor requirement. Ask your assessor which artifacts they expect before you design the register.
What happens to custom rules during upgrades and rebuilds?
Local rules are part of your detection content, so they must survive upgrades, node replacement and manager rebuilds. Keep the source files in version control and include the local rules path in your backup plan, alongside any Detections overrides. Confirm after each Security Onion upgrade that the Local Rules ruleset is still enabled and reading the expected directory, because defaults and workflows can change between releases. Run your validation PCAP set again after upgrades, since a Suricata version change can alter how a rule parses or matches traffic. Schedule these checks as part of your change process rather than leaving them to memory.
Can our own team write and maintain these rules, or do we need a partner?
Your team can write and maintain custom Suricata rules if it has someone comfortable with the Suricata signature language, packet analysis and the Security Onion Console. A partner is useful when you need an initial rule set designed around your traffic, a review of rules that touch sensitive protocols, or testing against your own captures. Work is usually split between initial design, validation, deployment and handover. The effort depends on how many rules you need, how many protocols they cover and how mature your change process is, so ask any provider for a written scope that lists these items. DeployOpen plans and implements Security Onion inside your infrastructure, and its engagements are fixed-scope and agreed in writing before work starts.
Limits to confirm in your environment before writing rules
Custom Suricata rules only work as well as the sensor version, workflow, and traffic visibility behind them. The four items below are the assumptions most likely to change what a rule can match and how it behaves after promotion, so confirm each one on your own grid before you write the first signature.
Suricata version on your grid
The Suricata version is set by your Security Onion release, not by the latest upstream release, so the keywords and features your rule uses must exist in that build. The current stable Suricata is 8.0.7, released September 15, 2026, while the Suricata 7 line is end of life with its last version, 7.0.17, released July 7, 2026. Ask your vendor or check your install for the bundled Suricata version, then test rule syntax against that exact build before promotion. Do not assume newer keywords are available.
Suricata featuresDetections workflow support by edition
The exact Detections workflow for custom NIDS rules, including where local rules are edited and how overrides are applied, depends on your Security Onion edition and release. Confirm whether your installed version exposes the Detections interface for the Local Rules ruleset in the way the documentation describes. If it does not, plan for editing files in the local rules directory and document that path as your deployment standard so every analyst follows the same process.
Security Onion NIDS docsLua scripting limits for rules
Suricata supports Lua scripting for detection logic that rule syntax cannot express, but Lua adds runtime cost and its behavior can differ from signature matching. Before you rely on a Lua script in a custom rule, confirm that your sensor build enables Lua, measure its effect on packet processing at your expected traffic volume, and review how errors are logged. Keep the logic simple, and prefer standard signature keywords where they can express the same detection.
Encrypted traffic and content matching
Content rules match payload bytes, so TLS-encrypted sessions hide most of what a content keyword would inspect. Metadata such as TLS certificates, server names, and JA3-style fingerprints may still be visible, and Suricata logs TLS certificates, which can support detections that do not depend on payload. Confirm which traffic on your sensors is encrypted end to end, and state in each rule's documentation which visible fields it relies on and what it cannot see.
Sensor placement and traffic visibility
A rule can only fire on packets the sensor sees, so placement and capture settings decide whether a well-written signature ever matches. Confirm which network segments mirror to each sensor, whether asymmetric routing hides one direction of a conversation, and whether packet loss appears under load. Test with imported PCAP that reflects real sensor placement, and record which segments the rule has been validated against.
How much effort does writing custom Suricata rules take?
How long does a first local Suricata rule take to write and validate?
There is no fixed duration, because the effort depends on how well your team already knows the traffic the rule must match and whether you have real packet samples to test against. A rule for a well-documented protocol behavior, tested against a PCAP that contains the exact traffic, is far quicker to validate than a rule for an internal application nobody has profiled. Plan for the time to collect representative traffic, write the signature, replay it against imported captures, check for false positives on normal traffic, and then review the change. Ask any partner to break its estimate into those steps and state which assumptions about traffic and test data it depends on.
What drives the cost of writing custom Suricata rules?
Cost follows the amount of skilled analyst time and the number of places the rule must be proven. The main drivers are:
- Rule complexity, including protocol depth, use of Lua scripting for logic the rule syntax cannot express, and how many conditions a detection needs
- PCAP availability, since rules tested against real captures take less rework than rules written from documentation alone
- Number of sensors, because each environment with different traffic may need its own tuning and validation
- Change control, meaning how many reviewers, approvals and records your process requires before a rule reaches production
All of these are recurring whenever a rule changes, not only at the first build.
Can an internal analyst write custom Suricata rules without outside help?
Yes, if the analyst understands Suricata's signature language, has network knowledge of the traffic involved, and has a safe test path. Suricata's signature language is documented by the Open Information Security Foundation, and the Security Onion Console lets teams manage local rules from the Local Rules ruleset. The harder skill is knowing whether a match means malicious activity or normal business traffic, which usually requires someone who can read the logs and talk to application owners. Teams with one person who owns this work should plan for coverage when that person is unavailable.
What does the work need from our team before it starts?
Expect to supply the inputs that only your environment can provide. These usually include:
- Sample traffic or PCAP files that show the behavior to detect, and normal traffic to test false positives against
- Accurate HOME_NET ranges, so the rule's directionality and variables match your network
- Names of the application owners and analysts who will review alerts
- A change approval path, including who signs off on rules going from testing to production
Without these, the work spends its time guessing at traffic and waiting for decisions.
When does outside help for custom Suricata rules make sense?
Outside help makes sense when the rule work is urgent, the traffic is poorly understood, several sensors must stay consistent, or your team lacks time to validate and document changes. A fixed-scope engagement, with scope, deliverables and timelines agreed in writing before work starts, can cover rule design, testing against your captures and a handover of the process. Ask any provider how it will validate rules against your traffic, who keeps the change record and what happens when a rule needs tuning later.
What should a quote for custom rule work include?
A useful quote lists the rules in scope, the traffic sources used for testing, the number of sensors and environments, the review and approval steps, and the handover deliverables such as documentation and rule records. It should also state which items recur, such as tuning after alerts arrive or updates when traffic changes, and which are one-time. DeployOpen does not publish a price list, so a quote follows from the written scope. Ask for each assumption to be stated so you can change the scope if traffic samples or approvals turn out to be different.
What ongoing effort comes after the first custom rule?
Custom rules need upkeep. Each rule can produce false positives as traffic changes, applications are updated, and Suricata itself moves to new releases. Check the release status of your Suricata line before planning upgrades, since Suricata 7 is end of life. Recurring work includes reviewing alerts, adjusting thresholds, retesting after upgrades and keeping the change record current. Budget for this as a continuing operations task, not a one-time project.
How DeployOpen scopes and delivers custom Suricata rule work
DeployOpen performs custom Suricata rule work inside your own Security Onion grid, whether that grid runs in your cloud accounts, your data centers or an air-gapped network. Nothing about the rules, the sample traffic or the sensors leaves your environment as part of the engagement. Before any rule is written, the scope is agreed in writing and covers the detection goals, the sensors and segments in scope, the rulesets involved, the PCAP sets available for testing, and the change window for promotion. Most engagements are fixed-scope, so the written scope is also the basis for the quote. Ask for the scope to name which rule sources are touched, including whether the Local Rules ruleset under /nsm/rules/custom-local-repos/local-Suricata is the only destination or whether a separately named rulesetSources entry is involved.
The delivered work follows the same sequence described above: rule design, testing against imported PCAP, promotion across the grid and handover documentation. Each rule is documented with its intent, the traffic it was written against, its sid range, the sensors it was promoted to and the test captures that proved it fires and stays quiet on normal traffic. The handover package gives your team the rule source, the change record and the steps to repeat the promotion. Confirm with DeployOpen how the deliverable will be stored and whether your team receives the rule source in a form that can be kept under version control. Ongoing tuning of rule behavior as your traffic changes can be covered by a retainer, which is a useful option if your team does not want to own every false positive review alone. Ask for the retainer scope, response expectations and what is included in each period before deciding.

