LoFP LoFP / a elasticache security group deletion may be done by a system or network administrator. verify whether the user identity, user agent, and/or hostname should be making changes in your environment. security group deletions by unfamiliar users or hosts should be investigated. if known behavior is causing false positives, it can be exempted from the rule.

Sample rules

Deprecated - AWS ElastiCache Security Group Modified or Deleted

Description

Identifies when an ElastiCache security group has been modified or deleted. Amazon EC2-Classic and ElastiCache CacheSecurityGroups have been retired. Modern ElastiCache deployments run in a VPC and use standard EC2 security groups instead. This rule should be retained only for historical log analysis on legacy CloudTrail data. We recommend relying on “AWS EC2 Security Group Configuration Change” rule for network-control changes impacting ElastiCache in VPC-based deployments.

Detection logic

event.dataset:aws.cloudtrail and event.provider:elasticache.amazonaws.com and event.action:("Delete Cache Security Group" or
"Authorize Cache Security Group Ingress" or  "Revoke Cache Security Group Ingress" or "AuthorizeCacheSecurityGroupEgress" or
"RevokeCacheSecurityGroupEgress") and event.outcome:success

AWS ElastiCache Security Group Modified or Deleted

Description

Identifies when an ElastiCache security group has been modified or deleted.

Detection logic

condition: selection
selection:
  eventName:
  - DeleteCacheSecurityGroup
  - AuthorizeCacheSecurityGroupIngress
  - RevokeCacheSecurityGroupIngress
  - AuthorizeCacheSecurityGroupEgress
  - RevokeCacheSecurityGroupEgress
  eventSource: elasticache.amazonaws.com