In computing, misconfiguration occurs when an IT system, asset, or tool is set up incorrectly, leaving it vulnerable to malicious activity and jeopardizing the security of data. This is a leading cause of data breaches, chiefly when leveraged in critical application and data assets.
Examples of misconfiguration include:
- VPC flow logs are disabled
- Unused security groups are discovered
- EC2 security group port or inbound access is misconfigured
- Access to resources is not equipped using IAM roles
- Outbound access is unrestricted
- EBS data encryption is not turned on
- S3 bucket encryption is not turned on
- A server that exposes too much information to users, particularly on the web
Ways to prevent security misconfigurations include keeping software up to date, disabling default accounts, encrypting data, enforcing strong access controls, running security scanners, and performing regular system audits.
It’s important to prevent or fix a misconfiguration because it’s one of the most common ways hackers gain access to an environment. They do this by stealing or using weak credentials to enter as a legitimate user or exploiting an unpatched vulnerability that’s deployed in the environment. From there, malicious parties can target other parts of the system.