logo

Database

Aws Terminate Shutdown Behavior

Description

Detects EC2 instances that are configured to automatically terminate when a shutdown is initiated. This configuration can lead to accidental instance termination and data loss since the instance and its data will be permanently deleted instead of being stopped and preserved for future use.

Weakness:

333 - Insecure service configuration - EC2

Category: Functionality Abuse

Detection Strategy

    Checks if the EC2 instance is part of an Auto Scaling group - if it is, no vulnerability is reported

    For standalone EC2 instances, examines the instanceInitiatedShutdownBehavior attribute

    Reports a vulnerability if the shutdown behavior is set to 'terminate' instead of 'stop'

Severity v4.0

4.6

Medium

Method ID

CSPM-AWEDE

Technique

CSPM

Target

AWS

Technology

EC2

CWE ID(s)

CWE-497