> 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-vpn-connections-for-vpc-has-an-ipsec-policy-that-have-perfect-forward-secrecy-pfs.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# IBM Cloud VPN Connections for VPC has an IPsec policy that have Perfect Forward Secrecy (PFS)...

### Synopsis

| Field               | Value                                                                                                  |
| ------------------- | ------------------------------------------------------------------------------------------------------ |
| Rule Name           | IBM Cloud VPN Connections for VPC has an IPsec policy that have Perfect Forward Secrecy (PFS) disabled |
| Rule Type           | Detection                                                                                              |
| Finding Type        | IBM Cloud VPN Connections for VPC has an IPsec policy that have Perfect Forward Secrecy (PFS) disabled |
| Finding ID          | 60000766                                                                                               |
| Generates a Finding | This detection rule also generates a finding                                                           |
| Severity            | Low                                                                                                    |
| Category            | CONFIGURATION                                                                                          |
| Cloud Providers     | IBM\_CLOUD                                                                                             |
| Platform Module     | CSPM                                                                                                   |
| Asset Types         | IBM\_NETWORKING\_VPN\_GATEWAY, IBM\_NETWORKING\_VPN\_IPSEC\_POLICY                                     |
| ATT\&CK Tactic      | TA0112 (TA0112)                                                                                        |
| ATT\&CK Technique   | T1685 (T1685)                                                                                          |

### Description

An IBM Cloud VPN gateway for VPC establishes IPsec tunnels to remote networks, and each connection references an IPsec policy that fixes the cryptographic parameters of the tunnel. Perfect Forward Secrecy is one of those parameters. When enabled it performs a fresh Diffie-Hellman exchange for each rekey, so every session key is derived independently of the long-term key material.

This policy identifies available VPN gateways whose connections use an IPsec policy with Perfect Forward Secrecy disabled. The check matches gateway connections against IPsec policies whose pfs attribute reads disabled and reports the gateways that use them.

Without Perfect Forward Secrecy every session key is derived from the same long-term secret, so recovering that secret once decrypts all traffic protected by it, including traffic captured and stored months earlier. An adversary able to record encrypted tunnel traffic can therefore wait, obtain the key later through compromise of a gateway or a configuration backup, and retrospectively read everything. Enabling the feature bounds that exposure to a single rekey interval, which is the property that makes recorded traffic worthless to a future attacker.

As a remediation, edit the IPsec policy so that Perfect Forward Secrecy specifies a Diffie-Hellman group such as group\_14 or stronger, then confirm the VPN connections renegotiate successfully. Verify that the peer device supports the chosen group before applying the change, since a mismatch prevents the tunnel from establishing.

### Remediation

**Manual steps:**

IBM Networking VPN Gateway, IBM Networking VPN IPSEC Policy - Manual remediation steps:

1. Log in to the IBM Cloud Console
2. Click on 'Menu Icon' and navigate to 'VPC Infrastructure' and then 'VPNs'
3. Select the 'Site-to-site gateways' and select the gateway reported in the alert.
4. In the Gateway 'Overview' page, under 'VPN connections', please note down the 'IPsec policy' name for each connection
5. From left navigation pane select 'VPNs', under 'Site-to-site gateways' select 'IPsec policies'.
6. Select required region, and perform below steps for all above noted down IPsec policies.
7. For each policy click on 'elipsis' menu icon on the right and select 'Edit'.
8. In 'Edit IPsec policy' page, slide the 'Perfect Forward Secrecy' feature to enabled.
9. Click on 'Save'


---

# 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-vpn-connections-for-vpc-has-an-ipsec-policy-that-have-perfect-forward-secrecy-pfs.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.
