CAPEC-561: Windows Admin Shares with Stolen Credentials
An adversary guesses or obtains (i.e. steals or purchases) legitimate Windows administrator credentials (e.g. userID/password) to access Windows Admin Shares on a local machine or within a Windows domain.
Last updated
Overview
Windows systems within the Windows NT family contain hidden network shares that are only accessible to system administrators. These shares allow administrators to remotely access all disk volumes on a network-connected system and further allow for files to be copied, written, and executed, along with other administrative actions. Example network shares include: C$, ADMIN$ and IPC$. If an adversary is able to obtain legitimate Windows credentials, the hidden shares can be accessed remotely, via server message block (SMB) or the Net utility, to transfer files and execute code. It is also possible for adversaries to utilize NTLM hashes to access administrator shares on systems with certain configuration and patch levels.
How the attack works
The phases an attacker typically follows.
- Step 1Explore
[Acquire known Windows administrator credentials] The adversary must obtain known Windows administrator credentials in order to access the administrative network shares.
- An adversary purchases breached Windows administrator credentials from the dark web.
- An adversary leverages a key logger or phishing attack to steal administrator credentials as they are provided.
- An adversary conducts a sniffing attack to steal Windows administrator credentials as they are transmitted.
- An adversary gains access to a Windows domain system/files and exfiltrates Windows administrator password hashes.
- An adversary examines outward-facing configuration and properties files to discover hardcoded Windows administrator credentials.
- Step 2Experiment
[Attempt domain authentication] Try each Windows administrator credential against the hidden network shares until the target grants access.
- Manually or automatically enter each administrator credential through the target's interface.
- Step 3Exploit
[Malware Execution] An adversary can remotely execute malware within the administrative network shares to infect other systems within the domain.
- Step 4Exploit
[Data Exfiltration] The adversary can remotely obtain sensitive data contained within the administrative network shares.
What the attacker needs
Prerequisites
- The system/application is connected to the Windows domain.
- The target administrative share allows remote use of local admin credentials to log into domain systems.
- The adversary possesses a list of known Windows administrator credentials that exist on the target domain.
Skills required
- Low skill: Once an adversary obtains a known Windows credential, leveraging it is trivial.
Resources required
- A list of known Windows administrator credentials for the targeted domain.
Consequences
What a successful CAPEC-561 attack can achieve.
Gain Privileges
Affects: Confidentiality, Access Control, Authentication
Read Data
Affects: Confidentiality, Authorization
Modify Data
Affects: Integrity
How to mitigate it
Defenses that reduce the risk of CAPEC-561.
- Do not reuse local administrator account credentials across systems.
- Deny remote use of local admin credentials to log into domain systems.
- Do not allow accounts to be a local administrator on more than one system.
How to detect it
Indicators that this attack may be underway.
- Data is being transferred and/or removed from administrative network shares.
- Suspicious or Malicious software is executed within administrative network shares.
- Suspicious or Malicious software is downloaded/installed on systems within the domain.
Examples
APT32 has leveraged Windows' built-in Net utility to use Windows Administrative Shares to copy and execute remote malware. [3]
In May 2017, APT15 laterally moved within a Windows domain via Windows Administrative Shares to copy files to and from compromised host systems. This further allowed for the remote execution of malware. [2]
Terminology & mappings
Mapped taxonomies
- ATTACK: Remote Services:SMB/Windows Admin Shares (1021.002)
Frequently asked questions
Common questions about CAPEC-561.
- What is CAPEC-561?
- An adversary guesses or obtains (i.e. steals or purchases) legitimate Windows administrator credentials (e.g. userID/password) to access Windows Admin Shares on a local machine or within a Windows domain.
- How does a Windows Admin Shares with Stolen Credentials attack work?
- It typically unfolds over 4 phases. It begins with: [Acquire known Windows administrator credentials] The adversary must obtain known Windows administrator credentials in order to access the administrative network shares.
- How do you prevent CAPEC-561?
- Do not reuse local administrator account credentials across systems.
- What weaknesses does CAPEC-561 target?
- CAPEC-561 exploits 7 CWE weaknesses, including CWE-262 (Not Using Password Aging), CWE-263 (Password Aging with Long Expiration), CWE-294 (Authentication Bypass by Capture-replay) and CWE-308 (Use of Single-factor Authentication).
Sources
References
Attack-pattern data is sourced from the MITRE CAPEC catalog (v3.9). Weakness associations link to the corresponding CWE entries on RadicalNotion.AI.
Defend against CAPEC-561
Track the CVEs and weaknesses this technique exploits, with AI-written analysis and remediation steps.