> 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/alibaba-cloud-ram-user-has-more-than-one-active-access-keys.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# Alibaba Cloud RAM user has more than one active access keys

### Synopsis

| Field               | Value                                                       |
| ------------------- | ----------------------------------------------------------- |
| Rule Type           | Detection                                                   |
| Finding Type        | Alibaba Cloud RAM user has more than one active access keys |
| Finding ID          | 60000365                                                    |
| Generates a Finding | This detection rule also generates a finding                |
| Severity            | Informational                                               |
| Category            | CONFIGURATION                                               |
| Cloud Providers     | ALIBABA\_CLOUD                                              |
| Platform Module     | CSPM                                                        |
| Asset Types         | ALIBABA\_CLOUD\_RAM\_USER                                   |
| ATT\&CK Tactic      | TA0006 (TA0006)                                             |
| ATT\&CK Technique   | T1552 (T1552)                                               |

### Description

RAM users with multiple active access keys present a significant security risk in Alibaba Cloud. Having more than one active access key increases the likelihood of key compromise and unauthorized access to resources.

Alibaba Cloud's Resource Access Management (RAM) allows users to manage access keys. Each key provides full access to the user's permissions. Maintaining multiple active keys increases the attack surface; a compromised key grants attackers complete access to all associated resources. This misconfiguration enables lateral movement and data breaches.

The impact of this misconfiguration could be extensive, ranging from unauthorized resource modification and data exfiltration to complete account takeover. Limiting active access keys to one per user significantly reduces the risk of compromise and improves overall security posture. This best practice ensures that if one key is compromised, the attacker gains access to only one credential instead of multiple.

To mitigate this risk, regularly review and delete unused access keys. Implement a process to automatically disable or delete access keys after a certain period of inactivity. Enforce a policy limiting the number of active access keys per user to one. This combination of proactive management and automated controls minimizes the security risk significantly.

### Remediation

**Manual steps:**

Alibaba RAM User - Manual remediation steps:

1. Login to Alibaba Cloud Portal
2. Go to Resource Access Management
3. In the left-side navigation pane, click 'Users'
4. Select the reported user
5. In the 'AccessKey' tab, under 'AccessKey' section
6. In the list of access keys, Make a note on the access keys which is not used or not required as per your requirements.
7. Click on 'Disable'
8. On the 'Disable' popup window, click on 'Disable'


---

# 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/alibaba-cloud-ram-user-has-more-than-one-active-access-keys.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.
