News for hackers. Stuff that matters.
Re:Well, it's just an AWS Account ID by christina97 on Wednesday July 10, 2024 @12:10AM (#40923636)
This seems wrong. Surely you can’t “Enumerate IAM Entities” with just the aAccount ID?

So if a company has a user for every dev with username first.last, you could list all devs just by knowing the Account ID?

Maybe the author misunderstood what “enumerate” means and meant to say that you can check if a given IAM entity exists under the account? Enumeration and bruteforce are very different things.

Re:Well, it's just an AWS Account ID by teractiveodular on Wednesday July 10, 2024 @12:27AM (#40923705)
You're correct, it's not enumeration, but it's easier than pure brute force. As the article itself suggests, if the company does use a predictable user name format (and most do), it's pretty trivial to look up their employees on LinkedIn, create a list of likely usernames, and then check if they exist.
Re:Well, it's just an AWS Account ID by metadat on Wednesday July 10, 2024 @01:24AM (#40923962)
A.k.a. .. enumeration.
Re:Well, it's just an AWS Account ID by teractiveodular on Wednesday July 10, 2024 @01:34AM (#40923995)
No, enumeration would be if you can get the entire list of usernames somehow.
Re:Well, it's just an AWS Account ID by metadat on Wednesday July 10, 2024 @01:37AM (#40924007)
> No, enumeration would be if you can get the entire list of usernames somehow.

It's still a form of enumeration.

Once you know the generation scheme, you can always enumerate some form, perfect or otherwise.

Re:Well, it's just an AWS Account ID by vasco on Wednesday July 10, 2024 @02:40AM (#40924288)
Enumeration means a specific thing, that you get a full or paginated list of things and all you need to do is hit it. This isn't enumeration at all. It's like you saying you know the bucket keys to a hashtable so you can enumerate it by hitting them one by one, except in this case you don't even know the keys.
Re:Well, it's just an AWS Account ID by jadengeller on Wednesday July 10, 2024 @01:50AM (#40924061)
If there are rate limits, or if the search space is vast, this is notably more limited (even if arguably still enumeration)
Re:Well, it's just an AWS Account ID by g15jv2dp on Wednesday July 10, 2024 @01:24AM (#40923955)
And then what?
Re:Well, it's just an AWS Account ID by teractiveodular on Wednesday July 10, 2024 @01:35AM (#40924001)
Send targeted phishing mails.
Re:Well, it's just an AWS Account ID by ramon156 on Wednesday July 10, 2024 @02:43AM (#40924299)
Our company got hit with this. I guess there's no way to recover from this other than do our best to block these.
Re:Well, it's just an AWS Account ID by vasco on Wednesday July 10, 2024 @02:41AM (#40924295)
I can already do that by sending them for root. This seems like trying to make something out of nothing.
Re:Well, it's just an AWS Account ID by teractiveodular on Wednesday July 10, 2024 @04:16AM (#40924778)
Are you stuck in the 70s or something? I can't recall the last time I read email addressed to root.
Re:Well, it's just an AWS Account ID by vasco on Wednesday July 10, 2024 @07:51AM (#40925880)
My friend, the main AWS account is called the root account and its username is root, so your zinger didn't zing.
Re:Well, it's just an AWS Account ID by g15jv2dp on Wednesday July 10, 2024 @08:05AM (#40925975)
How does knowing the AWS username allow you to send a more effective phishing email? Especially if the username is just the user's... name. That's public info.
Re:Well, it's just an AWS Account ID by bnchandrapal on Wednesday July 10, 2024 @12:31AM (#40923721)
Yes, you're right. Reading my statement in hindsight shows thats not correct. My intention was to convey that you can check for the existence of common IAM users and roles in the accounts (and even existence of company specific entities like users with first.last pattern, product names, etc) I've slightly updated the point a bit.
Re:Well, it's just an AWS Account ID by russell_h on Wednesday July 10, 2024 @02:42AM (#40924298)
In security contexts the term “enumeration” is understood to mean “brute force”. You can Google “enumeration attack” to see a bunch of examples where this is explicitly defined.
Re:Well, it's just an AWS Account ID by sebazzz on Wednesday July 10, 2024 @11:19AM (#40927892)
More concrete example: Account enumeration because the "forgot password" page tells the user "Unable to find account [email protected]" instead of "If your account [email protected] exists, then we have now send you an e-mail to recover your account".

If your forgot password page takes longer to respond when an account exists when it does not, it is also a side-channel attack.

Re:Well, it's just an AWS Account ID by jftuga on Wednesday July 10, 2024 @11:59AM (#40928320)
A "workaround" for this is to just try to create a new account, [email protected].

This bypasses what you've mentioned.

Re:Well, it's just an AWS Account ID by blincoln on Wednesday July 10, 2024 @11:44AM (#40928185)
While a lot of security people misuse "enumeration" in this way, it's not accurate. They should use the term "oracle", eapecially since it's from the same field.