[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fnjWrD6tV031WSlFF5yYNkdwa-c4suZtd2mAssdfepIQ":3},{"lesson":4},{"id":5,"slug":6,"article_id":7,"title":8,"body":9,"prevention":10,"framework_refs":11,"framework_notes":17,"status":23,"created_at":24,"published_at":25,"article":26,"tags":30,"podcasts":43,"controls":44},"ca772feb-650f-4b53-9404-c11e2899dcb9","malicious-public-aws-amis-introduce-hidden-supply-chain-risks","8e5623df-34d1-4fd5-8ea3-141e6f9a6099","Malicious Public AWS AMIs Introduce Hidden Supply Chain Risks","Public AWS AMIs pose a significant supply chain risk because attackers can publish images that mimic trusted sources, embedding malware, hardcoded credentials, or unpatched software. When organizations incorporate these images into automated deployment pipelines or Golden AMI workflows without verification, they can unknowingly propagate compromise at scale across their cloud infrastructure. The lack of image provenance validation means a single malicious or misconfigured AMI can affect every workload built from it. This matters because cloud deployments are often fast and automated, meaning the blast radius of a compromised base image is far larger than a single compromised server.","**Immediate actions:**\n- Validate AMI ownership by checking the publisher's AWS account ID against official vendor documentation before use.\n- Scan all AMIs for embedded malware, exposed credentials, and known vulnerabilities using tools such as Amazon Inspector or third-party image scanners.\n\n**Long-term improvements:**\n- Establish an internal Golden AMI pipeline that builds and hardens images from trusted base sources rather than consuming public AMIs directly.\n- Implement an AMI lifecycle policy that rebuilds and re-validates images on a regular schedule to incorporate security patches.\n- Maintain a curated, approved AMI catalog enforced via AWS Service Control Policies (SCPs) to prevent use of unapproved images.\n\n**Detection measures:**\n- Enable AWS CloudTrail and Config rules to alert on the launch of any instance using an AMI not on the approved catalog.\n- Monitor deployed instances for unexpected processes, outbound connections, or credential usage that may indicate a compromised base image.",[12,13,14,15,16],"NIS2 Article 21(2)(d)","CIS Control 2: Inventory and Control of Software Assets (v8)","NIST SP 800-53 SA-12: Supply Chain Protection","NIST CSF 2.0 ID.SC-2: Suppliers and third-party partners of information systems","ISO\u002FIEC 27001:2022 A.8.30: Outsourced development",{"NIS2 Article 21(2)(d)":18,"NIST SP 800-53 SA-12: Supply Chain Protection":19,"ISO\u002FIEC 27001:2022 A.8.30: Outsourced development":20,"CIS Control 2: Inventory and Control of Software Assets (v8)":21,"NIST CSF 2.0 ID.SC-2: Suppliers and third-party partners of information systems":22},"This point specifically requires security measures addressing risks originating from suppliers and third-party providers, directly covering the risk of consuming unverified public AMIs from unknown publishers.","SA-12 requires organizations to protect against supply chain threats in the acquisition and use of software and systems, which directly applies to validating the integrity and provenance of public cloud images before deployment.","This control requires oversight of externally sourced software and components, applicable here because consuming a public AMI is effectively incorporating externally developed system software into the organization's environment without adequate review.","CIS Control 2 requires organizations to actively manage and approve software assets, which would include maintaining an authorized AMI catalog and preventing deployment of unapproved or unverified images.","This category calls for identifying, prioritizing, and assessing supply chain risks, which is precisely what is missing when organizations blindly consume public AMIs without verifying their source or integrity.","published","2026-11-17T17:21:57.509432+00:00","2026-11-17T17:21:57.479+00:00",{"id":7,"url":27,"slug":28,"title":29},"https:\u002F\u002Fblog.qualys.com\u002Fproduct-tech\u002F2026\u002F11\u002F17\u002Fpublic-aws-ami-risks-whoami-golden-ami","understanding-the-risks-of-public-aws-amis-hidden-dangers-of-malicious-and-misco-04c75b","Understanding the Risks of Public AWS AMIs: Hidden Dangers of Malicious and Misconfigured Images",[31,37],{"id":32,"name":33,"slug":34,"description":35,"color":36},"859cf0ad-a7e9-42bb-a75d-bac6511fa5d5","Configuration Management","configuration-management","Misconfigs, default credentials, exposed services","#eab308",{"id":38,"name":39,"slug":40,"description":41,"color":42},"f0c2a0af-58aa-4128-87c9-6acd30f2dc48","Supply Chain","supply-chain","Third-party risk, compromised dependencies","#8b5cf6",[],[45,49,53],{"slug":46,"name":47,"problem":48},"vulnerability-management","Vulnerability scanning and prioritisation","You know which systems are vulnerable, and which ones to fix first.",{"slug":50,"name":51,"problem":52},"asset-inventory","Cyber asset inventory","You cannot patch, monitor or protect the devices, cloud resources and accounts you do not know you have.",{"slug":54,"name":55,"problem":56},"cloud-security-posture","Cloud security posture management (CSPM and CNAPP)","Misconfigured cloud storage and over-permissive roles get caught before they leak."]