-
-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Account Lockout Considerations #7
Comments
Did you check the --rate-limit, --jitter-min and --jitter-max options? |
The wiki says that when a list of usernames and a list of passwords are provided legba will load both from wordlists and use all combinations. Does it try one password against all users and then move to the next password? If it does, I can see how I could use those flags to slow down and spread out the requests in order to ensure a certain amount of time passes before it starts with the next password spray. I was thinking more along the lines of the Spraycharles flags --attempts (Number of login submissions per interval for each user) and --interval (Minutes between login intervals). https://github.com/Tw1sm/spraycharles |
no it will try every password for each user and then move to the next user:
|
Okay, so say I wanted to only do one password spray an hour to try and prevent account lockout. Using the --rate-limit, --jitter-min and --jitter-max options with the current way lists are iterated wouldn't be helpful. I would need to set the rate limit to an hour and it would have tried only a single user:password combo. If instead a single password was tried against all usernames before trying the next password I could do (Lockout Interval in seconds)/(Number of Users)=(Rate Limit) to find the rate limit to use to ensure only a single password attempt is performed on each user during my desired lockout interval before it starts the next password spray. |
i see, sounds like it'd be useful to have an option which determines how to iterate basically |
Is it like
|
In Legba's case i'm thinking to add an argument which determines the iteration logic so that the --rate-limit parameter can be used in different contextes. Legba's equivalent of Hydra's -c is --rate-limit |
Something like (just a draft idea): --iterate-by user (default mode):
--iterate-by password
|
Assuming that the input value is an integer, by What Summarizing, Please, tell me if I'm wrong. Thanks. |
@D3vil0p3r you are not wrong, but even implementing an equivalent of hydra's -c wouldn't solve the problem that @KyanHexagon mentioned due to the iteration logic ... so I'll probably need to implement both :) |
Implemented both features, so to summarize: default behaviour (loop by username, no rate limiting or waiting):
And so on with all combinations. I think that this approach offers any rate limiting and iterating logic one desires :) |
Thank you very much! When you add them in the Wiki and help command output, mostly for |
@D3vil0p3r of course! |
I appreciate the prompt response and you implementing changes to help address my needs. |
released as part of 0.4.0 https://github.com/evilsocket/legba/wiki/Usage-and-Main-Options#iteration-logic |
I would suggest implementing some features to account for account lockouts. For example if I feed http.ntlm2 module a list of usernames and a list of passwords have it spray the first password against all usernames and then have a flag where I can set how long to wait before spraying the next password and all usernames.
Also, I was wondering if the output flag only outputs successful attempts? It would be useful to have a record of all of the username/password combinations tried in a file.
The text was updated successfully, but these errors were encountered: