Repository navigation
[Rule Tuning] Tighten Network Rules - #7235
Open
eric-forte-elastic wants to merge 2 commits into
Open
eric-forte-elastic wants to merge 2 commits into
eric-forte-elastic wants to merge 2 commits into
Conversation
|
Starting the rule tests ... |
eric-forte-elastic
marked this pull request as ready for review
November 30, 2026 18:11
eric-forte-elastic
requested review from
Aegrah,
bryans3c,
django-88 and
w0rk3r
and
a balanced review from Copilot
November 30, 2026 18:11
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The PR lacks alert-suppression validation confirming that the interface recognizes Esql.source_ip_values as a group-by field; the current test note only confirms that test data and RTAs still fire.
1 open issue
What changed in this PR
Tightens two network detection rules to reduce unrelated matches and repeated alerts while preserving suspicious activity detection.
Changes:
- Groups FortiGate administrator logins by account and device serial number.
- Excludes Palo Alto traceroute traffic and blocked pfSense events from the inbound RDP rule.
- Adds one-hour alert suppression to both rules and documents its behavior.
| File | Description |
|---|---|
rules/network/initial_access_fortigate_admin_login_multi_srcip.toml |
Adds device-aware grouping and suppression by account, device, and sorted source-IP set. |
rules/network/command_and_control_rdp_remote_desktop_protocol_from_the_internet.toml |
Filters traceroute and blocked traffic; suppresses repeated source/destination/port combinations. |
Review effort: Balanced
| reference = "https://attack.mitre.org/tactics/TA0001/" | ||
|
|
||
| [rule.alert_suppression] | ||
| group_by = ["source.user.name", "observer.serial_number", "Esql.source_ip_values"] |
|
Starting the rule tests ... |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Pull Request
Issue link(s):
Summary - What I changed
Small tuning PR to tighten some of the queries for network rules to filter out traceroute in the RDP rule, and to include filtering based on the serial number of the firewall device for the Fortinet rule.
How To Test
Test Data in Stack and RTAs still fire
Checklist
bug,enhancement,schema,maintenance,Rule: New,Rule: Deprecation,Rule: Tuning,Hunt: New, orHunt: Tuningso guidelines can be generatedmeta:rapid-mergelabel if planning to merge within 24 hoursContributor checklist