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.


10:13 AM
Adrian Lane
Adrian Lane

Discovery And Your Database

Database discovery is the act of locating databases on a network. Years ago, this was simple because companies had only one or two databases. Now just about every application created relies on database services to provide data integrity and transactional consistency.

Database discovery is the act of locating databases on a network. Years ago, this was simple because companies had only one or two databases. Now just about every application created relies on database services to provide data integrity and transactional consistency.As is common with SQL Server, a single installation can support hundreds of database instances. With virtualization and mirroring in wide use for disaster recovery, these databases move and propagate automatically. Many desktop applications embed "lite" versions of enterprise databases, scattering databases across the endpoint. With companies having geographically disperse locations on networks further segmented by business function, finding and itemizing different databases is a complex task.

Each database in an organization poses a security risk. The risk is both in the data it houses and as a potential target for attackers. Forensic analysis of major data breaches has proved highly sensitive data has been stolen from unsecured test servers, and databases with poor security are leveraged to attack other database installations. Unless the database and data security settings have been adjusted from their default settings, they are not secure.

Discovery is not really a security operation per se, but finding databases is useful for a wide variety of security and operational tasks. The business motivation for database discovery is to itemize the databases in order to understand where these assets reside. Once discovered, this information is used to verify they conform to security policy through assessment. It is used by operations staff to check licensing and patch revision levels. It is used for data discovery tools to locate sensitive information. Databases communicate with other applications by setting themselves up to listen for communication requests at a specific location called a network "port." Most database discovery tools work by performing a scan of network ports on a server. As databases default (Oracle is port 1521, SQL Server is port 1433), automated network scanning tools will call these locations to see if there is a service listening. If so, it assumes a database is present. Most automated scanning tools accept a TCP-IP address range as well as port address ranges, and will look for specific database types. The scanner will attempt to communicate with the port and, depending on the response, can determine database type and possibly version.

If your company has only a handful of production databases, then database discovery is probably not appropriate for you. But if your firm has many applications and/or heterogeneous databases, then discovery tools are very helpful in managing database security. Both commercial and free tools are available, with variations on ease of use, speed of scan, and integration capabilities. Plan on running periodically to verify what you have, and locate new databases that have popped up.

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


Recommended Reading:

Comment  | 
Print  | 
More Insights
Newest First  |  Oldest First  |  Threaded View
COVID-19: Latest Security News & Commentary
Dark Reading Staff 7/9/2020
Russian Cyber Gang 'Cosmic Lynx' Focuses on Email Fraud
Kelly Sheridan, Staff Editor, Dark Reading,  7/7/2020
Why Cybersecurity's Silence Matters to Black Lives
Tiffany Ricks, CEO, HacWare,  7/8/2020
Register for Dark Reading Newsletters
White Papers
Current Issue
Special Report: Computing's New Normal, a Dark Reading Perspective
This special report examines how IT security organizations have adapted to the "new normal" of computing and what the long-term effects will be. Read it and get a unique set of perspectives on issues ranging from new threats & vulnerabilities as a result of remote working to how enterprise security strategy will be affected long term.
Flash Poll
The Threat from the Internetand What Your Organization Can Do About It
The Threat from the Internetand What Your Organization Can Do About It
This report describes some of the latest attacks and threats emanating from the Internet, as well as advice and tips on how your organization can mitigate those threats before they affect your business. Download it today!
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
PUBLISHED: 2020-07-10
Django Two-Factor Authentication before 1.12, stores the user's password in clear text in the user session (base64-encoded). The password is stored in the session when the user submits their username and password, and is removed once they complete authentication by entering a two-factor authenticati...
PUBLISHED: 2020-07-10
In Bareos Director less than or equal to 16.2.10, 17.2.9, 18.2.8, and 19.2.7, a heap overflow allows a malicious client to corrupt the director's memory via oversized digest strings sent during initialization of a verify job. Disabling verify jobs mitigates the problem. This issue is also patched in...
PUBLISHED: 2020-07-10
Bareos before version 19.2.8 and earlier allows a malicious client to communicate with the director without knowledge of the shared secret if the director allows client initiated connection and connects to the client itself. The malicious client can replay the Bareos director's cram-md5 challenge to...
PUBLISHED: 2020-07-10
osquery before version 4.4.0 enables a priviledge escalation vulnerability. If a Window system is configured with a PATH that contains a user-writable directory then a local user may write a zlib1.dll DLL, which osquery will attempt to load. Since osquery runs with elevated privileges this enables l...
PUBLISHED: 2020-07-10
An exploitable SQL injection vulnerability exists in the Admin Reports functionality of Glacies IceHRM v26.6.0.OS (Commit bb274de1751ffb9d09482fd2538f9950a94c510a) . A specially crafted HTTP request can cause SQL injection. An attacker can make an authenticated HTTP request to trigger this vulnerabi...