Datto RMM can run a script on every managed device in every client site within minutes, so the people, keys and components that drive it must be hardened as tightly as a domain controller. Remote monitoring and management platforms are a favoured target because one compromised console login or API key turns a trusted tool into a mass deployment channel. This guide sets out a hardening baseline for Datto RMM covering administrator login security, security levels, API keys, components and the trust placed in agents.
It is written for managed service providers and internal IT teams that run Datto RMM. For the platform-neutral view of RMM risk, see the RMM Tool Security Guide.
This is an independent guide from NHI Mgmt Group, based on Datto's public documentation as of November 2026. It is not sponsored or reviewed by Datto. Product features change, so confirm settings against Datto's current documentation.
Key takeaways
- 2FA is enforced, so the work moves to recovery and network restrictions. Datto states that two-factor authentication is enforced for all Datto RMM users. Harden the reset path and turn on IP Address Restriction and Agent IP Address Restriction.
- Administrator is all-powerful and cannot be edited. Keep the number of Administrator users small but above one, and give everyone else a role-specific security level.
- API keys inherit a user's API Security Level and API Component Level. Create dedicated integration users with narrow levels, rather than generating keys on a technician's account.
- Components are code you push to every client. Restrict who can manage components and jobs, use component levels, and never place secrets in variables, because Datto warns variable values may be visible on the device during execution.
- Do not trust agents automatically. Enable New Device Approval and investigate every agent encryption key mismatch.
- Review the Activity Log. It is the record of who changed what and is your first source in an investigation.
Why Datto RMM needs specific hardening
An RMM platform combines three powers that attackers want: remote control of endpoints, the ability to run scripts as the local system account, and access to many organisations at once. MITRE ATT&CK tracks the abuse of these capabilities under T1072 Software Deployment Tools and T1219 Remote Access Tools. The scale is what sets RMM apart: the blast radius of one compromised Datto RMM account is every site and every device that account can see.
The security model rests on four layers, each of which this guide covers:
- Who can log in: 2FA, IP restrictions and session settings.
- What they can do: security levels, device visibility and remote control tools.
- What non-human identities can do: API users and their keys.
- What runs on endpoints and which endpoints are trusted: components, jobs, agent policies and device approval.
Administrator login: 2FA, recovery and IP restriction
Two-factor authentication
Datto's documentation says 2FA is enforced for all Datto RMM users using a token-generating authenticator application, and that the Agent Browser also requires the 2FA token at login. Users without 2FA are prompted to set it up at their next login. Because enforcement is built in, your effort should go into the edges:
- Recovery. Users can reset 2FA through Datto Partner Portal, and an administrator can send a 2FA reset email or a one-time passcode. Treat every reset as a security event: confirm the request through a separate channel, record who approved it and review the Activity Log afterwards.
- Break-glass coverage. Datto recommends assigning Administrator access to more than one user so someone can recover access if authentication fails or a device is lost. Two or three named administrators is a reasonable range for most providers.
- Stale invitations. Datto notes that a user who never logs in cannot have 2FA reset by an admin and the account typically has to be deleted and recreated. Remove invitations that are not accepted promptly rather than leaving them open.
IP Address Restriction and Agent IP Address Restriction
Under Setup, Global Settings, Access Control, Datto RMM offers IP Address Restriction for the web interface and Agent IP Address Restriction for the Agent Browser. Both are disabled by default and use a shared Restricted IP List of IPv4 addresses, one per line. Enabling web restriction adds your current public IP automatically.
- Enable both restrictions and limit the list to your office egress addresses and VPN or zero trust gateway addresses.
- Do not add home broadband addresses for individual technicians; route remote staff through the managed gateway instead.
- Review the list quarterly and after any network change, removing addresses that are no longer yours.
Datto's security best practices page recommends exactly these controls for both the web interface and the Agent Browser. Together with enforced 2FA they mean a stolen password and token alone are not enough without the attacker also reaching your network.
Session lifetime
Inactive User Logout can log users out after 15 minutes, 30 minutes, 1, 2, 4 or 8 hours. Pick the shortest interval your technicians can work with; 30 minutes or 1 hour is a common compromise. Full-screen dashboards are excluded from the timer, so make sure those screens run on locked-down display accounts.
Where the console is reached by an MSP on behalf of clients, read this alongside the GDAP and MSP Delegated Admin Access Guide, because the same people often hold delegated cloud admin rights.
Security levels and least privilege
Datto describes a security level as a named, reusable set of rules that defines a user's access. Each one sets device visibility, permissions and remote control tools. Key points from the documentation:
- Administrator grants full access to all functionality and all devices, and cannot be modified in any way. Only Administrator users can create, edit, copy or delete security levels.
- Users can hold several security levels but only one is active at a time, and permissions are not combined.
- Permission areas such as Global, Sites, Components, ComStore, Jobs, Reports and Setup are set to None, View or Manage.
- Device visibility limits which sites, site device groups, device groups and site groups a level can see.
- Remote control tools (Web Interface, Agent Browser and Web Remote) each have their own toggle, and changes take effect after the Agent Monitor on the device restarts.
Recommended security level design
| Role | Suggested scope | Highest-risk permissions to withhold |
|---|---|---|
| Service desk tier 1 | Assigned sites only; View on most areas; remote control tools as needed | Components Manage, Jobs Manage, Setup Global Settings, Device Approvals |
| Engineers | Assigned sites; Manage on devices and monitoring; Jobs Manage for approved components | Components Manage, Setup Global Settings and Integrations |
| Automation authors | Components Manage, ideally in a test site first | Broad device visibility in production sites |
| Administrators (two or three) | Administrator | Used only for administration, not daily support work |
| Integration users | See the API section | Everything not required by the integration |
These are NHI Mgmt Group recommendations; adapt them to your team. The principle is that the ability to create components and the ability to run jobs across many sites should rarely sit with the same everyday account. Separate tasks so that pushing new code to every client requires a deliberate step by a small group.
API keys and integration users
The Datto RMM API is how PSA tools, documentation platforms, security tools and custom scripts read and change the platform. Every key is a non-human identity, and in Datto RMM it is tied to a user record.
How API access works
- Enable API Access under Setup, Global Settings, Access Control turns the API on for the whole account. It is disabled by default.
- Keys are generated per user from Setup, Users by selecting Generate API Keys, which creates an API Key and an API Secret Key. The secret is hidden once you leave the page and cannot be retrieved later.
- Permissions come from the user's API Security Level and API Component Level.
- The API uses OAuth 2.0; access tokens are JSON Web Tokens that expire after 100 hours.
- Generating keys again invalidates the previous ones; Delete API Keys revokes API access entirely. Keys are also invalidated when the user is inactivated or deleted.
- Rate limits are account-wide: 600 query requests and, by default, 100 write requests per rolling 60 seconds. Persistent requests after a breach of the limit return HTTP 403 and temporarily block the source IP.
Hardening baseline for API keys
- Leave the API disabled if no integration needs it.
- Create one dedicated integration user per integration, named for the integration and owned by a named person. Never generate keys on a technician's or administrator's own account, because the key would carry their full rights and die when they leave.
- Give each integration user a custom security level with only the areas the integration needs, ideally View only, and the lowest API Component Level that works.
- Store the API Secret Key in a secrets manager at the moment of generation; do not paste it into tickets or chat.
- Rotate keys on a schedule by regenerating them, which invalidates the old pair, and immediately when a person with access leaves or the integration vendor reports an incident.
- Watch for 403 and 429 patterns in integration logs; sudden rate limit hits can indicate a stolen key being used for bulk export.
Broader guidance on securing these connections is in the Remote monitoring and management (RMM) tool integration security guide and the API Key Management Guide.
Components, jobs and the ComStore
Components are the scripts, application installers and monitors Datto RMM pushes to devices. They are the part of the platform most directly abused when an attacker gains access, because one job can run a component on thousands of machines.
What the documentation says
- Components have a category of Applications, Scripts or Monitors.
- Each component has a component level: Basic (1), Low (2), Medium (3), High (4) or Super (5). Users see components at their own level or below.
- Component variables may be visible to any user on the device with elevated permissions during execution, and Global variables should hold only non-sensitive default values.
- Datto does not verify the contents of uploaded files attached to components.
- ComStore components receive all Global and Site variables, and copies of ComStore components do not receive updates.
- In security levels, Components Manage allows creating, editing, importing and deleting components, and Jobs Manage allows scheduling and running jobs and quick jobs.
Hardening baseline for components
- Limit Components Manage to a small group of automation authors and require peer review of every new or changed script before it is used in production.
- Use component levels deliberately. Set powerful components (anything that changes security settings, installs software or touches credentials) to High or Super, and give everyday technicians a lower level so they cannot see or run them.
- Keep secrets out of variables. Because values can be visible on the device, use a secrets manager or per-device credential mechanism instead, and avoid placing passwords in Global or Site variables.
- Verify attached files. Store installers in a controlled repository, record their hashes and check them before attaching, since Datto does not verify uploads.
- Track ComStore copies. A copied ComStore component stops receiving updates. Keep a register of copies and review them against the current ComStore version.
- Test in a dedicated site before scheduling any job across production sites.
Datto also offers a Security Audit component in the ComStore for Windows systems, which produces a checklist of security issues. Run it regularly as part of client hygiene work.
Agent trust: device approval, encryption keys and agent policy
An attacker who can enrol a device into your account, or impersonate an existing agent, can receive jobs, components and variables. Datto's security best practices cover several controls for this.
- New Device Approval. Disabled by default. When enabled, new devices cannot run jobs, download components or accept policies until a user with the Device Approvals permission approves them. Disabling it immediately authorises devices pending approval, so treat any change to this setting as a high priority alert.
- Agent encryption key mismatches. Datto advises checking Devices, Approval required regularly and verifying each key change, because an agent should never change its key spontaneously. An unexplained mismatch should be investigated as possible impersonation.
- Agent policy. Agent policies set device-level boundaries, such as blocking jobs or remote support on sensitive devices, and work independently of user security levels. Use them on domain controllers, backup servers and other tier 0 systems.
- FIPS agent communication. Where your clients require it, FIPS Compliance makes agents connect using FIPS cryptography and flags those that do not.
- Ransomware Detection. Datto recommends enabling it; it can isolate infected devices and try to stop suspected processes.
Unexpected remote access tools on endpoints can also indicate an attacker installing their own channel alongside yours. The Unauthorised Remote Monitoring and Management Tool Playbook covers that scenario.
Logging, monitoring and response
The Activity Log lets you review staff actions over any date range and trace configuration changes; Datto notes that deleted users' activity data remains in the database. Build these reviews into routine operations:
- Daily or automated review of changes to Global Settings, security levels, API keys, device approval and components.
- Weekly review of jobs run against many sites, especially quick jobs and jobs using recently changed components.
- Alerts from your SIEM or PSA when an integration user's activity pattern changes.
- A documented response path if the platform itself is compromised, covered in If your remote monitoring and management (RMM) tool is compromised: disable API access, regenerate keys, review recent jobs and components, and confirm device approval and IP restrictions are still in place.
Common failure patterns
- Too many Administrator users, including shared or former staff accounts.
- IP restrictions left disabled, so a phished password and token work from anywhere.
- API keys on a technician's account, carrying full rights and with no owner when that person leaves.
- Everyone with Components Manage and Jobs Manage, so any single compromised account can push code everywhere.
- Passwords in Global or Site variables, visible on devices during execution.
- Device approval disabled, letting any installer with your agent package enrol a device.
- 2FA resets approved on request without verification through a separate channel.
Practitioner checklist
- Confirm every user has 2FA set up and define a verified process for 2FA resets.
- Keep two or three named Administrator users and give everyone else a role-specific security level.
- Enable IP Address Restriction and Agent IP Address Restriction with a minimal Restricted IP List.
- Set Inactive User Logout to the shortest workable interval.
- Leave Enable API Access off unless required; if on, use one dedicated, least privilege integration user per integration.
- Store API Secret Keys in a secrets manager and rotate them on a schedule.
- Restrict Components Manage, apply component levels and require peer review for scripts.
- Remove secrets from Global, Site and component variables.
- Enable New Device Approval and investigate every agent encryption key mismatch.
- Apply agent policies to tier 0 devices and review the Activity Log on a fixed schedule.
Standards and references
- Datto RMM: Security best practices
- Datto RMM: Two-factor authentication
- Datto RMM: Security levels
- Datto RMM: Datto RMM API
- Datto RMM: Creating a component
- Datto RMM: Global settings
- MITRE ATT&CK: Software Deployment Tools
- MITRE ATT&CK: Remote Access Tools (T1219)
Related NHI Mgmt Group resources: RMM Tool Security Guide · Remote monitoring and management (RMM) tool integration security guide · If your remote monitoring and management (RMM) tool is compromised · Cybersecurity for MSPs and MSSPs Guide