elastic / detection-rules

https://www.elastic.co/guide/en/security/current/detection-engine-overview.html
Other
1.92k stars 492 forks source link

[Rule Tuning] AWS STS GetCallerIdentity API Called for the First Time #4094

Closed imays11 closed 2 weeks ago

imays11 commented 2 weeks ago

Pull Request

Issue link(s): https://github.com/elastic/ia-trade-team/issues/458

Summary - What I changed

Tuning this rule to exclude identity type AssumedRole as this is too common a behavior, often automated, and used to verify current identity and role assumptions. Therefore it is not as indicative of suspicious behavior when used by assumed roles. This rule will still trigger for IAMUser and FederatedUser identity types. In telemetry this change reduces alerts from ~240,000 to 43 in the last 30 days.

How To Test

Screenshot to show valid query

image

protectionsmachine commented 2 weeks ago

Rule: Tuning - Guidelines

These guidelines serve as a reminder set of considerations when tuning an existing rule.

Documentation and Context

Rule Metadata Checks

Testing and Validation