# LAPS Readers

### Overview

**LAPS** stands for **Local Administrator Password Solution**. It is a **security feature from Microsoft** that helps organizations **secure local administrator accounts on Windows machines**.&#x20;

### What problem does LAPS solve?

On Windows computers, there is usually a **local Administrator account**.

In many environments:

* Every computer has **the same local admin password**
* Or passwords are rarely changed

This is **dangerous**. If an attacker gets the local admin password on **one machine**, they can log in as admin on **every other machine** and move laterall&#x79;**.**

### What LAPS does

**LAPS automatically:**

1. Generates a **unique, strong password** for the local Administrator account on **each computer**
2. **Rotates** (changes) that password regularly
3. **Stores the password securely in Active Directory (**&#x53;aved in the computer’s AD object inside the DC)
4. Allows **only authorized admins** to read it

So:

* PC-1 has password `X`
* PC-2 has password `Y`
* PC-3 has password `Z`\
  (all different, all rotated)

### Privilege Escalation

1. With LAPS, each **domain-joined computer** has attributes on its **computer object in Active Directory**, such as:

   * Legacy LAPS: `ms-Mcs-AdmPwd`
   * Windows LAPS: `msLAPS-Password` (or encrypted variant)

   These attributes store the **local Administrator password** for that machine.
2. A user or group with **Read** access to that attribute can query Active Directory and retrieve the local admin password.
3. Run:\
   `impacket-GetLAPSPassword toffee.bth/<user>:'<pass>' -dc-ip 10.10.10.100`&#x20;
4. Login with the creds using winrm or any other method.

### References

1. <https://www.hackingarticles.in/credential-dumping-laps/>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://gokulkarthik.gitbook.io/pentesting-checklist/windows-and-active-directory/windows-privilege-escalation/group-privileges/laps-readers.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
