Cloud Security: new models imply new vulnerabilities

A few months ago, we tested Amazon’s IaaS offer, concluding that machines deployed closely in time were closely located. We were also able of pinging machines in the same subnetwork which did not belong to us.

A recent article by UCSD and MIT researchers has much further expanded our initial observations on Cloud’s security implications.

The authors use several “probing” techniques such as enumerating public EC2-based web servers using hping2, nmap, or wget, translating responsive public IPs to internal Amazon’s IPs (via DNS queries within Amazon), and launching several EC2 instances of varying types, analyzing the resulting IP address assignment.

Having these  tools handy, the authors are capable of extracting the following heuristics:

  • All IPs from a /16 are from the same EC2 availability zone (e.g. US).
  • A /24 inherits any included sampled instance type (e.g. small, large, x-large etc).
  • A /24 containing a Dom0 IP address only contains Dom0 IP addresses. We associate to this /24 the type of the Dom0’s associated instance (recall that Dom0 is the first domain started by the hypervisor after booting)
  • All /24 between two consecutive Dom0 /24’s inherit the former’s associated type.

This topic is often overlooked by Cloud networking providers. “Simple” means can be set up, like, for instance, making local IP assignment random across instance types and availability zones and/or restricting the customers view of this process.

The paper deals with an important issue, preventing the determination of whether or not a VM is located on the same physical machine that other VMs (”colocation”). Three checkpoints are proposed: 1) matching Dom0 IP address; 2) small packet RTT; 3) numerically close internal IP addresses.  The authors conclude that “even a very naive attack strategy can successfully achieve co-residence against a not-so-small fraction of targets” and “instance flooding” (spinning up numerous VMs) immediately after the target has booted to “take advantage of the parallel placement locality exhibited by the EC2 placement algorithms”.

Having colocated VMs implies the possibility of preforming side attack channels. Several of these are discussed: Denial of Service (shared physical resources imply covert channels that can be employed for implementing cross VM attacks), measuring cache usage (creating covert channels between cooperating processes belonging to different VMs), detection of  co-residence without relying on sending any network probes (injecting load on an alien VM and monitor our own in order to correlate load increases in the other VM with performance decreases in our), or estimating traffic rates to deduce targets’ activity patterns in order to determine the most painful moment for an attack to be done.

The paper is a MUST read for both, IaaS Cloud providers and those aiming at moving some services to the Cloud .

Cloud Security Alliance

Cloud Security Alliance has recently released their second edition of the Cloud Security Guide, defining security recommendations for Cloud security at different architectural levels.

We’d like to highlight one important issue raised by the authors: the abstraction level provided by the CLoud, which hides the underlying heterogeneity of resources, makes it specially hard to integrate classical security controls, such as for instance those dealing with network security.

We agree that having these recommendations handy would result in a secure Cloud environment. However, as we highlighted in a previous post, we still miss a detailed architectural state of the art for tools helping to enforce the proposed recommendations.

As stated in a well-known Cloud security blog, it is the time for Cloud security resolutions, not just recommendations or predictions.

Tags: , ,

Cloud security, the same questions over and over again

A few weeks ago, the European Network and Information Security Agency (ENISA) released a document highlighting relevant topics for Cloud security.

In their “Cloud Computing: Benefits, risks and recommendations for information security” report, European experts analyze the main threats for Cloud security adoption.

ENISA CLoud security

Stating that the “major conclusion of the report is that cloud’s economies of scale and flexibility are both a friend and a foe from a security point of view. The massive concentrations of resources and data present a more attractive target to attackers, but cloud-based defences can be more robust, scalable and cost-effective” is, at best, a short outcome for 123 pages.

The report lacks a detailed state of the art, its results being partially based on the perception as obtained in a survey to SMEs whose sample space is very very limited and can hardly reflect the diversity of SMEs in the EU. Lacking appropriate state of the art resulted in very general research recommendations for investigators and somewhat vague indications for Cloud users. We missed more concrete mechanisms and a specific section for Cloud providers to increase their provided security levels, which cold certainly help European companies to engage more clients to their CLoud businesses.

Read the rest of this entry »

Tags: , ,

Cloud security

A recent article describes “new” approaches by Amazon, CohesiveFT and other relevant Cloud players to secure their networks.After all,  it is not just about providing secured VMs in a very secure hypervisor, but also about securing the very communications themselves.

Again, the wheel turns to use well-known technologies for securing the networks and label them with the new buzzword.

In addition, Amazon offers the possibility of integrating a  corporate physical machine  with those in the public Cloud so as to let users keep the sensitive data home. A deeper analysis on how the information exchange is done between local physocal machines and Cloud machines, how keys are maaged and so on.

Anyway, this new announcement shows the important concern security has become when it comes to Cloud adoption by enterprises.