Least functionality is the principle of configuring systems with only the capabilities they truly need, reducing the number of potential vulnerabilities an attacker can exploit.
Least Functionality
Another principle that we should be following is least functionality. This falls in line with minimizing our attack surface and keeping it simple.
Least functionality is configuring systems with only the essential capabilities.
Let me give you an example of least functionality. Let's say I have a web server that I'm hosting web pages off of, and I have Linux, Apache, MySQL and PHP installed on this. This is called a LAMP server. It's a very common setup. It's fairly easy to update, a lot of people have this, and so we can update it and keep it patched.
But then I decide I want this little extra functionality. It doesn't really do too much for me, but it's easy to install and it's pretty cheap, so I add this functionality. Maybe the software is called function 123. What happens is that the company that developed this function 123 has not been updating it. Because they haven't been updating it, now I'm on an old version of PHP, I'm on an old version of MySQL, I'm on an old version of Apache — things that are compatible with this function 123. They've gotten outdated now, and it causes a problem. Somebody compromises my server because I'm running all these old services, and it's all because of some functionality that they didn't really need, they just thought it would be nice.
This is one of many examples of least functionality and how it can cause a problem. This really plays into that keep it simple stupid, the KISS acronym. We need to make sure that we are installing and utilizing the least amount of functions to make things the most secure.
TechKnowSurge builds IT and cybersecurity professionals through hands-on, concept-first training built around real understanding — not memorization. Free interactive tools, structured programs, and 25+ years of real-world experience, all in one place.
Explore free tools and programs →