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

# Alibaba Cloud RAM password policy configured to allow login after the password expires

### Synopsis

| Field               | Value                                                                                  |
| ------------------- | -------------------------------------------------------------------------------------- |
| Rule Type           | Detection                                                                              |
| Finding Type        | Alibaba Cloud RAM password policy configured to allow login after the password expires |
| Finding ID          | 60000345                                                                               |
| Generates a Finding | This detection rule also generates a finding                                           |
| Severity            | Medium                                                                                 |
| Category            | CONFIGURATION                                                                          |
| Cloud Providers     | ALIBABA\_CLOUD                                                                         |
| Platform Module     | CSPM                                                                                   |
| Asset Types         | ALIBABA\_CLOUD\_PASSWORD\_POLICY                                                       |
| ATT\&CK Tactic      | TA0006 (TA0006)                                                                        |
| ATT\&CK Technique   | T1110 (T1110)                                                                          |

### Description

Alibaba Cloud Resource Access Management (RAM) accounts allowing logins after password expiry pose a significant security risk. This misconfiguration enables continued access even after a password's expiration, bypassing crucial security controls.

The RAM service's password expiration setting dictates user access behavior. By default, expired passwords should block logins, forcing password resets. However, allowing logins after expiry negates this protection. Attackers could exploit this by gaining access even if the password was compromised before expiry, potentially leading to unauthorized access and data breaches.

The impact of this misconfiguration includes unauthorized access to Alibaba Cloud resources, data exfiltration, and potential account takeover. Enforcing password expiry with login denial ensures that only users with updated credentials can access the account, significantly reducing the risk of compromised credentials being exploited.

To mitigate this risk, enforce password expiry and disallow logins after expiry in your Alibaba Cloud RAM password policy. Regularly review and update RAM user credentials and enforce strong password policies, including mandatory password resets. Promptly address any accounts found with this misconfiguration.

### Remediation

**Manual steps:**

Alibaba RAM Password Policy - Manual remediation steps:

1. Log in to Alibaba Cloud Portal
2. Go to Resource Access Management (RAM) service
3. In the left-side navigation pane, click on 'Settings'
4. In the 'Password' tab, under the 'Password' Section, click on 'Modify'
5. In the 'Disable Login After Password Expired' section, check 'Enable' checkbox
6. Click on 'OK'


---

# 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-password-policy-configured-to-allow-login-after-the-password-expires.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.
