detection-rules
detection-rules copied to clipboard
[Rule Tunings] AWS RDS Rules
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
AWS RDS DB Instance or Cluster Deletion Protection Disabled
- updated description and investigation guide
- added highlighted fields
AWS RDS Snapshot Deleted
- excluded
backup.amazonaws.comas this is expected behavior. This exclusion reduces noise in telemetry by ~77% - updated description and investigation guide
- added highlighted fields
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
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
AWS RDS DB Instance or Cluster Password Modified
-
event.typeused forevent_category_overridebecause event.category is not mapped for these API calls - updated description and investigation guide
- added highlighted fields
AWS RDS Snapshot Export
- reduced execution window
- updated mitre mapping
- updated description and investigation guide
- added highlighted fields
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