detection-rules icon indicating copy to clipboard operation
detection-rules copied to clipboard

[Rule Tunings] AWS RDS Rules

Open imays11 opened this issue 2 months ago • 1 comments

Pull Request

Issue link(s):

  • https://github.com/elastic/ia-trade-team/issues/616

Summary - What I changed

All of these RDS rules are triggering as expected. Only AWS RDS Snapshot Deleted had clear false positive in telemetry which has been excluded from the rule. Below is a summary of each rule change and screenshots of each rule triggering with additional screenshots of the new working queries for the eql rules using event.type as event_category_override

AWS RDS DB Instance Made Public

  • updated description and investigation guide
  • added highlighted fields Screenshot 2025-11-24 at 2 55 51 PM

AWS RDS DB Instance or Cluster Deletion Protection Disabled

  • updated description and investigation guide
  • added highlighted fields Screenshot 2025-11-24 at 3 48 20 PM

AWS RDS Snapshot Deleted

  • excluded backup.amazonaws.com as this is expected behavior. This exclusion reduces noise in telemetry by ~77%
  • updated description and investigation guide
  • added highlighted fields Screenshot 2025-11-24 at 4 13 14 PM

AWS Deletion of RDS Instance or Cluster > AWS RDS DB Instance or Cluster Deleted

  • reduced execution window
  • slight name change to align with other rules
  • updated description and investigation guide
  • added highlighted fields Screenshot 2025-11-24 at 4 38 55 PM

AWS RDS DB Instance Restored

  • changed rule type from eql to kql since there's no reason for using eql for this rule query
  • updated description and investigation guide
  • added highlighted fields Screenshot 2025-11-24 at 5 00 19 PM Screenshot 2025-12-01 at 11 01 19 AM

AWS RDS DB Instance or Cluster Password Modified

  • event.type used for event_category_override because event.category is not mapped for these API calls
  • updated description and investigation guide
  • added highlighted fields Screenshot 2025-11-24 at 5 23 47 PM Screenshot 2025-11-24 at 5 30 08 PM

AWS RDS Snapshot Export

  • reduced execution window
  • updated mitre mapping
  • updated description and investigation guide
  • added highlighted fields Screenshot 2025-11-25 at 11 11 27 AM

How To Test

There is plenty of data to run these queries against in our test stack and a set of scripts can be found here: RDS

imays11 avatar Nov 25 '25 17:11 imays11