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

DPAPI Backup Key Export Attempt

Risk Factors

An attacker must have domain administrator privileges, knowledge of Active Directory (AD), and knowledge to decrypt Data Protection API (DPAPI) secrets. Attackers that have sufficient privileges can export backup keys from domain controllers (DCs) with attack tools. Attackers that successfully retrieve a backup key can decrypt sensitive data for any domain user.

Category

Exploitation
Detection diagram
Next in Exploitation: Database Brute Force

Attack Background

The DPAPI is built into Windows operating systems because DPAPI enables fast encryption of sensitive data. The DPAPI creates a unique masterkey for each user. In an AD environment, the masterkey can be decrypted with a user domain password to access sensitive data, such as system passwords or certificates. The DPAPI also creates a backup key in case a user domain password changes. The backup key is a private key that is stored on a DC as a Local Security Authority (LSA) secret. The backup key can decrypt the masterkey for any user in an AD domain.

An attacker with domain administrator privileges can leverage attack tools such as Mimikatz and SharpDPAPI to export the domain backup key from a DC. The attacker or tool sends a Microsoft remote procedure call (MS-RPC) protocol request with the interface and operation, lsarpc:LsarRetrievePrivateData, to export the backup key. With the backup key, the attacker can decrypt masterkeys for any domain user and then decrypt their sensitive data.

Mitigation Options

Monitor and investigate new or unusual activity to minimize potential damage
Minimize the number of users with domain administrator privileges

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?