NIST 800-53 r5 · Controls catalogue · Family CM
CM-7Least Functionality
Configure the system to provide only {{ insert: param, cm-07_odp.01 }} ; and Prohibit or restrict the use of the following functions, ports, protocols, software, and/or services: {{ insert: param, cm-7_prm_2 }}.
Last updated: 22 August 2026 07:11 UTC
Implementations targeting this control (3)
- aws-config-restricted-common-ports Restricted Common Ports AWS::EC2::SecurityGroup partial protect enforce CIS v5 §5.4CIS v3 §5.3Hub EC2.54
- aws-config-no-unrestricted-route-to-igw No Unrestricted Route To Igw AWS::EC2::RouteTable partial protect enforce
- aws-config-restricted-ssh Restricted Ssh AWS::EC2::SecurityGroup partial protect enforce CIS v5 §5.3CIS v3 §5.2Hub EC2.53
ATT&CK techniques this control mitigates (223)
- T1003 OS Credential Dumping Credential Access
- T1003.001 LSASS Memory Credential Access
- T1003.002 Security Account Manager Credential Access
- T1003.005 Cached Domain Credentials Credential Access
- T1008 Fallback Channels Command And Control
- T1011 Exfiltration Over Other Network Medium Exfiltration
- T1011.001 Exfiltration Over Bluetooth Exfiltration
- T1020.001 Traffic Duplication Exfiltration
- T1021 Remote Services Lateral Movement
- T1021.001 Remote Desktop Protocol Lateral Movement
- T1021.002 SMB/Windows Admin Shares Lateral Movement
- T1021.003 Distributed Component Object Model Lateral Movement
- T1021.005 VNC Lateral Movement
- T1021.006 Windows Remote Management Lateral Movement
- T1021.008 Direct Cloud VM Connections Lateral Movement
- T1027 Obfuscated Files or Information Stealth
- T1036 Masquerading Stealth
- T1036.005 Match Legitimate Resource Name or Location Stealth
- T1036.007 Double File Extension Stealth
- T1036.008 Masquerade File Type Stealth
- T1037 Boot or Logon Initialization Scripts Persistence, Privilege Escalation
- T1037.001 Logon Script (Windows) Persistence, Privilege Escalation
- T1040 Network Sniffing Credential Access, Discovery
- T1046 Network Service Discovery Discovery
- T1047 Windows Management Instrumentation Execution
- T1048 Exfiltration Over Alternative Protocol Exfiltration
- T1048.001 Exfiltration Over Symmetric Encrypted Non-C2 Protocol Exfiltration
- T1048.002 Exfiltration Over Asymmetric Encrypted Non-C2 Protocol Exfiltration
- T1048.003 Exfiltration Over Unencrypted Non-C2 Protocol Exfiltration
- T1052 Exfiltration Over Physical Medium Exfiltration
- T1052.001 Exfiltration over USB Exfiltration
- T1053 Scheduled Task/Job Execution, Persistence, Privilege Escalation
- T1053.002 At Execution, Persistence, Privilege Escalation
- T1053.005 Scheduled Task Execution, Persistence, Privilege Escalation
- T1059 Command and Scripting Interpreter Execution
- T1059.005 Visual Basic Execution
- T1059.007 JavaScript Execution
- T1059.009 Cloud API Execution
- T1059.010 AutoHotKey & AutoIT Execution
- T1068 Exploitation for Privilege Escalation Privilege Escalation
- T1071 Application Layer Protocol Command And Control
- T1071.001 Web Protocols Command And Control
- T1071.002 File Transfer Protocols Command And Control
- T1071.003 Mail Protocols Command And Control
- T1071.004 DNS Command And Control
- T1072 Software Deployment Tools Execution, Lateral Movement
- T1078 Valid Accounts Stealth, Persistence, Privilege Escalation, Initial Access
- T1078.004 Cloud Accounts Stealth, Persistence, Privilege Escalation, Initial Access
- T1080 Taint Shared Content Lateral Movement
- T1087 Account Discovery Discovery
Weaknesses this control addresses (8)AI-assisted
CWEs ranked by how often they appear in real CVEs. The rationale describes how this control reduces exploitability of each weakness class.
| CWE | Name | CVEs | Why this control addresses it |
|---|---|---|---|
CWE-284 | Improper Access Control | 6,900+ | Restricting available functions and services reduces the attack surface and enforces proper access control boundaries. |
CWE-306 | Missing Authentication for Critical Function | 3,300+ | Disabling non-essential functions and services eliminates the need to secure them, reducing exposure from missing authentication on unnecessary components. |
CWE-732 | Incorrect Permission Assignment for Critical Resource | 1,900+ | Configuring systems to provide only required functionality avoids incorrect permission assignments on unneeded resources, ports, or services. |
CWE-285 | Improper Authorization | 1,500+ | By limiting enabled features to only those needed, the control strengthens authorization by removing opportunities for unauthorized use of excess functionality. |
CWE-250 | Execution with Unnecessary Privileges | 300+ | Prohibiting unnecessary functions, ports, protocols, software, and services directly prevents execution with privileges beyond what is required for the system's purpose. |
CWE-1188 | Initialization of a Resource with an Insecure Default | 300+ | Requiring explicit configuration to minimal functionality overrides insecure defaults that would otherwise enable excess capabilities. |
CWE-749 | Exposed Dangerous Method or Function | 100+ | Explicitly prohibiting dangerous or unnecessary functions and services prevents exposure of methods that could be directly exploited. |
CWE-272 | Least Privilege Violation | 38 | Enforcing only the minimal set of functionality implements least privilege by eliminating unneeded capabilities that could be abused. |
Top CVEs where this control is the strongest mitigation
| CVE | Risk | CVSS | EPSS | Match |
|---|---|---|---|---|
CVE-2024-56346 UPD | 7.6 | 10.0 | 0.0109 | good |
CVE-2025-36250 | 7.5 | 10.0 | 0.0067 | good |
CVE-2025-55050 UPD | 7.2 | 9.8 | 0.0034 | partial |
CVE-2025-12176 UPD | 7.2 | 9.8 | 0.0032 | partial |
CVE-2017-20204 UPD | 7.0 | 9.3 | 0.0084 | partial |
CVE-2024-36912 UPD | 6.9 | 9.6 | 0.0096 | partial |
CVE-2024-56347 UPD | 6.9 | 9.6 | 0.0089 | good |
CVE-2025-36251 | 6.8 | 9.6 | 0.0054 | good |
CVE-2025-15480 UPD | 6.8 | 9.1 | 0.0031 | partial |
CVE-2024-36913 UPD | 6.6 | 9.3 | 0.0065 | partial |
CVE-2024-5386 UPD | 6.6 | 8.8 | 0.0048 | good |
CVE-2023-3634 | 6.6 | 8.8 | 0.0050 | partial |
CVE-2026-74799 | 6.6 | 9.3 | 0.0039 | good |
CVE-2023-49722 UPD | 6.3 | 8.3 | 0.0044 | good |
CVE-2025-1950 UPD | 6.3 | 9.3 | 0.0019 | good |
CVE-2024-25021 UPD | 6.2 | 8.4 | 0.0027 | good |
CVE-2026-29046 UPD | 6.2 | 8.2 | 0.0039 | good |
CVE-2025-0160 UPD | 6.1 | 8.1 | 0.0050 | good |
CVE-2024-32004 UPD | 6.0 | 8.1 | 0.0135 | good |
CVE-2025-41756 | 6.0 | 8.1 | 0.0033 | partial |
CVE-2025-14551 UPD | 6.0 | 8.1 | 0.0028 | partial |
CVE-2024-52564 UPD | 5.9 | 7.5 | 0.0058 | partial |
CVE-2025-27684 UPD | 5.9 | 7.5 | 0.0057 | good |
CVE-2025-34081 UPD | 5.9 | 7.5 | 0.0060 | good |
CVE-2025-22450 UPD | 5.8 | 7.5 | 0.0038 | partial |