Bir Farenin Gölgesinde Sızma Testi: WiFi Mouse RCE ve Shadow Tr
The WiFi Mouse [redacted] utility on port 1978 accepted network commands without authentication, letting an attacker send keyboard input to the host. The author used a public exploit to make the target download and run a file, obtaining a reverse shell as the user Harry.
Published on medium.com
Bazen bir sisteme sızmanın yolu karmaşık zafiyetlerden değil, oldukça basit görünen yardımcı uygulamalardan geçebiliyor. Shadow Track senaryosunda da buna benzer bir durumla karşılaştık.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the WiFi Mouse service accepted control commands from the network without any authentication, so anyone who could reach the port could inject keystrokes.
Impact
An attacker on the same network could run commands on the target machine and gain a shell as the logged-in user.
What the attacker needed
Network access to port 1978; vulnerable WiFi Mouse [redacted] running
The fix
The vulnerable application should be updated to a version that authenticates network commands, or the service should be blocked from untrusted networks.
How it was found
- Scan the target and find the open SMB-related ports, then gather host details.
- Run a full port scan and notice the service on port 1978 returning a distinctive string.
- Look up the identified service and find a public exploit for WiFi Mouse 1.7.8.5.
- Start a listener on the attacker machine and run the exploit so the target downloads and executes a file.
- Receive the reverse shell and explore the file system as the user Harry.
- Transfer the encrypted zip to the attacker machine, crack its password and hash the contained executable.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
A small helper program that turns a phone into a wireless mouse and keyboard was listening on the network and trusted anyone who connected. Because it could type on the computer, an attacker could make the machine open a command prompt and run their own program. This is called remote code execution: running your code on someone else's machine over the network.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.