Added "aws" module for console signins#93
Open
WebbinRoot wants to merge 3 commits intoknavesec:masterfrom
Open
Added "aws" module for console signins#93WebbinRoot wants to merge 3 commits intoknavesec:masterfrom
WebbinRoot wants to merge 3 commits intoknavesec:masterfrom
Conversation
- Made "aws" module based off https://github.com/WhiteOakSecurity/GoAWSConsoleSpray/. Think I covered most of the cases but open to adding more if needed/you see any per comments - Added logic to credmaster.py to remove a user if they are flagged as having MFA to avoid repeat attempts with diff passwords (aws_mfa_blocked status). Lmk if there's a better way to do that within the tool, maybe a new unified status code? Would be cool if there was a way to show both password cracked + usernames enumerated as you just need to grep the log now for usernames enumerated - Would be cool if there was a way to designate in username file what username goes with what AWS account. Can probably do so with but would require more credmaster.py logic rewriting so not sure if there's already an easier way to do so.
Changed status name to ensure username is excluded from future guesses. Might still guess 1-2 times depending on threading but should be removed now
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.
Basically just lifted code from https://github.com/WhiteOakSecurity/GoAWSConsoleSpray and embedded it in credmaster to take advantage of IP rotating, etc. Also does username enumeration to a degree for users with MFA codes so had to add a few bits of logic and a status code to main credmaster.py to handle that (see commit comments). Had some TODOs in commit comments not sure if they are possible in credmaster.
To run execute