# NIST SP 800-53 Rev. 5 SC-18(5) — Allow Execution Only In Confined Environments

- Source: https://support.icompaas.com/compliance/nist-sp-800-53-rev-5/sc-18-5-allow-execution-only-in-confined-environments
- Section: [Compliance](https://support.icompaas.com/compliance) › [NIST SP 800-53 Rev. 5 Controls](https://support.icompaas.com/compliance/nist-sp-800-53-rev-5) › SC — System and Communications Protection
- Last updated: 2026-06-05
- Publisher: iCompaas, Inc. (https://www.icompaas.com)

**NIST SP 800-53 Rev. 5**·Control `SC-18(5)`·critical·Component: **System and Communications Protection**

## What this control requires

> Allow execution of permitted mobile code only in confined virtual machine environments. This helps prevent the introduction of malicious code into other systems and system components by isolating mobile code execution within secure, controlled environments. This control supports the Virtual Machine Environment Management System capability within the System and Communications Protection family.
> 
> — NIST SP 800-53 Rev. 5, Control SC-18(5)

### In plain English

Allow execution of permitted mobile code only in confined virtual machine environments. In practice, this means you can prove you security management-level controls on a defined cadence.

## Why it matters

SP 800-53 is the catalogue every U.S. federal authorisation (FedRAMP, FISMA, CMMC) and most regulated industries point at. A missing control surfaces as a Plan of Action & Milestones (POA&M) item that an Authorizing Official must approve before the Authority To Operate is granted or renewed.

This control is rated **critical** in the source catalogue. Treat gaps here as production incidents in the risk register, not housekeeping.

## What an auditor looks for

A 3PAO (FedRAMP) or Independent Assessor (NIST RMF) tests against NIST SP 800-53A assessment procedures. For each control they expect a documented implementation that addresses every assessment objective (Examine, Interview, Test) and an implementation summary in the System Security Plan.

Within **System and Communications Protection**, the assessor will trace your implementation back to the catalogue reference (Control SC-18(5)) and look for objective evidence on the latest two assessment cycles.

## How to implement

#### Secure Development

**Pipeline.** Require code review, SAST (Semgrep / Snyk Code), SCA (Dependabot / Renovate), secret-scanning and IaC scanning in the merge pipeline.

**Branch protection.** Protected branches enforce reviews, signed commits and passing CI before merge; document the protection rules as the control evidence.

#### Code Review Testing

**Pipeline.** Require at least one human reviewer plus passing CI (lint, type, unit, security scan) before merge — protected branches enforce this.

#### Endpoint Protection

**MDM.** Make MDM enrollment a hard gate for device access (Intune compliance + Conditional Access, or Jamf + Okta device trust). Unmanaged devices simply don't get a session token.

**EDR.** Deploy CrowdStrike / SentinelOne / Defender for Endpoint to every server and laptop; alert on any host that stops sending telemetry for >24h.

### Operational checklist

-   **Security.** Document the trigger, the owner and the cadence.
-   **Review.** Document the trigger, the owner and the cadence.
-   **Protection.** Document the trigger, the owner and the cadence.
-   **System.** Document the trigger, the owner and the cadence.
-   **Control.** Document the trigger, the owner and the cadence.
-   **Scope:** management, system, application, only, protection, environments, review, components.

## Evidence to collect

-   **Code Repo Scan.** Source-control evidence — branch protection, required reviewers, CI status, SCA / SAST reports.

Source control pipelines (GitHub, GitLab) enforce SDLC guardrails. Focus: Allow Execution Only In Confined Environments.

## Common pitfalls

-   CI security checks set to warn-only; the merge button is faster than the security feedback.
-   Pilot MDM rollouts that quietly exclude executives or engineers; carving out the highest-risk users is the most common audit failure.

## How it maps to other frameworks

Computed from shared tags, control component and key-operation subjects — handy when you are reconciling controls across an audit.

-   [**NIST SP 800-171 Rev. 3 3.13.13** — Mobile Code](https://support.icompaas.com/compliance/nist-sp-800-171-rev-3/3-13-13-mobile-code)
-   [**ISO/IEC 27001:2022 A.8.28** — Secure coding](https://support.icompaas.com/compliance/iso-27001-2022/a-8-28-secure-coding)

## Related controls in NIST SP 800-53 Rev. 5

-   [**Control SC-26** — Decoys](https://support.icompaas.com/compliance/nist-sp-800-53-rev-5/sc-26-decoys)
-   [**Control SC-35** — External Malicious Code Identification](https://support.icompaas.com/compliance/nist-sp-800-53-rev-5/sc-35-external-malicious-code-identification)
-   [**Control SC-7(9)** — Restrict Threatening Outgoing Communications Traffic](https://support.icompaas.com/compliance/nist-sp-800-53-rev-5/sc-7-9-restrict-threatening-outgoing-communications-traffic)
-   [**Control SC-18** — Mobile Code](https://support.icompaas.com/compliance/nist-sp-800-53-rev-5/sc-18-mobile-code)
-   [**Control SC-3(3)** — Minimize Nonsecurity Functionality](https://support.icompaas.com/compliance/nist-sp-800-53-rev-5/sc-3-3-minimize-nonsecurity-functionality)
-   [**Control SC-44** — Detonation Chambers](https://support.icompaas.com/compliance/nist-sp-800-53-rev-5/sc-44-detonation-chambers)

## References

-   [NIST Computer Security Resource Center — NIST SP 800-53 Rev. 5](https://csrc.nist.gov/Projects/risk-management/sp800-53-controls)
-   Catalogue identifier: `Control SC-18(5)`

Topics: application securitysecure developmentcode review testingdevsecopsendpoint protection

## Related compliance guidance

- [NIST SP 800-53 Rev. 5: a practical implementation guide for cloud teams](https://support.icompaas.com/compliance/nist-sp-800-53-rev-5): Start with the full NIST SP 800-53 implementation guide — scope, roadmap, evidence and how the assessment runs.
- [NIST SP 800-171 and CMMC: a practical guide to protecting CUI in the cloud](https://support.icompaas.com/compliance/nist-sp-800-171-rev-3): If your obligation is protecting CUI in your own systems for a federal or defence contract, this derived subset — not the full catalogue — is the requirement.
- [SOC 2 compliance: a practical implementation guide for cloud-native SaaS teams](https://support.icompaas.com/compliance/soc-2-trust-services-criteria): Most commercial SaaS already hold a SOC 2 Type 2, and FedRAMP 20x Class A is designed for providers that have one.
