Reconnaissance and Enumeration
A tester has a shell on a developer's Linux workstation and suspects the developer uses the AWS CLI. Which file is the most likely place to find stored AWS access keys?
Show the answer
Correct answerB. ~/.aws/credentials
AWhy not this: Holds local account password hashes, which belong to password enumeration, not cloud keys.
BWhy this is right: The AWS CLI saves profile access key IDs and secret keys here in plain text.
CWhy not this: Records authentication events on the host and does not store the AWS CLI profiles.
DWhy not this: Records fingerprints of SSH hosts the user connected to; it stores no cloud credentials.
The AWS CLI stores access key IDs and secret access keys in plain text in ~/.aws/credentials under named profiles. /etc/shadow holds local account password hashes, not cloud keys.