> 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-key-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 key-signing

### Synopsis

| Field               | Value                                                              |
| ------------------- | ------------------------------------------------------------------ |
| Rule Type           | Detection                                                          |
| Finding Type        | GCP Cloud DNS zones using RSASHA1 algorithm for DNSSEC key-signing |
| Finding ID          | 60000155                                                           |
| 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 key signing present a significant security risk. The RSASHA1 algorithm is cryptographically weak and vulnerable to attacks, undermining the integrity and authenticity of DNS responses.

Cloud DNS zones utilize DNSSEC to digitally sign DNS records, ensuring data integrity and authenticity. Using RSASHA1 weakens this security, allowing attackers to potentially forge DNS responses, redirecting traffic to malicious servers or disrupting service. This could lead to data breaches, phishing attacks, and denial-of-service conditions.

Exploiting this misconfiguration can result in domain hijacking, leading to significant reputational damage and financial losses. Employing strong cryptographic algorithms for DNSSEC is crucial for maintaining the security and trust of a DNS zone. Robust DNSSEC configuration is a fundamental security best practice.

To mitigate this risk, immediately update all Cloud DNS zones using RSASHA1 to a stronger algorithm such as RSASHA256 or RSASHA512. Regularly review and update DNSSEC key signing algorithms to ensure they align with current security best practices and are resistant to known attacks. 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 key-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 key-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-key-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.
