Dark Reading is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

Perimeter

3/25/2013
11:11 AM
Adrian Lane
Adrian Lane
Commentary
50%
50%

Database Security Restart

How to restart your database security program

I'd mentioned a couple posts back that I was being asked to jump-start database security programs for several companies. Some large enterprises, some small, but the basic problem is the same: They need to get a handle on the current security situation and plan how to improve across the board. So in concept this is pretty simple, just figure out where they want to be, and build a plan to get there.

In reality, getting consistency across the company is a big challenge. Each firm has some existing tools to automate the mundane security tasks, but the quality of the tools and resources varies greatly, as does the lever of security and compliance requirements. Fundamentally, they all have the same basic question: "Where do I start?"

To form a plan, let's start with three basic questions:

* What do you have? * What are you accountable for? * What do you not know?

To address the first bullet, take a basic inventory of systems that you are responsible for. You will need this information in order to understand both the scope of work, they types of skills you'll need, and the types of tools you'll need to automate some security tasks. There are tools like NMap to help scan the network and provide an inventory.

Second, understand what these databases are used for and who owns them. That should give you a better idea of the type of data they store, the applications they serve, and who has access rights. This later point is incredibly important because, if you need to secure the database, you're going to need to get someone with admin rights to make the appropriate changes. For smaller firms you may already know all of this, or you think you do; you may be surprised when network scan results show a number of applications that have embedded database systems that are largely insecure. In larger organizations with databases being provisioned outside of IT -- in QA, in development, in cloud environments -- that clouds the picture. Again, find out what databases are in play, and how to get access.

Third, what tools are available to you? Did someone in your organization previously purchase or deploy database security tools? Were some tools bundled with the software that you purchased from your vendor? Do you have scripts? Do some of the generic network or vulnerability scanners work with databases? Do you have a support agreement with the vendor who will answer your questions or provide you with best-practices documentation? You're going to need some tools to help automate tasks and round out your knowledge of database security issues. Tools, documents, access to peer groups, and vendor support are good ways to do this.

For the second bullet, ask yourself if you know what a secure database looks like. Do you have a security specification? Do you have a baseline set of standards for DB security? What compliance controls are you supposed to be following? Understanding what security and compliance issues you are responsible for is key to knowing how to act. For most DBA's and security professionals, you'll have hundreds of databases to manage, so you're going to need to prioritize what controls are most important, which databases are most important, and formulate a plan of action based upon that. You can secure most databases with a couple days' work -- you cannot secure all of your databases with a couple days work. Build a plan based upon _your_ priorities.

Bullet three is simply to stress that the discover process for databases should yield some surprises. Now you need to run assessments of the databases you have to secure and find out what state they are in - don't try to do this by hand but get an open source or commercial scanner. You'll save time and it will have embedded knowledge about hundreds of databases. And these tools cover most areas of concern: patching, IAM, configuration, compliance, up-to-date threat intel, and (in most cases) discovery.

If you can, work with other groups to get an idea of how many databases, and of what type, are being used. This may sound like more work -- and it is -- but when you run purchase requests up the chain-of-command, they'll likely get stalled by purchasing until other groups get their say in the process. Deal with this up front -- and you'll likely get to push the expense across other groups within your company.

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
Comments
Newest First  |  Oldest First  |  Threaded View
Barry Shteiman
50%
50%
Barry Shteiman,
User Rank: Apprentice
3/25/2013 | 6:32:51 PM
re: Database Security Restart
There is another element that I believe is worth bringing to the table when database security projects are on the line:-the hidden costs of infrastructure.

Projects around database security are sometimes planned around an audit point as the business requirement, but they do not take into account all of the infrastructure required to get to the goal.-Storage space is many times overlooked in the theme of things, and it is not uncommon to see project managers struggle allocating space only after the project has kicked off. same goes for Virtualization infrastructure and-management-efforts.

I would like to put an emphasis Adrian's excellent point of view, that the-consensus-for a database security project sow and content should involve both the business unit end of the organization and all of the relevant takers from the technical-perspective. much like any large project, it is going to touch everyone.
Navigating Security in the Cloud
Diya Jolly, Chief Product Officer, Okta,  12/4/2019
Register for Dark Reading Newsletters
White Papers
Video
Cartoon Contest
Current Issue
Navigating the Deluge of Security Data
In this Tech Digest, Dark Reading shares the experiences of some top security practitioners as they navigate volumes of security data. We examine some examples of how enterprises can cull this data to find the clues they need.
Flash Poll
Rethinking Enterprise Data Defense
Rethinking Enterprise Data Defense
Frustrated with recurring intrusions and breaches, cybersecurity professionals are questioning some of the industrys conventional wisdom. Heres a look at what theyre thinking about.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2019-16772
PUBLISHED: 2019-12-07
The serialize-to-js NPM package before version 3.0.1 is vulnerable to Cross-site Scripting (XSS). It does not properly mitigate against unsafe characters in serialized regular expressions. This vulnerability is not affected on Node.js environment since Node.js's implementation of RegExp.prototype.to...
CVE-2019-9464
PUBLISHED: 2019-12-06
In various functions of RecentLocationApps.java, DevicePolicyManagerService.java, and RecognitionService.java, there is an incorrect warning indicating an app accessed the user's location. This could dissolve the trust in the platform's permission system, with no additional execution privileges need...
CVE-2019-2220
PUBLISHED: 2019-12-06
In checkOperation of AppOpsService.java, there is a possible bypass of user interaction requirements due to mishandling application suspend. This could lead to local information disclosure no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVers...
CVE-2019-2221
PUBLISHED: 2019-12-06
In hasActivityInVisibleTask of WindowProcessController.java there?s a possible bypass of user interaction requirements due to incorrect handling of top activities in INITIALIZING state. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction ...
CVE-2019-2222
PUBLISHED: 2019-12-06
n ihevcd_parse_slice_data of ihevcd_parse_slice.c, there is a possible out of bounds write due to a missing bounds check. This could lead to remote code execution with no additional execution privileges needed. User interaction is needed for exploitation.Product: AndroidVersions: Android-8.0 Android...