Join our Newsletter — 33% off our NHI Course
Home› Guides› Remote monitoring and management (RMM) tool integration security…
Guide Endpoint Security

Remote monitoring and management (RMM) tool integration security guide: service accounts, tokens and scopes for IdP, SIEM, ticketing and API connections

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 14 November 2026 15 min read
On this page

An RMM platform can run scripts on every managed endpoint, so every system that connects to it, and every credential that system holds, inherits a slice of that power. Identity provider links, SIEM feeds, ticketing and professional services automation (PSA) connectors, custom API clients and agent enrolment tokens are usually set up once by whoever deployed the tool and then forgotten. Each is a non-human identity with its own secret, scope and owner, and each can become the quiet path into the console that the console's own MFA never sees. This guide covers the integration layer only: how to design, scope, store, monitor and retire the service accounts and tokens that connect an RMM to the rest of the estate. Governance of the RMM itself, allowlisting and abuse detection are in the RMM Tool Security Guide, which this page builds on. It names tool categories, not products, and is written for endpoint, identity and SOC engineers and for MSP customers.

Key takeaways

  • Every connector is a privileged identity. A ticketing integration that can trigger scripts carries the same blast radius as a technician with script rights, so treat it with tier 0 controls.
  • Direction decides risk. Integrations that only read from the RMM (SIEM pull, inventory export) are far less dangerous than those that write to it or trigger actions; separate them into different identities.
  • One integration, one identity. OWASP lists NHI reuse and overprivileged NHIs among the top non-human identity risks; a shared API key across tools makes every compromise total.
  • Prefer asymmetric, short-lived credentials. RFC 9700 recommends asymmetric client authentication and sender-constrained tokens; static API keys should be the fallback, vaulted and rotated.
  • Keep logs out of the RMM's reach. CISA's joint guide on remote access software says direct access to log servers should stay out of reach of RMM tools, so the SIEM link must be one way and protected.

The RMM integration map

Start by drawing every connection in and out of the RMM. Most estates have five classes. The table shows what each one usually authenticates with and what an attacker gains by stealing it.

IntegrationDirectionTypical credentialWhat a stolen credential givesRelevant ATT&CK
Identity provider (SSO and provisioning)IdP to RMMSAML signing certificate or OIDC client secret; SCIM bearer tokenCreate or elevate technician accounts; forge or redirect sign-in where trust is misconfiguredT1078.004, T1098.001
SIEM and log forwardingRMM to SIEM (push) or SIEM reads RMM API (pull)Syslog TLS client certificate; read-only API keyRead audit trails and device inventory; if write-capable, tamper with what defenders seeT1213
Ticketing, PSA and ITSMUsually two wayAPI key or OAuth client; webhook secretOpen tickets that trigger automation, run scripts through ticket workflows, read device and customer dataT1072, T1550.001
Custom API clients and automationScript or platform to RMMAPI key, client credentials, sometimes a technician's personal tokenAnything the API scope allows, often script execution across all devicesT1072, T1528
Agent enrolment and deploymentInstaller to RMMEnrolment token or site key embedded in an installerEnrol rogue devices, or a lookalike tenant agent; harvest the key from file sharesT1552.001, T1219

ATT&CK T1072 Software Deployment Tools describes adversaries using centralised management software to execute commands across an enterprise, and T1199 Trusted Relationship covers abuse of providers' access. Integrations are where those two meet: a connector held by a third party that can reach the deployment tool.

Identity provider connections

Single sign-on is the integration that makes technician MFA real, so get it right before anything else.

  • Enforce SSO for every human role: local RMM passwords should exist only for one or two break-glass accounts, with long random secrets held in a vault, MFA where the platform allows it, and an alert on every use.
  • Map groups to roles, not users to roles: define IdP groups such as rmm-readonly, rmm-helpdesk, rmm-scripting and rmm-admin, and let the IdP assertion or provisioning decide membership. This makes the access review an IdP group review.
  • Treat SCIM tokens as admin credentials: RFC 7644 relies on TLS and standard HTTP authentication, and says the service provider must map each authenticated client to an access control policy. A SCIM bearer token can create accounts and change group membership, so vault it, scope it to provisioning only, rotate it on a schedule and when an IdP administrator leaves. See the SCIM Provisioning Guide.
  • Watch the trust objects: record the SAML signing certificate fingerprint or OIDC client registration, its expiry and who can change it. A new certificate or redirect URI on the RMM side outside a change window is an incident signal.
  • Close the bypass: confirm that API keys and personal access tokens cannot be minted by a user who signed in with SSO and then keep working after that user is disabled in the IdP. If tokens outlive the account, add token revocation to the leaver process.

SIEM and log forwarding

The SIEM link has two jobs: get RMM audit events out quickly, and never give the RMM, or anyone who controls it, a way back into the logs.

  • Push over authenticated TLS where you can: RFC 5425 defines syslog over TLS on TCP port 6514 and requires both sender and receiver to implement certificate-based authentication, with authorised peers matched by certificate fingerprint. Pin the collector to the RMM's certificate and the RMM to the collector's.
  • Pull with a read-only identity: if the SIEM polls the RMM API, give the collector its own account with audit-read scope only, no device actions and no user management. If the API offers no read-only role, record that as an accepted risk with an owner and review date.
  • Keep log stores out of RMM reach: the joint CISA guide says direct access to log servers should be kept out of reach of RMM tools. Do not install the RMM agent on SIEM collectors or log servers, or if operations insist, put them in a separate site with no script rights for general technicians.
  • Response actions from the SIEM or SOAR: isolating a host through the RMM API is useful, but it turns the SOAR into an RMM writer. Use a separate identity for response, limited to isolate and collect actions, and log every call it makes. See Securing the SIEM itself.
  • Ask for complete events: the joint guide asks providers to give customers visibility of logging, including the provider's connections to customer networks, and developers to provide audit logs that are difficult to delete. Confirm API calls by integrations are logged with the calling identity, not folded into a generic system user.

Ticketing, PSA and ITSM connections

Ticketing integrations are the most underestimated. They are often two way: the RMM opens tickets from alerts, and the ticketing or PSA system pushes back device assignments, contracts and, in many setups, automation triggers.

  • Split read and write: the alert-to-ticket direction needs only ticket-create rights in the ITSM. The reverse direction should be limited to metadata sync; it should not be able to run scripts unless there is a documented need.
  • Ticket-triggered automation is code execution: if a ticket category or field can start a script on an endpoint, anyone who can create or edit that ticket can run code. Restrict which queues can trigger automation, require an approved script library, and block free-text parameters from flowing into script arguments.
  • Webhook secrets: sign and verify every inbound webhook, keep the secret in a vault, and rotate it when either platform's administrators change. See the Webhook Secrets Security Guide.
  • Customer data exposure: PSA connectors often see every customer an MSP manages. An MSP should use a separate connector identity per customer tenant where the platforms allow it, in line with the joint guide's instruction not to reuse admin credentials across customers.
  • Know the other side: the ITSM platform has its own compromise path, and a compromised ITSM can drive the RMM. Plan the two together; see Securing the ITSM platform itself.

API clients, tokens and scopes

Custom scripts, reporting tools, backup and patch add-ons and MSP dashboards all call the RMM API. This is where the most powerful and least visible credentials live.

Credential choice

OptionStrengthWeaknessUse when
OAuth client credentials with asymmetric client authentication (private_key_jwt or mTLS)No shared secret on the wire; RFC 9700 section 2.5 recommends asymmetric methodsRequires platform support and key managementThe RMM's authorisation server supports it; first choice
Certificate-bound access tokens (RFC 8705)A stolen token fails without the matching private key; the token carries a cnf claim with the x5t#S256 certificate hashBoth client and resource server must support mTLS bindingHigh-privilege automation such as script deployment
OAuth client credentials with a client secretShort-lived access tokens; RFC 6749 section 4.4.3 says a refresh token should not be issued for this grantThe client secret is a long-lived shared secretAsymmetric methods are not available; vault and rotate the secret
Static API keySimple, widely supportedBearer value, often no expiry, often broad scopeLast resort; set expiry, IP allowlist and narrowest role
Technician personal tokenEasy to createTied to a person, breaks at leaving, blurs attributionNever for production integrations; OWASP NHI10 warns against mixing human and machine use

Scope design

RFC 9700 section 2.3 says access token privileges should be limited to the minimum needed and restricted to a specific resource server. Apply that per integration:

IntegrationMinimum scopeNever grant
SIEM pullRead audit log and alertsDevice actions, scripts, user and role management
Inventory or CMDB exportRead devices and softwareRemote control, file transfer
Ticketing or PSARead alerts, write ticket references, read device metadataScript execution, policy edits, agent uninstall
SOAR responseIsolate device, collect diagnosticsRun arbitrary scripts, change roles
Patch or backup add-onIts own module and the device groups it servesGlobal admin, tenant-wide script library edits
SCIM provisioningUsers and groupsDevice or script endpoints

If the RMM only offers coarse roles, restrict by device group or site, add a source IP allowlist on the API, and compensate with stronger monitoring. Record the gap with an owner.

Storage and rotation

Keep every integration secret in a secrets manager, never in scripts, scheduled task arguments or shared documents. The OWASP Secrets Management Cheat Sheet describes a lifecycle of creation, rotation, revocation and expiration, says secrets should never be logged, and asks that attempts to use a revoked secret are themselves logged. Where the calling workload runs in a cloud, use Workload Identity Federation to fetch secrets without a static bootstrap credential. See the Secrets Management Guide.

Agent enrolment tokens and installers

Many RMMs bake a site or tenant key into the installer so agents enrol automatically. That key decides which tenant a device joins.

  • Treat installers as secrets: keep them in a restricted software distribution share or deployment tool, not on open file shares, wikis or ticket attachments.
  • Prefer expiring or single-use enrolment tokens where the platform offers them, and rotate long-lived site keys after a technician with access leaves or an installer is found in the wrong place.
  • Approve new enrolments: alert on devices joining outside a deployment window or from unexpected networks, and reconcile enrolled devices against the asset inventory weekly.
  • Bind to your tenant: the RMM Tool Security Guide explains why tenant identifier checks matter for detecting a lookalike agent; the enrolment token is the other half of the same control.

Where identity fits

Every row in the integration map is a non-human identity. Register each one with an owner, purpose, scope, credential type, creation date, expiry and the system that holds the secret. OWASP's Non-Human Identities Top 10 for 2025 lists improper offboarding (NHI1), overprivileged NHIs (NHI5), long-lived secrets (NHI7), NHI reuse (NHI9) and human use of NHIs (NHI10); RMM integrations tend to show all five. See the NHI Authentication Guide for credential options. MSP-held integrations also fall under the Third-Party Access Guide.

Implementing integration controls

  1. Inventory (week 1): export API keys, OAuth clients, webhook endpoints, SSO and SCIM configuration and enrolment keys from the RMM. Match each to an owner; anything without one goes on a disable list.
  2. Classify (week 1 to 2): mark each integration read-only, write or action-triggering, and record its current scope against the scope table above.
  3. Re-issue (week 2 to 6): create one new identity per integration with the narrowest scope and the strongest credential type available. Run old and new in parallel, confirm the new one works, then revoke the old one. Keep the old credential disabled, not deleted, for one cycle so you can roll back.
  4. Vault and rotate: move every secret into the secrets manager with a rotation schedule. Test rotation on a non-production tenant or a single site first.
  5. Monitor: forward integration API activity to the SIEM with the calling identity, and build the detections below.
  6. Govern: add integration identities to quarterly access reviews and to the joiner, mover and leaver process for the administrators who own them.

Decision guidance

  • Small organisation, single RMM, few integrations: prioritise SSO with MFA, a read-only SIEM identity and removal of any technician personal tokens used by scripts. That covers most of the risk.
  • Large enterprise: add asymmetric client authentication, certificate-bound tokens for script-capable automation, a separate SOAR response identity and change control on every integration scope.
  • MSP customer: ask the provider for a list of integrations that touch your tenant, the identity each uses and whether any is shared across customers. Put integration inventory, log access and credential separation into the contract. See the Third-Party Incident Notification Clauses Guide.
  • Push versus pull for logs: push with mutual TLS keeps credentials on the RMM side and needs no inbound API key; pull is easier to run but places an RMM credential in the SIEM. Choose push where the RMM supports it.

Detection and measurement

SignalWhy it matters
New API key, OAuth client, webhook or SSO certificate createdPersistence through a new integration identity (T1098.001)
Integration identity calling an endpoint outside its scope or baseline (for example, the ticketing identity running a script)Stolen connector credential in use
Integration API call from a new source IP, country or user agentCredential used off its normal host
One identity acting on 10 or more devices within an hourThe joint guide's mass-scripting safeguard applied to non-human callers
Use of a revoked or expired credentialAn attacker or a forgotten script still holds the old secret
Gap in RMM audit events reaching the SIEMForwarding broken or deliberately cut

Metrics that show the programme is working:

  • Percentage of integrations with a named owner and a registered scope (target 100%).
  • Number of integrations using technician personal tokens (target zero).
  • Percentage of integration secrets held in the secrets manager with an expiry or rotation date.
  • Median age of integration secrets, tracked against the rotation policy.
  • Number of integrations with script-execution rights, reviewed each quarter and trending down.

Common failure patterns

  • The all-powerful API key: one admin-scope key created at deployment and pasted into every tool. When it leaks, the attacker has the whole estate, and nobody knows which tool to fix.
  • Ticketing that runs scripts: automation triggered by ticket fields lets anyone who can raise a ticket, including a compromised ITSM account, run code on endpoints.
  • Tokens that survive the leaver: a technician leaves, the IdP account is disabled, but the API token they created for a reporting script keeps working.
  • Installers on open shares: enrolment keys sitting in file shares or ticket attachments let anyone enrol devices into your tenant or copy the installer for a lure.
  • SIEM collector managed by the RMM: the log server runs the agent, so whoever controls the RMM can also stop or alter the evidence.
  • Shared MSP connectors: one PSA or reporting connector serving every customer means one compromised connector reaches them all, which is the trust relationship pattern in T1199.

Framework mapping

Control areaNIST SP 800-53 Rev. 5NIST CSF 2.0Other
Per-integration identity and authenticationIA-9 Service Identification and Authentication; IA-5 Authenticator ManagementPR.AA-05OWASP NHI9, NHI4
Least privilege scopesAC-6 Least PrivilegePR.AA-05RFC 9700 section 2.3; OWASP NHI5
Lifecycle and offboardingAC-2 Account ManagementPR.AA-05OWASP NHI1, NHI7
Protected log forwardingAU-9 Protection of Audit Information; SC-8 Transmission Confidentiality and IntegrityDE.CM-06RFC 5425
Provider-held integrationsSA-9 External System ServicesGV.SC-05, DE.CM-06ATT&CK T1199
Abuse of deployment capabilityAC-6ATT&CK T1072, T1219

Practitioner checklist

  • Every RMM integration is listed with owner, direction, scope, credential type and expiry.
  • Each integration has its own identity; no credential is shared between tools or customers.
  • No production integration uses a technician's personal token.
  • SSO with MFA is enforced for all technicians; local accounts are break-glass only and alert on use.
  • The SIEM receives RMM audit logs over mutually authenticated TLS or with a read-only identity, and SIEM and log servers are outside RMM script reach.
  • Ticket-triggered automation is limited to approved queues and scripts, with no free-text arguments.
  • All integration secrets are vaulted with rotation dates; revoked secrets are monitored for reuse.
  • Enrolment keys are restricted, rotated after exposure, and new enrolments are reconciled weekly.
  • Integration identities are in quarterly access reviews and the administrators' leaver process.

Standards and references

Related NHI Mgmt Group resources: RMM Tool Security Guide, Remote monitoring and management (RMM) tool health check, If your remote monitoring and management (RMM) tool is compromised, mTLS Guide, API Key Management Guide.

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.