MA-4 Nonlocal maintenance

MA-4 asks you to approve and monitor remote maintenance, limit it to tools your policy and security plan permit, require strong authentication, keep session records and end connections when work finishes.

On this page

What MA-4 nonlocal maintenance requires and why assessors focus on it

When an assessor or customer asks how remote vendor and administrator access to a system is controlled, they are asking about MA-4. In short, MA-4 requires that every remote maintenance or diagnostic session is approved, monitored, carried out with permitted tools, protected by strong authentication, recorded, and terminated when the work ends. The control covers activity that reaches a system over a network from outside its local environment, such as a vendor logging in to troubleshoot a database server or an engineer running diagnostics from home. The five elements below are what an assessor will look for, and each one needs its own evidence. In plain terms, the organization must decide which remote maintenance is allowed and who approves each session, then watch it while it happens. The tools used must be permitted by the organization's policy and named in the system security plan, so that a remote support utility nobody documented is a finding. Sessions must be established with strong authentication, not a shared password. Records of the activity must exist, and connections must be closed when the job is complete, not left open for the next visit. Each of these is testable, and an assessor will usually sample individual sessions to see whether the chain of approval, login, log and disconnect holds together.

The risk behind MA-4 is that remote maintenance can bypass the physical and local controls the organization relies on. A person in a locked data center must pass badge checks and be seen by staff, but a remote session can arrive through a VPN, a jump host or a vendor's own remote tool with none of that friction. Practical difficulty comes from shadow tooling, where engineers install screen-sharing or remote desktop utilities that are not in the approved list, and from vendor access that lingers because nobody owns the account after the contract changes. Organizations should confirm, before an assessment, which remote paths exist into each in-scope system, which tools are documented in the security plan and which accounts are still active. SP 800-53B allocates MA-4 to the low, moderate and high baselines but not the privacy baseline, and it adds enhancement MA-4(3) at the high baseline, so the system's impact level determines how much this control demands.

Which systems, vendors and remote paths MA-4 covers

MA-4 applies wherever maintenance or diagnostics reach a system over a network, so the first scoping work is deciding which systems, paths and parties fall inside that boundary. Each choice below changes how many sessions, tools and records an assessor will ask you to produce. Impact level, vendor access and the related controls in the family all move the evidence load.

Systems by impact level

SP 800-53B allocates MA-4 to the low, moderate and high baselines, so it applies to every system in scope at any impact level. The high baseline adds MA-4(3), which should be checked against your selected baseline before scoping starts. Confirm the impact categorization of each system first, because it sets how many enhancements apply and how deep the session records must go. Privacy baseline systems do not inherit MA-4 on that basis alone.

Internal administrator remote sessions

Staff who administer servers, hypervisors and network devices from home or another site are nonlocal maintainers when they perform diagnostics or repairs. Inventory the admin jump hosts, VPN profiles and remote shells they use, and record which ones are approved for maintenance work. Routine user access sits under AC-17, so separate the two populations in your evidence. Illustrative: an on-call engineer restarting a database host over VPN is maintenance, while the same engineer reading a dashboard is remote access.

Vendor and third-party remote support

Vendors that troubleshoot your platform over a network are the highest-risk nonlocal path because the organization does not control their endpoints. Each vendor path needs written approval, a named tool in the system security plan, strong authentication for the vendor identities, and a session record. Ask vendors which tools they use and whether they accept your monitoring method. Coordinate these paths with MA-5 when the vendor staff are not authorized personnel.

Cloud consoles and management planes

Cloud provider consoles, infrastructure-as-code runners and Kubernetes or hypervisor management APIs can perform maintenance without touching a server directly. Decide whether a console session that changes configuration counts as nonlocal maintenance, and document that decision with the system owner. Evidence depends on whether console and API activity reaches your own audit store. Confirm the provider's logging options and retention in your own contract before relying on them.

Identity and authentication dependencies

IA-2 and IA-5 determine how strong the session authentication must be, so the identity provider is part of the MA-4 boundary. Count each second factor, shared account or break-glass credential that a maintainer can use to start a session. Shared vendor accounts and static recovery codes weaken the strong authentication requirement and need an explicit exception. Illustrative: a vendor logging in with a shared password is a finding even if the VPN is encrypted.

Network boundary and related controls

SC-7 boundary protection and AC-17 remote access controls decide which paths can reach maintenance targets at all, so MA-4 evidence depends on them. MA-2 links each approved remote session to a maintenance record, and AU-2 and AU-3 decide what the session log captures. Map each nonlocal path to the SC-7 rule that permits it and the MA-2 record that approves it. Gaps in that chain usually surface as missing session evidence during assessment.

How an assessor tests MA-4 under SP 800-53A

This table maps each SP 800-53A assessment method for MA-4 to the objects an assessor uses, the evidence to prepare and the findings that commonly appear. The MA-4 procedure has 8 determination statements, and assessors sample sessions and records rather than reviewing every connection, so read each row as what to have ready before the assessor arrives.

MethodAssessment objectsEvidence requestedCommon findings
ExamineProcedures addressing nonlocal system maintenanceApproved nonlocal maintenance procedure with approval steps, monitoring duties and session termination rules, dated and version controlledProcedure exists but does not name approvers, monitoring owners or the termination standard
ExamineRemote access policy and remote access proceduresPolicy sections that cover maintenance sessions, plus the link between the policy and the MA-4 procedureMaintenance access is missing from the remote access policy or contradicts it
ExamineSystem security plan entries for nonlocal maintenance toolsPlan section listing each permitted remote maintenance tool, its purpose and the systems it may reachTools in use are absent from the plan, or the plan lists tools nobody uses
InterviewOrganizational personnel with system maintenance responsibilitiesWalkthrough of how a vendor or engineer requests, gets approval for and runs a remote sessionStaff describe an informal path that bypasses the approval step
InterviewSystem and network administratorsExplanation of how sessions are authenticated, logged and cut off, with the tools they run to check thisAdministrators cannot say how an idle or finished session is closed
TestOrganizational processes for managing nonlocal maintenanceLive or recorded demonstration of an approved session from request to termination, with the resulting log entriesApproval is recorded after the session started, or the connection stays open after work ends

Implementing MA-4 in order

This sequence turns MA-4 from a policy statement into a working nonlocal maintenance process, where each step produces an artifact an assessor can examine, interview against and test.

  1. Update the maintenance and remote access policy

    Start by confirming that the system maintenance policy and the remote access policy both cover nonlocal maintenance. Name who may request remote maintenance, which network paths are allowed, which activities are in scope (diagnostics, repair, configuration changes, software updates) and who approves each category. The output is a signed policy revision with a version number and an owner, plus a procedure that the operations team can follow without interpretation. Confirm the review cycle with your own governance owner, since the review interval is set by your organization, not by the control text.

  2. Inventory and document permitted remote maintenance tools

    List every tool that vendors, administrators or your own staff use to maintain systems remotely, including remote shells, vendor support portals, jump hosts, remote desktop gateways and diagnostic utilities. For each tool, record the owner, the supported systems, the authentication method and the approval status. Document the approved list in the system security plan so that the permitted tools are traceable to the authorization boundary. The output is a tool register attached to the system security plan. Tools that are not on the register should be blocked or flagged by your network controls, and you should confirm how your environment enforces that.

  3. Define the approval workflow and monitoring method

    Design the workflow that every nonlocal session passes through: a request, a named approver, a defined maintenance window or ticket reference, and a rule for emergency access with after-the-fact approval. Decide how sessions are monitored while they are active, for example by a supervising administrator, a session recording, or an alert on unexpected commands, and record that choice in the procedure. The output is an approval record template and a monitoring procedure that name the people responsible for each role. Assessors will sample completed approval records against the tickets they reference, so the template should capture the approver, the requester, the system, the tool and the justification.

  4. Enforce strong authentication for every nonlocal session

    Require strong authentication before any nonlocal maintenance session can start. Identify the identity provider or directory that issues maintenance credentials, then confirm that every maintenance account uses a second factor that the policy accepts, such as a time-based one-time password, a hardware token or a passkey. Disable shared accounts and static passwords for maintenance paths, and check that the same rule applies to vendor accounts. Open-source options such as authentik and FreeIPA support enrollment of second factors, but you should verify which factor types and enforcement policies your chosen version supports before you rely on them. The output is a configuration export and a test log showing that a session without a second factor is refused.

  5. Configure session and audit logging

    Enable logging at each point where a nonlocal session enters or touches a system. Capture the authentication event, the source address, the target system, the start and end times, the commands or actions where the tool allows it, and any change made. Send these records to a central store that the maintenance team cannot edit, and set retention in line with your own records policy. Where applications provide their own audit logs, such as Nextcloud's admin_audit app or the OpenBao audit devices, enable them and confirm where the files are written. The output is a logging configuration, a sample of log records from a test session, and a documented retention setting.

  6. Define the termination rule for each session

    Write down exactly when a nonlocal session and its network connection must end: when the approved work is complete, when the approved window closes, or when monitoring detects an unapproved action. Configure idle timeouts and maximum session lengths in the remote access gateway or VPN, and document who may extend a session and how that extension is recorded. Confirm that the termination also removes any temporary credential or tunnel the tool created. The output is a termination standard added to the procedure and a configuration showing the idle timeout and maximum duration values in your environment.

  7. Test a sample session end to end

    Run one nonlocal maintenance session from request to closure, using a non-production system if possible. Follow the policy as written: obtain approval, authenticate with the second factor, perform a defined diagnostic action, watch the monitoring method, and then confirm that the session terminated and the connection closed. Collect the ticket, approval record, authentication log, session record and termination evidence into a single package. Compare the result with the determination statements in SP 800-53A for MA-4 and note any gaps. The output is a dated test record and a short list of corrective actions that feed back into the system security plan.

Evidence that passes an MA-4 review

An assessor testing MA-4 works from a chain: the policy allows nonlocal maintenance, the security plan lists the tools, each session was approved, authenticated, recorded and ended. The cards below are the artifacts that prove each link, and each one needs a routine so it is still current when the assessor arrives.

Approved nonlocal tool list

The security plan must name the remote maintenance and diagnostic tools the organization permits, and the policy must allow them. Assessors compare this list against what engineers actually used during the review period. Keep the list under change control, record every addition or removal with a date and owner, and check it against remote access tools seen in network and endpoint logs at each review. A tool that appears in logs but not in the plan is the most common gap.

Approval tickets for each session

Each nonlocal maintenance session should trace to a request that names the system, the vendor or engineer, the work, the window and the approver. Assessors usually pick several sessions at random and ask for the matching ticket. Require the ticket number in the session login or jump host so the link is automatic, and close tickets only after the session record is attached. Missing approvals for emergency work need a documented after-the-fact review.

Authentication configuration and enrollment records

MA-4 requires strong authentication to establish maintenance sessions. Export the authentication policy that applies to maintenance accounts, including the second factors allowed and which groups must use them. Keep enrollment records for each maintenance user showing the factor type and enrollment date, and remove factors for people who leave. In authentik, the authenticator validation stage shows which second factors a flow accepts, and FreeIPA's OTP configuration shows TOTP and HOTP token settings. Confirm with your own environment which factors meet your organization's definition of strong authentication.

Session and audit logs

Assessors expect a record of what each nonlocal session did, who started it and when it ended. Collect the session broker or VPN log, the operating system login record and application audit trails in one place with synchronized time. In Nextcloud, the admin_audit app writes to audit.log in the data directory unless a different path is set with logfile_audit. OpenBao audit devices record every API request and response with sensitive values hashed. Test retrieval by pulling one session end to end before the assessment.

Monitoring alerts and review records

Recording a session is not enough if nobody looks at it. Keep alert rules for maintenance accounts logging in outside approved windows, from unapproved sources or using unlisted tools, and keep the disposition of each alert. Add a periodic review of session logs against approval tickets, signed or initialed by a reviewer who is not the engineer involved. Assessors ask for the review record for a sample period and for proof that discrepancies were followed up.

Session termination settings and samples

MA-4 requires sessions and network connections to end when the work is complete. Capture the configured idle timeout and the maximum session duration from the VPN, bastion or remote access gateway, and the firewall or access rules that close maintenance paths after the window. Then keep dated samples showing a session that ended on completion or timeout, with the log entry that proves it. Re-test termination after each platform upgrade, because a changed default can silently keep connections open.

Which open-source tools support MA-4 evidence

MA-4 requires strong authentication to establish nonlocal maintenance sessions. Identity platforms can supply that evidence by enforcing second factors at the point where a maintenance user signs in, and by logging which factor was accepted. The open-source options below are licensed as stated and each needs to be fitted to the way your maintenance access actually reaches the system.

  • authentik (MIT): The authenticator validation stage checks enrolled second factors during login, including TOTP apps, WebAuthn and FIDO2 passkeys, Duo, SMS codes, email codes and static recovery codes. Restricting maintenance flows to phishing-resistant factors such as WebAuthn or FIDO2 is a configuration decision you must make and document.
  • FreeIPA (GPL-3.0-or-later): Two-factor authentication uses HOTP (RFC 4226) and TOTP (RFC 6238) tokens, including software tokens enrolled by QR code and hardware tokens such as YubiKeys. HOTP and TOTP are one-time password methods, so their strength depends on how tokens are issued and protected.
  • RADIUS proxy during migration: FreeIPA can proxy OTP checks to an existing RADIUS server, which helps when maintenance gateways still authenticate against an older system during a transition.
  • What these tools do not cover alone: An authenticator stage proves a factor was presented. It does not decide whether a maintenance session is approved, whether the tool used is permitted by the system security plan, or whether the connection is ended when the work finishes.

Confirm which login path your nonlocal maintenance actually uses, whether a VPN, bastion or direct connection, and that every such path enforces the same second factor.

What meeting MA-4 costs in money and effort

This table breaks the cost of meeting MA-4 into its components, showing who is paid for each, whether it is one-time or recurring, and what drives it up or down. NIST does not estimate compliance costs, so no figures appear here; use the table to build a scope-based quote request. The main takeaway is that self-hosted open-source tools remove license spend but not the engineering, review and assessment labor that MA-4 requires.

Cost componentOne-time or recurringWhat drives it, and what to ask for in a quote
Policy and system security plan updatesOne-time, then recurring on reviewDrivers: how many remote maintenance paths exist and whether the permitted tool list is already documented. Ask the implementation partner to state which SSP sections and policy text they will draft or revise, and who approves them.
Engineering for strong authenticationOne-time build, recurring operationDrivers: number of maintenance accounts, whether MFA already covers them, and which second factors are in use (for example TOTP, WebAuthn or hardware tokens). Ask which identity components are configured, how they are integrated with existing directories, and who tests session establishment.
Engineering for session logging and connection terminationOne-time build, recurring operationDrivers: number of remote tools and systems that must emit records, and whether logs already reach a central store. Ask how records are protected from alteration, where they are retained, and how idle and completed sessions are terminated.
Tooling and licensesRecurring where commercial products are usedOpen-source components remove most license fees, but support subscriptions, hardware tokens and any commercial remote access product still carry cost. Ask the quote to list each component, its license terms and any support contract separately.
Approval and monitoring workflowRecurringDrivers: volume of remote maintenance sessions and the number of approvers. Ask how approvals are recorded, who reviews session records, and how often that review occurs under the organization's own procedure.
External testing or reviewPeriodic, scope-dependentDrivers: whether remote maintenance paths are included in penetration testing or a configuration review. Ask whether testing covers the remote access path end to end and what the written deliverable contains.
Auditor sampling and evidence preparationRecurring per assessmentDrivers: how many maintenance sessions the assessor samples and how easily records can be pulled for them. An independent assessor issues the findings. Ask the implementation partner to prepare sample-ready session records and approval trails, and confirm the assessor's own fees with that assessor.
Labor for ongoing upgrades and reviewsRecurringDrivers: release cadence of the chosen tools and changes to maintenance personnel or vendors. Ask whether upgrades, patching and access reviews are included in the fixed scope or sit under a separate retainer.

Who does what for MA-4: your team, a partner and the auditor

Your organization owns MA-4. It decides whether remote maintenance is allowed at all, who may request it, which tools may be used, and how each session is approved and watched. Those decisions belong in the maintenance policy and in the system security plan, and they must be written down before any assessor arrives. An outside partner can draft the technical text, but the authority to approve and accept risk stays with your management.

  • Policy and approvals: Define when nonlocal maintenance is permitted, who approves each session, and what the approval record must contain.
  • Approved tool list: Name the remote tools and jump hosts in the security plan, and review that list on a schedule you set.
  • Monitoring duties: Assign named staff to watch live sessions or review session records, and state what they must escalate.
  • Access decisions: Decide which accounts may be used for remote maintenance and who reviews them.

Check that every approval, tool and monitoring duty you claim in the security plan has a named owner and a record that an assessor can sample.

Where MA-4 implementations usually fall short

Most MA-4 findings are not about missing technology. They come from remote maintenance that happens outside the documented plan, from access that cannot be tied to a person, and from approvals and monitoring that exist on paper but leave no trace an assessor can sample. The cards below pair each gap with a closing action you can check before an assessment begins.

Remote tools missing from the plan

Vendors and staff often connect with remote desktop tools, vendor portals or screen-sharing software that nobody recorded in the system security plan. MA-4 allows remote maintenance tools only as policy permits and as documented in the plan, so an undocumented tool is a finding even when the work itself is legitimate. Compare live network flows and jump host logs against the plan's tool list, then add or remove entries and record who approved each one.

Shared or single-factor vendor accounts

Vendor support accounts are frequently shared across a team, or protected by a password alone. MA-4 requires strong authentication before a session is established, and a shared login makes it impossible to say which person ran a given command. Give each vendor engineer a named account, enforce a second factor at login, and retire any account that several people use. A passkey or TOTP check in front of the jump host is a common way to close this gap.

Sessions with no record of actions

Many remote sessions are logged only as a connection start and stop, with no record of what was changed. MA-4 requires records of the maintenance activity, so a session log that cannot show which commands ran, which files changed or which records were read does not meet the requirement. Confirm that the bastion or application records commands or administrative events, that logs are shipped off the host, and that a sampled session can be traced from approval to changes.

No defined end-of-work termination

Remote connections are often left open after a vendor finishes, or they persist as VPN tunnels and standing accounts with no owner. MA-4 requires sessions and network connections to be terminated when the work is complete, which means the end point must be defined before the work begins. Set a maximum session lifetime, tie each access grant to a ticket with an expiry, and check for idle sessions and leftover tunnels after each maintenance window.

Approvals given verbally or afterward

Maintenance is sometimes agreed in a hallway conversation or chat message, and the record is written up after the work is done. MA-4 requires remote maintenance to be approved, so an approval that does not exist before the session starts cannot be shown to an assessor. Route every remote session through a change or maintenance ticket that names the system, the tool, the person, the window and the approver, and block access until that approval is recorded.

Monitoring that nobody reviews

Session logs and alerts are collected but no one is assigned to read them, so an unusual remote session goes unnoticed until an incident. MA-4 expects remote maintenance to be monitored, and an assessor will ask who reviews the records, how often, and what happened to any exceptions. Assign a named reviewer, define a review cadence, compare each log entry against an approved ticket, and keep dated evidence that the review took place.

Questions buyers ask about MA-4 cost, effort and outsourcing

How much effort does MA-4 take compared with other maintenance controls?

MA-4 is usually more work than MA-1 or MA-5 because it touches live network paths, tool approvals and session logging, but it is often less work than MA-3 when the remote tool list is short. The effort depends on how many vendors and engineers connect remotely, how many systems they reach, and whether sessions already pass through a managed access point. Effort rises quickly when remote maintenance is informal, because the team must first find every path in use, document it in the system security plan, and then build approval and recording around it. Ask any partner to size the work from a written list of systems, remote paths and maintainers, not from a generic control count. The SP 800-53B baselines show MA-4 applies at low, moderate and high impact, so the control applies to most systems in scope for federal-style programs.

Do open-source tools remove the need for paid licenses for MA-4?

Open-source tools can remove license fees for the components that enforce strong authentication and record activity, but they do not remove other costs. Authentication options such as authentik (MIT) and FreeIPA (GPL-3.0-or-later) support second factors, and OpenBao (MPL-2.0) and Nextcloud (AGPL-3.0-only) provide audit logs for systems they run. Remaining costs include infrastructure to host these platforms, integration with the systems that receive remote maintenance, configuration, testing, documentation and staff time. Ask for quotes that list license cost, infrastructure cost and labor separately. Confirm each license against your own use, because the license terms of a platform and of any add-on component can differ.

How long does MA-4 preparation take and what drives the timeline?

The timeline depends mainly on how many remote maintenance paths exist, how well they are already documented, and whether strong authentication is already enforced. Teams with a complete inventory of remote tools and a working multifactor setup move faster than teams that must discover those paths first. Other drivers include the number of systems in scope, the change windows available on production systems, the time needed to get approvals from system owners, and the schedule for an independent assessor. NIST does not set federal implementation timelines, leaving that to OMB Circular A-130, so your own authorizing official or contract sets the target. Request a written schedule with milestones tied to the scope document before work starts.

What does MA-4 require from our internal team?

MA-4 needs decisions and access from people who own the systems and the network. The internal team must name who may perform nonlocal maintenance, approve each remote session or standing access path, and define which tools are permitted. Security and network staff must confirm how sessions reach the target systems and how connections end when work is complete. System administrators must support testing and provide evidence from logs and tickets. Planning for these roles early avoids delays, because approvals and tool decisions often sit with different managers. A partner can prepare the configuration and evidence, but the organization must own the decisions and the sign-off.

Can we do MA-4 in-house without an outside partner?

Yes, an organization can implement MA-4 with its own staff, provided it has people who can configure strong authentication, control remote access paths, collect session records and write the system security plan entries. In-house work is most practical when the team already runs identity, network and logging platforms and has time for documentation. Outside help is more often used to shorten the path from a fragmented setup to a documented, tested one, or to add capacity for evidence collection. Whichever route you choose, the independent assessor is the only party that issues the assessment result, and the organization owns the control decisions.

What will an assessor sample for MA-4 nonlocal maintenance?

An assessor will check the documents that define nonlocal maintenance, interview the people who perform and administer it, and test the processes and technical settings that control it. Expect requests for the maintenance policy and remote access procedures, the approved list of remote tools in the system security plan, records of approvals for specific remote sessions, authentication settings showing strong authentication, session logs or audit records, and proof that connections were ended after work finished. The SP 800-53A procedures list these examine, interview and test methods for MA-4. Prepare a sample of recent remote sessions with matching tickets, approvals and log entries so the trail is easy to follow.

When should we bring in an implementation partner for MA-4?

Bring in a partner when the remote maintenance landscape is hard to map, when several platforms must be configured together, or when the internal team lacks time before an assessment or authorization decision. A good time to ask for a quote is after you have a written inventory of systems and remote paths, because that is the basis for a fixed-scope proposal. DeployOpen plans, implements, integrates and documents self-hosted open-source platforms inside your own infrastructure, and prepares systems and evidence for assessment. DeployOpen does not issue audit reports or certifications. Agree on scope, deliverables and timelines in writing before work starts, and confirm which items remain with your staff.

How DeployOpen scopes and prepares MA-4 evidence

DeployOpen scopes MA-4 work as a fixed engagement in which the systems, remote access paths and evidence are agreed in writing before any configuration begins. The scope usually names the systems that accept nonlocal maintenance sessions, the vendors and internal teams allowed to start them, the maintenance tools permitted under the security plan, and the logging destinations that must hold the session records. A quote follows from that written scope, so the reader should expect the number of systems, access paths and evidence outputs to drive the effort rather than any fixed package.

On the build side, DeployOpen configures self-hosted open-source components inside the client's own cloud accounts, data centers or air-gapped networks. Typical work includes enforcing second factors through authentik's authenticator validation stage or FreeIPA's OTP tokens, reviewing which methods are allowed for maintenance accounts, and routing audit output to a protected location, such as the audit.log file produced by Nextcloud's admin_audit app or the JSON request logs from an OpenBao audit device. The client confirms each product's current capabilities against its own documentation before the scope is signed, because the evidence depends on what the chosen version actually records.

DeployOpen also prepares the artifacts an assessor will request: the approved tool list tied to the system security plan, a summary of how each nonlocal session is approved and terminated, sample session records, and the configuration exports that show strong authentication was enforced. Documentation is handed over with the systems so the client's own staff can operate and re-evidence the control. DeployOpen prepares systems and evidence, but it does not issue audit reports, attestations or certifications. An independent auditor or assessor tests MA-4 and forms the conclusion, and the organization should agree with its assessor early which artifacts they will sample.

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.