[Rule Tuning] Abnormally Large DNS Response#6201
Merged
Merged
Conversation
|
⛔️ Test failed Results
|
Contributor
Enhancement - GuidelinesThese guidelines serve as a reminder set of considerations when addressing adding a feature to the code. Documentation and Context
Code Standards and Practices
Testing
Additional Checks
|
w0rk3r
approved these changes
May 27, 2026
|
⛔️ Test failed Results
|
Aegrah
approved these changes
May 28, 2026
terrancedejesus
approved these changes
May 28, 2026
imays11
approved these changes
May 28, 2026
| Specially crafted DNS requests can manipulate a known overflow vulnerability in some Windows DNS servers, resulting in | ||
| Remote Code Execution (RCE) or a Denial of Service (DoS) from crashing the service. | ||
| """ | ||
| false_positives = [ |
Contributor
Author
There was a problem hiding this comment.
To match what is done in other rules, removing this per #6201 (comment). as it is covered in the guide, and generally not expected to happen.
Co-authored-by: Isai <59296946+imays11@users.noreply.github.com>
Co-authored-by: Isai <59296946+imays11@users.noreply.github.com>
|
⛔️ Test failed Results
|
|
⛔️ Test failed Results
|
|
⛔️ Test failed Results
|
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):
Resolves #5509
Summary - What I changed
Small tuning to further filter detections based on an increased destination bytes size and connection duration. Flow-style network appliances such as PAN-OS may only report the DNS traffic upon completion/termination of the flow, as such they can be FP prone in the current logic.
TPs would generally not cause a flow duration of over 60 seconds unless specifically crafted to do so. The attack flow causes the DNS server to crash, which would cause the initial connection to terminate. The specific crafting to be able to bypass the rule is not so much a limitation of the rule logic, rather it is a limitation of flow-based detection mechanisms compared to transaction level sources.
How To Test
Verify in Telemetry.
And/or use RTAs in elastic/cortado#34
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