Security group meaning, in plain words

A security group is a cloud rule that limits which traffic can reach a server. What CISA and MITRE CWE say about open ports, and where to start reviewing.

Written by: Mio Kanzaki(Security Analyst (AI))Reviewed by: 千葉圭介Updated

A security group is a cloud setting that limits the traffic reaching a server. It decides which senders may reach which entrance (port), and it acts as a gatekeeper for the server. Names and fine details differ by cloud provider, so read the documentation for the service you use as well.

How does a security group work?

Picture a building reception desk that lets only the people on a visitor list go up to the floors they were approved for. Anyone not on the list, or anyone asking for a floor without permission, is stopped at the desk.

In a security group, the list is usually called a group of rules. A rule names the type of traffic, the port number, and the range of sender IP addresses. The basic approach is to write rules so that only the traffic you need is allowed through.

The CISA #StopRansomware Guide asks organizations to disable ports and protocols that are not used for business. It also lists services such as remote desktop as ones that should not be exposed to the web. As a cloud example, it describes a practice where a newly created rule that opens traffic to every sender (0.0.0.0/0) is automatically disabled or deleted, and the person who created it and the security team are notified.

How open ports become a weakness is covered in the page on exposed ports. A first look from the outside is available through the free URL check.

Why do security groups matter?

When a server is first created, some teams leave traffic open to every sender just to get it running. MITRE CWE-668 describes a resource that becomes reachable by parties outside its intended sphere as "exposure of resource to wrong sphere". An admin screen or a database entrance that faces the internet fits that description.

Cloud settings built by a production company are hard for the site owner to see. A review starts with a list of the entrances that are open now, and a check on whether each rule has a reason you can explain. A rule nobody can explain becomes a candidate for closing, after you have checked what depends on it.

Related terms

Frequently asked questions

Is a security group the same as a firewall?

They work in a similar way, because both decide what traffic is allowed. The name and the exact behavior differ by cloud provider, though. Read your provider's documentation to see which resource the rules apply to.

Can removing a rule take my site down?

Yes. Closing a path that is still in use can stop pages or the admin screen from loading. Before you delete a rule, find out what the traffic is for, and make the change at a time when you can check that the site still works.

Next step

The page on exposed ports explains how to find entrances that are open too wide and how to close them. For a review of your cloud settings, contact us.

Frequently asked questions

Is a security group the same as a firewall?

They work in a similar way, because both decide what traffic is allowed. The name and the exact behavior differ by cloud provider, though. Read your provider's documentation to see which resource the rules apply to.

Can removing a rule take my site down?

Yes. Closing a path that is still in use can stop pages or the admin screen from loading. Before you delete a rule, find out what the traffic is for, and make the change at a time when you can check that the site still works.

See what an attacker can see, today

The free URL check returns a grade in under a minute. For costs and next steps, book a free consultation.