Amazon Web Services Security — Part One

After reading about the Cloud Services FAIL over at T-Mobile/Sidekick, I wanted to dig into Amazon’s Web Services (S3, EC2, etc.) which I utilize to see what they say about the security in-place. Here are some interesting bits:

Network Security

The AWS network provides significant protection against traditional network security issues and the customer can implement further protection. The following are a few examples:

Distributed Denial Of Service (DDoS) Attacks: AWS Application Programming Interface (API) endpoints are hosted on large, Internet-scale, world-class infrastructure that benefits from the same engineering expertise that has built Amazon into the world’s largest online retailer. Proprietary DDoS mitigation techniques are used. Additionally, Amazon’s networks are multi-homed across a number of providers to achieve Internet access diversity.

Man In the Middle (MITM) Attacks: All of the AWS APIs are available via SSL-protected endpoints which provide server authentication. Amazon EC2 AMIs automatically generate new SSH host certificates on first boot and log themto the instance’s console. Customers can then use the secure APIs to call the console and access the host certificates before logging into the instance for the first time. Customers are encouraged to use SSL for all of their interactions with AWS. IP Spoofing: Amazon EC2 instances cannot send spoofed network traffic. The Amazon -controlled, host-based firewall infrastructure will not permit an instance to send traffic with a source IP or MAC address other than its own.

Port Scanning: Port scans by Amazon EC2 customers are a violation of the Amazon EC2 Acceptable Use Policy (AUP). Violations of the AUP are taken seriously, and every reported violation is investigated. Customers can report suspected abuse via the contacts available here: http://aws.amazon.com/contact- us/report-abuse/ When Port scanning is detected it is stopped and blocked. Port scans of Amazon EC2 instances are generally ineffective because, by default, all inbound ports on Amazon EC2 instances are closed, and are only opened by the customer. The customer’s strict management of security groups can further mitigate the threat of port scans. If the customer configures the security group to allow traffic from any source to a specific port, then that specific port will be vulnerable to a port scan. In these cases, the customer must use appropriate security measures to protect listening services that may be essential to their application from being discovered by an unauthorized port scan. For example, a web server must clearly have port 80 (HTTP) open to the world, and the administrator of this server is responsible for ensuring the security of the HTTP server software, such as Apache.

Packet sniffing by other tenants: It is not possible for a virtual instance running in promiscuous mode to receive or “sniff” traffic that is intended for a different virtual instance. While customers can place their interfaces into promiscuous mode, the hypervisor will not deliver any traffic to them that is not addressed to them. Even two virtual instances that are owned by the same customer, located on the same physical host, cannot listen to each other’s traffic. Attacks such as ARP cache poisoning do not work within Amazon EC2. While Amazon EC2 does provide ample protection against one customer inadvertently or maliciously attempting to view another’s data, as a standard practice customers should encrypt sensitive traffic.

This is good stuff. It is more than you can expect from most dedicated hosting datacenters. I believe that these measures actually make virtualized/ cloud environments more manageable from a security standpoint than a bunch of cheap Intel-based physical boxes connected to the Internet with only border security and the client’s knowledge to keep them safe.  Next time I will take a look at another area of security where I believe AWS are doing things right.

3 Responses to “Amazon Web Services Security — Part One”

  1. Scott Mortimer (magian) 's status on Tuesday, 13-Oct-09 10:22:39 UTC - Identi.ca Says:

    [...] !cybersec: Amazon Web Services Security – http://www.cybersec.eu/?p=233 [...]


  2. Amzon Web Services | CyberSec.eu | Hack In The Box Says:

    [...] Amazon Web Services Security — Part One [...]


  3. Ken Baker Says:

    I would like to know what “Proprietary DDoS mitigation techniques are used” and how they performed during the recent successful DDoS attacks on Amazon network. And what is Amazon doing to prevent such successful attacks in future.


Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>