Perimeter
3/9/2011
10:24 AM
Adrian Lane
Adrian Lane
Commentary
50%
50%

Database Lockdown In The Cloud

In the cloud, we turn things around a bit and focus on data security rather than the database container

In this post, I'll describe the data-centric security life cycle. This approach is in contrast to many existing database security models, where the focus of the efforts is on securing the database container. This turns things around a bit and focuses on data security.

Most database security programs focus on patching and configuration of the database in order to protect infrastructure from vulnerabilities. Access controls limit data access depending on user roles and credentials. This model works well when we have a static database infrastructure and can rely on a set of services to fortify security.

But with cloud services, some of the basic infrastructure and trust relationships we have come to rely on are not available or require different deployment to work properly. For example, snapshots and machine images are designed to be recovered quickly, but the cloud does not inherently differentiate good from bad, meaning both intended and rogue instances can be booted and serve content. If you rely on your SAN or tape archival systems to encrypt data at rest, then you need to compensate for the lack of that built-in feature when moving to the cloud.

The goal is to reorient your security program to protect the information, minimizing reliance on security provided by the database, network, platform or places where it's stored. Since we don't necessarily know what the infrastructure is, where it is located, or who has access, we need to account for data security as data moves into and through the cloud. Domain 5 of the CSA Security Guidance (PDF) has a nice picture that illustrates the data centric security process. We define five phases or states: Definition, Storage, Use, Archival and Destruction.

As data moves from one phase to another, we apply specific protections that are appropriate to that phase. To start the process, we define data security measures as we discover data in, or move data to, the cloud. As data is stored, it's encrypted by the database or application, with access controls and rights management governing retrieval. Applications build in logical controls for the retrieval of information and rely on activity monitoring and rights management to enforce security policies. Use of DLP and content monitoring governs whether data can be moved, and encryption and application security controls secure authorized data exchanges. Finally, archival and destruction are managed by encryption, asset, and key management services to secure images that could reside on cheap storage in perpetuity.

Before I go into detail on each of these states, I need to quickly discuss why this is different and, hopefully, why it is more appropriate to cloud environments.

Each cloud delivery model (SaaS, PaaS, IaaS) has different security challenges. Log files in a multitenant IaaS or PaaS environment are not always available from your provider because they contain information from other users as well as your own. So not only are you unable to review the logs, they usually contain sensitive information. For SaaS we can't encrypt data prior to putting it in the cloud as we break the application. That means you are reliant on the provider to secure files and archives and to police their administrators.

In a nutshell, you don't really know who has access to your data or have the ability to audit the providers security controls. The data-centric security model is intended to wrap the data in a protective layer, reducing exposure and reliance on infrastructure security.

In the next post, I'll cover the definition and storage phases, and discuss specific technologies that are applied to secure data within that phase.

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
Latest Comment: nice post
Current Issue
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-1750
Published: 2015-07-01
Open redirect vulnerability in nokia-mapsplaces.php in the Nokia Maps & Places plugin 1.6.6 for WordPress allows remote attackers to redirect users to arbitrary web sites and conduct phishing attacks via a URL in the href parameter to page/place.html. NOTE: this was originally reported as cross-sit...

CVE-2014-1836
Published: 2015-07-01
Absolute path traversal vulnerability in htdocs/libraries/image-editor/image-edit.php in ImpressCMS before 1.3.6 allows remote attackers to delete arbitrary files via a full pathname in the image_path parameter in a cancel action.

CVE-2015-0848
Published: 2015-07-01
Heap-based buffer overflow in libwmf 0.2.8.4 allows remote attackers to cause a denial of service (crash) or possibly execute arbitrary code via a crafted BMP image.

CVE-2015-1330
Published: 2015-07-01
unattended-upgrades before 0.86.1 does not properly authenticate packages when the (1) force-confold or (2) force-confnew dpkg options are enabled in the DPkg::Options::* apt configuration, which allows remote man-in-the-middle attackers to upload and execute arbitrary packages via unspecified vecto...

CVE-2015-1950
Published: 2015-07-01
IBM PowerVC Standard Edition 1.2.2.1 through 1.2.2.2 does not require authentication for access to the Python interpreter with nova credentials, which allows KVM guest OS users to discover certain PowerVC credentials and bypass intended access restrictions via unspecified Python code.

Dark Reading Radio
Archived Dark Reading Radio
Marc Spitler, co-author of the Verizon DBIR will share some of the lesser-known but most intriguing tidbits from the massive report