Cloud User Investigation - Generic
Common Playbooks 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 cloud environments, using queries and logs from Azure Log Analytics, AWS CloudTrail, G Suite Auditor, and GCP Logging.
#
DependenciesThis playbook uses the following sub-playbooks, integrations, and scripts.
#
Sub-playbooks- Azure - User Investigation
- GCP - User Investigation
- AWS - User Investigation
#
IntegrationsThis playbook does not use any integrations.
#
ScriptsThis playbook does not use any scripts.
#
CommandsThis playbook does not use any commands.
#
Playbook InputsName | Description | Default Value | Required |
---|---|---|---|
Username | The username to investigate. | Optional | |
cloudProvider | The cloud service provider involved. | Optional | |
AzureSearchTime | The Search Time for the Azure Log Analytics search query. Default value: ago(1d) | ago(1d) | Optional |
failedLogonThreshold | The threshold number of failed logons by the user. Required to determine how many failed logon events count as suspicious events. | 20 | Optional |
MfaAttemptThreshold | The threshold number of MFA failed logon by the user. Required to determine how many MFA failed logon events count as suspicious events. | 10 | 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 |
GcpTimeSearchFrom | The Search Time for the `GetTime` task used by the GCP Logging search query. This value represents the number of days to include in the search. Default value: 1. (1 Day) | 1 | Optional |
GcpProjectName | The GCP project name. This is a mandatory field for GCP queries. | 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 |
GcpAnomalousNetworkTraffic | Determines whether there are events of anomalous network traffic performed by the user in the GCP environment. Possible values: True/False. | boolean |
GcpSuspiciousApiUsage | Determines whether there are events of suspicious API usage by the user in the GCP environment. Possible values: True/False. | boolean |
GcpFailLogonCount | The number of failed logins by the user in the GCP environment. | number |
GsuiteFailLogonCount | The number of failed logins by the user in the G Suite environment. | number |
GsuiteUnusualLoginAllowedCount | The number of unusual logins performed by the user and allowed in the G Suite environment. | number |
GsuiteUnusualLoginBlockedCount | The number of unusual logins performed by the user and blocked in the G Suite environment. | number |
GsuiteSuspiciousLoginCount | The number of suspicious logins performed by the user in the G Suite environment. | number |
GsuiteUserPasswordLeaked | Determines whether user's password was leaked in the G Suite environment. Possible values: True/False. | boolean |
AzureScriptBasedUserAgentEvents | Script-based user agent events used by the user in the Azure environment. | string |
AzureAdminActivitiesEvents | Administrative activities performed by the user in the Azure environment. | string |
AzureSecurityRulesChangeEvents | Security rules that were changed by the user in the Azure environment. | string |
AzureUnsuccessSecurityRulesChangeEvents | Unsuccessful attempts to change security rules by the user in the Azure environment. | string |
AzureFailLoginCount | The number of failed logins by the user in the Azure environment. | number |
AzureFailLoginMFACount | The number of failed logins by the user using MFA in the Azure environment. | number |
AzureAnomaliesEvents | Anomaly events on the user in the Azure environment. | string |
AzureRiskyUserCount | The number of events where the user was defined as a risky user in the Azure environment. | number |
AzureUncommonCountryLogonEvents | Uncommon country logon events by the user in the Azure environment. | string |
AzureUncommonVolumeEvents | Uncommon volume events by the user in the Azure environment. | string |
AzureUncommonActivitiesEvents | Uncommon activity events by the user in the Azure environment. | string |
CountAzureEvents.AzureScriptBasedUserAgentCount | The number of script-based user agent usages by the user in the Azure environment. | number |
CountAzureEvents.AzureAdminActivitiesCount | The number of administrative activities performed by the user in the Azure environment. | number |
CountAzureEvents.AzureSecurityRulesChangeCount | The number of security rules that were changed by the user in the Azure environment. | number |
CountAzureEvents.AzureUnsuccessSecurityRulesChangeCount | The number of unsuccessful attempts to change security rules by the user in the Azure environment. | number |
CountAzureEvents.AzureAnomaliesCount | The number of anomaly events on the user in the Azure environment. | number |
CountAzureEvents.AzureUncommonCountryLogonCount | The number of uncommon country logon events by the user in the Azure environment. | number |
CountAzureEvents.AzureUncommonVolumeCount | The number of uncommon volume events by the user in the Azure environment. | number |
CountAzureEvents.AzureUncommonActivitiesCount | The number of uncommon activity events by the user in the Azure environment. | number |