Appearance
Remote access tool detection
Attackers love remote access tools. A copy of AnyDesk or ScreenConnect that nobody asked for is one of the commonest signs that a device has been compromised, and an old RMM agent left behind by a previous MSP is a door nobody is watching. OpsMerge checks every device against a catalogue of more than 350 remote monitoring and management (RMM), remote access (RAT) and mobile device management (MDM) tools, and shows you what it finds.
Detection needs no set-up. It runs on the server each time a device's inventory is refreshed, which is every few hours, and again whenever the catalogue changes. Windows devices get the fullest checks; on macOS and Linux OpsMerge looks at running programs and installed software in the folders the catalogue lists.
What OpsMerge looks for
The agent reports a device's services, running processes and installed software. OpsMerge matches those against the catalogue:
- Service: a Windows service whose name matches a tool's service. This is the strongest sign.
- Executable: a running process or a service program whose file name matches a tool's executable. Common names such as
agent.exe,setup.exeorsvchost.exeonly count when the file is in a folder the tool is known to use. - Install path: a running program, a service program or installed software in a folder the tool is known to use.
Agents updated with this release also report each service's program path, each process's full path and each program's install folder. Older agents report names only, so OpsMerge can find less on them until they update.
The OpsMerge agent and OpsMerge Connect are never reported.
Each tool is in one category:
| Category | What it means |
|---|---|
| RMM | Remote monitoring and management agents, such as other MSP platforms. |
| RAT | Remote access tools, from support tools like AnyDesk to tools built for attackers. |
| MDM | Mobile device management agents. |
The device card
Open a device and look at the Info tab. When OpsMerge finds a tool, a Remote access tools card appears under the Remote tools card. If nothing is found, the card is not shown.
Each tool on the card shows:
- Its category.
- Its status: Installed, or Running, not installed.
- Sanctioned, if you have said you expect the tool (see below).
- The evidence: what matched and where it was found. The first value is what the device reported, for example the service name or the path of the running file. The second, when it differs, is the catalogue pattern it matched.
- First seen and Last seen.
A tool drops off the card once the device stops reporting it.
Running, not installed
Running, not installed means the tool is running on the device but is not in its installed software. That is what a portable copy looks like: someone downloaded the program and ran it, with no installer. Support staff do this legitimately, but so do attackers, so treat it as worth a look.
Find devices with a tool
On the Agents list, use the Remote access tool filter. Choose:
- Any remote access tool for every device with at least one detection.
- Any RMM, Any RAT or Any MDM for one category.
- A single tool. Type to search the catalogue.
Like the other filters, the choice is kept in the address, so you can bookmark or share it.
Sanctioned tools
Most estates have remote access tools that are meant to be there: your own remote tool, a line-of-business vendor's support tool, the client's MDM. Mark those as sanctioned so they stop being noise.
Go to Settings → Sanctioned remote access tools and select Sanction a tool. Pick the tool, then optionally a client, and optionally one of that client's sites:
- No client: sanctioned for every client.
- A client: sanctioned for that client only.
- A client and a site: sanctioned for that site only.
A sanctioned tool still shows on the device card, with a Sanctioned pill, so you can always see what is there. It never raises an RMM alert. Remove a sanction with the bin icon on its row.
Changing sanctioned tools needs the rmm_alerts.manage permission.
RMM alert rules
To be told when a tool turns up, add a rule. Go to Alerts and select RMM Alerts, then New rule.
| Field | What it does |
|---|---|
| Scope | All clients, or Chosen clients and sites. Choosing some of a client's sites limits the rule to those sites for that client. |
| Categories | Any of RMM, RAT and MDM. At least one. |
| Tools | All tools in the chosen categories, which includes tools added to the catalogue later, or Pick tools to name them. |
| Trigger | A new detection always alerts. Turn on Also alert on removal to hear when a tool disappears as well. |
| Severity | Info, Warning or Error. |
| Alert template | Who hears about it. The default, Each device's alert template, uses the template the device already uses for its other alerts. |
How rules fire:
- Once per device per tool. A tool found on a device raises one alert. It does not alert again each time the agent reports in, or if the tool is removed and later comes back.
- Existing detections never alert. Tools already on a device when you create the rule are recorded, not alerted. Otherwise a new rule on a large estate would open hundreds of alerts at once. Select the history icon on a rule to see that list under Existing detections.
- Sanctioned tools never alert, whatever the rule says.
You can switch a rule off with its Enabled switch without deleting it. Creating, editing and deleting rules needs the rmm_alerts.manage permission. Viewing them needs alerts.list.
The catalogue
The catalogue comes from LOLRMM (lolrmm.io), an open project that lists RMM and remote access tools and how to spot them. OpsMerge adds a few corrections of its own on top.
OpsMerge refreshes the catalogue once a day. The Detection catalogue panel on the RMM Alerts page shows how many tools it holds, when it last changed, when it was last checked, and the last error if a refresh failed. A failed refresh keeps the previous catalogue in use, so detection carries on.
Detection data: LOLRMM. Thanks to its maintainers and contributors.