IAM use cases¶
AWS Identity and Access Management (IAM) enables you to securely control your users’ access to AWS services and resources. Using IAM, you can create and manage AWS users and groups, and use permissions to allow and deny their access to AWS resources.
Following are some use cases for Wazuh rules built in for IAM events.
Create user account¶
When we create a new user account in IAM, an AWS event is generated. As per the diagram at the beginning of this section, the log event flows to the Wazuh agent which passes it along to the Wazuh manager. The latter then analyzes the event and finds that it matches rule 80861. This results in an alert being generated, which can be seen in Kibana.
Create user account without permissions¶
If a user without permission to create new users, attempts to create a new user, then the log message generated will match rule 80862
and Kibana will show the alert as follows:
User login failed¶
When a user tries to log in with an invalid password, a new event and log message will be generated. This log message will match rule 80802
, generating an alert that will be shown in Kibana as follows:
Possible break-in attempt¶
When more than 4 authentication failures occur in a 360 second time window, this fires rule 80803
and generates an alert.
Login success¶
After a successful login, the rule 80801
will match the log message generated by this event and a new alert will be shown in Kibana:
The Kibana Dashboards will show:
Pie Chart |
Stacked Groups |
---|---|
![]() |
![]() |