> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/posture-rules/cloud-saas-active-directory-posture-rules/cortex-posture-query-based-rules/detection-rules-by-name/ibm-cloud-default-security-group-allow-all-traffic-on-ssh-port-22.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# IBM Cloud Default Security Group allow all traffic on SSH port (22)

### Synopsis

| Field               | Value                                                               |
| ------------------- | ------------------------------------------------------------------- |
| Rule Type           | Detection                                                           |
| Finding Type        | IBM Cloud Default Security Group allow all traffic on SSH port (22) |
| Finding ID          | 60000759                                                            |
| Generates a Finding | This detection rule also generates a finding                        |
| Severity            | Medium                                                              |
| Category            | CONFIGURATION                                                       |
| Cloud Providers     | IBM\_CLOUD                                                          |
| Platform Module     | CSPM                                                                |
| Asset Types         | IBM\_NETWORKING\_SECURITY\_GROUP, IBM\_NETWORKING\_VPC              |
| ATT\&CK Tactic      | TA0001 (TA0001)                                                     |
| ATT\&CK Technique   | T1190 (T1190)                                                       |

### Description

Every IBM Cloud VPC is created with a default security group that is automatically applied to network interfaces when no other group is specified. A security group is a stateful firewall attached to the interface, and its inbound rules name a remote, a protocol and a port range. A remote of 0.0.0.0/0 matches every address on the internet.

This policy identifies the default security group of a VPC where an inbound rule allows traffic from any source to the Secure Shell port 22. The check matches security groups against the default security group recorded on each VPC, then inspects their inbound rules for one that permits all protocols or TCP traffic covering port 22.

The default group carries elevated risk because workloads inherit it silently. A resource deployed without an explicit security group is placed behind these rules without any deliberate decision, so an overly permissive default quietly exposes SSH on machines nobody intended to publish. Internet-facing SSH attracts continuous scanning and brute force attempts, and a successful login yields an interactive shell from which an attacker can harvest credentials and move laterally.

As a remediation, remove the permissive inbound rule from the default security group and restrict SSH to specific administrative CIDR ranges, or require access through a VPN or bastion host. Keep the default group minimal and attach purpose-built security groups to workloads that need inbound access.

### Remediation

**Manual steps:**

IBM Networking Security Group, IBM Networking VPC - Manual remediation steps:

Before making any changes, please check the impact to your applications/services. If the Security Groups reported indeed need to restrict all traffic, follow the instructions below:

1. Log in to the IBM Cloud Console
2. Click on 'Menu Icon' and navigate to 'VPC Infrastructure' and then 'Security Groups'
3. Select the 'Security Groups' reported in the alert
4. Go to 'Inbound rules' under 'Rules' tab
5. Click on three dots on the right corner of a row containing rule that has 'Source type' as 'Any' and 'Value' as 22 (or range containing 22)
6. Click on 'Delete'


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://cortex-docs.paloaltonetworks.com/posture-rules/cloud-saas-active-directory-posture-rules/cortex-posture-query-based-rules/detection-rules-by-name/ibm-cloud-default-security-group-allow-all-traffic-on-ssh-port-22.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
