> 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/aws-iam-password-policy-does-not-expire-in-90-days.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# AWS IAM password policy does not expire in 90 days

### Synopsis

| Field               | Value                                              |
| ------------------- | -------------------------------------------------- |
| Rule Type           | Detection                                          |
| Finding Type        | AWS IAM password policy does not expire in 90 days |
| Finding ID          | 60000018                                           |
| Generates a Finding | This detection rule also generates a finding       |
| Severity            | Informational                                      |
| Category            | CONFIGURATION                                      |
| Cloud Providers     | AWS                                                |
| Platform Module     | CSPM                                               |
| Asset Types         | AWS\_IAM\_PASSWORD\_POLICY                         |
| ATT\&CK Tactic      | TA0006 (TA0006)                                    |
| ATT\&CK Technique   | T1110 (T1110)                                      |

### Description

IAM users with passwords not expiring within 90 days present a significant security risk. Failure to enforce regular password changes increases the window of opportunity for attackers to exploit compromised credentials.

The AWS IAM service manages user access to AWS resources. A weak password policy, lacking a 90-day expiration, allows attackers more time to guess or brute-force passwords after obtaining them through phishing or other means. This can lead to unauthorized access and potential data breaches.

The impact of this misconfiguration is unauthorized access to AWS resources, potentially leading to data exfiltration, service disruptions, and financial loss. Regular password changes are crucial for mitigating the risk of credential compromise, minimizing the impact of successful attacks.

To remediate, enforce a password expiration policy of 90 days or less for all IAM users. Regularly review and update IAM policies, ensuring all users adhere to the defined password expiration policy. Implement multi-factor authentication (MFA) for enhanced security.

### Remediation

**Manual steps:**

AWS IAM Password Policy - Manual remediation steps:

1. Login to the AWS console and navigate to the 'IAM' service.
2. On the left navigation panel, Click on 'Account Settings'
3. check 'Enable password expiration' and enter a password expiration period.
4. Click on 'Apply password policy'


---

# 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/aws-iam-password-policy-does-not-expire-in-90-days.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.
