MITRE ATT&CKsub-technique

T1556.005 Reversible Encryption

Published 2022-01-13 Modified 2026-05-12 Official page ↗
Domain
enterprise
Tactics
Defense Impairment, Persistence, Credential Access
Platforms
Windows
Version
2.0
Created
2022-01-13

Description

An adversary may abuse Active Directory authentication encryption properties to gain access to credentials on Windows systems. The AllowReversiblePasswordEncryption property specifies whether reversible password encryption for an account is enabled or disabled. By default this property is disabled (instead storing user credentials as the output of one-way hashing functions) and should not be enabled unless legacy or other software require it. If the property is enabled and/or a user changes their password after it is enabled, an adversary may be able to obtain the plaintext of passwords created/changed after the property was enabled. To decrypt the passwords, an adversary needs four components: 1. Encrypted password (G$RADIUSCHAP) from the Active Directory user-structure userParameters 2. 16 byte randomly-generated value (G$RADIUSCHAPKEY) also from userParameters 3. Global LSA secret (G$MSRADIUSCHAPKEY) 4. Static key hardcoded in the Remote Access Subauthentication DLL (RASSFM.DLL) With this information, an adversary may be able to reproduce the encryption key and subsequently decrypt the encrypted password value. An adversary may set this property at various scopes through Local Group Policy Editor, user properties, Fine-Grained Password Policy (FGPP), or via the ActiveDirectory PowerShell module. For example, an adversary may implement and apply a FGPP to users or groups if the Domain Functional Level is set to "Windows Server 2008" or higher. In PowerShell, an adversary may make associated changes to user settings using commands similar to Set-ADUser -AllowReversiblePasswordEncryption $true.

Related

Subtechnique of · MITRE ATT&CK (1)

  • T1556 Modify Authentication Process technique

Tactic · MITRE ATT&CK (3)

  • TA0112 Defense Impairment tactic
  • TA0003 Persistence tactic
  • TA0006 Credential Access tactic

Referenced by MITRE ATT&CK · mitigates (2)

  • M1026 Privileged Account Management mitigation
  • M1027 Password Policies mitigation

Referenced by Compliance · mitigates (5)

  • CIS-6.5 Require MFA for Administrative Access CIS Safeguard v8.1
  • NIST-AC-2 Account Management NIST 800-53 control
  • NIST-AC-5 Separation of Duties NIST 800-53 control
  • NIST-AC-6 Least Privilege NIST 800-53 control
  • NIST-IA-5 Authenticator Management NIST 800-53 control

References