Summery

mRemoteNG is an open-source remote connection manager for Windows. It lets you save and manage connections to multiple remote systems in one interface.
It’s similar to the Windows default RDP client.

Common protocols include:

  • RDP - Connect to Windows desktops and servers
  • SSH - Access Linux systems and network devices
  • VNC - Remotely control desktops
  • Telnet and HTTP/HTTPS - Connect to supported services

Configuration file

mRemoteNG also created a configuration file which stores saved remote connections and their settings, including usernames, hostnames, protocols, ports, and encrypted passwords.
The default configuration file is usually named confCons.xml and is usually stored in these locations:
%APPDATA%\mRemoteNG\confCons.xml - Per-user configuration
%LOCALAPPDATA%\mRemoteNG\confCons.xml - Possible per-user data location
mRemoteNG installation directory - Portable installations or custom configurations
Documents\mRemoteNG\confCons.xml - Possible custom or older setup

You can also search for it with Get-ChildItem C:\Users -Filter confCons.xml -Recurse -Force -ErrorAction SilentlyContinue

Exploitation

Depending on the mRemoteNG version, there are other ciphers in place. Also, there is a default password (mR3m) used by the config file which might’ve been not changed.
In cases, where there is some unknown password in the config, you can use multiple tools that help with decrypting those config files.

In Lock I used mRemoteNG-Crack by 0xRyuzak1. I downloaded locally the conifg file, and simply ran it through this tool.
uv run mremoteng-crack.py -x ../config.xml -p /usr/share/wordlists/rockyou.txt

References

This article talks about the details of deciphering mRemoteNG’s config files
mRemoteNG-Crack by 0xRyuzak1
mRemoteNG-Decrypt by haseebT