Knowledge is Power

Sitewide Search

Search Bare Metal Cyber

Search courses, individual lessons, wiki entries, books, podcasts, magazine articles, Daily Cyber News, and Darwin.

Secure design principleFoundational

Least Functionality

Least functionality limits systems to the services, features, protocols, software, accounts, and permissions required for their intended purpose.

What it means

Least functionality reduces opportunities for misuse and failure by removing capabilities that are not needed. Every open port, optional package, administrative tool, plugin, protocol, and background service adds code, configuration, maintenance, and potential attack surface.

How it works

Organizations define an approved baseline for each system role, disable unnecessary functions, and monitor drift. The principle applies to endpoints, servers, cloud services, network devices, applications, containers, identities, and automation. Exceptions should be documented, time-bound, and reviewed.

A database server does not need email clients, development tools, sample applications, or broad outbound internet access. Removing those functions reduces exploit opportunities and makes abnormal activity easier to recognize.

Practical focus

  • Build role-specific secure baselines
  • Remove or disable unused software, ports, protocols, accounts, and APIs
  • Validate that business functions still work after hardening
  • Monitor configuration drift and exception expiration

Common mistakes

  • Installing a standard image with every possible tool
  • Disabling features without testing operational dependencies
  • Treating least functionality as a one-time build task

Certification relevance

This subject appears in or supports the following certification bodies of knowledge:

CompTIA Security+ISC2 Certified in CybersecurityISC2 CISSP

Authoritative sources