Allow execution of binary or machine-executable code only in confined physical or virtual machine environments and with the explicit approval of [orga
Scanned 9/3/2026
Install to Claude Code
npx -y skills add CyberStrikeus/CyberStrike --skill cm-7-7-code-execution-in-protected --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Cm 7 7 Code Execution In Protected?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/cyberstrikeus-cm-7-7-code-execution-in-protected)More formats (shields.io, HTML) on the badges page.
---
name: "CM-7(7)_code-execution-in-protected-environments"
description: "Allow execution of binary or machine-executable code only in confined physical or virtual machine environments and with the explicit approval of [orga"
category: "configuration"
version: "5.2.0"
author: "cyberstrike-official"
tags:
- nist
- sp800-53
- rev5
- cm-7-7
- cm
- enhancement
tech_stack:
- aws
- azure
- gcp
- linux
- windows
cwe_ids:
- CWE-16
chains_with:
- CM-10
- SC-44
prerequisites:
- CM-7
severity_boost:
CM-10: "Chain with CM-10 for comprehensive security coverage"
SC-44: "Chain with SC-44 for comprehensive security coverage"
---
# CM-7(7) Code Execution in Protected Environments
> **Enhancement of:** CM-7
## High-Level Description
**Family:** Configuration Management (CM)
**Framework:** NIST SP 800-53 Rev 5
Code execution in protected environments applies to all sources of binary or machine-executable code, including commercial software and firmware and open-source software.
## What to Check
- [ ] Verify CM-7(7) Code Execution in Protected Environments is documented in SSP
- [ ] Validate all 2 control requirements are implemented
- [ ] Confirm control is operating effectively
- [ ] Review evidence of continuous monitoring for CM-7(7)
- [ ] Verify enhancement builds upon base control CM-7
## How to Test
### Step 1: Review Documentation
Examine the System Security Plan (SSP) and related artifacts for CM-7(7) implementation details. Verify the organization has documented how this control is satisfied.
### Step 2: Validate Implementation
```
# For cloud environments, use cloud-audit-mcp tools
# For on-premises, review system configurations directly
# Example: Check if account management policies exist
grep -r "account.management\|access.control" /etc/security/ 2>/dev/null
```
### Step 3: Test Operating Effectiveness
Verify the control is actively functioning, not just documented. Check logs, configurations, and operational evidence.
## Tools
| Tool | Purpose | Usage |
| --------------- | ----------------------------- | ----------------------------------------- |
| cloud-audit-mcp | Check configuration baselines | `cloud_audit_config` |
| AWS CLI | Review Config rules | `aws configservice describe-config-rules` |
## Remediation Guide
### Control Statement
Allow execution of binary or machine-executable code only in confined physical or virtual machine environments and with the explicit approval of [organization-defined] when such code is:
Obtained from sources with limited or no warranty; and/or
Without the provision of source code.
### Implementation Guidance
Code execution in protected environments applies to all sources of binary or machine-executable code, including commercial software and firmware and open-source software.
## Risk Assessment
| Finding | Severity | Impact |
| ---------------------------------------------------------------- | -------- | ----------------------------------- |
| CM-7(7) Code Execution in Protected Environments not implemented | Medium | Configuration Management |
| CM-7(7) partially implemented | Low | Incomplete Configuration Management |
## CWE Categories
| CWE ID | Title |
| ------ | ------------- |
| CWE-16 | Configuration |
## References
- [NIST SP 800-53 Rev 5 - CM-7(7)](https://csrc.nist.gov/projects/cprt/catalog#/cprt/framework/version/SP_800_53_5_1_1/home?element=cm-7.7)
- [NIST SP 800-53A Rev 5 (Assessment Procedures)](https://csrc.nist.gov/pubs/sp/800/53/a/r5/final)
- [NIST SP 800-53 Rev 5 Full Catalog](https://csrc.nist.gov/pubs/sp/800/53/r5/upd1/final)
## Checklist
- [ ] Control documented in SSP
- [ ] Implementation evidence collected
- [ ] Operating effectiveness validated
- [ ] Continuous monitoring in place
- [ ] Related controls (CM-10, SC-44) reviewed
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!