> For the complete documentation index, see [llms.txt](https://www.netexec.wiki/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.netexec.wiki/smb-protocol/authentication.md).

# Authentication

You can authenticate on the remote target using a domain account or a local user

{% content-ref url="/pages/SATNVY0ZYZcWvXKc08U2" %}
[Checking Credentials (Domain)](/smb-protocol/authentication/checking-credentials-domain.md)
{% endcontent-ref %}

{% content-ref url="/pages/4DWAsuq4uHH2OwXVVlYP" %}
[Checking Credentials (Local)](/smb-protocol/authentication/checking-credentials-local.md)
{% endcontent-ref %}

* When authentication fail => `COLOR RED`
* When authentication success => `COLOR GREEN`
* When authentication fail but the password provided is valid => `COLOR MAGENTA`
