Perimeter
2/2/2011
06:16 PM
Adrian Lane
Adrian Lane
Commentary
50%
50%

Securing Databases In The Cloud

Cloud services are comprised of pools of compute, network, information, and storage pools, so focus on securing the information rather than the database

I'm in the process of writing some training materials for the Cloud Security Alliance (CSA) certification exam. When coming up with recommendations that follow the CSA Security Guidance (PDF), you begin to realize that each of the different deployment models for "the cloud" change what you can do -- and what you need to do -- for security. Dramatically.

Depending on the model you select, some of the technologies we use today just don't work. Further, what's considered a database in the cloud commonly includes indexed flat files, horizontal, in memory, noSQL, and hybrid forms along with ubiquitous relational platforms, each with their own set of best practices. Finally, each cloud vendor provides slightly different security features, so you have to tweak your security model regardless.

Then it dawned on me. It would be a whole lot easier to recommend how to secure the data as opposed to the database and associated infrastructure. That is the goal, right? Keep your data safe?

During the next couple of weeks, my goal is to introduce an approach to securing structured data within different cloud deployments. I am calling it the Information Centric Security Life Cycle because it looks at how to protect data in use, in motion, and at rest. To frame the discussion I will need to outline the different cloud deployment models, namely platform-as-a-service (PaaS), infrastructure-as-a-service (IaaS), software-as-a-service (Saas), and public vs. private environments. Each model provides a different base set of security features out of the box, and requires you to fill in the gaps. That's really one of the biggest challenges with cloud security is determining what is available and then figuring out what you need to sufficiently protect data.

Most of you are familiar with SaaS, some of you hearing the term long before "the cloud" entered into your IT vocabulary. In essence, you rent software that is hosted on someone else's servers. Your store your data there, customize the Web interface to your liking, and have your employees use the Web portal to access the software as if it were your own.

Behind the scenes, all of the servers, routers, databases, and associated software are owned and operated by the service provider. What's more, you actually share that application with other customers in what is called a multitenant environment. The cost of these services goes down because you are sharing resources among many customers. The democratization of resources and elastic nature of the service does not get pushed in your face unless you look behind the curtain to see what's going on.

So what if you want to run different applications, or multiple applications, on the same model? When you peel back the layer of service, you get PaaS. PaaS is different from SaaS because you are responsible for the management of the software stack. You are being provided a platform, typically from the OS layer up, on top of which you install and manage your applications. You pay for each instance you create.

If we peel back one more layer off the stack, then we are left with raw infrastructure; processing power, disk storage, and Internet connectivity. When we subscribe at this level, we are buying IaaS. In this model we orchestrate the raw resources we need and install whatever operating systems, file systems, or network topologies we need.

The more abstract the service, the more security you are responsible for providing. When it comes down to it, cloud computing separates applications, information, and underlying infrastructure into logical pools of resources. But since we have abstracted computing resources into little bits, the security features available within traditional systems are usually neither present nor offered by your cloud provider. The pools of resources can be rapidly assigned, configured, and scaled as needed. The cloud is essentially a utility-like model for allocating computing resources; you use what you need and get charged for however much you use. The security model should follow the use model. It's for this reason -- because cloud services look at resources in a granular fashion -- that it makes sense to look at security at the component, or data, level.

Two additional distinctions need to be made to contrast different cloud models and the underlying deployment of the cloud resources. The first important distinction is that "virtualization" and "cloud" are not the same. Your cloud provider may or may not use virtualization technology. Virtual servers are talked about in the same breath as the cloud because they are a useful measurement of resources. It was Chris Hoff on the Rational Survivability blog who said it best: "Depending upon the type of Cloud, the de-facto atomic unit of the digital infrastructure is now the virtual machine ... virtualization is not required for Cloud Computing, but is an enabler."

The second distinction is public vs. private clouds. Given the gray areas around compliance objectives, and that separation of duties and data security in a multitenant environment don't meet compliance guidelines, we see cloud vendors and end users create "private clouds" where multitenancy and data co-mingling do not occur.

In my next blog post, I will outline some of the security issues with cloud environments and introduce the data centric security life cycle.

Adrian Lane is an analyst/CTO with Securosis LLC, an independent security consulting practice. Special to Dark Reading. Adrian Lane is a Security Strategist and brings over 25 years of industry experience to the Securosis team, much of it at the executive level. Adrian specializes in database security, data security, and secure software development. With experience at Ingres, Oracle, and ... View Full Bio

Comment  | 
Print  | 
More Insights
Register for Dark Reading Newsletters
White Papers
Cartoon
Current Issue
Dark Reading December Tech Digest
Experts weigh in on the pros and cons of end-user security training.
Flash Poll
Title Partner’s Role in Perimeter Security
Title Partner’s Role in Perimeter Security
Considering how prevalent third-party attacks are, we need to ask hard questions about how partners and suppliers are safeguarding systems and data.
Video
Slideshows
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2014-7830
Published: 2014-11-24
Cross-site scripting (XSS) vulnerability in mod/feedback/mapcourse.php in the Feedback module in Moodle through 2.4.11, 2.5.x before 2.5.9, 2.6.x before 2.6.6, and 2.7.x before 2.7.3 allows remote authenticated users to inject arbitrary web script or HTML by leveraging the mod/feedback:mapcourse cap...

CVE-2014-7831
Published: 2014-11-24
lib/classes/grades_external.php in Moodle 2.7.x before 2.7.3 does not consider the moodle/grade:viewhidden capability before displaying hidden grades, which allows remote authenticated users to obtain sensitive information by leveraging the student role to access the get_grades web service.

CVE-2014-7832
Published: 2014-11-24
mod/lti/launch.php in the LTI module in Moodle through 2.4.11, 2.5.x before 2.5.9, 2.6.x before 2.6.6, and 2.7.x before 2.7.3 performs access control at the course level rather than at the activity level, which allows remote authenticated users to bypass the mod/lti:view capability requirement by vi...

CVE-2014-7833
Published: 2014-11-24
mod/data/edit.php in Moodle through 2.4.11, 2.5.x before 2.5.9, 2.6.x before 2.6.6, and 2.7.x before 2.7.3 sets a certain group ID to zero upon a database-entry change, which allows remote authenticated users to obtain sensitive information by accessing the database after an edit by a teacher.

CVE-2014-7834
Published: 2014-11-24
mod/forum/externallib.php in Moodle 2.6.x before 2.6.6 and 2.7.x before 2.7.3 does not verify group permissions, which allows remote authenticated users to access a forum via the forum_get_discussions web service.

Best of the Web
Dark Reading Radio
Archived Dark Reading Radio
Now that the holiday season is about to begin both online and in stores, will this be yet another season of nonstop gifting to cybercriminals?