AWS - User Investigation
AWS Enrichment and Remediation Pack.#
This Playbook is part of theSupported versions
Supported Cortex XSOAR versions: 6.9.0 and later.
This playbook performs an investigation on a specific user in AWS environments, using queries and logs from AWS CloudTrail to locate the following activities performed by the user:
- Failed login attempt
- Suspicious activities
- API access denied
- Administrative user activities
- Security rules and policies changes
- Access keys and access token activities
- Script-based user agent usage
- User role changes activities
- MFA device changes activities
#
DependenciesThis playbook uses the following sub-playbooks, integrations, and scripts.
#
Sub-playbooksThis playbook does not use any sub-playbooks.
#
IntegrationsAWS - CloudTrail
#
Scripts- Set
- LoadJSON
- GetTime
#
Commandsaws-cloudtrail-lookup-events
#
Playbook InputsName | Description | Default Value | Required |
---|---|---|---|
Username | The username to investigate. Please enter the user's email. | Optional | |
AwsTimeSearchFrom | The Search Time for the `GetTime` task used by the AWS Cloud Trail search query. This value represents the number of days to include in the search. Default value: 1. (1 Day) | 1 | Optional |
#
Playbook OutputsPath | Description | Type |
---|---|---|
AwsMFAConfigCount | The number of MFA configurations performed by the user in the AWS environment. | number |
AwsUserRoleChangesCount | The number of user roles that were changed by the user in the AWS environment. | number |
AwsSuspiciousActivitiesCount | The number of suspicious activities performed by the user in the AWS environment. | number |
AwsScriptBasedUserAgentCount | The number of script-based user agent usages by the user in the AWS environment. | number |
AwsAccessKeyActivitiesCount | The number of access key activities performed by the user in the AWS environment. | number |
AwsSecurityChangesCount | The number of security rules that were changed by the user in the AWS environment. | number |
AwsAdminActivitiesCount | The number of administrative activities performed by the user in the AWS environment. | number |
AwsApiAccessDeniedCount | The number of API accesses denied by the user in the AWS environment. | number |
AwsFailedLogonCount | The number of failed logins by the user in the AWS environment. | number |