logo

Database

Aws Unapproved Amis

Description

Detects EC2 instances that are running on non-Amazon published AMIs (Amazon Machine Images). Using unofficial or untrusted AMIs can introduce security risks as they may contain malware, vulnerabilities, or malicious code.

Weakness:

333 - Insecure service configuration - EC2

Category: Functionality Abuse

Detection Strategy

    Scans all EC2 instances in the specified AWS region

    For each instance, checks the ImageOwnerAlias of its associated AMI

    Reports a vulnerability if the AMI's ImageOwnerAlias is not 'amazon'

    Each vulnerability includes the instance ARN and the non-compliant ImageOwnerAlias value