ExtraHop named a Leader in the 2025 Forrester Wave™: Network Analysis And Visibility Solutions

Search
  • Platformchevron right
  • Solutionschevron right
  • Modern NDRchevron right
  • Resourceschevron right
  • Companychevron right

DETECTION OVERVIEW

Database Takeover Attack

Risk Factors

A database takeover is a planned attack that requires both detailed information about the target database and administrator privileges for running commands on the target server. Attack tools can help attackers take over a database server. After an attacker gains control of the server, they can download sensitive information from any database and conduct additional attacks on the network.

The system might change the risk score for this detection.

Category

Exploitation
Detection diagram
Next in Exploitation: Drupal Exploit Attempt - [Multiple CVEs]

Attack Background

Databases management systems (DBMS) store data and interact with the file system and operating system on a server. A database takeover gives the attacker abilities to interact with sensitive data and set up covert channels for exfiltration or additional attacks. Attack tools such as sqlmap help the attacker automate the takeover process, which includes a combination of commands and queries. First, the attacker with stolen administrator credentials establishes an interactive SQL shell with the database, or interacts with the database through SQL injection vulnerabilities on the web server. Next, the attacker submits commands in SQL queries. The type of query depends on the database software and the underlying operating system of the DBMS (xp_cmdshell queries for Microsoft SQL Servers, for example). These queries are submitted over protocols such as MySQL, Oracle TNS, or Microsoft TDS. After the commands run on the server, the attacker collects command output through additional SQL queries (SELECT @ sqlmapoutput for the sqlmap tool, for example).

Mitigation Options

Implement the least privilege model for application accounts and remove root or system access on database accounts, which can help minimize potential damage

Implement strict rules for outbound traffic from databases that contain valuable data

Review authentication methods and enforce policies for secure credentials creation and multi-factor authentication on databases

Implement strict audit controls that log every database change

MITRE ATT&CK ID

Associated content

Announcing The Forrester Wave™: Network Analysis And Visibility Solutions, Q4 2025

Network analysis and visibility solutions remain underrepresented in enterprises. Find out why in this preview of a new Wave report.

Report

ExtraHop® Named a Leader in First-Ever Gartner® Magic Quadrant™ for Network Detection and Response — ExtraHop

ExtraHop® Named a Leader in First-Ever Gartner® Magic Quadrant™ for Network Detection and Response

News

Detections

Visit this resource for more information.

Docs

The 2025 ExtraHop Global Threat Landscape Report: The Alarming Reality of Threat Actor Dwell Time and Deeper Network Access — ExtraHop

This analysis exposes the critical link between an organization's lack of internal visibility and the escalating cost of compromise, demanding an urgent re-evaluation of how core business assets are protected.

Blog

ExtraHop RevealX MITRE ATT&CK Coverage 2024 — ExtraHop

Learn why you need to be wary of the claims certain network detection and response providers make about their coverage against the MITRE ATT&CK framework.

Blog

MITRE ATT&CK - Network Detection & Response with RevealX — ExtraHop

Learn how NDR from RevealX helps security teams detect and investigate more adversary TTPs in the MITRE ATT&CK framework than rule-based tools.

External
Periodic Table of Use Cases

What else can RevealX do for you?