sudo cscli scenarios install crowdsecurity/aws-bf-surveyThen reload CrowdSec: sudo systemctl reload crowdsec
Sign in to see which of your engines run it →Hover a line or a note to see what each field does.
type: leakycapacity: 5leakspeed: 30sname: crowdsecurity/aws-cloudtrail-bf-surveydescription: "Detect AWS console login user enumeration"filter: |evt.Meta.log_type == 'aws-cloudtrail' && ((evt.Meta.event_name == 'ConsoleLogin' && evt.Unmarshaled.cloudtrail.errorMessage == 'No username found in supplied account'))groupby: evt.Meta.source_ipblackhole: 1mreprocess: truescope:type: Iplabels:confidence: 3spoofable: 0classification:- attack.T1589- attack.T1110behavior: "cloud:bruteforce"label: "AWS Console User Enumeration"service: awsremediation: false
Sign in to see the Security Engines that run this attack scenario, the version they run and whether it was modified locally.
This scenario needs the crowdsecurity/aws-cloudtrail parser and detects attempts to guess IAM user names on the aws console sign-in page.
When someone tries to sign in to the console with an IAM user name that
does not exist in the account, CloudTrail logs a failed ConsoleLogin
event with the error message No username found in supplied account
(the user name itself is replaced by HIDDEN_DUE_TO_SECURITY_REASONS).
The scenario triggers when a single IP produces more than 5 of these
failures in a short time.
Failures for existing users (Failed authentication) are not counted
here. crowdsecurity/aws-bf counts every console login failure, this
scenario only flags the user name guessing part.
As for crowdsecurity/aws-bf, take extra care of your cloudtrail region configuration: console sign-in events might not be logged in the region you expect, see the documentation.