> 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/gcp-cloud-dns-zones-using-rsasha1-algorithm-for-dnssec-zone-signing.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# GCP Cloud DNS zones using RSASHA1 algorithm for DNSSEC zone-signing

### Synopsis

| Field               | Value                                                               |
| ------------------- | ------------------------------------------------------------------- |
| Rule Type           | Detection                                                           |
| Finding Type        | GCP Cloud DNS zones using RSASHA1 algorithm for DNSSEC zone-signing |
| Finding ID          | 60000156                                                            |
| Generates a Finding | This detection rule also generates a finding                        |
| Severity            | Low                                                                 |
| Category            | CONFIGURATION                                                       |
| Cloud Providers     | GCP                                                                 |
| Platform Module     | CSPM                                                                |
| Asset Types         | GOOGLE\_CLOUD\_DNS\_MANAGED\_ZONE                                   |
| ATT\&CK Tactic      | TA0112 (TA0112)                                                     |
| ATT\&CK Technique   | T1685 (T1685)                                                       |

### Description

GCP Cloud DNS zones employing the RSASHA1 algorithm for DNSSEC are vulnerable to cryptographic attacks. This misconfiguration weakens DNSSEC's ability to protect against DNS spoofing and cache poisoning.

The Cloud DNS service allows for configuring DNSSEC using various algorithms. RSASHA1 is considered cryptographically weak and vulnerable to attacks due to its smaller key size and known vulnerabilities. Attackers could exploit this weakness to manipulate DNS records, redirecting users to malicious websites or intercepting sensitive data.

Successful exploitation could lead to DNS spoofing, phishing attacks, and data breaches. Using stronger algorithms like RSASHA256 or RSASHA512 is crucial to ensure DNSSEC's effectiveness in protecting against these threats. These algorithms offer superior cryptographic strength and resistance to known attacks.

To remediate, immediately update all affected GCP Cloud DNS zones to utilize a more secure algorithm like RSASHA256 or RSASHA512. Regularly review and update DNSSEC algorithms to maintain the highest level of security. Implement monitoring to detect and alert on any future use of weak algorithms.

### Remediation

**Manual steps:**

Google Cloud DNS Managed Zone - Manual remediation steps:

Currently, DNSSEC zone-signing can be updated using command line interface only.

1. If you need to change the settings for a managed zone where it has been enabled, you have to turn DNSSEC off and then re-enable it with different settings. To turn off DNSSEC, run following command:

   ```
   gcloud dns managed-zones update <ZONE_NAME> --dnssec-state off
   ```
2. To update zone-signing for a reported managed DNS Zone, run following command:

   ```
   gcloud dns managed-zones update <ZONE_NAME> --dnssec-state on --ksk-algorithm <KSK_ALGORITHM> --ksk-key-length <KSK_KEY_LENGTH> --zsk-algorithm <ZSK_ALGORITHM> --zsk-key-length <ZSK_KEY_LENGTH> --denial-of-existence <DENIAL_OF_EXISTENCE>
   ```


---

# 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/gcp-cloud-dns-zones-using-rsasha1-algorithm-for-dnssec-zone-signing.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.
