> 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-policy-attached-to-users.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# Alibaba Cloud RAM policy attached to users

### Synopsis

| Field               | Value                                        |
| ------------------- | -------------------------------------------- |
| Rule Type           | Detection                                    |
| Finding Type        | Alibaba Cloud RAM policy attached to users   |
| Finding ID          | 60000367                                     |
| Generates a Finding | This detection rule also generates a finding |
| Severity            | Low                                          |
| Category            | CONFIGURATION                                |
| Cloud Providers     | ALIBABA\_CLOUD                               |
| Platform Module     | CSPM                                         |
| Asset Types         | ALIBABA\_CLOUD\_RAM\_USER                    |
| ATT\&CK Tactic      | TA0004 (TA0004)                              |
| ATT\&CK Technique   | T1078.004 (T1078.004)                        |

### Description

Unnecessarily permissive Alibaba Cloud RAM policies attached to individual users create a significant security risk. These policies grant excessive privileges directly to users, increasing the blast radius of a compromised account.

Alibaba Cloud's Resource Access Management (RAM) allows granular control over resource access. Attaching policies directly to users, rather than groups or roles, bypasses the inherent access control offered by grouping users with similar roles. This misconfiguration increases the attack surface and makes it harder to manage access permissions effectively. A compromised user account with overly permissive policies can lead to unauthorized data access, modification, or deletion, resulting in a data breach.

The impact of this misconfiguration is the potential for unauthorized access to sensitive Alibaba Cloud resources. Following the best practice of applying policies to groups and roles provides centralized management and simplifies the process of revoking or modifying access for multiple users simultaneously. It limits the impact of a single compromised account and enhances overall security posture.

To mitigate this, implement a least privilege model by assigning RAM policies to groups or roles instead of individual users. Regularly review and audit existing RAM policies attached to users to identify and remove unnecessary permissions. Ensure that users only have the minimum privileges required to perform their job functions.

### Remediation

**Manual steps:**

Alibaba RAM User - Manual remediation steps:

1. Log in to Alibaba Cloud Portal
2. Go to Resource Access Management
3. In the left-side navigation pane, click 'Users'
4. Click on the reported RAM user
5. Under the 'Permissions' tab, In 'Individual' sub-tab
6. Click on 'Remove Permission' for user reported,
7. On 'Remove Permission' popup window, Click on 'OK'

If a group with a similar policy already exists, put the user in that group. If such a group does not exist, create a new group with relevant policy and assign the user to the group.


---

# 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-policy-attached-to-users.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.
