Detection rules › Sigma

AWS ElastiCache Security Group Modified or Deleted

Status
test
Severity
low
Log source
product aws, service cloudtrail
Author
Austin Songer @austinsonger
Source
github.com/SigmaHQ/sigma

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

MITRE ATT&CK coverage

TacticTechniques
ImpactT1531 Account Access Removal

Event coverage

Rule body yaml

title: AWS ElastiCache Security Group Modified or Deleted
id: 7c797da2-9cf2-4523-ba64-33b06339f0cc
status: test
description: Identifies when an ElastiCache security group has been modified or deleted.
references:
    - https://github.com/elastic/detection-rules/blob/7d5efd68603f42be5e125b5a6a503b2ef3ac0f4e/rules/integrations/aws/impact_elasticache_security_group_modified_or_deleted.toml
author: Austin Songer @austinsonger
date: 2021-07-24
modified: 2022-10-09
tags:
    - attack.impact
    - attack.t1531
logsource:
    product: aws
    service: cloudtrail
detection:
    selection:
        eventSource: elasticache.amazonaws.com
        eventName:
            - 'DeleteCacheSecurityGroup'
            - 'AuthorizeCacheSecurityGroupIngress'
            - 'RevokeCacheSecurityGroupIngress'
            - 'AuthorizeCacheSecurityGroupEgress'
            - 'RevokeCacheSecurityGroupEgress'
    condition: selection
falsepositives:
    - 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 from unfamiliar users or hosts should be investigated. If known behavior is causing false positives, it can be exempted from the rule.


level: low

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

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

Indicators

Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.

FieldKindValues
eventNameeq
  • AuthorizeCacheSecurityGroupEgress
  • AuthorizeCacheSecurityGroupIngress
  • DeleteCacheSecurityGroup
  • RevokeCacheSecurityGroupEgress
  • RevokeCacheSecurityGroupIngress
eventSourceeq
  • elasticache.amazonaws.com