
Adversary Use of Credentials from Password Stores
Adversaries use Credentials from Password Stores technique to harvest credentials
stored in security repositories, enabling them to expand their access within a target
environment. Since password stores often contain sensitive information, such as
account credentials for enterprise systems, cloud services, and critical applications,
they are particularly attractive to attackers. Compromised password stores can grant
adversaries elevated privileges, making it easier to maintain persistence, move laterally
across networks, and access valuable data.
This technique often requires attackers to gain access to the device or application
hosting the password store. The initial access can be achieved via Phishing T1566) or
exploiting public facing applications T1190. Once inside, attackers leverage various
tactics, including abusing administrative privileges or exploiting weaknesses in the
password store's design, to decrypt or directly extract the stored credentials. For
example, password managers and browser-based storage often rely on encryption to
secure stored data, but if the adversary can access the master key or exploit a design
flaw, the encrypted sensitive data becomes exposed.
By obtaining the stored credentials, adversaries can bypass other security controls
such as multi-factor authentication MFA, access sensitive data, or impersonate
legitimate users. Additionally, credentials extracted from password stores often include
details for privileged accounts or service accounts, which are particularly valuable for
expanding an attack's scope or achieving complete domain compromise.
1. Privilege Escalation
By extracting credentials stored in password repositories, attackers may gain access to
accounts with higher privileges than their initial foothold, enabling them to execute
actions or access systems that would otherwise be restricted. For instance, many users
and applications store administrator or service account credentials in password
managers, browser-based storage, or operating system keychains. If an adversary
compromises a machine or application and extracts these stored credentials, they
could use them to log into accounts with elevated privileges, such as domain
administrators, system administrators, or privileged cloud service accounts. This
access allows the attacker to bypass privilege constraints on their initial account,
significantly increasing their control over the environment.
2. Lateral Movement
Lateral movement involves an attacker expanding their access across systems and
networks after gaining an initial foothold. Extracting credentials from password stores is
a particularly effective method for this purpose, as it often provides the attacker with
legitimate authentication data for other accounts, systems, or applications. For
example, credentials for remote desktop connections, VPNs, or privileged accounts
might be stored in these repositories.
By using these credentials, attackers can authenticate to other systems within the
network as legitimate users, bypassing many security mechanisms that might block
unauthorized access.
Additionally, the credentials extracted may belong to users with access to critical or
interconnected systems, such as file shares, email servers, or administrative consoles.
By leveraging these credentials, adversaries can pivot through the network,
establishing persistence and identifying additional targets for exploitation.
3. Defense Evasion
With extracted credentials, adversaries can impersonate legitimate users to access
systems, applications, or resources. Compromised users' actions may appear normal
to security monitoring systems, reducing the likelihood of triggering alerts. For
example, logging into a system with the rightful user's credentials often bypasses
authentication-based controls, including multi-factor authentication MFA, if the
extracted credentials include tokens or session information.
Moreover, adversaries can use credentials to avoid detection tools that monitor
unauthorized execution or privilege escalation attempts. Instead of deploying malware
or using exploit-based methods, which may trigger antivirus or endpoint detection
systems, attackers with extracted credentials can perform their tasks directly through
authorized accounts and approved tools. This strategy minimizes their reliance on
potentially detectable malicious tools or techniques.
4. Persistence
By extracting stored credentials, adversaries can gain access to accounts that enable
them to re-enter the target environment at will. These credentials might belong to
privileged users, service accounts, or cloud-based applications, providing attackers
with multiple avenues for maintaining access. For instance, if an attacker retrieves the
credentials of an administrator or a system account, they can use these to log back into
the environment remotely, create backdoor accounts, or modify configurations to
secure their foothold.
Moreover, the use of legitimate credentials for persistence is particularly advantageous
for adversaries because it allows them to blend their activity with normal user behavior.
Unlike malware-based persistence methods, which rely on implanting additional code
or creating suspicious registry entries, using credentials appears less anomalous to
security monitoring tools. This makes detection more challenging and allows attackers
to operate covertly.
55