Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi maintainers,
While going through the AWS material as part of the HackTricks ARTE course, I found the User-Agent guidance a little difficult to locate. The Boto3 example was under the AWS STS post-exploitation page, even though the technique is not specific to STS or federation.
I moved the guidance into the AWS pentesting methodology under a new "Evade Basic Detection" section, alongside related CloudTrail and GuardDuty context.
I was looking for techniques to override the User-Agent. At first, I wanted to PR
aws-clibecause it would be possible to add a proper argument--user-agentbut I think they will never accept that. Therefore, I was trying to patch-it on the fly in order to have a good way to do that during engagements.What I have found, is that AWS CLI v2 allow plugins. Therefore, I have added an example for overriding the full User-Agent header to the documentation, since I am pretty sure it could help other folks.
What do you guys think?