Mosquitto.exe on Windows: Which App Installed the MQTT Broker?

Brendan Smith
Brendan Smith - Cybersecurity Analyst
6 Min Read
Mosquitto.exe identification tag attached to a switchboard plug.
Trace a Windows MQTT broker to its application.

Mosquitto.exe is the Windows executable for Eclipse Mosquitto, an MQTT broker. It receives messages from one application or device and passes them to others that subscribe to the same topic. You might have installed the broker for a home automation project, or someone might have set it up for software that manages devices. The filename alone cannot tell you which application needs it.

Start with the copy that is running. Its executable path and configuration can point to a particular product. On a work PC, record those details before dismissing a firewall prompt or stopping the service. A device dashboard can depend on the broker even when nobody has the dashboard open.

Match the running copy to its service

  1. Open Task Manager → Details. Find mosquitto.exe and note its PID. If there are two instances, inspect each separately. Right-click the row and select Open file location. Keep that folder open.
  2. In Details, right-click a column heading, choose Select columns and enable Command line. Look for -c followed by a configuration file. A path inside a product’s data folder can identify a deployment even when the executable lives in a generic Mosquitto directory.
  3. Right-click the same process and choose Go to service(s) if available. For a highlighted service, open Services from the Start menu, find its entry and inspect Properties → Path to executable. Compare it with the running file. If there is no matching service, the broker could have been launched by a program, a wrapper or a person at a command prompt.

Which application uses this broker?

Look in Settings → Apps → Installed apps for Eclipse Mosquitto and for the product named in the executable or configuration path. On a managed machine, IT can match the path and installation time to a deployment record. An install date shared by two programs is a lead. A package manifest or installation log naming Mosquitto is stronger evidence of which installer supplied it.

A worked example from SOTI Connect. SOTI’s version 1.1 test setup puts the broker in a folder such as C:\IOT\mosquitto and launches it with mosquitto_tls_client_auth.conf. In the SOTI Connect console, an administrator can check Administration → System Management for the MQTT SDK registration and compare its host address with the machine running the broker. A match explains who uses that instance. SOTI documents a separate Mosquitto installation step, so finding both products on one computer is consistent with an administrator installing the broker separately. Leave certificate files and credentials private.

If the broker lives under another vendor’s application folder, check that vendor’s component list or installer log for the same filename. A standalone copy under Program Files may serve several apps. If the records are gone, you may be able to establish what depends on it while the identity of the original installer remains unknown.

What does a listening port tell you?

Open Resource Monitor → Network → Listening Ports and match the PID you noted. A listener bound to 127.0.0.1 or ::1 accepts connections on that loopback address from the same computer. A row showing 0.0.0.0 or :: indicates a wildcard binding for that address family. Actual access from another device also depends on firewall and network rules. Check all rows for that PID.

Eclipse changed the default in Mosquitto 2.0 to local-only connections when started without a configured listener. A deployment can supply its own listener settings. Seeing port 1883 or a Windows firewall prompt tells you little about who installed the file or whether data is flowing. Leave firewall permissions as they are while identifying the owner. For sustained bandwidth use, match the busy PID to its send and receive rates.

Keep, uninstall or investigate the file

  • Recognized installation, expected consumer. Leave the broker running. Use the owning product’s maintenance instructions for updates. Stopping it can interrupt sensor readings or device commands.
  • Retired personal project. Check whether any other device or app still uses the broker. For a separate Mosquitto installation, use its uninstall entry in Windows Settings. For a bundled component, use the parent product’s maintenance options. Deleting the executable can leave a service that fails at startup.
  • Unexplained running copy or repeated alert. Record the exact path and the path named in the alert. Check file properties and any available signature against the package source. An unsigned file needs other evidence. If a copy starts from a temporary folder or returns after quarantine, scan with Gridinsoft Anti-Malware and review related startup entries and files. Keep an expected broker in a different folder separate when reviewing detections.
Gridinsoft Anti-Malware
Suspicious process keeps returning?

Scan for hidden malware, unwanted services, and startup components.

Download Anti-Malware

For WindowsOfficial Gridinsoft download

References

  1. Microsoft. Win32_Service class. Microsoft Learn. Accessed November 29, 2026.
  2. SOTI. Setting Up Mosquitto. SOTI Connect 1.1 documentation. Accessed November 29, 2026.
  3. Eclipse Mosquitto. Migrating from 1.x to 2.0. Accessed November 29, 2026.
TAGGED:
Share This Article
Cybersecurity Analyst
Follow:
Brendan Smith has spent over 15 years knee-deep in cybersecurity, chasing down malware from the gritty reverse-engineering of old-school trojans all the way to wrangling full-blown incident responses for small-to-medium businesses that couldn’t afford a full-blown breach. Over at Gridinsoft, he’s the guy piecing together those double-checked guides on nasty stuff like AsyncRAT, a remote access tool used in malware campaigns—helping readers make sense of the threat and work through cleanup without the extra headache.
Leave a Comment

AI Assistant

Hello! 👋 How can I help you today?