Skip to main content

Enumeration

Run Nmap Scan

Enumerating SMB

Logging into the Backup Directory

Reading the Notes

Seems like someone uploaded the entire file

Downloading the Backup Image

Exploitation

Mounting to the System

The upper installation (which is the first line of code) is required for mounting the SMB directory to our directory.

Finding the Password

Search for SAM and SYSTEM File

Dumping the NTLM Hash

Here we are going to crack L4mpje hash.

Cracking the Hash

CrackStation - Online Password Hash Cracking - MD5, SHA1, Linux, Rainbow Tables, etc. Untitled Crack the follow hash using the website above

Exploit

Privilege Escalation

Gathering System Information (Failed)

Tried both systeminfo and tasklist to find the exploit, but it’s blocked

Exploiting mRemoteNG

Finding Program List

Enumerating mRemoteNG

Nothing in Program Files (x86), Moving to %AppData%
Here there are a lot of interesting files, but out of them confCons.xml looks special.

View confCons.xml

There are passwords for both administrator and L4mpje. Since we have credential for L4mpje, Let’s go for administrator account

Decrypting the Encrypted Password

https://github.com/kmahyyg/mremoteng-decrypt Download the following script to decrypt the file

Extracting the Admin Password

Extract the encrypted administrator password (Config) and save it to password.txt

Decrypting the mRemoteNG Config

Exploit

Reference